From 6b14f6fdebc6bb3cb99aea0c0848ddfad0e30633 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期三, 22 十二月 2021 14:02:46 +0800
Subject: [PATCH] 会员的免费质疑书,投诉书次数
---
zhengcaioa/zhengcaioa/Views/User/Index.cshtml | 37 +++++++++++++++++++++----------------
1 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/zhengcaioa/zhengcaioa/Views/User/Index.cshtml b/zhengcaioa/zhengcaioa/Views/User/Index.cshtml
index 6da5dfc..98a0b0a 100644
--- a/zhengcaioa/zhengcaioa/Views/User/Index.cshtml
+++ b/zhengcaioa/zhengcaioa/Views/User/Index.cshtml
@@ -118,7 +118,7 @@
return "<span style='color:" + rowObject.Coler + ";'>" + cellvalue+"</span>";
}},
];
- dataUrl = "/User/GetUserList";
+ dataUrl = "/User/GetUserList?Zhiwustatus=A";
searchCol = [
{ label: '鍏ヨ亴鏃堕棿', name: 'Indate', labtype: 'datearea', hidden: false },
{ label: '閮ㄩ棬', name: 'DeptId', labtype: 'combox', hidden: false, data: JSON.parse(dept) },
@@ -139,6 +139,24 @@
OpenWindow("鏂板鐢ㄦ埛", "98%", "90%", "/User/Edit/");
}
+ var _pageSearch = function () {
+ $("#jqGrid").jqGrid('setGridParam', {
+ url: '/User/GetUserList', postData: jsons, page: 1
+ }); //閲嶆柊杞藉叆
+ var jsons = GetSearchEnd();
+ if (jsons == false) {
+ msg.info("璇峰綍鍏ユ煡璇㈡潯浠�");
+ return false;
+ }
+ LoadGrid(jsons);
+ }
+
+ $(function () {
+ $("#PBSZhiwustatus").val("A");
+ $("#PBSZhiwustatus").trigger('chosen:updated');//鏇存柊閫夐」
+
+ });
+
var _afterSave = function (result) {
if (result) {
toastr.success("淇濆瓨鎴愬姛");
@@ -157,23 +175,10 @@
}
}
-
- function sendZhiwustatus() {
-
- var msg = $("#PBSZhiwustatus");
-
-
- if (msg.length > 0) {
- $("#PBSZhiwustatus").val("A");
- $("#PBSZhiwustatus").trigger('chosen:updated');//鏇存柊閫夐」
- _pageSearch();
- } else {
- setTimeout(sendZhiwustatus, 100);
- }
- }
+
- sendZhiwustatus();
+
--
Gitblit v1.9.1