From 6490547078b6fe198ca11e45ddb3cf8ce5a14abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Mon, 27 Feb 2023 14:39:18 +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/Personal/Personal.js | 7 ------- pages/Personal/Personal.vue | 33 ++++++++++++++++++--------------- pages/modify/modify.vue | 22 ++++++++++++++++++---- 3 files changed, 36 insertions(+), 26 deletions(-) diff --git a/api/Personal/Personal.js b/api/Personal/Personal.js index 6fe4213..1f3005d 100644 --- a/api/Personal/Personal.js +++ b/api/Personal/Personal.js @@ -5,10 +5,3 @@ export function appPersonal(patientId) { method: 'GET' }) } - -export function orderCount(patientId) { - return request({ - url: `/nurseApp/login/orderCount?patientId=${patientId}`, - method: 'GET' - }) -} diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index 471d9d9..5beb7ee 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -34,12 +34,14 @@ 积分 + {{appPersonallist.integral}} 优惠卷 + {{appPersonallist.patientCouponCount}} @@ -57,30 +59,32 @@ 待付款 - - {{list.waitPayCount}} + + {{appPersonallist.waitPayCount}} + v-if="appPersonallist.waitPayCount>=100"> 99+ 待收货 - - {{list.waitReceivedGoodsCount}} + + {{appPersonallist.waitReceivedGoodsCount}} + v-if="appPersonallist.waitReceivedGoodsCount>=100"> 99+ 待评价 - - {{list.receivedGoodsCount}} + + {{appPersonallist.receivedGoodsCount}} @@ -112,8 +116,7 @@