mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 11:26:45 +08:00
fix: 运营数据概览bug修复
This commit is contained in:
@@ -452,7 +452,7 @@ export default {
|
||||
name: "报表中心",
|
||||
},
|
||||
{
|
||||
name:'营运数据概览'
|
||||
name:'运营数据概览'
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@@ -334,7 +334,7 @@
|
||||
circle: selectedKeys[0] === 'sub17-1' ? false : true,
|
||||
}"
|
||||
></span>
|
||||
<router-link to="/operational">营运数据概览</router-link>
|
||||
<router-link to="/operational">运营数据概览</router-link>
|
||||
</a-menu-item>
|
||||
<a-sub-menu key="sub17-2" class="treeMenu">
|
||||
<template #icon>
|
||||
@@ -747,7 +747,7 @@ export default {
|
||||
href: "/operational",
|
||||
openKeys: "sub17",
|
||||
selectedKeys: "sub17-1",
|
||||
pagename: "营运数据概览",
|
||||
pagename: "运营数据概览",
|
||||
},
|
||||
{
|
||||
href: "/learningpathmap",
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<div class="left">学习情况</div>
|
||||
<div class="right" @click="exportTwoData">
|
||||
<img src="../../assets/images/coursewareManage/export1.png" alt="" />
|
||||
<span>导出活动详情</span>
|
||||
<span>导出学习情况</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="search">
|
||||
@@ -279,7 +279,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leftEacharts" ref="surface3Ref"></div>
|
||||
<div class="leftEacharts" ref="surface3Ref" @click="eChartClickRight"></div>
|
||||
<div class="threeMsg">
|
||||
<div class="threeMsgItem">
|
||||
<div class="classNum" />
|
||||
@@ -336,6 +336,9 @@ export default {
|
||||
|
||||
const datess = ref();
|
||||
const hackValues = ref();
|
||||
const eChartClickRight=()=>{
|
||||
console.log('11111')
|
||||
}
|
||||
const exportTwoData = async () => {
|
||||
if (state.towParmasn.dateType == 0) {
|
||||
if (!state.towParmasn.day?.length || state.towParmasn.day?.length < 1) {
|
||||
@@ -381,7 +384,7 @@ export default {
|
||||
.format("YYYY-MM-DD hh:mm:ss");
|
||||
axios({
|
||||
method: "post",
|
||||
url: "/report/data/statistics/export/v2",
|
||||
url: "/report/boeu/studyData/exportDetailAll",
|
||||
data: {
|
||||
beginTime: dayjs(state.towParmasn.time[0]).format(
|
||||
"YYYY-MM-01 00:00:01"
|
||||
@@ -541,7 +544,7 @@ export default {
|
||||
const count = [];
|
||||
const duration = [];
|
||||
res?.data?.forEach((item) => {
|
||||
xData.push(item.month);
|
||||
xData.push(item.day);
|
||||
avgDuration.push(item.viewCount);
|
||||
count.push(item.count);
|
||||
duration.push(item.duration);
|
||||
@@ -559,7 +562,7 @@ export default {
|
||||
const count = [];
|
||||
const duration = [];
|
||||
res?.data?.forEach((item) => {
|
||||
xData.push(item.month);
|
||||
xData.push(item.day);
|
||||
avgDuration.push(item.avgDuration);
|
||||
count.push(item.count);
|
||||
duration.push(item.duration);
|
||||
@@ -1117,6 +1120,7 @@ export default {
|
||||
});
|
||||
return {
|
||||
...toRefs(state),
|
||||
eChartClickRight,
|
||||
rightMonthChange,
|
||||
rightChange,
|
||||
exportThree,
|
||||
|
||||
Reference in New Issue
Block a user