Commit 6a9dc6b4 by 杨北旺

修复柱状图数据倒叙问题

1 parent 073251ae
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
color: '#B3B3FF' color: '#B3B3FF'
} }
}, },
data: this.getTotal data: this.getTotal.reverse()
}, },
{ {
name: '核销数', name: '核销数',
...@@ -149,7 +149,7 @@ export default { ...@@ -149,7 +149,7 @@ export default {
color: '#7C7CFF' color: '#7C7CFF'
} }
}, },
data: this.usedTotal data: this.usedTotal.reverse()
}, },
{ {
name: '精品升级订单', name: '精品升级订单',
...@@ -164,7 +164,7 @@ export default { ...@@ -164,7 +164,7 @@ export default {
color: '#5850FF' color: '#5850FF'
} }
}, },
data: this.upgradeTotal data: this.upgradeTotal.reverse()
} }
] ]
} }
......
...@@ -18,13 +18,13 @@ ...@@ -18,13 +18,13 @@
<div v-if="nodata == 1" class="list_wrapper"> <div v-if="nodata == 1" class="list_wrapper">
<div class="find_wrap"> <div class="find_wrap">
<div class="date_wrap"> <div class="date_wrap">
<el-date-picker :picker-options="pickerOptions" style="width: 160px" size="mini" v-model="startDate" type="date" placeholder="选择日期"></el-date-picker> <el-date-picker :picker-options="pickerOptions" style="width: 160px" size="mini" v-model="startDate" type="date" placeholder="年/月/日"></el-date-picker>
</div> </div>
<div style="width: 10px; height: 1px"></div> <div style="width: 10px; height: 1px"></div>
<div class="date_wrap"> <div class="date_wrap customdate">
<el-date-picker :picker-options="pickerOptions" style="width: 160px" size="mini" v-model="endDate" type="date" placeholder="选择日期"></el-date-picker> <el-date-picker :picker-options="pickerOptions" style="width: 160px" size="mini" v-model="endDate" type="date" placeholder="年/月/日"></el-date-picker>
</div> </div>
<el-button size="mini" type="primary" @click="toFindNote">查询</el-button> <el-button class="custombtn" size="mini" type="primary" @click="toFindNote">查询</el-button>
<span class="tip_text" @click="computeShow = true">查看分润计算说明</span> <span class="tip_text" @click="computeShow = true">查看分润计算说明</span>
</div> </div>
<div v-if="noList == 1" class="timeLine_wrap"> <div v-if="noList == 1" class="timeLine_wrap">
...@@ -367,6 +367,7 @@ export default { ...@@ -367,6 +367,7 @@ export default {
.date_wrap { .date_wrap {
width: 160px; width: 160px;
} }
.tip_text { .tip_text {
margin-left: 20px; margin-left: 20px;
font-size: 14px; font-size: 14px;
...@@ -376,6 +377,21 @@ export default { ...@@ -376,6 +377,21 @@ export default {
z-index: 120; z-index: 120;
position: relative; position: relative;
} }
.date_wrap /deep/ .el-input--mini .el-input__inner{
border-radius: 0;
}
.customdate /deep/ .el-input--mini .el-input__inner{
border-right: none;
// border-top-right-radius: 0;
// border-bottom-right-radius: 0;
}
.custombtn{
// border-bottom-left-radius: 0;
// border-top-left-radius: 0;
border: 2px solid #5850ff;
border-left: none;
border-radius: 0;
}
} }
.timeLine_wrap { .timeLine_wrap {
margin-top: 19px; margin-top: 19px;
......
...@@ -370,6 +370,7 @@ export default { ...@@ -370,6 +370,7 @@ export default {
}, },
handlerParams() { handlerParams() {
let params = {} let params = {}
this.$refs.table.page.pageNum = 1
if (this.divisionTime) { if (this.divisionTime) {
let startDate = utils.dateFormat(this.divisionTime[0], 'YYYY-MM-DD 00:00:00') let startDate = utils.dateFormat(this.divisionTime[0], 'YYYY-MM-DD 00:00:00')
let endDate = utils.dateFormat(this.divisionTime[1], 'YYYY-MM-DD 23:59:59') let endDate = utils.dateFormat(this.divisionTime[1], 'YYYY-MM-DD 23:59:59')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!