From 40114505f06dc5b8da58b5e1da4016aec5fc2544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Thu, 20 Oct 2022 09:15:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=A4=E7=90=86=E7=AB=99=E9=A2=84=E7=BA=A6?= =?UTF-8?q?=E6=97=B6=E9=97=B4=EF=BC=8C=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/appointment/index.js | 26 -- api/details/index.js | 18 - api/site/index.js | 16 - pages.json | 129 +++--- pages/appointmenttime/appointmenttime.vue | 345 +++++++++++++-- pages/nursestation/nursestation.vue | 493 ++++++++++++++++++++++ pages/site/site.vue | 69 ++- 7 files changed, 896 insertions(+), 200 deletions(-) delete mode 100644 api/appointment/index.js delete mode 100644 api/site/index.js create mode 100644 pages/nursestation/nursestation.vue diff --git a/api/appointment/index.js b/api/appointment/index.js deleted file mode 100644 index 406450c..0000000 --- a/api/appointment/index.js +++ /dev/null @@ -1,26 +0,0 @@ -import request from "../request.js" - - -export function getPatientInfoList(openid) { - return request({ - url: `/nurseApplet/login/getPatientInfoList?openId=${openid}`, - method: 'GET' - }) -} - - -export function getStationItemInfo(stationId, stationItemId, stationItemPriceId) { - return request({ - url: `/nurseApplet/login/getStationItemInfo?stationId=${stationId}&stationItemId=${stationItemId}&stationItemPriceId=${stationItemPriceId}`, - method: 'GET' - }) -} -export function appointment(data) { - return request({ - url: `/nurseApplet/login/appointment`, - method: 'post', - data - }) -} - - diff --git a/api/details/index.js b/api/details/index.js index c7c3864..e69de29 100644 --- a/api/details/index.js +++ b/api/details/index.js @@ -1,18 +0,0 @@ -import request from "../request.js" - - -export function introductionList(id) { - return request({ - url: `/nurseApplet/nearbyNursingStation/introductionList?nurseStationId=${id}`, - method: 'GET' - }) -} - - - -export function getPatientInfo(id) { - return request({ - url: `/nurseApplet/login/getPatientInfo?openId=${id}`, - method: 'GET' - }) -} \ No newline at end of file diff --git a/api/site/index.js b/api/site/index.js deleted file mode 100644 index e60c559..0000000 --- a/api/site/index.js +++ /dev/null @@ -1,16 +0,0 @@ -import request from "../request.js" - - -// export function list() { -// return request({ -// url: `/nurseApplet/system/patientInfo/list`, -// method: 'GET' -// }) -// } - -export function nearbyList(pageSize,pageNum,longitude, latitude, nurseStationType, ) { - return request({ - url: `/nurseApplet/nearbyNursingStation/nearbyList?pageSize=${pageSize}&pageNum=${pageNum}&homeLongitude=${longitude}&homeLatitude=${latitude}&nurseStationType=${nurseStationType}&nurseStationName=${nurseStationName}`, - method: 'GET' - }) -} diff --git a/pages.json b/pages.json index e71e35a..a7e2dc6 100644 --- a/pages.json +++ b/pages.json @@ -3,54 +3,36 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - { - "path": "pages/diagnosis/diagnosis", - "style": { - "navigationBarTitleText": "诊疗结果", - "enablePullDownRefresh": false, + { + "path" : "pages/nursestation/nursestation", + "style" : + { + "navigationBarTitleText": "护理站详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + + },{ + "path" : "pages/appointmenttime/appointmenttime", + "style" : + { + "navigationBarTitleText": "预约时间", + "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - }, - { - "path": "pages/InformationFilling/InformationFilling", + } + + }, + { + "path": "pages/site/site", "style": { - "navigationBarTitleText": "信息填写与确认", + "navigationBarTitleText": "附近护理站", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" //背景颜色 } }, + { - "path": "pages/AppointmentRecord/AppointmentRecord", - "style": { - "navigationBarTitleText": "预约记录及结果", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - }, - { - "path": "pages/detail/detail", - "style": { - "navigationBarTitleText": "护理站简介", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } - }, - { - "path": "pages/information/information", - "style": { - "navigationBarTitleText": "请完善个人信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } - }, { - "path": "pages/Doctordetails/Doctordetails", - "style": { - "navigationBarTitleText": "医生信息", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } - }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "", @@ -64,40 +46,29 @@ "navigationStyle": "custom" } }, { - "path": "pages/site/site", + "path" : "pages/appointment/appointment", + "style" : + { + "navigationBarTitleText": "选择时间", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + + }, + { + "path": "pages/detail/detail", "style": { - "navigationBarTitleText": "附近护理站", + "navigationBarTitleText": "护理站简介", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" //背景颜色 } }, { - "path": "pages/doctorslist/doctorslist", - "style": { - "navigationBarTitleText": "预约医生", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } - }, { - "path": "pages/appointment/appointment", - "style": { - "navigationBarTitleText": "选择时间", - "enablePullDownRefresh": false - } - }, - { "path": "pages/homepage/homepage", "style": { "navigationBarTitleText": "泉医到家", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - }, { - "path": "pages/disease/disease", - "style": { - "navigationBarTitleText": "疾病信息选择", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } }, { "path": "pages/CommodityDetails/CommodityDetails", "style": { @@ -106,14 +77,20 @@ "navigationBarBackgroundColor": "#ffffff" } }, - { - "path": "pages/appointmenttime/appointmenttime", - "style": { - "navigationBarTitleText": "预约时间", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" //背景颜色 - } + { + "path": "pages/homepage/homepage", + "style": { + "navigationBarTitleText": "商品详情", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#ffffff" + } + }, { + "path": "pages/startup/startup", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } }, { "path": "pages/Personal/Personal", "style": { @@ -142,16 +119,10 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - }, - { - "path": "pages/medicine/medicine", - "style": { - "navigationBarTitleText": "就医", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#ffffff" - } } - ], + + + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "", diff --git a/pages/appointmenttime/appointmenttime.vue b/pages/appointmenttime/appointmenttime.vue index 823bdd5..0ccd022 100644 --- a/pages/appointmenttime/appointmenttime.vue +++ b/pages/appointmenttime/appointmenttime.vue @@ -3,32 +3,52 @@ 请填写下面的信息 - + 姓名: + 请选择姓名 + {{patientName}} - + - + 电话: + 请选择电话 + {{list.phone}} - + - - 时间: - - - + + 地址: - + 请填写地址 + {{list.address}} + + + + 时间: + 请选择时间 + + {{list.usertime}} + + + + + + + + 服务时长:{{getinfolist.serveDurationUnit}} + + + 套餐信息: ¥60 - ·气管切开 + 111 @@ -42,35 +62,292 @@ 备注: - + - 修改信息 - 确认预约 + + + + + + + 我已阅读并同意 + 《用户协议》 + + + + + + + ¥60 + + 修改信息 + 确认预约 + + + + + + + + + + diff --git a/pages/site/site.vue b/pages/site/site.vue index d33771b..a23ebb5 100644 --- a/pages/site/site.vue +++ b/pages/site/site.vue @@ -17,15 +17,11 @@ {{item.nurseStationName}} 距离您800米 - - 泉医通 济卫护理联盟NO.1 - - 点击了解 @@ -54,7 +50,7 @@