diff --git a/acupuncture-前台/src/views/followFile/index.vue b/acupuncture-前台/src/views/followFile/index.vue index 9fb58ffc..b8f90ae0 100644 --- a/acupuncture-前台/src/views/followFile/index.vue +++ b/acupuncture-前台/src/views/followFile/index.vue @@ -153,6 +153,7 @@ type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" + :disabled="scope.row.type == 1" >修改 删除 @@ -357,7 +359,7 @@ export default { followupQuery(this.queryParams).then((res) => { let commonQueue = JSON.parse(localStorage.getItem('commonQueue')) this.listDat = res.data.list; - commonQueue.forEach(i=>{ + commonQueue?.forEach(i=>{ this.listDat.unshift(i) }) this.total = res.data.total; diff --git a/acupuncture-前台/src/views/followFile/subjects.vue b/acupuncture-前台/src/views/followFile/subjects.vue index 9f023e10..d417ce33 100644 --- a/acupuncture-前台/src/views/followFile/subjects.vue +++ b/acupuncture-前台/src/views/followFile/subjects.vue @@ -289,7 +289,7 @@ export default { }).then((res) => { this.followupList = res.data.list; let commonQueue = JSON.parse(localStorage.getItem('commonQueue')) - commonQueue.forEach(i=>{ + commonQueue?.forEach(i=>{ this.followupList.unshift(i) }) }); diff --git a/acupuncture-前台/src/views/medicalFile/index.vue b/acupuncture-前台/src/views/medicalFile/index.vue index 0bce71cc..9c9f2c1e 100644 --- a/acupuncture-前台/src/views/medicalFile/index.vue +++ b/acupuncture-前台/src/views/medicalFile/index.vue @@ -1077,7 +1077,7 @@ }).then((res) => { this.followupList = res.data.list; let commonQueue = JSON.parse(localStorage.getItem('commonQueue')) - commonQueue.forEach(i=>{ + commonQueue?.forEach(i=>{ this.followupList.unshift(i) }) });