From bfc678932898c16acefe5841b9622e1e10e407f6 Mon Sep 17 00:00:00 2001
From: limingtao <@ming_tao_li>
Date: Thu, 18 Jul 2024 14:17:35 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E6=9F=A5=E6=95=B0=E9=87=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/investigation/index.vue | 33 +++------------------------------
1 file changed, 3 insertions(+), 30 deletions(-)
diff --git a/pages/investigation/index.vue b/pages/investigation/index.vue
index 8325e99..463f047 100644
--- a/pages/investigation/index.vue
+++ b/pages/investigation/index.vue
@@ -14,7 +14,7 @@
待办
- {{ totalData.Unconfirmed }}
+ {{ totalData.UnderInvestigation }}
已完成
- {{ totalData.Finished }}
+ {{ totalData.InGovernance }}
@@ -89,8 +89,7 @@
},
onShow: function() {
- this.getData1()
- this.getData2()
+ this.getData()
},
// 计算属性
computed: {
@@ -118,33 +117,7 @@
}
this.getList()
},
- getData1() {
- let datas = {
- nuserid: this.$.getData('token'),
- status: '10',
- }
- this.loadmorestatus = 'loading'
- this.$request.globalRequest(
- `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}`, datas, 'POST')
- .then(res => {
- console.log(res)
- this.totalData.Unconfirmed = res.result.total
- }).catch((err) => {})
-
- },
- getData2() {
- let datas = {
- nuserid: this.$.getData('token'),
- status: '20',
- }
- this.loadmorestatus = 'loading'
- this.$request.globalRequest(
- `/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}`, datas, 'POST')
- .then(res => {
- this.totalData.Finished = res.result.total
- }).catch((err) => {})
- },
getData() {
this.$request.globalRequest('/hiddenDanger/highDanger/getHighDangerStatusNum', {
nuserid: this.$.getData('token')