@@ -56,32 +54,42 @@
+ @*
*@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
*@
@@ -46,12 +46,12 @@
资产状态
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js
index 75f18e3e8..98abf4fb1 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexOfMy.js
@@ -32,7 +32,26 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 400, 400);
- $('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ //$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ $('#AIIStorageId').lrselect({
+ type: 'tree',
+ allowSearch: true,
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
+ param: {},
+ select: function (val) {
+ var storageId = "";
+ if (val) {
+ storageId = val.value;
+ }
+ $('#AIIStoragePosition').lrselectRefresh({
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
+ text: "RCode",
+ value: "RId"
+ });
+ }
+ });
+ //房间
+ $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIDepartment').lrDepartmentSelect();
// 刷新
@@ -212,7 +231,7 @@ var bootstrap = function ($, learun) {
}
},
{
- label: "所在库房", name: "AIIStorageId", width: 100, align: "left",
+ label: "楼宇名称", name: "AIIStorageId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -224,7 +243,19 @@ var bootstrap = function ($, learun) {
});
}
},
- { label: "所在库位", name: "AIIStoragePosition", width: 100, align: "left" },
+ {
+ label: "房间号", name: "AIIStoragePosition", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
+ key: value,
+ keyId: 'rid',
+ callback: function (_data) {
+ callback(_data['rcode']);
+ }
+ });
+ }
+ },
//{
// label: "报废时间", name: "AIIStoragePosition", width: 100, align: "left", formatter: function (cellvalue, row) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.cshtml
index 780f465f7..7002896a4 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.cshtml
@@ -46,12 +46,12 @@
资产状态
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js
index 87c6210bf..f85486799 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexScrap.js
@@ -25,7 +25,26 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 400, 400);
- $('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ //$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ $('#AIIStorageId').lrselect({
+ type: 'tree',
+ allowSearch: true,
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
+ param: {},
+ select: function (val) {
+ var storageId = "";
+ if (val) {
+ storageId = val.value;
+ }
+ $('#AIIStoragePosition').lrselectRefresh({
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
+ text: "RCode",
+ value: "RId"
+ });
+ }
+ });
+ //房间
+ $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIDepartment').lrDepartmentSelect();
// 刷新
@@ -177,7 +196,7 @@ var bootstrap = function ($, learun) {
}
},
{
- label: "所在库房", name: "AIIStorageId", width: 100, align: "left",
+ label: "楼宇名称", name: "AIIStorageId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -189,7 +208,19 @@ var bootstrap = function ($, learun) {
});
}
},
- { label: "所在库位", name: "AIIStoragePosition", width: 100, align: "left" },
+ {
+ label: "房间号", name: "AIIStoragePosition", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
+ key: value,
+ keyId: 'rid',
+ callback: function (_data) {
+ callback(_data['rcode']);
+ }
+ });
+ }
+ },
//{
// label: "报废时间", name: "AIIStoragePosition", width: 100, align: "left", formatter: function (cellvalue, row) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.cshtml
index 4ed9ca29d..6157ee2e6 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.cshtml
@@ -42,12 +42,12 @@
资产状态
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js
index fe5f7f1bb..05d2b03a0 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItem/IndexTwo.js
@@ -33,7 +33,26 @@ var bootstrap = function ($, learun) {
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) {
page.search(queryJson);
}, 400, 400);
- $('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ //$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ $('#AIIStorageId').lrselect({
+ type: 'tree',
+ allowSearch: true,
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
+ param: {},
+ select: function (val) {
+ var storageId = "";
+ if (val) {
+ storageId = val.value;
+ }
+ $('#AIIStoragePosition').lrselectRefresh({
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
+ text: "RCode",
+ value: "RId"
+ });
+ }
+ });
+ //房间
+ $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AIASSState').lrDataItemSelect({ code: 'AssState' });
$('#AIAssType').lrDataItemSelect({ code: 'AssType' });
$('#AIDepartment').lrDepartmentSelect();
@@ -77,7 +96,7 @@ var bootstrap = function ($, learun) {
}
},
{
- label: "所在库房", name: "AIIStorageId", width: 100, align: "left",
+ label: "楼宇名称", name: "AIIStorageId", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
@@ -89,7 +108,19 @@ var bootstrap = function ($, learun) {
});
}
},
- { label: "所在库位", name: "AIIStoragePosition", width: 100, align: "left" },
+ {
+ label: "房间号", name: "AIIStoragePosition", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
+ key: value,
+ keyId: 'rid',
+ callback: function (_data) {
+ callback(_data['rcode']);
+ }
+ });
+ }
+ },
{
label: "资产型号", name: "AISpecificationtype", width: 100, align: "left"
},
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.cshtml
index 6435c585f..6574ec3c4 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/Form.cshtml
@@ -66,12 +66,12 @@
生成明细*
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js
index 8e7674e05..cb9f336d8 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoItemApply/FormPurchase.js
@@ -96,7 +96,26 @@ var bootstrap = function ($, learun) {
$('#AAISource').lrDataItemSelect({ code: 'zcly' });
$('#AAISupplierId').lrDataSourceSelect({ code: 'Ass_SupplierData', value: 'sid', text: 'sname' });
$('#AAIUnit').lrDataItemSelect({ code: 'sldw' });
- $('#AAIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ //$('#AAIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ $('#AIIStorageId').lrselect({
+ type: 'tree',
+ allowSearch: true,
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
+ param: {},
+ select: function (val) {
+ var storageId = "";
+ if (val) {
+ storageId = val.value;
+ }
+ $('#AIIStoragePosition').lrselectRefresh({
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
+ text: "RCode",
+ value: "RId"
+ });
+ }
+ });
+ //房间
+ $('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' });
$('#AAIHasDetail').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#AAIPhoto').lrUploader();
},
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js
index 6badb154c..ebfbf2ef8 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutItemApply/Form.js
@@ -89,7 +89,7 @@ var bootstrap = function ($, learun) {
}
},
{
- label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
+ label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value,
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_InventoryItemApply/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_InventoryItemApply/Form.js
index 5b6023e13..eba57ffb8 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_InventoryItemApply/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_InventoryItemApply/Form.js
@@ -41,7 +41,7 @@ var bootstrap = function ($, learun) {
{ label: '资产名称', name: 'aname', width: 150, align: 'left' },
{ label: "英文名称", name: "aename", width: 100, align: "left" },
{
- label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
+ label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value,
@@ -52,7 +52,20 @@ var bootstrap = function ($, learun) {
});
}
},
- { label: '所在库位', name: 'aiistorageposition', width: 150, align: 'left' },
+ //{ label: '房间号', name: 'aiistorageposition', width: 150, align: 'left' },
+ {
+ label: "房间号", name: "aiistorageposition", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
+ key: value,
+ keyId: 'rid',
+ callback: function (_data) {
+ callback(_data['rcode']);
+ }
+ });
+ }
+ },
{
label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) {
if (val) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.cshtml
index fa347c80a..f59030221 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.cshtml
@@ -18,12 +18,12 @@
是否在库
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js
index f19c7c03a..657223ca2 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_ScrapItem/Form.js
@@ -41,7 +41,7 @@ var bootstrap = function ($, learun) {
{ label: '资产名称', name: 'aname', width: 150, align: 'left' },
{ label: "英文名称", name: "aename", width: 100, align: "left" },
{
- label: '所在库房', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
+ label: '楼宇名称', name: 'aiistorageid', width: 100, align: 'left', formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_StorageData',
key: value,
@@ -52,7 +52,19 @@ var bootstrap = function ($, learun) {
});
}
},
- { label: '所在库位', name: 'aiistorageposition', width: 150, align: 'left' },
+ {
+ label: "房间号", name: "aiistorageposition", width: 150, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'Ass_Storage_Room',
+ key: value,
+ keyId: 'rid',
+ callback: function (_data) {
+ callback(_data['rcode']);
+ }
+ });
+ }
+ },
{
label: '是否在库', name: 'aiisinstorage', width: 150, align: 'left', formatter: function (val, row) {
if (val) {
@@ -88,7 +100,7 @@ var bootstrap = function ($, learun) {
$('#AAIName').val(data.aname);
$('#AAIStorage').lrselectSet(data.aiistorageid);
$('#AAIIsInStorage').lrselectSet(data.aiisinstorage);
- $('#AAILocation').val(data.aiistorageposition);
+ $('#AAILocation').lrselectSet(data.aiistorageposition);
$('#AAIUnit').lrselectSet(data.aunit);
$('#AAIEName').val(data.aename);
$('#AAIModel').val(data.amodel);
@@ -99,7 +111,27 @@ var bootstrap = function ($, learun) {
},
isMultiple: false
});
- $('#AAIStorage').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ //$('#AAIStorage').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' });
+ $('#AAIStorage').lrselect({
+ type: 'tree',
+ allowSearch: true,
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree',
+ param: {},
+ select: function (val) {
+ var storageId = "";
+ if (val) {
+ storageId = val.value;
+ }
+ $('#AAILocation').lrselectRefresh({
+ url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId,
+ text: "RCode",
+ value: "RId"
+ });
+ }
+ });
+ //房间
+ $('#AAILocation').lrselect({ value: 'RId', text: 'RCode' });
+
$('#AAIIsInStorage').lrDataItemSelect({ code: 'YesOrNoBit' });
$('#AAIUnit').lrDataItemSelect({ code: 'sldw' });
},
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs
index 18f764fb3..d696cb98d 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Controllers/NWFProcessController.cs
@@ -170,6 +170,11 @@ namespace Learun.Application.Web.Areas.LR_NewWorkFlow.Controllers
{
return View();
}
+ [HttpGet]
+ public ActionResult ContractFilingMonitor()
+ {
+ return View();
+ }
///
/// 人事归档
///
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 66e2b8326..0fb5e7356 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
@@ -14,7 +14,6 @@ var bootstrap = function ($, learun) {
var page = {
init: function () {
$('#lr_verify').hide();
- page.initleft();
page.initGrid();
page.bind();
},
@@ -99,74 +98,42 @@ var bootstrap = function ($, learun) {
$parent.find('.active').removeClass('active');
$this.addClass('active');
categoryId = $this.attr('data-value');
+ if (categoryId == 3) {
+ categoryId = 1;
+ F_EnabledMark = true;
+ } else {
+ F_EnabledMark = false;
+ }
page.search();
});
},
initGrid: function () {
- $('#gridtable').lrAuthorizeJfGrid({
- url: top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetPorcessList',
+ $('#gridtable').jfGrid({
+ url: top.$.rootUrl + '/LR_NewWorkFlow/NWFProcess/GetContractList',
headData: [
+ { label: '合同编号', name: 'LC_htbh', width: 150, align: "left" },
+ { label: '合同名称', name: 'LC_htmc', width: 200, align: "left" },
+ { label: '合同额(万元)', name: 'LC_htzje', width: 200, align: "left" },
+ { label: '申报人', name: 'F_ModifyUserName', width: 100, align: "left" },
+ { label: '对方单位名称', name: 'LC_dfdw', width: 200, align: "left" },
+ { label: '联系人', name: 'LC_dflxr', width: 100, align: "left" },
+ { label: '联系方式', name: 'LC_dfdh', width: 120, align: "left" },
{
- 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: 'LC_htkssj', width: 100, align: "left", formatter: function (cellvalue, row) {
+ return learun.formatDate(cellvalue, 'yyyy-MM-dd');
}
},
- //{
- // 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: 'LC_htjssj', width: 100, align: "left", formatter: function (cellvalue, row) {
+ return learun.formatDate(cellvalue, 'yyyy-MM-dd');
}
},
- { 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_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();
}
@@ -177,21 +144,12 @@ var bootstrap = function ($, learun) {
param = param || {};
param.StartTime = logbegin;
param.EndTime = logend;
- param.categoryId = categoryId;
- param.F_Category = '合同类';
+ param.F_IsFinished = 1;
$('#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_SystemModule/Controllers/LogController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/LogController.cs
index e5d471f8a..1338f1914 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/LogController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Controllers/LogController.cs
@@ -28,6 +28,11 @@ namespace Learun.Application.Web.Areas.LR_SystemModule.Controllers
{
return View();
}
+ [HttpGet]
+ public ActionResult ApiIndex()
+ {
+ return View();
+ }
///
/// 清空
///
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml
index 250b7b699..e765d5c7b 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/DataItem/ClassifyForm.cshtml
@@ -15,6 +15,10 @@
编号*
+
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js
index 266c69772..c21750b10 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js
@@ -19,6 +19,18 @@ var bootstrap = function ($, learun) {
$('#lr_refresh').on('click', function () {
location.reload();
});
+ $('#lr_viewlog').on('click', function () {
+ var keyValue = $('#gridtable').jfGridValue('F_OperateUserId');
+ if (learun.checkrow(keyValue)) {
+ learun.layerForm({
+ id: 'online',
+ title: '访问监控',
+ url: top.$.rootUrl + '/Permission/Perm_FunctionVisit/IndexForCount?F_UserId='+keyValue,
+ height: 500,
+ width: 800
+ });
+ }
+ });
},
initGrid: function () {
$('#gridtable').jfGrid({
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Permission/Controllers/Perm_FunctionVisitController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Permission/Controllers/Perm_FunctionVisitController.cs
index 0976f20ae..f78fa4972 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Permission/Controllers/Perm_FunctionVisitController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/Permission/Controllers/Perm_FunctionVisitController.cs
@@ -28,6 +28,12 @@ namespace Learun.Application.Web.Areas.Permission.Controllers
{
return View();
}
+
+ [HttpGet]
+ public ActionResult IndexForCount()
+ {
+ return View();
+ }
///