|
|
@ -272,6 +272,18 @@ |
|
|
|
{title: '流程恢复实例ID',field: 'restoreInstanceId', visible: false}, |
|
|
|
{ title: '流程实例类型', field: 'instanceTypeName',visible: false}, |
|
|
|
{title: '申请人ID',field: 'applyUser', visible: false}, |
|
|
|
|
|
|
|
{title: '当前状态',field: 'taskName',align: 'center', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
if(row.auditStatus!="1"&&value != "未启动"){ |
|
|
|
return '<span class="badge badge-danger">' + value + '</span>'; |
|
|
|
} |
|
|
|
if(value === "未启动"){ |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>'; |
|
|
|
} |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>';} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
field: 'applyUserName', |
|
|
|
title: '<span style="color: red;">申请人</span>', |
|
|
@ -283,15 +295,15 @@ |
|
|
|
}, |
|
|
|
{title: '当前任务ID',field: 'taskId',visible: false}, |
|
|
|
{ title: '待办用户ID',field: 'todoUserId', visible: false}, |
|
|
|
{ title: '当前任务名称',field: 'taskName', |
|
|
|
align: 'center', |
|
|
|
formatter: function(value, row, index) { |
|
|
|
return '<span class="badge badge-primary">' + value + '</span>'; |
|
|
|
} |
|
|
|
}, |
|
|
|
{title: '审核状态',field: 'auditStatus',formatter: function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(auditStatusDatas, value);} |
|
|
|
}, |
|
|
|
// { title: '当前任务名称',field: 'taskName', |
|
|
|
// align: 'center', |
|
|
|
// formatter: function(value, row, index) { |
|
|
|
// return '<span class="badge badge-primary">' + value + '</span>'; |
|
|
|
// } |
|
|
|
// }, |
|
|
|
// {title: '审核状态',field: 'auditStatus',formatter: function(value, row, index) { |
|
|
|
// return $.table.selectDictLabel(auditStatusDatas, value);} |
|
|
|
// }, |
|
|
|
{title: '使用状态',field: 'useStatus',formatter:function(value, row, index) { |
|
|
|
return $.table.selectDictLabel(useStatusDatas, value);} |
|
|
|
}, |
|
|
|