|
|
@ -253,12 +253,16 @@ export default { |
|
|
|
jzNumber: this.jzNumber |
|
|
|
} |
|
|
|
this.editMessage = '收藏成功!' |
|
|
|
this.$http.post('/tree/addPatientTree', params).then(() => { |
|
|
|
this.$message({ |
|
|
|
message: this.editMessage, |
|
|
|
type: 'success' |
|
|
|
}) |
|
|
|
this.queryPatientRemarks() |
|
|
|
this.$http.post('/tree/addPatientTree', params).then(res => { |
|
|
|
if (res.data.code === 0) { |
|
|
|
this.$message({ |
|
|
|
message: this.editMessage, |
|
|
|
type: 'success' |
|
|
|
}) |
|
|
|
this.queryPatientRemarks() |
|
|
|
} else { |
|
|
|
this.$message.error(res.data.msg) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 新增节点 |
|
|
|