From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期二, 28 二月 2023 13:25:09 +0800
Subject: [PATCH] 工资绩效改版

---
 zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml |   54 ++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 38 insertions(+), 16 deletions(-)

diff --git a/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml b/zhengcaioa/zhengcaioa/Views/Liaotian/Indexcheck.cshtml
index df22020..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%' },
@@ -65,12 +65,24 @@
             { label: '褰曞叆鏃堕棿', name: 'Createtime', labtype: 'datearea', hidden: false },
             { label: '褰曞叆浜�', name: 'Creater', labtype: 'combox', hidden: false, data: JSON.parse(Creater), cwidth: '5%', cccwidth: '8%' },
             { label: '鏄惁鍑轰功', name: 'ChushuStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
-            { label: '鏄惁鏀惰棌', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
+            //{ label: '鏄惁鏀惰棌', name: 'ShouCangStatus', labtype: 'combox', hidden: false, data: JSON.parse(shifou), cwidth: '5%', cccwidth: '8%' },
         ];
         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({
@@ -192,29 +204,39 @@
        
 
 
-        function sendHuidaStatus() {
+        //function sendHuidaStatus() {
 
-            var msg = $("#PBSShifoushenhe");
+        //    var msg = $("#PBSShifoushenhe");
 
 
-            if (msg.length > 0) {
-                $("#PBSShifoushenhe").val("D");
-                $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」
-                _pageSearch();
-            } else {
-                setTimeout(sendHuidaStatus, 1000);
-            }
-        }
-
+        //    if (msg.length > 0) {
+        //        $("#PBSShifoushenhe").val("D");
+        //        $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」
+        //        //_pageSearch();
+        //    } else {
+        //        setTimeout(sendHuidaStatus, 1000);
+        //    }
+        //}
+        //sendHuidaStatus();
         send();
-        sendHuidaStatus();
        
+      
 
-
+       
         
 
 
+        $(document).ready(function () {
 
+            //setTimeout(
+            //    function () {
+                    $("#PBSShifoushenhe").val("D");
+                    $("#PBSShifoushenhe").trigger('chosen:updated');//鏇存柊閫夐」
+                //    _pageSearch();
+                //}, 2000);
+
+         
+        }); 
        
 
 

--
Gitblit v1.9.1