分段器

This commit is contained in:
shijingjing
2022-07-28 14:18:24 +08:00
parent 245f769b3a
commit 2ae2285753

View File

@@ -35,25 +35,25 @@
<div class="pie_right">
<div>
<span>{{
tabIndex == 0 ? "计划送达居民" : "计划送达居民群:"
tabIndex == 0 ? "计划执行成员" : "计划送达居民群:"
}}</span>
<span>{{ info.planCount || 0 }}</span>
</div>
<div>
<span>{{
tabIndex == 0 ? "未送达居民" : "未送达居民群:"
tabIndex == 0 ? "未执行成员" : "未送达居民群:"
}}</span>
<span>{{ info.unExecutedCount || 0 }}</span>
</div>
<div>
<span>{{
tabIndex == 0 ? "已送达居民" : "已送达居民群:"
tabIndex == 0 ? "已执行成员" : "已送达居民群:"
}}</span>
<span>{{ info.executedCount || 0 }}</span>
</div>
<div>
<span>{{
tabIndex == 0 ? "无法送达居民" : "无法送达居民群:"
tabIndex == 0 ? "无法执行成员" : "无法送达居民群:"
}}</span>
<span>{{ info.cannotExecuteCount || 0 }}</span>
</div>
@@ -102,16 +102,6 @@ export default {
tabs: ["成员统计", "居民群统计"],
tabIndex: 0,
pieEcharts: null,
subsection0: [
{ name: "未执行" },
{ name: "已执行" },
{ name: "无法执行" },
],
subsection1: [
{ name: "未送达" },
{ name: "已送达" },
{ name: "无法送达" },
],
subIndex: 0,
tableData: [],
createTime: "",
@@ -125,6 +115,20 @@ export default {
};
},
computed: {
subsection0() {
return [
{ name: "未执行" },
{ name: "已执行" },
{ name: "无法执行" },
]
},
subsection1() {
return [
{ name: "未送达" },
{ name: "已送达" },
{ name: "无法送达" },
]
},
colConfigs0() {
return [
{ slot: "groupOwnerId", label: "成员" },