提交 2bfeb796 编写于 作者: doc_wei's avatar doc_wei

委派功能完成

上级 edb6ae10
......@@ -33,7 +33,7 @@ layui.config({
cols: [[
{ title: systemLanguage["com.skyeye.serialNumber"][languageType], type: 'numbers'},
{ field: 'processInstanceId', title: '流程ID', width: 100 },
{ field: 'taskType', title: '类型', width: 100 },
{ field: 'taskType', title: '类型', width: 150 },
{ field: 'createName', title: '申请人', width: 140},
{ field: 'createTime', title: '申请时间', align: 'center', width: 140, templet: function(d){
if(!isNull(d.createTime)){
......
......@@ -200,8 +200,19 @@ var activitiUtil = {
systemCommonUtil.checkType = "2"; // 人员选择类型,1.多选;其他。单选
systemCommonUtil.openSysUserStaffChoosePage(function (staffChooseList){
systemCommonUtil.userReturnList = [].concat(staffChooseList);
console.log(staffChooseList)
console.log(taskId)
var params = {
taskId: taskId,
principalUserId: staffChooseList[0].id
};
AjaxPostUtil.request({url: reqBasePath + "activitiTask001", params: params, method: "POST", type: 'json', callback: function(json) {
if(json.returnCode == 0) {
if (typeof callback === 'function') {
callback();
}
} else {
winui.window.msg(json.returnMessage, {icon: 2, time: 2000});
}
}, async: false});
});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册