Selaa lähdekoodia

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

黑艺新账号
dyy 1 vuosi sitten
vanhempi
commit
9a2df7bab4
2 muutettua tiedostoa jossa 35 lisäystä ja 0 poistoa
  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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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) {


Ladataan…
Peruuta
Tallenna