diff --git a/com.actionsoft.apps.coe.pal.processlist/src/components/ExportLog.vue b/com.actionsoft.apps.coe.pal.processlist/src/components/ExportLog.vue new file mode 100644 index 0000000..d1c0366 --- /dev/null +++ b/com.actionsoft.apps.coe.pal.processlist/src/components/ExportLog.vue @@ -0,0 +1,178 @@ + + + + + \ No newline at end of file diff --git a/com.actionsoft.apps.coe.pal.processlist/src/views/ProcesslistHome.vue b/com.actionsoft.apps.coe.pal.processlist/src/views/ProcesslistHome.vue index 41a983c..388cafd 100644 --- a/com.actionsoft.apps.coe.pal.processlist/src/views/ProcesslistHome.vue +++ b/com.actionsoft.apps.coe.pal.processlist/src/views/ProcesslistHome.vue @@ -13,8 +13,11 @@
-
+
导出 + + + 重置 @@ -206,6 +209,7 @@ :title="bpmOrgAddress.title" :multiple="bpmOrgAddress.multiple" /> + @@ -213,6 +217,7 @@ import draggable from "vuedraggable"; import awsuiAxios from "../awsuiAxios"; import {openDesigner} from "../api/commonFun"; + import ExportLog from "@/components/ExportLog.vue"; import PalRelationAddress from "@/components/common/PalRelationAddress/index.js"; import PALRepositoryTree from "@/components/common/PALRepositoryTree/index.js"; import BPMOrgAddress from "@/components/common/BPMOrgAddress/index.js";// pal平台组织架构地址簿,调用平台部门人员角色 @@ -228,7 +233,8 @@ draggable, PalRelationAddress, BPMOrgAddress, - PALRepositoryTree + PALRepositoryTree, + ExportLog }, data() { return { @@ -276,6 +282,10 @@ isRequired: false }, showMoreSearch: false, + exportLog: { + wsId: wsId, + visible: false, + } } }, methods : { @@ -501,7 +511,11 @@ params = this.getSearchCondition(params); awsuiAxios.post(params).then(function (ro) {// 查询数据总条数 if (ro.result == 'ok') { - document.getElementById("downloadIframe").src=ro.msg; + // document.getElementById("downloadIframe").src=ro.msg; + that.$message({ + type: 'success', + message: ro.msg + }) } else { // alert('请求响应错误'); // debugger; @@ -592,6 +606,12 @@ this.showMoreSearch = visible; this.searchProcessList(false); }, + openExportLogPage(){ // 打开导出记录页 + this.exportLog.visible = true; + }, + closeExportLogPage(){ + this.exportLog.visible = false; + }, clearSearchMore() { this.frameworkSearchInput1 = ''; this.frameworkSearchInput1Arr = [];