Commit 14e91fe4 by 彭祥礼

楼长总经理KPI信息修改

parent 078dfc32
......@@ -14,12 +14,10 @@
<a-form-item label="月份">
<a-range-picker
:placeholder="['开始月份', '结束月份']"
format="YYYY-MM"
format="YYYYMM"
:value="queryParam.month"
:mode="tempMode"
:ranges="{ Today: [moment(), moment()], 'This Month': [moment(), moment().endOf('month')] }"
@panelChange="handlePanelChange"
@change="handleChange"
style="width: 16rem;"
/>
<!--<a-month-picker type="" @change="onChange" v-model="queryParam.month" placeholder="选择月份" style="width: 8rem;"/>-->
......@@ -203,14 +201,10 @@
},
methods: {
moment,
handleChange(value) {
this.queryParam.month = value;
//console.log("monthValue================="+this.queryParam);
},
handlePanelChange(value, mode) {
this.queryParam.month = value;
this.tempMode = [mode[0] === 'date' ? 'month' : mode[0], mode[1] === 'date' ? 'month' : mode[1]];
//console.log("queryParam.month=================="+this.queryParam);
//console.log("this.tempMode=================="+this.tempMode);
},
excelOut() {
let params = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment