From 72f0f832f22d7db7cf4186c42da0d29545452ead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Tue, 17 Oct 2023 14:52:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/pagesB/medicine/index.js | 17 ++- pages.json | 5 +- .../consultationplatform.vue | 124 +++++++++++++----- 3 files changed, 105 insertions(+), 41 deletions(-) diff --git a/api/pagesB/medicine/index.js b/api/pagesB/medicine/index.js index 9bb5076..d6e877e 100644 --- a/api/pagesB/medicine/index.js +++ b/api/pagesB/medicine/index.js @@ -1,7 +1,17 @@ import request from "../../request.js" //齐鲁名医 -export function selectDepartment(pageNum,pageSize) { +export function selectDepartmentNoPage() { + return request({ + url: `/nurseApp/healthConsultation/selectDepartmentNoPage`, + method: 'GET', + header: { + Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') + }, + }) +} +//齐鲁名医 +export function selectDepartment(pageNum, pageSize) { return request({ url: `/nurseApp/healthConsultation/selectDepartment?pageNum=${pageNum}&pageSize=${pageSize}`, method: 'GET', @@ -10,9 +20,8 @@ export function selectDepartment(pageNum,pageSize) { }, }) } - //人员 -export function selectHospitalPerson(pageNum,pageSize,departmentId) { +export function selectHospitalPerson(pageNum, pageSize, departmentId) { return request({ url: `/nurseApp/healthConsultation/selectHospitalPerson?pageNum=${pageNum}&pageSize=${pageSize}&departmentId=${departmentId}`, method: 'GET', @@ -20,4 +29,4 @@ export function selectHospitalPerson(pageNum,pageSize,departmentId) { Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') }, }) -} +} \ No newline at end of file diff --git a/pages.json b/pages.json index 0ebb63a..723457c 100644 --- a/pages.json +++ b/pages.json @@ -329,7 +329,8 @@ "path": "consultationplatform/consultationplatform", "style": { "navigationBarTitleText": "问诊平台", - "enablePullDownRefresh": false + "onReachBottomDistance": 40, //距离底部多远时触发 单位为px + "enablePullDownRefresh": true //设置参数为true } }, { "path": "doctordetails/doctordetails", @@ -552,4 +553,4 @@ } ] } -} +} \ No newline at end of file diff --git a/pagesB/consultationplatform/consultationplatform.vue b/pagesB/consultationplatform/consultationplatform.vue index 4752b80..4e5f931 100644 --- a/pagesB/consultationplatform/consultationplatform.vue +++ b/pagesB/consultationplatform/consultationplatform.vue @@ -19,32 +19,29 @@ 专家信息栏 - - - + + + - 张三 + {{item.personName}} - 主任医师 + {{ item.academicTitle=='CHIEF_PHYSICIAN'?'主任医师':''}} + {{ item.academicTitle=='DEPUTY_CHIEF_PHYSICIAN'?'副主任医师':''}} + {{ item.academicTitle=='ATTENDING_DOCTOR'?'主治医师':''}} + {{ item.academicTitle=='PHYSICIAN'?'医师':''}} + {{ item.academicTitle=='HEALER'?'医士':''}} - 山东大学齐鲁医院,主任医师, 从事甲状腺疾病等内分泌与代 谢病的诊治,擅长甲状腺结节 良恶性鉴。 + {{item.personIntroduce}} - - - - 张三 - - - 主任医师 - - - 山东大学齐鲁医院,主任医师, 从事甲状腺疾病等内分泌与代 谢病的诊治,擅长甲状腺结节 良恶性鉴。 - + + + @@ -52,17 +49,54 @@ + \ No newline at end of file