diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsForm.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsForm.js index 8a08dd6aa..c4e6b5531 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsForm.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsForm.js @@ -111,11 +111,11 @@ var bootstrap = function ($, learun) { param: {} }); $('#AOStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); - + $('#Ass_AssetsOutItemApply').jfGrid({ headData: [ { - label: '资产编号', name: 'AOICode', width: 150, align: 'left' + label: '资产编号', name: 'AOICode', width: 200, align: 'left' }, { label: '资产名称', name: 'AOIName', width: 150, align: 'left' @@ -199,6 +199,7 @@ var bootstrap = function ($, learun) { } else { $("#AOCode").val(NewAOCode); } + } }; refreshGirdData = function (temprow) { @@ -207,7 +208,6 @@ var bootstrap = function ($, learun) { $.each(temprow, function (i, item) { var entity = { - //AOICode: item.AICode, AOICode: item.AICodeNumJY, AOIName: item.AIASSName, AOISpecification: item.AISpecification, @@ -228,7 +228,6 @@ var bootstrap = function ($, learun) { function (j, item2) { $.each(tempdatra, function (key, val) { - if (tempdatra[key].AOICode === item2.AOICode) { tempdatra[key] = item2; ifnewrow = false; diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsIndex.js index e83b196cc..fdff7d774 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsOutApply/AssetsIndex.js @@ -130,7 +130,7 @@ var bootstrap = function ($, learun) { } learun.layerConfirm('是否确认删除该项!', function (res) { if (res) { - learun.deleteForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutItemApply/DeleteForm', { keyValue: keyValue }, function () { + learun.deleteForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/DeleteForm', { keyValue: keyValue }, function () { refreshGirdData(); }); } @@ -149,7 +149,7 @@ var bootstrap = function ($, learun) { learun.layerConfirm('是否确认提交该项!', function (res) { if (res) { processId = learun.newGuid(); - learun.postForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutItemApply/ChangeStatusById', { keyValue: keyValue, processId: processId }, function (res) { + learun.postForm(top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/ChangeStatusById', { keyValue: keyValue, processId: processId }, function (res) { refreshGirdData(res, {}); }); } @@ -184,7 +184,6 @@ var bootstrap = function ($, learun) { $('#gridtable').lrAuthorizeJfGrid({ url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsOutApply/GetPageList', headData: [ - { label: "调拨单流水号", name: "AOCode", width: 200, align: "left" }, { label: "调拨总价", name: "AOPrice", width: 100, align: "left" }, //{ // label: "出库原因", name: "AOReasonType", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.cshtml index c7d21a749..54763ea46 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.cshtml @@ -44,6 +44,20 @@
标题图片
+
内容
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.js index defb03b91..1dd6ceb1f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/SchoolNews/Form.js @@ -29,6 +29,8 @@ var bootstrap = function ($, learun) { $('#F_SendPostId').lrPostSelect({ type: 'treemultiple' }); //内容编辑器 ue = UE.getEditor('editor'); + + }, initData: function () { if (!!keyValue) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectManage/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectManage/Form.cshtml index 30bd65231..e2d256575 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectManage/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectManage/Form.cshtml @@ -15,6 +15,10 @@
项目周期
+
+
项目费用
+ +
负责部门
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/Index.js index 1a9149a12..736455831 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/Index.js @@ -17,6 +17,7 @@ var bootstrap = function ($, learun) { page.bind(); }, bind: function () { + // $('#CreateUserId').lrDataSourceSelect({ code: 'teacheruserdata', value: 'f_userid', text: 'f_realname' }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); @@ -60,7 +61,7 @@ var bootstrap = function ($, learun) { if (learun.checkrow(keyValue)) { learun.layerConfirm('是否确认删除该项!', function (res) { if (res) { - learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/ProjectProcessManage/DeleteForm', { keyValue: keyValue}, function () { + learun.deleteForm(top.$.rootUrl + '/LogisticsManagement/ProjectProcessManage/DeleteForm', { keyValue: keyValue }, function () { refreshGirdData(); }); } @@ -77,10 +78,24 @@ var bootstrap = function ($, learun) { $('#gridtable').jfGrid({ url: top.$.rootUrl + '/LogisticsManagement/ProjectProcessManage/GetPageList', headData: [ - { label: "项目进展情况", name: "Progress", width: 100, align: "left"}, - { label: "时间", name: "ProcessTime", width: 100, align: "left"}, + { label: "项目进展情况", name: "Progress", width: 100, align: "left" }, + { label: "时间", name: "ProcessTime", width: 100, align: "left" }, + { + label: "申请人", name: "CreateUserId", width: 100, align: "left", + formatterAsync: function (callback, value, row, op, $cell) { + learun.clientdata.getAsync('user', { + key: value, + callback: function (_data) { + callback(_data.name); + } + }); + } + }, + { + label: "创建时间", name: "CreateTime", width: 200, align: "left", + } ], - mainId:'Id', + mainId: 'Id', isPage: true }); page.search(); @@ -101,7 +116,7 @@ var bootstrap = function ($, learun) { param = param || {}; param.PPId = PPId; param.PId = PId; - $('#gridtable').jfGridSet('reload',{ queryJson: JSON.stringify(param) }); + $('#gridtable').jfGridSet('reload', { queryJson: JSON.stringify(param) }); } }; refreshGirdData = function () { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/IndexData.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/IndexData.js index 94b0a42ea..0c679fc4f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/IndexData.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LogisticsManagement/Views/ProjectProcessManage/IndexData.js @@ -130,6 +130,23 @@ var bootstrap = function ($, learun) { formatter: function (value) { return learun.formatDate(value, 'yyyy-MM-dd'); } + }, + { + label: "申请人", name: "CreateUserId", width: 100, align: "left", + formatterAsync: function (callback, value, row, op, $cell) { + learun.clientdata.getAsync('user', { + key: value, + callback: function (_data) { + callback(_data.name); + } + }); + } + }, + { + label: "创建时间", name: "CreateTime", width: 200, align: "left" , + //formatter: function (value) { + // return learun.formatDate(value, 'yyyy-MM-dd'); + //} } ], mainId: 'Id', diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/news/css/common.css b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/news/css/common.css index 5c6228743..1d5b6ae06 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/news/css/common.css +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/news/css/common.css @@ -1,4 +1,4 @@ -@charset "utf-8"; +@charset "utf-8"; /* CSS Document */ body,html{ font-size:12px; @@ -60,4 +60,6 @@ a,img{border:0;} a{outline:none !important;} img{border:0 none;} +.listDotBox img { +} diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml index 2fd374615..aae7a7269 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml @@ -13,7 +13,7 @@ } -
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectManage/ProjectManageEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectManage/ProjectManageEntity.cs index e09e0bee3..c6b33e60a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectManage/ProjectManageEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectManage/ProjectManageEntity.cs @@ -64,6 +64,12 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement /// [Column("CREATEUSERID")] public string CreateUserId { get; set; } + /// + /// 项目费用 + /// + [Column("ITEMAMOUNT")] + public decimal? ItemAmount { get; set; } + #endregion #region 扩展操作 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectProcessManage/ProjectProcessManageService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectProcessManage/ProjectProcessManageService.cs index 40a7c2331..3a96da9fd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectProcessManage/ProjectProcessManageService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/LogisticsManagement/ProjectProcessManage/ProjectProcessManageService.cs @@ -31,11 +31,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement { var strSql = new StringBuilder(); strSql.Append("SELECT "); - strSql.Append(@" - t.Id, - t.Progress, - t.ProcessTime - "); + strSql.Append(@" * "); strSql.Append(" FROM ProjectProcessManage t "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject(); @@ -83,9 +79,7 @@ namespace Learun.Application.TwoDevelopment.LogisticsManagement var strSql = new StringBuilder(); strSql.Append("SELECT "); strSql.Append(@" - t.Id, - t.Progress, - t.ProcessTime + t.* "); strSql.Append(" FROM ProjectProcessManage t "); strSql.Append(" WHERE 1=1 ");