From e8fc5d92457143ea8744e8f8b2bed45a0a651f18 Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期五, 24 二月 2023 16:26:43 +0800 Subject: [PATCH] 提交 --- zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml | 24 ++++++++++++++++++------ 1 files changed, 18 insertions(+), 6 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml b/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml index d23e13c..47f473e 100644 --- a/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml @@ -54,7 +54,7 @@ { label: '淇敼浜�', name: 'Modifier', labtype: 'txt', hidden: true }, { label: '淇敼鏃堕棿', name: 'Modifytimetxt', labtype: 'txt', hidden: true } ]; - dataUrl = "/Liaotian/GetLiaotianList"; + dataUrl = "/Liaotian/GetLiaotianList?Shifoushenhe=D"; searchCol = [ { label: '闂绫诲埆', name: 'Questiontype', labtype: 'combox', hidden: false, data: JSON.parse(questiontypeDropDown), cwidth: '5%', cccwidth: '8%' }, @@ -70,7 +70,19 @@ var _pageAdd = function () { OpenWindow("鏂板闂", "98%", "90%", "/Liaotian/Edit/"); } - + var _pageSearch = function () { + $("#jqGrid").jqGrid('setGridParam', { + url:'/Liaotian/GetLiaotianList', postData: jsons, page: 1 + }); //閲嶆柊杞藉叆 + var jsons = GetSearchEnd(); + if (jsons == false) { + msg.info("璇峰綍鍏ユ煡璇㈡潯浠�"); + return false; + } + LoadGrid(jsons); + } + + var _pageZhuanyi = function () { $.ajax({ @@ -216,12 +228,12 @@ $(document).ready(function () { - setTimeout( - function () { + //setTimeout( + // function () { $("#PBSShifoushenhe").val("D"); $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」 - _pageSearch(); - }, 2000); + // _pageSearch(); + //}, 2000); }); -- Gitblit v1.9.1