From 3c738f4fe2762bba8087e5a22fc0dc06560eab0e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Thu, 08 Aug 2024 10:01:17 +0800
Subject: [PATCH] 三色任务与自查任务
---
subPackage/task/index.vue | 44 ++++++++++++++++++++++++++++++--------------
1 files changed, 30 insertions(+), 14 deletions(-)
diff --git a/subPackage/task/index.vue b/subPackage/task/index.vue
index 52658a8..2fe7998 100644
--- a/subPackage/task/index.vue
+++ b/subPackage/task/index.vue
@@ -135,15 +135,23 @@
</block>
<u-icon name="arrow-right" color="#999"></u-icon>
</view>
- <!-- <view class="flex">
- <block v-if="bailCount > 0">
+ </view>
+
+ </view>
+
+ <view class="nav bgc-ff mb-20 mt-20" v-if="schoolList.length">
+ <view class="nav-item flex j-c-s-b a-i-c" @click="navTo(`${i.path}&from=task`)" v-for="i in schoolList">
+ <text class="f-28">{{i.name}}</text>
+ <view class="flex">
+ <block v-if="i.count > 0">
<text class="f-28 c-99">待处理</text>
- <view class="dot bgc-main">{{bailCount}}</view>
+ <view class="dot bgc-main">{{i.count}}</view>
</block>
<u-icon name="arrow-right" color="#999"></u-icon>
- </view> -->
+ </view>
</view>
</view>
+
</view>
</template>
@@ -163,6 +171,7 @@
}],
repairsCount: 0,
countInfo: {},
+ schoolList: [],
securityList: [],
comprehensive: [],
bailCount: 0
@@ -187,8 +196,10 @@
if (i.remark == '1') {
if (i.name == "报事报修") {}
this.comprehensive.push(i)
- } else {
+ } else if (i.remark == '2') {
this.securityList.push(i)
+ } else if (i.remark == '3') {
+ this.schoolList.push(i)
}
}
}
@@ -223,26 +234,31 @@
// this.bailCount = data.qbhs
for (let i of this.securityList) {
- if (i.name.trim() == "二手交易") {
+ if (i.name.trim() == "二手交易审核") {
i.count = data.bqsj
- } else if (i.name.trim() == "消防自查") {
+ } else if (i.name.trim() == "消防自查审核") {
i.count = data.xfzc;
- } else if (i.name.trim() == "消防隐患整改") {
+ } else if (i.name.trim() == "消防隐患整改审核") {
i.count = data.xfyhzg;
- } else if (i.name.trim() == "居住证申请") {
+ } else if (i.name.trim() == "居住证申请审核") {
i.count = data.jzzsq;
} else if (i.name.trim() == "从业人员审核") {
i.count = data.cyrysh;
- } else if (i.name.trim() == "无诈申请") {
+ } else if (i.name.trim() == "无诈上报审核") {
i.count = data.wztj;
- } else if (i.name.trim() == "校园安全隐患排查") {
+ } else if (i.name.trim() == "取保监居审核") {
+ i.count = data.qbhs;
+ }
+ }
+ for (let i of this.schoolList) {
+ if (i.name.trim() == "安全隐患上报处置") {
i.count = data.xyyh;
- } else if (i.name.trim() == "校园纠纷矛盾") {
+ } else if (i.name.trim() == "纠纷矛盾上报处置") {
i.count = data.xyjfmd;
- } else if (i.name.trim() == "校园安全检查") {
+ } else if (i.name.trim() == "校园安保审核") {
i.count = data.xyaqjc;
} else {
- i.count = data.qbhs;
+ // i.count = data.qbhs;
}
}
}
--
Gitblit v1.9.3