|
@@ -4,23 +4,29 @@
|
|
|
<span style="margin-bottom:20px;">竞价情况</span>
|
|
|
<!-- <span style="width"></span> -->
|
|
|
<div style="display: flex">
|
|
|
- <span style="width: 110px">
|
|
|
+ <span style="width: 100px">
|
|
|
<el-select v-model="region" size="mini">
|
|
|
<el-option label="不限部门" value="1"></el-option>
|
|
|
<el-option label="网络部" value="2"></el-option>
|
|
|
</el-select>
|
|
|
</span>
|
|
|
- <span style="width: 70px">
|
|
|
+ <span style="width: 60px">
|
|
|
<el-select v-model="region1" size="mini">
|
|
|
<el-option label="日" value="1"></el-option>
|
|
|
<el-option label="月" value="2"></el-option>
|
|
|
<el-option label="年" value="3"></el-option>
|
|
|
</el-select>
|
|
|
</span>
|
|
|
- <span style="width: 120px">
|
|
|
- <el-select v-model="region2" size="mini">
|
|
|
- <el-option label="2022/07/01" value="1"></el-option>
|
|
|
- </el-select>
|
|
|
+ <span style="width: 140px">
|
|
|
+
|
|
|
+ <el-date-picker
|
|
|
+ style="width:100%"
|
|
|
+ size="mini"
|
|
|
+ :clearable="false"
|
|
|
+ v-model="region2"
|
|
|
+ :type="region1 == 1 ? 'date' : region1 == 2 ? 'month' : 'year'"
|
|
|
+ placeholder="选择日期">
|
|
|
+ </el-date-picker>
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -93,7 +99,10 @@ export default {
|
|
|
label: {
|
|
|
show: true,
|
|
|
position: "inside",
|
|
|
- formatter:"{b} : {c}"
|
|
|
+ formatter:((params)=>{
|
|
|
+ //返回值对大数额做处理
|
|
|
+ return `${params.data.name} : ${this.$options.filters['getNum_noPrice'](params.data.value) }`
|
|
|
+ })
|
|
|
},
|
|
|
labelLine: {
|
|
|
length: 10,
|
|
@@ -112,8 +121,8 @@ export default {
|
|
|
// },
|
|
|
// },
|
|
|
data: [
|
|
|
- { value: 60, name: "生成订单" },
|
|
|
- { value: 80, name: "已反馈单数" },
|
|
|
+ { value: 456760, name: "生成订单" },
|
|
|
+ { value: 8880, name: "已反馈单数" },
|
|
|
{ value: 100, name: "竞价单数" },
|
|
|
],
|
|
|
},
|
|
@@ -130,7 +139,7 @@ export default {
|
|
|
bottom: '1%'
|
|
|
},
|
|
|
title: {
|
|
|
- text: "空反:\n总单数\n11",
|
|
|
+ text: `空反:\n总单数\n${1111}`,
|
|
|
fontWeight:"normal",
|
|
|
fontSize:14,
|
|
|
lineHeight: 26,
|
|
@@ -146,7 +155,10 @@ export default {
|
|
|
label: {
|
|
|
show: true,
|
|
|
position: 'inner',
|
|
|
- formatter:"{c}"
|
|
|
+ formatter:((params)=>{
|
|
|
+ //返回值对大数额做处理
|
|
|
+ return `${this.$options.filters['getNum_noPrice'](params.data.value) }`
|
|
|
+ })
|
|
|
},
|
|
|
|
|
|
labelLine: {
|