This commit is contained in:
shijingjing
2022-07-28 13:59:11 +08:00
parent 57e942c916
commit 245f769b3a
2 changed files with 8 additions and 3 deletions

View File

@@ -68,7 +68,7 @@
<div class="list_card"> <div class="list_card">
<div class="tab"> <div class="tab">
<u-subsection <u-subsection
:list="subsection" :list="tabIndex == 0 ? subsection0 : subsection1"
:current="subIndex" :current="subIndex"
@change="changeSub" @change="changeSub"
></u-subsection> ></u-subsection>
@@ -102,7 +102,12 @@ export default {
tabs: ["成员统计", "居民群统计"], tabs: ["成员统计", "居民群统计"],
tabIndex: 0, tabIndex: 0,
pieEcharts: null, pieEcharts: null,
subsection: [ subsection0: [
{ name: "未执行" },
{ name: "已执行" },
{ name: "无法执行" },
],
subsection1: [
{ name: "未送达" }, { name: "未送达" },
{ name: "已送达" }, { name: "已送达" },
{ name: "无法送达" }, { name: "无法送达" },

View File

@@ -119,7 +119,7 @@ export default {
this.fileList = res.data.contents.filter(v=> v.msgType == 3) this.fileList = res.data.contents.filter(v=> v.msgType == 3)
this.webpage = res.data.contents.filter(v=> v.msgType == 4) this.webpage = res.data.contents.filter(v=> v.msgType == 4)
this.miniapp = res.data.contents.filter(v=> v.msgType == 5) this.miniapp = res.data.contents.filter(v=> v.msgType == 5)
if(data.status==1) { // 拒绝 if(res.data.status==1) { // 拒绝
this.approver = data.examines.filter(e=> e.examineUserId == user.openId) this.approver = data.examines.filter(e=> e.examineUserId == user.openId)
} else { // 通过 } else { // 通过
this.approver = data.examines this.approver = data.examines