Commit 38ef2b3a by jack

1111

1 parent 856727e9
......@@ -179,10 +179,16 @@ export default {
});
},
btnClick(type, scope) {
let oParams = deepClone(this.searchDataForm);
if (oParams.date && oParams.date.length > 0) {
oParams.year = oParams.date.split("-")[0];
oParams.month = oParams.date.split("-")[0];
delete oParams.date;
}
this.$Common.exportExcel({
url: `${store.state.baseURL}${REPORT_API.REPORT_EXPORT}`,
method: "GET",
data: this.searchDataForm,
data: oParams,
fileName: "有效试驾统计报表",
});
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!