|
|
@ -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); |
|
|
|