From 5d2e7f4b56e713281a35f8c304dab8889899deff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 21 Aug 2024 15:06:15 +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 --- src/views/index.vue | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 854a14d..cf1f70c 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -40,14 +40,14 @@ v-for="(item, index) in taskSituationlist" :key="index" > -
+
-
+
{{ item.name }} @@ -63,7 +63,7 @@ " placement="top" > -
+
{{ item.allCount - item.count }}/{{ item.allCount }}本月签约患者情况
-
服务方式
@@ -108,8 +107,8 @@ export default { list: {}, namelist: [], taskSituationlist: [], - countydata:[], - arrlist:[], + countydata: [], + arrlist: [], }; }, mounted() { @@ -118,20 +117,21 @@ export default { this.info(); }, methods: { - goback() { - this.$router.push({ - path: "/task/manualReview", - }); - }, - gofollowup() { - this.$router.push({ - path: "/task/followup", - }); + goback(item) { + console.log(item, "item"); + if (item.name == "人工审核") { + this.$router.push({ + path: "/task/manualReview", + }); + } else { + this.$router.push({ + path: "/task/followup", + }); + } }, // 上部分 infolist() { topStatistics().then((res) => { - // console.log(res, "res"); this.list = res.data; }); taskSituation().then((res) => { @@ -146,7 +146,7 @@ export default { signPatientCount().then((res) => { // x轴 res.data.forEach((e) => { - this. countydata.push(e.time); + this.countydata.push(e.time); }); // 当月新增患者数量 var countydatay = []; @@ -259,7 +259,7 @@ export default { }, info() { serviceModeStatistics().then((res) => { - this. arrlist = []; + this.arrlist = []; res.data.forEach((element) => { this.arrlist.push({ value: element.count, //将数组的conut值赋给value