diff --git a/public/index.html b/public/index.html index 24877b8..13c0c29 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/components/360View/collection.vue b/src/components/360View/collection.vue index df088af..aa09217 100644 --- a/src/components/360View/collection.vue +++ b/src/components/360View/collection.vue @@ -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) + } }) }, // 新增节点 diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue index 3cb0e17..e4f0337 100644 --- a/src/components/360View/medicalRecord/index.vue +++ b/src/components/360View/medicalRecord/index.vue @@ -9,7 +9,7 @@ ref="leftFormList" :patient-id="patientId" :is-search="isSearch" - :only-read="onlyRead||!isCreator" + :only-read="onlyRead" :is-platform="isPlatform" :form-list="formList" :cur-index="curIndex" diff --git a/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue b/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue index e053d76..531746d 100644 --- a/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue +++ b/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue @@ -9,7 +9,7 @@ {{ item.name }}
- +