From 93b186f94823fa2f64cb4f6cc25d05c6ca1796d3 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Mon, 30 Aug 2021 19:44:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../newOaWorkflowFinish.js | 4 +-- .../newOaWorkflowPool/newOaWorkflowPool.html | 6 ++++ .../newOaWorkflowPool/newOaWorkflowPool.js | 24 +++++++++++++++ .../newOaWorkflowDetail.html | 12 ++++++-- .../newOaWorkflowDetail.js | 30 ++++++++++++++++--- 5 files changed, 67 insertions(+), 9 deletions(-) diff --git a/public/components/property/newOaWorkflowFinish/newOaWorkflowFinish.js b/public/components/property/newOaWorkflowFinish/newOaWorkflowFinish.js index 27465db17..e711f9ee7 100644 --- a/public/components/property/newOaWorkflowFinish/newOaWorkflowFinish.js +++ b/public/components/property/newOaWorkflowFinish/newOaWorkflowFinish.js @@ -83,8 +83,8 @@ } ); }, - _openNewOaWorkflowFinishDetail: function (_notice) { - vc.jumpToPage("/admin.html#/pages/common/noticeDetail?noticeId=" + _notice.noticeId); + _openNewOaWorkflowFinishDetail: function (_undo) { + vc.jumpToPage("/admin.html#/pages/property/newOaWorkflowDetail?id=" + _undo.id + "&flowId=" + $that.newOaWorkflowFinishInfo.conditions.flowId); }, _queryOaWorkflowFinishMethod: function () { vc.component._listOaWorkflowFinishs(DEFAULT_PAGE, DEFAULT_ROWS); diff --git a/public/components/property/newOaWorkflowPool/newOaWorkflowPool.html b/public/components/property/newOaWorkflowPool/newOaWorkflowPool.html index cef93cc93..8ca2b48e2 100644 --- a/public/components/property/newOaWorkflowPool/newOaWorkflowPool.html +++ b/public/components/property/newOaWorkflowPool/newOaWorkflowPool.html @@ -75,6 +75,11 @@ v-on:click="_openNewOaWorkflowPoolDetail(pool)">详情 +
+ +
@@ -92,4 +97,5 @@ + \ No newline at end of file diff --git a/public/components/property/newOaWorkflowPool/newOaWorkflowPool.js b/public/components/property/newOaWorkflowPool/newOaWorkflowPool.js index 11c763035..5408fb05f 100644 --- a/public/components/property/newOaWorkflowPool/newOaWorkflowPool.js +++ b/public/components/property/newOaWorkflowPool/newOaWorkflowPool.js @@ -89,6 +89,30 @@ _queryOaWorkflowPoolMethod: function () { vc.component._listOaWorkflowPools(DEFAULT_PAGE, DEFAULT_ROWS); }, + _openNewOaWorkflowPoolImg: function (_pool) { //展示流程图 + var param = { + params: { + communityId: vc.getCurrentCommunity().communityId, + businessKey: _pool.id + } + }; + //发送get请求 + vc.http.apiGet('workflow.listRunWorkflowImage', + param, + function (json, res) { + var _workflowManageInfo = JSON.parse(json); + if (_workflowManageInfo.code != '0') { + vc.toast(_workflowManageInfo.msg); + return; + } + vc.emit('viewImage', 'showImage', { + url: 'data:image/png;base64,' + _workflowManageInfo.data + }); + }, function (errInfo, error) { + console.log('请求失败处理'); + } + ); + }, _getNewOaWorkflowPoolState: function (_pool) { /** * 1001 申请 1002 待审核 1003 退回 1004 委托 1005 办结 diff --git a/public/pages/property/newOaWorkflowDetail/newOaWorkflowDetail.html b/public/pages/property/newOaWorkflowDetail/newOaWorkflowDetail.html index 11d23ea7a..e2cb7295e 100644 --- a/public/pages/property/newOaWorkflowDetail/newOaWorkflowDetail.html +++ b/public/pages/property/newOaWorkflowDetail/newOaWorkflowDetail.html @@ -60,6 +60,7 @@ 序号 + 部门 处理人 状态 耗时 @@ -69,7 +70,10 @@ {{index+1}} - {{item.auditName}} + {{item.orgName}} + 管理员 + {{item.userName}} + {{item.auditName}} {{item.stateName}} {{item.duration}} {{item.message}} @@ -97,7 +101,8 @@ @@ -110,7 +115,8 @@ -
+