Commit 7c0270a0 by chenyu

update: update

parent d07edeb0
......@@ -156,7 +156,7 @@
:dialogVisible.sync="dialogVisible"
:type="2"
:excelUrl="excelUrl"
:params="query"
:params="exportParams"
:projectName="projectName"
/>
</div>
......@@ -197,6 +197,14 @@ export default {
[this.query.beginTime, this.query.endTime] = val || ['', ''];
},
},
exportParams: {
get () {
return Object.assign({}, this.query, { beginTime: this.getTimeAll(this.query.beginTime), endTime: this.getTimeAll(this.query.endTime) });
},
set (val) {
Object.assign({}, this.query, { beginTime: this.getTimeAll(this.query.beginTime), endTime: this.getTimeAll(this.query.endTime) });
},
},
},
created () {
this.getSearchList();
......
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