|  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | let res = await this.$http.get(`/taskReliability/ModelLine/getDiagram`, {params: params}) | 
|---|
|  |  |  | console.log(res, 'async getDiagram( res') | 
|---|
|  |  |  | if (res.data !== null && res.data.content != null) { | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  | if(this.dataForm.content!=''){ | 
|---|
|  |  |  | this.diagramJson = JSON.parse(this.dataForm.content) | 
|---|
|  |  |  | } | 
|---|
|  |  |  | // console.log(this.dataForm.content,'this.Diagram content') | 
|---|
|  |  |  | console.log(this.diagramJson, 'this.Diagram json') | 
|---|
|  |  |  | this.graph.fromJSON(this.diagramJson) | 
|---|