diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJY.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJY.js index 4a2b4b633..dec2a3205 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJY.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJY.js @@ -146,18 +146,18 @@ var bootstrap = function ($, learun) { $('#lr_viewcg').on('click', function () { var PId = $('#gridtable').jfGridValue('PId'); //if (learun.checkrow(PId)) { - if (PId == null || PId === undefined || PId === "") { - learun.alert.warning("当前项目不含采购单!"); - return; - } - learun.layerForm({ - id: 'formAss_Purchase', - title: '查看采购单', - url: top.$.rootUrl + '/AssetManagementSystem/Ass_Purchase/FormViewJY?keyValue=' + PId, - width: 1000, - height: 600, - btn: null - }); + if (PId == null || PId === undefined || PId === "") { + learun.alert.warning("当前项目不含采购单!"); + return; + } + learun.layerForm({ + id: 'formAss_Purchase', + title: '查看采购单', + url: top.$.rootUrl + '/AssetManagementSystem/Ass_Purchase/FormViewJY?keyValue=' + PId, + width: 1000, + height: 600, + btn: null + }); //} }); // 删除 @@ -233,8 +233,8 @@ var bootstrap = function ($, learun) { } }); } - }, - { + }, + { label: "审批状态", name: "AAStatus", width: 100, align: "left", formatter: function (cellvalue, row) { if (cellvalue === 1) { @@ -258,13 +258,15 @@ var bootstrap = function ($, learun) { param.StartTime = startTime; param.EndTime = endTime; param.AssType = '1';//普通 低值 + var loginInfo = top.learun.clientdata.get(['userinfo']); + param.AACreateUserId = loginInfo.userId; $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); } }; refreshGirdData = function (res, postData) { if (res && res.code && res.code == 200) { // 发起流程 - + var postData = { schemeCode: 'Ass_PurchaseApply',// 填写流程对应模板编号 processId: processId, diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJYHC.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJYHC.js index 7e3783183..082214d19 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJYHC.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfoApply/IndexJYHC.js @@ -214,10 +214,12 @@ var bootstrap = function ($, learun) { { label: "申请人", name: "AACreateUserId", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { - learun.clientdata.getAsync('user', { + learun.clientdata.getAsync('custmerData', { + url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser', key: value, + keyId: 'f_account', callback: function (_data) { - callback(_data.name); + callback(_data['f_realname']); } }); } @@ -258,6 +260,8 @@ var bootstrap = function ($, learun) { param.StartTime = startTime; param.EndTime = endTime; param.AssType = '2';//耗材 + var loginInfo = top.learun.clientdata.get(['userinfo']); + param.AACreateUserId = loginInfo.userId; $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); } }; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.cshtml index cd1962dd3..6f1cffdf6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_NewWorkFlow/Views/NWFProcess/ContractFiling.cshtml @@ -2,7 +2,18 @@ ViewBag.Title = "流程监控"; Layout = "~/Views/Shared/_Index.cshtml"; } -