408249787 2 жил өмнө
parent
commit
958e017d83

+ 1 - 7
src/views/opc/Opc.vue

@@ -127,7 +127,7 @@ export default {
       if (params.id != null) {
       if (params.id != null) {
         updateRemoteOpc(params).then(res => {
         updateRemoteOpc(params).then(res => {
           console.log(res)
           console.log(res)
-          this.optDot.isActive = true
+          this.optDot = null
         })
         })
       }
       }
     },
     },
@@ -140,7 +140,6 @@ export default {
       this.visibleRight = false
       this.visibleRight = false
     },
     },
     handleOpt (val) {
     handleOpt (val) {
-      console.log(val)
       this.optDot = val
       this.optDot = val
     },
     },
     handleShow (val, key) {
     handleShow (val, key) {
@@ -164,11 +163,6 @@ export default {
         this.treeData = res.data
         this.treeData = res.data
       })
       })
     },
     },
-    handleInfo (remoteOpc) {
-      if (remoteOpc.isActive) return
-      const model = this.$refs.baseChartInfo
-      model.base(remoteOpc)
-    },
     handleAdd () {
     handleAdd () {
       const model = this.$refs.baseForm
       const model = this.$refs.baseForm
       model.base({
       model.base({