饼图
This commit is contained in:
@@ -68,7 +68,7 @@
|
||||
<div class="list_card">
|
||||
<div class="tab">
|
||||
<u-subsection
|
||||
:list="tabIndex == 0 ? subsection_0 : subsection_1"
|
||||
:list="subsection"
|
||||
:current="subIndex"
|
||||
@change="changeSub"
|
||||
></u-subsection>
|
||||
@@ -112,6 +112,11 @@ export default {
|
||||
currentClickTime: "",
|
||||
flag: true,
|
||||
detail: {},
|
||||
subsection: [
|
||||
{ name: "未执行" },
|
||||
{ name: "已执行" },
|
||||
{ name: "无法执行" },
|
||||
],
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -122,13 +127,13 @@ export default {
|
||||
{ name: "无法执行" },
|
||||
]
|
||||
},
|
||||
subsection_1() {
|
||||
return [
|
||||
{ name: "未送达" },
|
||||
{ name: "已送达" },
|
||||
{ name: "无法送达" },
|
||||
]
|
||||
},
|
||||
// subsection_1() {
|
||||
// return [
|
||||
// { name: "未送达" },
|
||||
// { name: "已送达" },
|
||||
// { name: "无法送达" },
|
||||
// ]
|
||||
// },
|
||||
colConfigs0() {
|
||||
return [
|
||||
{ slot: "groupOwnerId", label: "成员" },
|
||||
@@ -143,6 +148,25 @@ export default {
|
||||
];
|
||||
},
|
||||
},
|
||||
// watch: {
|
||||
// subsection: {
|
||||
// handler: (newVal, oldVal) => {
|
||||
// if(newVal == 0) {
|
||||
// this.subsection = [
|
||||
// { name: "未执行" },
|
||||
// { name: "已执行" },
|
||||
// { name: "无法执行" },
|
||||
// ]
|
||||
// } else {
|
||||
// this.subsection = [
|
||||
// { name: "未送达" },
|
||||
// { name: "已送达" },
|
||||
// { name: "无法送达" },
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// },
|
||||
onLoad(o) {
|
||||
this.id = o.id;
|
||||
this.createTime = o.time;
|
||||
@@ -226,8 +250,8 @@ export default {
|
||||
if (res?.data) {
|
||||
this.info = res.data;
|
||||
this.tableData = res.data.executedList.records;
|
||||
this.getPieEcharts();
|
||||
}
|
||||
this.getPieEcharts();
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user