diff --git a/api/pagesB/confirmation/index.js b/api/pagesB/confirmation/index.js new file mode 100644 index 0000000..0ac681b --- /dev/null +++ b/api/pagesB/confirmation/index.js @@ -0,0 +1,11 @@ +import request from "../../request.js" + +export function getListByDoctor(doctorId) { + return request({ + url: `/nurseApplet/schedule/plan/getListByDoctor?doctorId=${doctorId}`, + method: 'get', + header: { + Authorization: 'Bearer' + ' ' + uni.getStorageSync('token') + }, + }) +} \ No newline at end of file diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 057d90c..601e122 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -89,7 +89,7 @@ this.patientName = this.userinfo.patientName if (this.userinfo) { checkSignApply(this.userinfo.cardNo).then(res => { - if (res.code != 0) { + if (res.data.code != 0) { this.checkSign = true } else { this.checkSign = false @@ -114,7 +114,6 @@ }, // 家医签约 goonline() { - console.log(!this.userinfo) if (!this.userinfo) { this.gologin(); } else { diff --git a/pages/myinformation/myinformation.scss b/pages/myinformation/myinformation.scss index c4d88a0..8cf9bdd 100644 --- a/pages/myinformation/myinformation.scss +++ b/pages/myinformation/myinformation.scss @@ -1,10 +1,9 @@ .app { background: #ffffff; - .titles { height: 80rpx; } - + .mask { position: fixed; bottom: 0; @@ -14,27 +13,27 @@ background-color: #6A6A6A; text-align: center; line-height: 68rpx; - + .masktext {} - + .maskcontent { position: absolute; width: 100%; bottom: 120rpx; } - + .add { width: 80%; height: 68rpx; background-color: #ffffff; border-radius: 10rpx; - border: solid 1rpx #60cee3; + border: solid 1rpx #26A888; position: absolute; - color: #60cee3; + color: #26A888; bottom: 50rpx; left: 10%; } - + .p2 { left: 10%; width: 80%; @@ -46,7 +45,7 @@ margin: 0 auto; margin-bottom: 30rpx; } - + .p1 { opacity: 1; color: #ffffff; @@ -220,4 +219,4 @@ height: 100%; } } - } \ No newline at end of file + } diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 5836f51..ed7e0ed 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -109,7 +109,7 @@ 我的预约 - + 服务评价 @@ -304,6 +304,13 @@ this.gologin(); } }, + // 服务评价 + evaluation(){ + uni.navigateTo({ + url: '/pagesB/Serviceevaluation/Serviceevaluation' + }) + + }, //去登陆 gologin() { this.$refs.uToast.show({ @@ -472,4 +479,4 @@ \ No newline at end of file + diff --git a/pagesB/SelectItem/SelectItem.vue b/pagesB/SelectItem/SelectItem.vue index 4bbebb5..9a0a309 100644 --- a/pagesB/SelectItem/SelectItem.vue +++ b/pagesB/SelectItem/SelectItem.vue @@ -1,9 +1,9 @@