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