jinlin
2024-03-12 2d3634a3925d9f4cfc04499ce9f0994c6b12b018
web/src/views/modules/taskReliability/RBD-edit-img.vue
@@ -307,14 +307,15 @@
        // this.getProduct(row.productId)
        this.initDigram(row.productId)
        this.getDiagram(modelId)
        console.log(row,'init(row){')
        console.log(this.dataForm,'init(row){')
      },
      async getDiagram(modelId) {
        let params = {
          modelId : modelId
        }
          let res = await this.$http.get(`/taskReliability/ModelLine/getDiagram`, {params: params})
          if (res.data !== null && res.data.content != null) {
        console.log(res,'async getDiagram( res')
        if (res.data !== null && res.data.content != null) {
            this.dataForm = res.data
            console.log(this.dataForm, 'this.dataForm in getDiagram')
            this.diagramJson = JSON.parse(this.dataForm.content)