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
}
},
// 获取信息