From e799eca8dbfbefa8e656a26336fb01b844b55c16 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Sun, 21 Jun 2020 19:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8A=95=E8=AF=89=E7=95=8C?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 4 +-- .../addPrivilegeGroup/addPrivilegeGroup.html | 4 +-- .../complaintManage/complaintManage.html | 6 +++++ .../common/complaintManage/complaintManage.js | 25 +++++++++++++++++++ 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index 3bc4d5864..19a54ba77 100644 --- a/app.js +++ b/app.js @@ -33,8 +33,8 @@ let opts = { //app.use('/callComponent',proxy('https://app.demo.winqi.cn/',opts)); //app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012/',opts)); -//app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); -app.use('/callComponent',proxy('http://192.168.1.22:8012',opts)); +app.use('/callComponent',proxy('http://api.demo.winqi.cn:8012',opts)); +//app.use('/callComponent',proxy('http://192.168.1.22:8012',opts)); //app.listen(3000); diff --git a/public/components/dev/addPrivilegeGroup/addPrivilegeGroup.html b/public/components/dev/addPrivilegeGroup/addPrivilegeGroup.html index af9423ee0..b3ae07d52 100644 --- a/public/components/dev/addPrivilegeGroup/addPrivilegeGroup.html +++ b/public/components/dev/addPrivilegeGroup/addPrivilegeGroup.html @@ -9,11 +9,11 @@
-
+
-
+
diff --git a/public/pages/common/complaintManage/complaintManage.html b/public/pages/common/complaintManage/complaintManage.html index 249fd1d53..d1f0d6093 100644 --- a/public/pages/common/complaintManage/complaintManage.html +++ b/public/pages/common/complaintManage/complaintManage.html @@ -114,6 +114,11 @@ v-on:click="_openComplaintDetailModel(complaint)">详情
+
+ +
diff --git a/public/pages/common/complaintManage/complaintManage.js b/public/pages/common/complaintManage/complaintManage.js index ba3da1b01..a0553f352 100644 --- a/public/pages/common/complaintManage/complaintManage.js +++ b/public/pages/common/complaintManage/complaintManage.js @@ -86,6 +86,31 @@ } else { vc.component.complaintManageInfo.moreCondition = true; } + }, + _openRunWorkflowImage:function(_complaint){ + var param = { + params: { + communityId: vc.getCurrentCommunity().communityId, + businessKey: _complaint.complaintId + } + }; + //发送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('请求失败处理'); + } + ); }