From 70f582888c6e04cd9494f12e3f94e0a44d533084 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Thu, 3 Jun 2021 18:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=99=BB=E8=AE=B0=E5=9C=A8?= =?UTF-8?q?=E5=86=8C=E8=B5=84=E4=BA=A7=E3=80=81=E8=B5=84=E4=BA=A7=E7=99=BB?= =?UTF-8?q?=E8=AE=B0=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/AssScrap/Index.js | 8 +++++-- .../Views/Ass_AssetsInfo/Index.js | 2 +- .../Views/Ass_Inventory/Index.js | 6 ++++- .../Views/Ass_UserChangeInfo/Form.cshtml | 24 +++++++++---------- .../Views/Ass_UserChangeInfo/Form.js | 6 +++-- .../Views/Ass_UserChangeInfo/Index.cshtml | 8 +++---- .../Views/Ass_UserChangeInfo/Index.js | 10 ++++---- 7 files changed, 38 insertions(+), 26 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Index.js index 2dd0e32e2..be6e9795c 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/AssScrap/Index.js @@ -5,6 +5,7 @@ * 描 述:资产报废 */ var refreshGirdData; +var refreshGirdData1; var bootstrap = function ($, learun) { "use strict"; var processId = ''; @@ -88,7 +89,7 @@ var bootstrap = function ($, learun) { learun.layerConfirm('是否确认删除该项!', function (res) { if (res) { learun.deleteForm(top.$.rootUrl + '/AssetManagementSystem/AssScrap/DeleteForm', { keyValue: keyValue }, function () { - refreshGirdData(); + refreshGirdData1(); }); } }); @@ -184,7 +185,7 @@ var bootstrap = function ($, learun) { } }; refreshGirdData = function (res, postData) { - if (res.code == 200) { + if (res && res.code == 200) { // 发起流程 var postData = { schemeCode: 'Ass_Scrap',// 填写流程对应模板编号 @@ -198,5 +199,8 @@ var bootstrap = function ($, learun) { page.search(); } }; + refreshGirdData1 = function () { + page.search(); + }; page.init(); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.js index cd1273b0d..a30ecf7dd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_AssetsInfo/Index.js @@ -70,7 +70,7 @@ var bootstrap = function ($, learun) { id: 'form', title: '资产明细', url: top.$.rootUrl + '/AssetManagementSystem/Ass_AssetsInfoItem/Index?AId=' + keyValue, - width: 1000, + width: 1100, height: 700, btn: null, end: function () { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Inventory/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Inventory/Index.js index 5fdac3130..1e7712e00 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Inventory/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_Inventory/Index.js @@ -5,6 +5,7 @@ * 描 述:资产盘点 */ var refreshGirdData; +var refreshGirdData1; var bootstrap = function ($, learun) { "use strict"; var processId = ''; @@ -87,7 +88,7 @@ var bootstrap = function ($, learun) { learun.layerConfirm('是否确认删除该项!', function (res) { if (res) { learun.deleteForm(top.$.rootUrl + '/AssetManagementSystem/Ass_Inventory/DeleteForm', { keyValue: keyValue }, function () { - refreshGirdData(); + refreshGirdData1(); }); } }); @@ -181,5 +182,8 @@ var bootstrap = function ($, learun) { page.search(); } }; + refreshGirdData1 = function () { + page.search(); + }; page.init(); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_UserChangeInfo/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_UserChangeInfo/Form.cshtml index 94b3243ec..31582daec 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_UserChangeInfo/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/AssetManagementSystem/Views/Ass_UserChangeInfo/Form.cshtml @@ -2,22 +2,22 @@ ViewBag.Title = "使用人员变动记录"; Layout = "~/Views/Shared/_Form.cshtml"; } -