diff --git a/src/views/model/alert/deviceparamalert.vue b/src/views/model/alert/deviceparamalert.vue index 92b6ee1..f322d5a 100644 --- a/src/views/model/alert/deviceparamalert.vue +++ b/src/views/model/alert/deviceparamalert.vue @@ -167,7 +167,7 @@ - + @@ -202,7 +202,14 @@ - + + + @@ -243,7 +250,7 @@ - + - + @@ -339,6 +346,7 @@ const logicCode = ref(""); const rowPolicySelected = ref([]); const colorValue = ref({}); const tableVisiable = ref(false); +const dialogWidth = ref('1600px'); const alert_value = ref([ {label: '1', value: true, elTagType: 'default', elTagClass: null}, {label: '0', value: false, elTagType: 'default', elTagClass: null} @@ -515,15 +523,17 @@ function handlePolicy(row) { logicCode.value = row.logicCode; formPolicy.value.enabled = row.enabled; if(row.logicCode=='A'){ + dialogWidth.value = '800px'; getModelListSwitch(row); boolValueVisiable.value=true; policyModelVisiable.value=false; - statusValueVisiable.value=true; - statusTypeVisiable.value=true; + statusValueVisiable.value=false; + statusTypeVisiable.value=false; sortIdVisiable.value=false; methodIdsVisiable.value=true; tableVisiable.value=false; }else if(row.logicCode == 'B'){ + dialogWidth.value = '1600px'; getModelList(row); policyModelVisiable.value=true; boolValueVisiable.value=false; @@ -998,11 +1008,8 @@ function changeEnabled(row){ } updateAlert(param); } -function selectionDisabled(){ - return formPolicy.value.enabled === 1; -} - + getList();