This commit is contained in:
liuye
2022-10-27 18:07:44 +08:00
parent 96acf75571
commit a86f37ecfc

View File

@@ -18,7 +18,7 @@
</template>
<template slot="content">
<div class="top">
<header>近12个月员活动参与情况统计</header>
<header>近12个月员活动参与情况统计</header>
<div class="month" id="month"></div>
</div>
<div class="middle">
@@ -38,7 +38,7 @@
<div class="middle-left">
<ul>
<li>
<p>应报到员人数</p>
<p>应报到员人数</p>
<div class="num">
<span>{{ numObj.party_num }}</span>
<span></span>
@@ -181,7 +181,7 @@ export default {
...mapState(["user"]),
table() {
return [
{ label: "员活动记录", id: "0" },
{ label: "员活动记录", id: "0" },
{ label: "未参与活动名单", id: "1" },
];
},
@@ -282,7 +282,7 @@ export default {
link.href = URL.createObjectURL(blob);
let fileName = "";
this.activeId == 0
? (fileName = "员活动记录")
? (fileName = "员活动记录")
: (fileName = "未参与活动名单");
link.setAttribute("download", fileName + ".xls");
document.body.appendChild(link);
@@ -315,13 +315,13 @@ export default {
dataset: {
source: [
["product", ...months],
["应报到员人次", ...arr1],
["应报到员人次", ...arr1],
["报名活动人次", ...arr2],
["实际参与活动人次", ...arr3],
],
},
legend: {
data: ["应报到员人次", "报名活动人次", "实际参与活动人次"],
data: ["应报到员人次", "报名活动人次", "实际参与活动人次"],
},
toolbox: {
feature: {
@@ -386,7 +386,7 @@ export default {
backgroundColor: "rgba(249,249,249,1)",
title: {
text: "员报到类型比例",
text: "员报到类型比例",
x: "left",
},
@@ -404,7 +404,7 @@ export default {
},
series: [
{
name: "员报到类型比例",
name: "员报到类型比例",
type: "pie",
radius: ["45%", "75%"],
center: ["30%", "55%"],