Browse Source

【修改】流程监控统计:增加“文件标题”列,“发起者部门”列;流程任务:增加“文件标题”列;

黑艺新账号
dyy 1 year ago
parent
commit
9a2df7bab4
2 changed files with 35 additions and 0 deletions
  1. +12
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/Index.js
  2. +23
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexStatistics.js

+ 12
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/Index.js View File

@@ -304,6 +304,18 @@ var bootstrap = function ($, learun) {
callback("");
}
},
{
label: "文件标题", name: "F_Id", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
if (row.F_Id) {
learun.httpAsyncGet(top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetWenJianBiaoTi?F_ProcessId=' + row.F_Id, function (res) {
if (res.code == learun.httpCode.success) {
callback(res.data);
}
});
} else
callback("");
}
},
//{
// label: "等级", name: "F_Level", width: 60, align: "center",
// formatter: function (cellvalue) {


+ 23
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorIndexStatistics.js View File

@@ -212,7 +212,30 @@ var bootstrap = function ($, learun) {
callback("");
}
},
{
label: "文件标题", name: "F_Id", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) {
if (row.F_Id) {
learun.httpAsyncGet(top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetWenJianBiaoTi?F_ProcessId=' + row.F_Id, function (res) {
if (res.code == learun.httpCode.success) {
callback(res.data);
}
});
} else
callback("");
}
},
{ label: "发起者", name: "F_CreateUserName", width: 80, align: "center" },
{
label: "发起者部门", name: "F_DepartmentId", width: 120, align: "center",
formatterAsync: function (callback, value, row) {
learun.clientdata.getAsync('department', {
key: value,
callback: function (item) {
callback(item.name);
}
});
}
},
{
label: "时间", name: "F_CreateDate", width: 150, align: "left",
formatter: function (cellvalue) {


Loading…
Cancel
Save