From 2d2d672e5bdc7e6ea4e7658030229cb3b67ec89a Mon Sep 17 00:00:00 2001
From: 杨乐 <yang.le.192@qq.com>
Date: 星期一, 14 二月 2022 17:18:06 +0800
Subject: [PATCH] 无数据的情况下去掉提示,直接显示无数据的列表,且带出操作工具栏

---
 WebTM/views/设备管理/Sb_EqpConkBookBillList.html |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html"
index 2b1d9cd..f796647 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/Sb_EqpConkBookBillList.html"
@@ -125,9 +125,11 @@
                 , height: 'full-50'
                 , page: true
                 , cellMinWidth: 90
+                , limit: 50
+                , limits: [50, 500, 5000, 20000]
                 , cols: [[
                     { type: 'checkbox', fixed: 'left' }
-                    ,{ field: 'hmainid', title: '鍗曟嵁ID', hide: true }
+                    , { field: 'hmainid', title: 'hmainid', hide: true }
                     , { field: '鏃ユ湡', title: '鏃ユ湡', width: 160, templet: "<div>{{d.鏃ユ湡 ==null ?'':layui.util.toDateString(d.鏃ユ湡, 'yyyy-MM-dd')}}</div>"}
                     , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', width: 160 }
                     , { field: '鍗曟嵁绫诲瀷', title: '鍗曟嵁绫诲瀷', width: 160, hide: true }
@@ -165,7 +167,7 @@
                     , { field: '鏁呴殰鍘熷洜浠g爜', title: '鏁呴殰鍘熷洜浠g爜', width: 200 }
                     , { field: '鏁呴殰鍘熷洜鍚嶇О', title: '鏁呴殰鍘熷洜鍚嶇О', width: 200 }
                     , { field: '鏁呴殰鍘熷洜鎻忚堪', title: '鏁呴殰鍘熷洜鎻忚堪', width: 200 }
-                    , { field: 'HManagerID', title: 'HManagerID', width: 115, hide: true }
+                    , { field: 'HManagerID1', title: 'HManagerID1', width: 115, hide: true }
                     , { field: '琛ㄤ綋璐熻矗浜轰唬鐮�', title: '琛ㄤ綋璐熻矗浜轰唬鐮�', width: 200 }
                     , { field: '琛ㄤ綋璐熻矗浜�', title: '琛ㄤ綋璐熻矗浜�', width: 200 }
                     , { field: '琛屽叧闂汉', title: '琛屽叧闂汉', width: 200 }
@@ -246,7 +248,7 @@
                                 $.ajax({
                                     type: "GET",
                                     url: GetWEBURL() + "Sb_EqpRepairWorkBill/DeltetEqpConkBookBill", //鏂规硶鎵�鍦ㄩ〉闈㈠拰鏂规硶鍚�
-                                    data: { "HInterID": InterID },
+                                    data: { "HInterID": InterID, "user": sessionStorage["HUserName"]},
                                     success: function (result) {
                                         if (result.count == 1) {
                                             layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
@@ -279,7 +281,7 @@
                 //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                 url: GetWEBURL() + '/Sb_EqpRepairWorkBill/GetEqpConkBookBillList',
                 type: "GET",
-                data: { "sWhere": sWhere},
+                data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                 success: function (data1) {
                     if (data1.count == 1) {
                         option.data = data1.data;
@@ -322,7 +324,7 @@
                     //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                     url: GetWEBURL() + '/Sb_EqpRepairWorkBill/GetEqpConkBookBillList',
                     type: "GET",
-                    data: { "sWhere": sWhere},
+                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"]},
                     success: function (data1) {
                         if (data1.count == 1) {
                             option.data = data1.data;

--
Gitblit v1.9.1