From 2db4d5ba7e828f8ec6f58e9ef1764a2f48345ef7 Mon Sep 17 00:00:00 2001 From: ndbs Date: Fri, 15 Apr 2022 14:50:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=8A=A1=E4=BF=A1=E6=81=AF--=E6=95=99?= =?UTF-8?q?=E5=AD=A6=E8=AE=A1=E5=88=92=E5=88=B6=E5=AE=9A--=E6=95=99?= =?UTF-8?q?=E5=AD=A6=E8=AE=A1=E5=88=92=E6=9F=A5=E7=9C=8B=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/TeachingPlan/IndexManage.js | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingPlan/IndexManage.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingPlan/IndexManage.js index b18b65fa6..e6436c59d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingPlan/IndexManage.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/TeachingPlan/IndexManage.js @@ -22,17 +22,22 @@ var bootstrap = function ($, learun) { }); //查看 $('#lr_look').on('click', function () { - learun.layerForm({ - id: 'form', - title: '查看', - url: top.$.rootUrl + '/EducationalAdministration/TeachingPlan/FormManageView', - width: 600, - height: 400, - btn: null, - callBack: function (id) { - //return top[id].acceptClick(refreshGirdData); - } - }); + var keyValue = $('#gridtable').jfGridValue('Id'); + if (learun.checkrow(keyValue)) { + learun.layerForm({ + id: 'form', + title: '查看', + url: top.$.rootUrl + + '/EducationalAdministration/TeachingPlan/FormManageView?keyValue=' + + keyValue, + width: 600, + height: 400, + btn: null, + callBack: function (id) { + //return top[id].acceptClick(refreshGirdData); + } + }); + } }); // 编辑 $('#lr_edit').on('click', function () {