From 8e8da1c4463059cddc0d40e6fd97b408519a02e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 12 Oct 2023 14:31:36 +0800 Subject: [PATCH 1/6] =?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/myfamilydoctorteam/index.js | 12 +++ api/pagesB/performancedetails/index.js | 12 +++ api/pagesC/contractsigningprotocol/index.js | 12 +++ pages.json | 14 ++-- .../contractsigningprotocol.vue | 19 ----- .../myfamilydoctorteam/myfamilydoctorteam.vue | 80 +++++++++++++------ pagesB/mysigning/mysigning.vue | 10 +-- .../performancedetails/performancedetails.vue | 79 +++++++----------- .../contractsigningprotocol.vue | 37 +++++++++ 9 files changed, 166 insertions(+), 109 deletions(-) create mode 100644 api/pagesB/myfamilydoctorteam/index.js create mode 100644 api/pagesB/performancedetails/index.js create mode 100644 api/pagesC/contractsigningprotocol/index.js delete mode 100644 pagesB/contractsigningprotocol/contractsigningprotocol.vue create mode 100644 pagesC/contractsigningprotocol/contractsigningprotocol.vue diff --git a/api/pagesB/myfamilydoctorteam/index.js b/api/pagesB/myfamilydoctorteam/index.js new file mode 100644 index 0000000..ff93fa4 --- /dev/null +++ b/api/pagesB/myfamilydoctorteam/index.js @@ -0,0 +1,12 @@ +import request from "@/api/request.js" + + +export function getDoctorList(pageNum, pageSize, teamNo, region) { + return request({ + url: `/applet/signinfo/getDoctorList?pageNum=${pageNum}&pageSize=${pageSize}&teamNo=${teamNo}`, + method: 'get', + header: { + region: region + } + }) +} \ No newline at end of file diff --git a/api/pagesB/performancedetails/index.js b/api/pagesB/performancedetails/index.js new file mode 100644 index 0000000..e171393 --- /dev/null +++ b/api/pagesB/performancedetails/index.js @@ -0,0 +1,12 @@ +import request from "@/api/request.js" + + +export function getPerformance(identity, region) { + return request({ + url: `/applet/signinfo/getPerformance/${identity}`, + method: 'get', + header: { + region: region + } + }) +} \ No newline at end of file diff --git a/api/pagesC/contractsigningprotocol/index.js b/api/pagesC/contractsigningprotocol/index.js new file mode 100644 index 0000000..829c6cd --- /dev/null +++ b/api/pagesC/contractsigningprotocol/index.js @@ -0,0 +1,12 @@ +import request from "@/api/request.js" + + +export function getContent(orgNo, region) { + return request({ + url: `/applet/signinfo/getContent/${orgNo}`, + method: 'get', + header: { + region: region + } + }) +} \ No newline at end of file diff --git a/pages.json b/pages.json index 891e73b..84a6551 100644 --- a/pages.json +++ b/pages.json @@ -397,12 +397,6 @@ "navigationBarTitleText": "履约详情", "enablePullDownRefresh": false } - }, { - "path": "contractsigningprotocol/contractsigningprotocol", - "style": { - "navigationBarTitleText": "签约协议", - "enablePullDownRefresh": false - } } ] }, { @@ -508,6 +502,12 @@ "navigationBarTitleText": "", "enablePullDownRefresh": false } + },{ + "path": "contractsigningprotocol/contractsigningprotocol", + "style": { + "navigationBarTitleText": "签约协议", + "enablePullDownRefresh": false + } } ] }], @@ -550,4 +550,4 @@ } ] } -} \ No newline at end of file +} diff --git a/pagesB/contractsigningprotocol/contractsigningprotocol.vue b/pagesB/contractsigningprotocol/contractsigningprotocol.vue deleted file mode 100644 index b512454..0000000 --- a/pagesB/contractsigningprotocol/contractsigningprotocol.vue +++ /dev/null @@ -1,19 +0,0 @@ - - - - - \ No newline at end of file diff --git a/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue b/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue index b572e4c..ea53e42 100644 --- a/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue +++ b/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue @@ -3,37 +3,22 @@ - 中心团队 + {{list?list[0].teamName:''}} - - + + - 齐鲁医院张医生 + {{item.realname?item.realname:''}} - 17869882345 + {{item.mobilePhone?item.mobilePhone:''}} - 全科医生 + {{item.teamMemberTypeName?item.teamMemberTypeName:''}} - - 咨询 - - - - - - 齐鲁医院张医生 - - - 17869882345 - - - 全科医生 - - + 咨询 @@ -42,12 +27,55 @@ @@ -66,7 +94,7 @@ .item { width: 96%; - margin: 0 auto ; + margin: 0 auto; padding-bottom: 60rpx; border-bottom: 2rpx solid #E6E6E6; position: relative; @@ -150,4 +178,4 @@ } } } - \ No newline at end of file + diff --git a/pagesB/mysigning/mysigning.vue b/pagesB/mysigning/mysigning.vue index d520ea2..5f64989 100644 --- a/pagesB/mysigning/mysigning.vue +++ b/pagesB/mysigning/mysigning.vue @@ -15,7 +15,7 @@ - {{list.gender=='2'?'女':''}}{{list.gender=='1'?'男':''}}    {{list.age}}岁 + {{list.gender=='2'?'女':''}}{{list.gender=='1'?'男':''}}    {{list.age? list.age +'岁':''}} {{list.phone?list.phone:''}} @@ -108,7 +108,7 @@ //我的家庭医生团队 gomyfamilydoctorteam() { uni.navigateTo({ - url: '/pagesB/myfamilydoctorteam/myfamilydoctorteam' + url: `/pagesB/myfamilydoctorteam/myfamilydoctorteam?teamNo=${this.list.teamNo}` }) }, // 履约详情 @@ -120,13 +120,13 @@ //签约协议 gocontractsigningprotocol() { uni.navigateTo({ - url: "/pagesB/contractsigningprotocol/contractsigningprotocol" + url: `/pagesC/contractsigningprotocol/contractsigningprotocol?orgNo=${this.list.orgNo}` }) }, //咨询 goseekadvicefrom() { uni.navigateTo({ - url: `pagesB/imagetextConsultation/imagetextConsultation` + url: `/pagesB/imagetextConsultation/imagetextConsultation` }) // uni.navigateTo({ // url: `/pagesC/seekadvicefrom/seekadvicefrom?item=${JSON.stringify(this.list)}` @@ -271,4 +271,4 @@ } } } - \ No newline at end of file + diff --git a/pagesB/performancedetails/performancedetails.vue b/pagesB/performancedetails/performancedetails.vue index 5b13b22..8685b37 100644 --- a/pagesB/performancedetails/performancedetails.vue +++ b/pagesB/performancedetails/performancedetails.vue @@ -1,14 +1,14 @@ @@ -109,6 +83,7 @@ border-bottom: 2rpx solid #E6E6E6; margin: 0 auto; display: flex; + justify-content: space-between; } .headcollapse { @@ -134,4 +109,4 @@ margin-bottom: 20rpx; } } - \ No newline at end of file + diff --git a/pagesC/contractsigningprotocol/contractsigningprotocol.vue b/pagesC/contractsigningprotocol/contractsigningprotocol.vue new file mode 100644 index 0000000..3534a61 --- /dev/null +++ b/pagesC/contractsigningprotocol/contractsigningprotocol.vue @@ -0,0 +1,37 @@ + + + + + \ No newline at end of file From 59471e0f1ad733823bda1846242eae52abaa9316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Thu, 12 Oct 2023 15:03:29 +0800 Subject: [PATCH 2/6] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/signature/signature.vue | 52 ++++ components/v-sign/utils.js | 15 ++ components/v-sign/v-sign-action.vue | 162 ++++++++++++ components/v-sign/v-sign-pen.vue | 211 ++++++++++++++++ components/v-sign/v-sign.vue | 238 ++++++++++++++++++ pagesC/Onlinesigning/Onlinesigning.vue | 13 +- .../contractsigningprotocol.vue | 23 +- .../selectInstitution/selectInstitution.vue | 19 +- 8 files changed, 728 insertions(+), 5 deletions(-) create mode 100644 components/signature/signature.vue create mode 100644 components/v-sign/utils.js create mode 100644 components/v-sign/v-sign-action.vue create mode 100644 components/v-sign/v-sign-pen.vue create mode 100644 components/v-sign/v-sign.vue diff --git a/components/signature/signature.vue b/components/signature/signature.vue new file mode 100644 index 0000000..5a97667 --- /dev/null +++ b/components/signature/signature.vue @@ -0,0 +1,52 @@ + + + + diff --git a/components/v-sign/utils.js b/components/v-sign/utils.js new file mode 100644 index 0000000..a5a9ab7 --- /dev/null +++ b/components/v-sign/utils.js @@ -0,0 +1,15 @@ +/** + * 判断是否未数值 + * @param {Object} val + */ +export function isNumber(val) { + return !isNaN(Number(val)) +} + +/** + * 处理大小单位 + * @param {Object} val + */ +export function formatSize(val) { + return isNumber(val) ? `${val}rpx` : val +} diff --git a/components/v-sign/v-sign-action.vue b/components/v-sign/v-sign-action.vue new file mode 100644 index 0000000..65d11d1 --- /dev/null +++ b/components/v-sign/v-sign-action.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/components/v-sign/v-sign-pen.vue b/components/v-sign/v-sign-pen.vue new file mode 100644 index 0000000..9c26a66 --- /dev/null +++ b/components/v-sign/v-sign-pen.vue @@ -0,0 +1,211 @@ + + + + + diff --git a/components/v-sign/v-sign.vue b/components/v-sign/v-sign.vue new file mode 100644 index 0000000..afb3020 --- /dev/null +++ b/components/v-sign/v-sign.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/pagesC/Onlinesigning/Onlinesigning.vue b/pagesC/Onlinesigning/Onlinesigning.vue index 0b82a02..ae058e0 100644 --- a/pagesC/Onlinesigning/Onlinesigning.vue +++ b/pagesC/Onlinesigning/Onlinesigning.vue @@ -103,7 +103,11 @@ - + + 签约周期(年) + + + 签约提醒: @@ -200,12 +204,19 @@ crowdNoList: null, packageList: [], packageNoList: null, + signYears: null, } } }, + watch: { + // 'query.signYears': { + // handler(newVal, oldVal) {}, + // } + }, methods: { updata() { if (this.radio == 2) { + if (!this.query.signYears) this.query.signYears = 1 let date = new Date(); let year = date.getFullYear(); let month = date.getMonth() + 1; diff --git a/pagesC/contractsigningprotocol/contractsigningprotocol.vue b/pagesC/contractsigningprotocol/contractsigningprotocol.vue index 3534a61..cc9a399 100644 --- a/pagesC/contractsigningprotocol/contractsigningprotocol.vue +++ b/pagesC/contractsigningprotocol/contractsigningprotocol.vue @@ -1,21 +1,40 @@ + \ No newline at end of file diff --git a/pagesB/mysigning/mysigning.scss b/pagesB/mysigning/mysigning.scss new file mode 100644 index 0000000..666be57 --- /dev/null +++ b/pagesB/mysigning/mysigning.scss @@ -0,0 +1,220 @@ +.app { + width: 96%; + margin: 20rpx auto; + background-color: #fff; + padding-bottom: 50rpx; + font-size: 31rpx; + + .mask { + background-color: #fff; + width: 100%; + position: relative; + height: 100%; + padding-top: 80rpx; + + .titletext { + width: 100%; + padding: 40rpx 30rpx 0; + display: flex; + + .select { + width: 60%; + height: 63rpx; + border: 2rpx solid #d0d0d0; + border-radius: 5rpx; + display: flex; + position: relative; + flex: 1; + + text { + height: 63rpx; + padding: 0 60rpx 0 20rpx; + line-height: 63rpx; + font-weight: 400; + color: gray; + font-size: 24rpx; + // text-overflow: -o-ellipsis-lastline; + // overflow: hidden; + // text-overflow: ellipsis; + // display: -webkit-box; + // -webkit-line-clamp: 1; + // line-clamp: 1; + // -webkit-box-orient: vertical; + // white-space:normal; + // word-break:break-all; + } + + image { + width: 9rpx; + height: 17rpx; + position: absolute; + right: 40rpx; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + } + } + } + + .btnss { + display: flex; + text-align: center; + border-top: 1rpx solid #f6f6f6; + font-size: 32rpx; + line-height: 100rpx; + width: 100%; + position: absolute; + bottom: 0; + + .cancel { + width: 50%; + height: 100rpx; + border-right: 0.5rpx solid #f6f6f6; + } + + .Rescind { + width: 50%; + height: 100rpx; + color: #55d0df; + border-left: 0.5rpx solid #f6f6f6; + } + } + + textarea { + padding: 10rpx 20rpx; + font-size: 24rpx; + border: 1rpx solid #d0d0d0; + flex: 1; + } + + text { + display: inline-block; + padding-left: 20rpx; + width: 200rpx; + height: 50rpx; + font-size: 28rpx; + line-height: 50rpx; + color: #333333; + } + } + + .btns { + width: 100%; + display: flex; + justify-content: space-evenly; + padding-bottom: 100rpx; + + .leftbtn, + .rightbtn { + width: 290rpx; + height: 62rpx; + background: #FFFFFF; + border: 1px solid #26A888; + border-radius: 5rpx; + text-align: center; + font-weight: 500; + color: #26A888; + line-height: 62rpx; + } + + .rightbtn { + color: #fff; + background: #26A888; + } + } + + .lookbtn { + margin: 50rpx auto 0; + width: 497rpx; + height: 62rpx; + background: #FFFFFF; + border: 1px solid #26A888; + border-radius: 5rpx; + font-weight: 500; + color: #26A888; + text-align: center; + line-height: 62rpx; + } + + .border { + width: 94%; + height: 2rpx; + margin: 60rpx auto 30rpx; + background: #E6E6E6; + } + + .item { + width: 100%; + padding: 30rpx 50rpx 0 50rpx; + font-size: 30rpx; + font-weight: 400; + color: #333333; + word-break: break-all; + } + + .flexitem { + display: flex; + justify-content: space-between; + + .right { + display: flex; + align-items: flex-end; + + image { + width: 30rpx; + height: 30rpx; + } + + text { + padding-left: 10rpx; + } + } + } + + .name { + width: 100%; + font-size: 38rpx; + font-weight: 500; + color: #333333; + padding: 60rpx 50rpx 0 50rpx; + display: flex; + align-items: flex-end; + + .text { + margin-right: 40rpx; + } + + .card { + font-size: 18rpx; + font-weight: 400; + color: #FFA115; + padding: 0 15rpx; + height: 35rpx; + line-height: 35rpx; + background: #FFFFFF; + border: 1px solid #FFA115; + border-radius: 5rpx; + margin-right: 14rpx; + text-align: center; + } + } + + .title { + width: 100%; + padding: 20rpx 0 0 30rpx; + display: flex; + align-items: flex-end; + + .text { + font-size: 28rpx; + font-weight: 500; + color: #000000; + padding-left: 20rpx; + } + + image { + width: 35rpx; + height: 35rpx; + } + } + } \ No newline at end of file diff --git a/pagesB/mysigning/mysigning.vue b/pagesB/mysigning/mysigning.vue index 5f64989..f790f7c 100644 --- a/pagesB/mysigning/mysigning.vue +++ b/pagesB/mysigning/mysigning.vue @@ -73,17 +73,48 @@ - + 申请解约 查看签约协议 + + + + 解约类型: + + {{list.rescindName}} + 请选择解约类型 + + + + + 解约原因: + + + + + 取消 + + + 解约 + + + + + + + @import './mysigning.scss'; + \ No newline at end of file diff --git a/pagesB/performancedetails/performancedetails.vue b/pagesB/performancedetails/performancedetails.vue index 8685b37..bef89b2 100644 --- a/pagesB/performancedetails/performancedetails.vue +++ b/pagesB/performancedetails/performancedetails.vue @@ -48,10 +48,6 @@ + \ No newline at end of file diff --git a/pagesC/Onlinesigning/Onlinesigning.scss b/pagesC/Onlinesigning/Onlinesigning.scss index 83e26d4..18dbb1c 100644 --- a/pagesC/Onlinesigning/Onlinesigning.scss +++ b/pagesC/Onlinesigning/Onlinesigning.scss @@ -1,8 +1,4 @@ -page { - background-color: #F4F5F7; - } - - .app { +.app { width: 96%; margin: 20rpx auto; background-color: #F7F5F5; diff --git a/pagesC/Onlinesigning/Onlinesigning.vue b/pagesC/Onlinesigning/Onlinesigning.vue index ae058e0..1f7bd9f 100644 --- a/pagesC/Onlinesigning/Onlinesigning.vue +++ b/pagesC/Onlinesigning/Onlinesigning.vue @@ -105,7 +105,7 @@ 签约周期(年) - + diff --git a/pagesC/choosedoctor/choosedoctor.scss b/pagesC/choosedoctor/choosedoctor.scss index 9b02e45..3ceb29d 100644 --- a/pagesC/choosedoctor/choosedoctor.scss +++ b/pagesC/choosedoctor/choosedoctor.scss @@ -1,7 +1,3 @@ - page { - background-color: #F4F5F7; - } - .app { width: 100%; diff --git a/pagesC/selectInstitution/selectInstitution.vue b/pagesC/selectInstitution/selectInstitution.vue index 89c7b5d..9a80945 100644 --- a/pagesC/selectInstitution/selectInstitution.vue +++ b/pagesC/selectInstitution/selectInstitution.vue @@ -142,10 +142,6 @@ \ No newline at end of file + From 5859b4a6ef0fe5ff348d6f3a6c45ab5a8655c0ce Mon Sep 17 00:00:00 2001 From: shidongli Date: Fri, 13 Oct 2023 10:40:42 +0800 Subject: [PATCH 5/6] =?UTF-8?q?=E7=AD=9B=E6=9F=A5=E7=BB=93=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesB/screeningResult/screeningResult.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pagesB/screeningResult/screeningResult.vue b/pagesB/screeningResult/screeningResult.vue index 847dd1c..d0e8d62 100644 --- a/pagesB/screeningResult/screeningResult.vue +++ b/pagesB/screeningResult/screeningResult.vue @@ -218,8 +218,9 @@ import baseurl from '@/api/baseurl.js' console.log(this.screeningResultData, '000000') }) } else { - this.patientld = 52; - // this.patientld= uni.getStorageSync('patientld'); + // this.patientld = 52; + this.userinfo= uni.getStorageSync('userinfo'); + this.patientld = this.userinfo.patientld; this.getLastScreeningResult() } }, From 82a151ff81528c48967afff5d02950ce7b82a772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=89?= <814457906@qq.com> Date: Fri, 13 Oct 2023 13:39:29 +0800 Subject: [PATCH 6/6] =?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/myfamilydoctorteam/index.js | 4 +- api/pagesC/contractsigningprotocol/index.js | 14 +- components/protocol/index.vue | 263 ++++++++++++++++++ pages.json | 15 +- pages/homepage/homepage.vue | 4 +- .../createnewconsultation.scss | 178 ++++++++++++ .../createnewconsultation.vue | 198 ++----------- .../myfamilydoctorteam.scss | 94 +++++++ .../myfamilydoctorteam/myfamilydoctorteam.vue | 103 +------ pagesB/mysigning/mysigning.vue | 4 +- pagesC/Onlinesigning/Onlinesigning.vue | 9 +- pagesC/choosedoctor/choosedoctor.vue | 45 ++- .../contractsigningprotocol.vue | 245 ++++++++++++++-- static/pageC/camera-unselected.png | Bin 0 -> 6306 bytes static/pageC/camera.png | Bin 0 -> 4408 bytes static/pageC/signature-selected.png | Bin 0 -> 9496 bytes static/pageC/signature-unselected.png | Bin 0 -> 15582 bytes 17 files changed, 852 insertions(+), 324 deletions(-) create mode 100644 components/protocol/index.vue create mode 100644 pagesB/createnewconsultation/createnewconsultation.scss create mode 100644 pagesB/myfamilydoctorteam/myfamilydoctorteam.scss create mode 100644 static/pageC/camera-unselected.png create mode 100644 static/pageC/camera.png create mode 100644 static/pageC/signature-selected.png create mode 100644 static/pageC/signature-unselected.png diff --git a/api/pagesB/myfamilydoctorteam/index.js b/api/pagesB/myfamilydoctorteam/index.js index ff93fa4..ed43382 100644 --- a/api/pagesB/myfamilydoctorteam/index.js +++ b/api/pagesB/myfamilydoctorteam/index.js @@ -1,7 +1,7 @@ import request from "@/api/request.js" -export function getDoctorList(pageNum, pageSize, teamNo, region) { +export function getDoctorListtwo(pageNum, pageSize, teamNo, region) { return request({ url: `/applet/signinfo/getDoctorList?pageNum=${pageNum}&pageSize=${pageSize}&teamNo=${teamNo}`, method: 'get', @@ -9,4 +9,4 @@ export function getDoctorList(pageNum, pageSize, teamNo, region) { region: region } }) -} \ No newline at end of file +} diff --git a/api/pagesC/contractsigningprotocol/index.js b/api/pagesC/contractsigningprotocol/index.js index 829c6cd..a7f3cfa 100644 --- a/api/pagesC/contractsigningprotocol/index.js +++ b/api/pagesC/contractsigningprotocol/index.js @@ -9,4 +9,16 @@ export function getContent(orgNo, region) { region: region } }) -} \ No newline at end of file +} + + + +export function getSignProtocol(cardNo, region) { + return request({ + url: `/applet/signinfo/getSignProtocol/${cardNo}`, + method: 'get', + header: { + region: region + } + }) +} diff --git a/components/protocol/index.vue b/components/protocol/index.vue new file mode 100644 index 0000000..6ede464 --- /dev/null +++ b/components/protocol/index.vue @@ -0,0 +1,263 @@ + + + + + diff --git a/pages.json b/pages.json index 84a6551..d077fb6 100644 --- a/pages.json +++ b/pages.json @@ -4,17 +4,17 @@ }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { - "path": "pages/homepage/homepage", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, { "path": "pages/startup/startup", "style": { "navigationStyle": "custom", "enablePullDownRefresh": false } + }, { + "path": "pages/homepage/homepage", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } }, { "path": "pages/medicalservice/medicalservice", @@ -502,7 +502,8 @@ "navigationBarTitleText": "", "enablePullDownRefresh": false } - },{ + }, + { "path": "contractsigningprotocol/contractsigningprotocol", "style": { "navigationBarTitleText": "签约协议", diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 894f245..6de6826 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -114,7 +114,7 @@ // 家医签约 goonline() { uni.navigateTo({ - url: "/pagesB/mysigning/mysigning" + url: "/pagesC/Onlinesigning/Onlinesigning" }) // if (!this.userinfo) { // this.gologin(); @@ -246,4 +246,4 @@ \ No newline at end of file + diff --git a/pagesB/createnewconsultation/createnewconsultation.scss b/pagesB/createnewconsultation/createnewconsultation.scss new file mode 100644 index 0000000..f2409c2 --- /dev/null +++ b/pagesB/createnewconsultation/createnewconsultation.scss @@ -0,0 +1,178 @@ +.app { + padding-top: 10rpx; + width: 100%; + + .btns { + width: 100%; + display: flex; + font-size: 31rpx; + justify-content: space-around; + text-align: center; + font-weight: 500; + margin-top: 80rpx; + padding-bottom: 50rpx; + + .btnleft { + width: 290rpx; + height: 62rpx; + background: #FFFFFF; + border: 1px solid #26A888; + border-radius: 5rpx; + color: #26A888; + line-height: 62rpx + } + + .btnright { + width: 289rpx; + height: 62rpx; + background: #26A888; + border-radius: 5rpx; + color: #FFFFFF; + line-height: 62rpx; + } + } + + .item { + width: 96%; + margin: 20rpx auto; + background-color: #fff; + box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); + border-radius: 5rpx; + padding-bottom: 50rpx; + + .select { + width: 90%; + height: 80rpx; + background: #F6F6F6; + margin: 12rpx auto; + border-radius: 5rpx; + display: flex; + position: relative; + + text { + padding: 0 60rpx 0 20rpx; + line-height: 80rpx; + font-size: 22rpx; + font-weight: 400; + height: 80rpx; + color: #8E8E8E; + // text-overflow: -o-ellipsis-lastline; + // overflow: hidden; + // text-overflow: ellipsis; + // display: -webkit-box; + // -webkit-line-clamp: 1; + // line-clamp: 1; + // -webkit-box-orient: vertical; + // white-space:normal; + // word-break:break-all; + } + + image { + width: 9rpx; + height: 17rpx; + position: absolute; + right: 40rpx; + top: 50%; + -webkit-transform: translateY(-50%); + transform: translateY(-50%); + } + } + + .textarea { + font-size: 18rpx; + font-weight: 400; + color: #8E8E8E; + line-height: 42rpx; + padding: 30rpx 0 0 40rpx; + } + + .text { + font-size: 30rpx; + font-weight: 400; + color: #333333; + padding: 30rpx 0 0 40rpx; + } + + ::v-deep .u-upload { + padding: 30rpx 30rpx 0 30rpx; + } + + .input { + width: 90%; + height: 80rpx; + border-radius: 5rpx; + background: #f6f6f6; + margin: 20rpx 0 0 40rpx; + position: relative; + padding-left: 10rpx; + + image { + width: 10rpx; + height: 20rpx; + position: absolute; + top: 50%; + right: 5%; + transform: translateY(-50%); + } + + .uni-textarea-placeholder { + padding-left: 12rpx; + font-size: 22rpx; + font-weight: 400; + color: #8E8E8E !important; + } + + .phsy { + padding-left: 12rpx; + font-size: 22rpx; + font-weight: 400; + color: #8E8E8E !important; + } + + .inputtext { + padding-left: 12rpx; + color: black; + font-size: 26rpx; + width: 90%; + height: 80rpx; + line-height: 80rpx; + } + + .uinput { + color: black; + font-size: 26rpx; + width: 90%; + height: 80rpx; + line-height: 80rpx; + } + + .noimageuinput { + width: 98% !important; + } + } + } + + .title { + width: 100%; + padding: 10rpx 0 10rpx 35rpx; + + .left { + vertical-align: middle; + display: inline-block; + width: 10rpx; + height: 30rpx; + background: #26A888; + border-radius: 1rpx; + } + + .right { + vertical-align: middle; + display: inline-block; + font-size: 30rpx; + font-weight: 500; + color: #26A888; + line-height: 30rpx; + margin-left: 20rpx; + } + } + } diff --git a/pagesB/createnewconsultation/createnewconsultation.vue b/pagesB/createnewconsultation/createnewconsultation.vue index 3498f69..c3145a5 100644 --- a/pagesB/createnewconsultation/createnewconsultation.vue +++ b/pagesB/createnewconsultation/createnewconsultation.vue @@ -42,8 +42,9 @@ 选择医生 - - 请选择医生 + + {{formdata.doctorName}} + 请选择医生 @@ -170,6 +171,13 @@ }, onShow() { this.areaInfo(); + let that = this + uni.$on('doctordata', function(data) { + let item = JSON.parse(data.data) + that.formdata.doctorName = item.realname + that.formdata.doctorId = item.userNo + uni.$off('doctordata') + }) }, methods: { updata() { @@ -229,187 +237,15 @@ this.address = '请选择所属地区' } }, + gochoosedoctor() { + uni.navigateTo({ + url: '/pagesC/choosedoctor/choosedoctor' + }) + }, } } \ No newline at end of file + @import './createnewconsultation.scss'; + diff --git a/pagesB/myfamilydoctorteam/myfamilydoctorteam.scss b/pagesB/myfamilydoctorteam/myfamilydoctorteam.scss new file mode 100644 index 0000000..cd38e85 --- /dev/null +++ b/pagesB/myfamilydoctorteam/myfamilydoctorteam.scss @@ -0,0 +1,94 @@ +.app { + width: 96%; + margin: 20rpx auto; + background-color: #fff; + + .list { + width: 100%; + + .item { + width: 96%; + margin: 0 auto; + padding-bottom: 60rpx; + border-bottom: 2rpx solid #E6E6E6; + position: relative; + height: 300rpx; + + .zixunbtn { + width: 169rpx; + height: 61rpx; + background: #26A888; + border-radius: 5rpx; + font-size: 28rpx; + font-weight: 400; + color: #FFFFFF; + line-height: 61rpx; + text-align: center; + position: absolute; + top: 65%; + right: 10rpx; + } + + .title { + position: absolute; + top: 70%; + left: 210rpx; + font-size: 18rpx; + font-weight: 500; + color: #FFA733; + line-height: 30rpx; + height: 30rpx; + background: #FFFFFF; + border: 1px solid #FFA115; + border-radius: 5rpx; + text-align: center; + padding: 0 15rpx; + } + + .phone { + position: absolute; + top: 38%; + left: 210rpx; + font-size: 28rpx; + font-weight: 400; + color: #959595; + } + + .name { + position: absolute; + font-size: 28rpx; + font-weight: 500; + color: #333333; + top: 20%; + left: 210rpx; + } + + image { + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 5rpx; + width: 180rpx; + height: 180rpx; + } + } + } + + .teamname { + padding: 20rpx 0 0 30rpx; + display: flex; + align-items: flex-end; + + image { + width: 40rpx; + height: 36rpx; + } + + .name { + padding-left: 15rpx; + font-size: 28rpx; + font-weight: 500; + color: #000000; + } + } + } diff --git a/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue b/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue index 4a76f56..56a2830 100644 --- a/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue +++ b/pagesB/myfamilydoctorteam/myfamilydoctorteam.vue @@ -28,7 +28,7 @@ \ No newline at end of file + @import './myfamilydoctorteam.scss'; + diff --git a/pagesB/mysigning/mysigning.vue b/pagesB/mysigning/mysigning.vue index f790f7c..a44c9eb 100644 --- a/pagesB/mysigning/mysigning.vue +++ b/pagesB/mysigning/mysigning.vue @@ -190,7 +190,7 @@ //签约协议 gocontractsigningprotocol() { uni.navigateTo({ - url: `/pagesC/contractsigningprotocol/contractsigningprotocol?orgNo=${this.list.orgNo}` + url: `/pagesC/contractsigningprotocol/contractsigningprotocol?orgNo=${this.list.orgNo}&cardNo=${this.list.identity}` }) }, //咨询 @@ -215,4 +215,4 @@ \ No newline at end of file + diff --git a/pagesC/Onlinesigning/Onlinesigning.vue b/pagesC/Onlinesigning/Onlinesigning.vue index 1f7bd9f..7a35b39 100644 --- a/pagesC/Onlinesigning/Onlinesigning.vue +++ b/pagesC/Onlinesigning/Onlinesigning.vue @@ -105,7 +105,7 @@ 签约周期(年) - + @@ -148,6 +148,7 @@ + @@ -163,7 +164,11 @@ getSex, getBirthday } from '@/api/conversion.js' + import protocol from '@/components/protocol/index.vue' export default { + components: { + protocol + }, data() { return { showGroup: 1, @@ -461,4 +466,4 @@ \ No newline at end of file + diff --git a/pagesC/choosedoctor/choosedoctor.vue b/pagesC/choosedoctor/choosedoctor.vue index cc58b5d..5c7fcf6 100644 --- a/pagesC/choosedoctor/choosedoctor.vue +++ b/pagesC/choosedoctor/choosedoctor.vue @@ -28,10 +28,14 @@ import { getDoctorList } from '@/api/pagesC/choosedoctor/index.js' + import { + getDoctorListtwo + } from '@/api/pagesB/myfamilydoctorteam/index.js' export default { data() { return { orgNo: null, + teamNo: null, doctorlist: [], doctortotal: 0, pageNum: 1, @@ -39,10 +43,17 @@ }, methods: { getDoctorListinfo() { - getDoctorList(this.pageNum, this.orgNo, '1').then(res => { - this.doctorlist = res.rows - this.doctortotal = res.total - }) + if (this.orgNo) { + getDoctorList(this.pageNum, this.orgNo, '1').then(res => { + this.doctorlist = res.rows + this.doctortotal = res.total + }) + } else { + getDoctorListtwo(this.pageNum, 10, this.teamNo, '1').then(res => { + this.doctorlist = res.rows + this.doctortotal = res.total + }) + } }, emitdata(item) { uni.$emit('doctordata', { @@ -54,18 +65,32 @@ }, }, onLoad(options) { - this.orgNo = options.orgNo + if (options.orgNo) { + this.orgNo = options.orgNo + } else { + // this.teamNo = uni.getStorageSync('userinfo').teamNo + this.teamNo = "00bf7f5a02f3460aa975721ff9f5e533" + } this.getDoctorListinfo(); }, onReachBottom() { //上滑加载 if (this.doctorlist.length >= this.doctortotal) {} else { this.pageNum++; - getDoctorList(this.pageNum, this.orgNo, '1').then(res => { - res.rows.forEach(e => { - this.doctorlist.push(e) + if (this.orgNo) { + getDoctorList(this.pageNum, this.orgNo, '1').then(res => { + res.rows.forEach(e => { + this.doctorlist.push(e) + }) + this.doctortotal = res.total }) - this.doctortotal = res.total - }) + } else { + getDoctorListtwo(this.pageNum, 10, this.teamNo, '1').then(res => { + res.rows.forEach(e => { + this.doctorlist.push(e) + }) + this.doctortotal = res.total + }) + } } }, onPullDownRefresh() { //下拉刷新 diff --git a/pagesC/contractsigningprotocol/contractsigningprotocol.vue b/pagesC/contractsigningprotocol/contractsigningprotocol.vue index cc9a399..c430642 100644 --- a/pagesC/contractsigningprotocol/contractsigningprotocol.vue +++ b/pagesC/contractsigningprotocol/contractsigningprotocol.vue @@ -1,22 +1,128 @@