jinlin
2024-03-12 c400e8082b202fbf20ea0e740a306aa3c62e8fb5
web/src/views/modules/taskReliability/RBD-edit-img.vue
@@ -301,12 +301,10 @@
    methods: {
      init(row){
        this.modelName = row.modelName
        let modelId = row.id
        this.dataForm.id = modelId
        this.dataForm.id = row.id
        // this.productId = row.productId
        // this.getProduct(row.productId)
        this.initDigram(row.productId)
        this.getDiagram(modelId)
        console.log(this.dataForm,'init(row){')
      },
      async getDiagram(modelId) {
@@ -1067,7 +1065,7 @@
          cell.removeTools()
        })
        this.getDiagram()
        await this.getDiagram(this.dataForm.id)
      },
      showPorts(ports, show) {
        for (let i = 0, len = ports.length; i < len; i = i + 1) {