From 88089865f37d7ef9f026120377fb0e51b94e9050 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Thu, 21 Mar 2024 09:49:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=B8=88=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../team/team-add-or-update.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue b/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue index 593bd30..bd33fa9 100644 --- a/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue +++ b/src/page-subspecialty/views/modules/systemManagement/team/team-add-or-update.vue @@ -31,6 +31,16 @@ + + + + + 门诊医师 @@ -116,6 +126,7 @@ export default { visible: false, isShowImg: true, dataForm: { + mentorId: '', centreId: '', centreName: '', employeeId: '', @@ -144,7 +155,7 @@ export default { }], uploadSignImgBase: '', uploadImgDialogVisible: false, - centerList: [], + doctorList: [], loginInfo: {}, autoCropWidth: '500', autoCropHeight: '300', @@ -201,6 +212,7 @@ export default { // 获取中心 this.loginInfo = window.sessionStorage.getItem('qg-userData') this.$refs.dataForm.resetFields() // 重置表单 + this.getCentreList() if (this.dataForm.id) { this.getInfo() } @@ -208,9 +220,9 @@ export default { }, // 获取中心 async getCentreList() { - const { data: res } = await this.$http.get('/sys/centre/list') + const { data: res } = await this.$http.get('/sys/user') if (res.code === 0) { - this.centerList = res.data + this.doctorList = res.data } }, // 获取信息