浏览代码

事物管理里任务导出

caojunjie 2 年之前
父节点
当前提交
6c8f6b8911
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/workManagement/task/index.vue

+ 2 - 2
src/views/workManagement/task/index.vue

@@ -265,7 +265,7 @@ export default {
                 }
             }
         }
-        config.params.status = '1,4,5'
+        config.params.status = config.params.status?config.params.status:'1,4,5'
         config.params.deptid = ''
         config.params.branch = 'Y'
         console.log(config.params)
@@ -276,7 +276,7 @@ export default {
             }
         })
         window.open(routeData.href.slice(1, routeData.href.length) + '&' + `${this.website.tokenHeader}=${getToken()}`);
-
+        this.exportLoading = false
       // getFlowList(1, 10000, param).then(res => {
       //   const fileData = this.deepClone(res.data.data.records)
       //   fileData.map(item => {