From 808bee1707ca1256c8aa367e67b25e444554214f Mon Sep 17 00:00:00 2001 From: qinoy Date: Thu, 9 Nov 2023 18:33:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=B8=85=E5=8D=95=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=20=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ExportLog.vue | 178 ++++++++++++++++++ .../src/views/ProcesslistHome.vue | 26 ++- 2 files changed, 201 insertions(+), 3 deletions(-) create mode 100644 com.actionsoft.apps.coe.pal.processlist/src/components/ExportLog.vue 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 = [];