| | |
| | | // 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) |