Commit ee61c192 authored by 华国豪's avatar 华国豪 🙄

导出

parent 83e1467f
...@@ -203,6 +203,7 @@ ...@@ -203,6 +203,7 @@
import Treeselect from "@riophae/vue-treeselect"; import Treeselect from "@riophae/vue-treeselect";
import updateSalesMan from "../commonPage/updateSalesMan.vue"; import updateSalesMan from "../commonPage/updateSalesMan.vue";
import "@riophae/vue-treeselect/dist/vue-treeselect.css"; import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import moment from 'moment'
export default { export default {
components: { components: {
Treeselect Treeselect
...@@ -263,9 +264,8 @@ export default { ...@@ -263,9 +264,8 @@ export default {
}, },
methods: { methods: {
exportFile(){ exportFile(){
this.apipost('', {}, r=>{ let fileName = "【" + moment(new Date()).format("YYYY-MM-DD HH:mm:ss") + "】工作计划.xls";
this.GetLocalFile("UserWork_GetUserWorkExportList", this.msg, fileName);
})
}, },
resetPageIndex() { resetPageIndex() {
this.msg.pageIndex = 1; this.msg.pageIndex = 1;
......
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