diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js
index ccf66716c..2157f4ba1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.js
@@ -15,7 +15,6 @@ var bootstrap = function ($, learun) {
var page = {
init: function () {
$('#lr_verify').hide();
- page.initleft();
page.initGrid();
page.bind();
},
@@ -110,70 +109,24 @@ var bootstrap = function ($, learun) {
});
},
initGrid: function () {
- $('#gridtable').lrAuthorizeJfGrid({
- url: top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetPorcessList',
+ $('#gridtable').jfGrid({
+ url: top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetContractList',
headData: [
- {
- label: "标题", name: "F_Title", width: 300, align: "left", formatter: function (cellvalue, row) {
- if (row.F_SchemeName != row.F_Title && row.F_Title) {
- return row.F_SchemeName + "(" + row.F_Title + ")";
- }
- else {
- return row.F_SchemeName;
- }
- }
- },
- //{
- // label: "等级", name: "F_Level", width: 60, align: "center",
- // formatter: function (cellvalue) {
- // switch (cellvalue) {
- // case 0:
- // return '普通';
- // break;
- // case 1:
- // return '重要';
- // break;
- // case 2:
- // return '紧急';
- // break;
- // default:
- // return '普通';
- // break;
- // }
- // }
- //},
- {
- label: "状态", name: "F_EnabledMark", width: 70, align: "center",
- formatter: function (cellvalue, row) {
- if (row.F_IsFinished == 0) {
- if (cellvalue == 1) {
- if (row.F_IsUrge == "1" && categoryId == '2') {
- return "
催办加急";
- }
- return "
运行中";
- } else if (cellvalue == 2) {
- return "
草稿";
- } else {
- return "
作废";
- }
- }
- else {
- return "
结束";
- }
-
- }
- },
- { label: "发起者", name: "F_CreateUserName", width: 80, align: "center" },
- {
- label: "时间", name: "F_CreateDate", width: 150, align: "left",
- formatter: function (cellvalue) {
- return learun.formatDate(cellvalue, 'yyyy-MM-dd hh:mm:ss');
- }
- }
+ { label: '合同编号', name: 'LC_htbh', width: 200, align: "left" },
+ { label: '合同名称', name: 'LC_htmc', width: 200, align: "left" },
+ { label: '合同额(万元)', name: 'LC_htzje', width: 200, align: "left" },
+ { label: '申报人', name: 'F_ModifyUserName', width: 200, align: "left" },
+ { label: '对方单位名称', name: 'LC_dfdw', width: 200, align: "left" },
+ { label: '联系人', name: 'LC_dflxr', width: 120, align: "left" },
+ { label: '联系方式', name: 'LC_dfdh', width: 120, align: "left" },
+ { label: '合同开始时间', name: 'LC_htkssj', width: 200, align: "left" },
+ { label: '合同结束时间', name: 'LC_htjssj', width: 200, align: "left" },
+ { label: '文本盖章份数', name: 'LC_gzfs', width: 80, align: "left" },
+ { label: '申报日期', name: 'F_ModifyDate', width: 200, align: "left" }
],
mainId: 'F_Id',
isPage: true,
- sidx: 'F_CreateDate DESC',
+ sidx: 'F_ModifyDate DESC',
dblclick: function () {
page.eye();
}
@@ -184,25 +137,14 @@ var bootstrap = function ($, learun) {
param = param || {};
param.StartTime = logbegin;
param.EndTime = logend;
- param.categoryId = categoryId;
+ param.categoryId = 2;
param.F_Category = '合同类';
- if (F_EnabledMark) {
- param.F_EnabledMark = 3;
- }
$('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) });
},
eye: function () {
- var processId = $('#gridtable').jfGridValue('F_Id') || '';
- var title = $('#gridtable').jfGridValue('F_Title');
- var schemeName = $('#gridtable').jfGridValue('F_SchemeName');
-
- if (schemeName != title && title) {
- title = schemeName + "(" + title + ")";
- }
- else {
- title = schemeName;
- }
-
+ var processId = $('#gridtable').jfGridValue('LC_ID') || '';
+ var title = $('#gridtable').jfGridValue('LC_htmc');
+
if (learun.checkrow(processId)) {
learun.frameTab.open({ F_ModuleId: 'monitor' + processId, F_FullName: '查看-' + title, F_UrlAddress: '/LR_NewWorkFlow/NWFProcess/MonitorDetailsIndex?processId=' + processId });
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorDetailsIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorDetailsIndex.cshtml
index a755cca1a..178caea77 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorDetailsIndex.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/MonitorDetailsIndex.cshtml
@@ -15,9 +15,9 @@
流程信息