Browse Source

添加修改排除项

develop
ljlong_2630 1 year ago
parent
commit
f9f3516e64
  1. 4
      src/views/model/heatapiconf/index.vue

4
src/views/model/heatapiconf/index.vue

@ -287,13 +287,13 @@ function handleUpdate(row) {
}) })
return; return;
} }
getListDevice(row.orgCode);
getHeatapiconf(_id).then(response => { getHeatapiconf(_id).then(response => {
form.value = response.data; form.value = response.data;
form.value.excludeDevices = form.value.excludeDevices?.split(","); form.value.excludeDevices = form.value.excludeDevices?.split(",");
open.value = true; open.value = true;
title.value = "修改供热办推送接口配置"; title.value = "修改供热办推送接口配置";
}); });
getListDevice();
} }
/** 提交按钮 */ /** 提交按钮 */
@ -462,7 +462,7 @@ function turnToParamConf(row){
function getListDevice(orgCode) { function getListDevice(orgCode) {
let param = {}; let param = {};
if(orgCode != null){ if(orgCode != null && typeof orgCode === 'string'){
param.orgCode = orgCode; param.orgCode = orgCode;
}else{ }else{
param.orgCode = form.value.orgCode; param.orgCode = form.value.orgCode;

Loading…
Cancel
Save