From 0a5ccddc62a2a858df09f9ec6791ed26cb03018c Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期一, 25 四月 2022 08:52:36 +0800
Subject: [PATCH] 不需要填写银行账号,会员提款申请
---
zhengcaioa/zhengcaioa/wwwroot/js/plugins/search/search.js | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/wwwroot/js/plugins/search/search.js b/zhengcaioa/zhengcaioa/wwwroot/js/plugins/search/search.js
index 2ae13d2..33dd3ca 100644
--- a/zhengcaioa/zhengcaioa/wwwroot/js/plugins/search/search.js
+++ b/zhengcaioa/zhengcaioa/wwwroot/js/plugins/search/search.js
@@ -7,7 +7,8 @@
//鍙傛暟閰嶇疆 multiselect 鏄惁鍑虹幇澶氶�� selectcol 澶氶�夎幏鍙栫殑鍊� 榛樿id锛�
//鑾峰彇鏂瑰紡锛欸etGridSelect() 鍊肩粨鏋� 1,2,3 娉ㄦ剰涓嶇鏄惁涓枃 閮芥棤寮曞彿 渚嬪 :鏄�,澶�,绉�,涓�
var gridConfig = { multiselect: false, selectcol: "id" };
-
+var shrinkToFit = true;
+var footerrow = true;
//txt date datetime datearea chechbox ,combox 鍙傝��
//searchCol = [
// { label: '鍟嗗搧缂栧彿', name: 'Productcode', labtype: 'txt', ismust: true },
@@ -182,15 +183,15 @@
datatype: "json",
colModel: dataCol,
viewrecords: true, // show the current page, data rang and total records on the toolbar
- width: 780,
+ shrinkToFit: shrinkToFit,
+ width:1000,
height: 200,
loadonce: false,
pager: "#jqGridPager",
- footerrow: true,
+ footerrow: footerrow,
rownumbers: true,
-
rowNum: 30,
- rowList: [30, 50, 100],
+ rowList: [30, 50, 100,500],
cmTemplate: { sortable: false },
jsonReader: {
root: "DataList", page: "CurrPage", total: "PageTotal", // 寰堥噸瑕� 瀹氫箟浜� 鍚庡彴鍒嗛〉鍙傛暟鐨勫悕瀛椼��
@@ -213,10 +214,23 @@
totalrows: "Records" // 琛ㄧず闇�浠嶴erver寰楀埌鎬诲叡澶氬皯琛屾暟鎹殑鍙傛暟鍚嶇О锛屽弬瑙乯qGrid閫夐」涓殑rowTotal
},
gridComplete: completeMethod,
+ loadComplete: function loadcompleteMethod(xhr) {
+
+ if (typeof (_afterLoadDataload) === "function") {
+ _afterLoadDataload(xhr);
+ }
+
+ },
multiselect: gridConfig.multiselect
, beforeRequest: BeforeRequest
});
+ //$("#jqGrid").jqGrid('setGroupHeaders', {
+ // useColSpanStyle: true,
+ // groupHeaders: [
+ // { startColumnName: 'jibensalaryName', numberOfColumns: 3, titleText: '钖祫寰呴亣' }
+ // ]
+ //});
jQuery("#jqGrid").jqGrid('navGrid', "#jqGridPager", { edit: false, add: false, del: false, search: false, refresh: true });
doResize();
});
@@ -314,4 +328,7 @@
_afterLoadData();
}
+
+
+
}
\ No newline at end of file
--
Gitblit v1.9.1