优化 全拼处理

This commit is contained in:
java110 2020-06-21 21:18:02 +08:00
parent e799eca8db
commit 5d20036699
2 changed files with 7 additions and 7 deletions

View File

@ -147,11 +147,11 @@
</div>
</div>
</div>
<vc:create path="common/viewImage"></vc:create>
<vc:create path="common/editComplaint"></vc:create>
<vc:create path="common/deleteComplaint"></vc:create>
<vc:create path="common/complaintDetail"></vc:create>
<vc:create path="common/viewImage"></vc:create>
</div>

View File

@ -77,7 +77,7 @@
vc.component._listComplaints(DEFAULT_PAGE, DEFAULT_ROWS);
},
_openComplaintDetailModel:function(_complaint){
_openComplaintDetailModel: function (_complaint) {
vc.emit('complaintDetail', 'openComplaintDetailModal', _complaint);
},
_moreCondition: function () {
@ -87,7 +87,7 @@
vc.component.complaintManageInfo.moreCondition = true;
}
},
_openRunWorkflowImage:function(_complaint){
_openRunWorkflowImage: function (_complaint) {
var param = {
params: {
communityId: vc.getCurrentCommunity().communityId,
@ -99,13 +99,13 @@
param,
function (json, res) {
var _workflowManageInfo = JSON.parse(json);
if(_workflowManageInfo.code != '0'){
if (_workflowManageInfo.code != '0') {
vc.toast(_workflowManageInfo.msg);
return ;
return;
}
vc.emit('viewImage', 'showImage', {
url: 'data:image/png;base64,'+_workflowManageInfo.data
url: 'data:image/png;base64,' + _workflowManageInfo.data
});
}, function (errInfo, error) {
console.log('请求失败处理');