mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-24 05:46:03 +08:00
优化投诉界面
This commit is contained in:
parent
f067a7b4f9
commit
e799eca8db
4
app.js
4
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);
|
||||
|
||||
@ -9,11 +9,11 @@
|
||||
<div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">权限组名称</label>
|
||||
<div class="col-sm-10"><input v-model="addPrivilegeGroupInfo.name" type="text" placeholder="必填,请填写员工名称" class="form-control"></div>
|
||||
<div class="col-sm-10"><input v-model="addPrivilegeGroupInfo.name" type="text" placeholder="必填,请填写权限组名称" class="form-control"></div>
|
||||
</div>
|
||||
<div class="form-group row">
|
||||
<label class="col-sm-2 col-form-label">权限组描述</label>
|
||||
<div class="col-sm-10"><input v-model="addPrivilegeGroupInfo.description" type="text" placeholder="必填,请填写员工名称" class="form-control"></div>
|
||||
<div class="col-sm-10"><input v-model="addPrivilegeGroupInfo.description" type="text" placeholder="选填,请填写权限组描述" class="form-control"></div>
|
||||
</div>
|
||||
<div class="ibox-content">
|
||||
<button class="btn btn-primary float-right" type="button" v-on:click="saveAddPrivilegeGroup()" ><i class="fa fa-check"></i> 保存</button>
|
||||
|
||||
@ -114,6 +114,11 @@
|
||||
v-on:click="_openComplaintDetailModel(complaint)">详情
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openRunWorkflowImage(complaint)">流程图
|
||||
</button>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button class="btn-white btn btn-xs"
|
||||
v-on:click="_openEditComplaintModel(complaint)">修改
|
||||
@ -146,6 +151,7 @@
|
||||
<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>
|
||||
|
||||
@ -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('请求失败处理');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user