|
@@ -387,7 +387,8 @@ export default {
|
|
|
},
|
|
|
// 下载表格
|
|
|
onDownload() {
|
|
|
- this.form.startTime = this.form.startTime.toJSON();
|
|
|
+ this.form.startTime = this.form.startTime ? this.form.startTime.toJSON() : '';
|
|
|
+ this.form.endTime = this.form.endTime ? this.form.endTime.toJSON() : '';
|
|
|
console.log(this.form.startTime);
|
|
|
let url = "http://whiteboardtest.ai160.com/manageBase/manage/export?";
|
|
|
for (let key in this.form) {
|
|
@@ -396,6 +397,9 @@ export default {
|
|
|
url += str;
|
|
|
}
|
|
|
window.open(url.slice(0, -1));
|
|
|
+ // downloadData(this.form).then(res => {
|
|
|
+ // console.log
|
|
|
+ // })
|
|
|
},
|
|
|
// 自定义合计
|
|
|
tableSummary(param) {
|