diff --git a/web/client/src/sections/install/containers/cacl.jsx b/web/client/src/sections/install/containers/cacl.jsx index a8b24e0..4d066a8 100644 --- a/web/client/src/sections/install/containers/cacl.jsx +++ b/web/client/src/sections/install/containers/cacl.jsx @@ -115,11 +115,11 @@ const Calc = (props) => { let cfg if (methodType == "interrupt") { cfg = abnParam.find(a => a.abnType == 1 && a.factorId == factorId - && a.sensorId == selectIds[i]) + && a.sensorId == project+':'+ selectIds[i]) } else { let type = methodType == "burr" ? 2 : 3 cfg = abnParam.find(a => a.abnType == type && a.factorId == factorId - && a.sensorId == selectIds[i]) + && a.sensorId ==project+':'+ selectIds[i]) } if (!cfg) { toSave.push(selectIds[i]) @@ -140,6 +140,7 @@ const Calc = (props) => { form2.current.validate().then(res => { if (sensorId.length != 0) { let ids = getStationstoSave() + console.log('xx111',ids) if (ids.toSave.length != 0) { let paramJson = getJson(res) let data = {