This commit is contained in:
yanran200730
2022-07-29 10:01:08 +08:00
3 changed files with 5 additions and 8 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

View File

@@ -1,5 +1,5 @@
<template>
<div class="headerNav">
<div class="headerNav navBg">
<div style="position: relative">
<ai-icon type="logo" :icon="'iconcunwei'"/>
<ai-icon type="logo" :icon="'iconcunwei'" class="textShadow"/>
@@ -78,7 +78,6 @@ export default {
display: flex;
align-items: center;
width: 100%;
background-image: url("../assets/nav_bg.png");
background-repeat: no-repeat;
background-size: 100% 48px;
position: fixed;

View File

@@ -111,9 +111,8 @@
<div class="time-select" :class="departType == index ? 'active' : ''" v-for="(item, index) in dateTypeList" :key="index" @click="changeDepartType(index)">{{item}}</div>
</div>
</div>
<div id="departBarChart">
<ai-empty v-if="!isDepartData"></ai-empty>
</div>
<div id="departBarChart" v-if="isDepartData"></div>
<ai-empty v-if="!isDepartData"></ai-empty>
</div>
<ai-dialog :visible.sync="dialogDate" title="选择时间" width="500px" customFooter>
@@ -385,10 +384,9 @@
axisPointer: {
type: 'shadow'
},
formatter: function(data) {
formatter: (data) => {
var index = data[0].dataIndex
let name = `<ai-open-data type="departmentName" openid="${this.departBarData[index].deptId}" class="name"></ai-open-data><br/>宣发任务数:${this.departBarData[index].taskCount}`
return name
return `<ww-open-data type="departmentName" openid="${this.departBarData[index].deptId}"></ww-open-data><br/>宣发任务数:${data[0].value}`
}
},
dataZoom: [