Browse Source

多选反显小问题修复

pull/1/head
ljlong_2630 1 year ago
parent
commit
9b247c10c9
  1. 4
      src/views/model/alert/deviceparamalert.vue

4
src/views/model/alert/deviceparamalert.vue

@ -692,7 +692,7 @@ function getModelListSwitch(row){
if(response.data && response.data.length>0){
formPolicy.value.statusValue = response.data[0].statusValue;
formPolicy.value.statusType = response.data[0].statusType;
formPolicy.value.methodIds = response.data[0].methodIds.split(',');
formPolicy.value.methodIds = response.data[0].methodIds.split(',').map(Number);
formPolicy.value.boolValue = response.data[0].boolValue;
formPolicy.value.alertId = row.id;
formPolicy.value.deviceId = row.deviceUuid;
@ -741,7 +741,7 @@ function getModelList(row){
element.id = item.id;
element.statusValue = item.statusValue;
element.statusType = item.statusType;
element.methodIds = item.methodIds.split(',');
element.methodIds = item.methodIds.split(',').map(Number);
element.operator = item.operator;
element.sort = item.sortId;
proxy.$refs.policyTable.toggleRowSelection(element,true);

Loading…
Cancel
Save