Commit 14e91fe4 by 彭祥礼

楼长总经理KPI信息修改

parent 078dfc32
...@@ -14,12 +14,10 @@ ...@@ -14,12 +14,10 @@
<a-form-item label="月份"> <a-form-item label="月份">
<a-range-picker <a-range-picker
:placeholder="['开始月份', '结束月份']" :placeholder="['开始月份', '结束月份']"
format="YYYY-MM" format="YYYYMM"
:value="queryParam.month" :value="queryParam.month"
:mode="tempMode" :mode="tempMode"
:ranges="{ Today: [moment(), moment()], 'This Month': [moment(), moment().endOf('month')] }"
@panelChange="handlePanelChange" @panelChange="handlePanelChange"
@change="handleChange"
style="width: 16rem;" style="width: 16rem;"
/> />
<!--<a-month-picker type="" @change="onChange" v-model="queryParam.month" placeholder="选择月份" style="width: 8rem;"/>--> <!--<a-month-picker type="" @change="onChange" v-model="queryParam.month" placeholder="选择月份" style="width: 8rem;"/>-->
...@@ -203,14 +201,10 @@ ...@@ -203,14 +201,10 @@
}, },
methods: { methods: {
moment, moment,
handleChange(value) {
this.queryParam.month = value;
//console.log("monthValue================="+this.queryParam);
},
handlePanelChange(value, mode) { handlePanelChange(value, mode) {
this.queryParam.month = value; this.queryParam.month = value;
this.tempMode = [mode[0] === 'date' ? 'month' : mode[0], mode[1] === 'date' ? 'month' : mode[1]]; 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() { excelOut() {
let params = { 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