From ac5962f71fe0f4fd4e7e44fb74a02bba7ff816b4 Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期二, 18 六月 2024 12:14:16 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI

---
 WebTM/views/设备管理/设备状态/Sb_EquipStatusChangeBillList.html |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html" "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html"
index 15dd2cb..ba8e8f2 100644
--- "a/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html"
+++ "b/WebTM/views/\350\256\276\345\244\207\347\256\241\347\220\206/\350\256\276\345\244\207\347\212\266\346\200\201/Sb_EquipStatusChangeBillList.html"
@@ -14,6 +14,7 @@
     <script src="../../../layuiadmin/Scripts/webConfig.js"></script>
     <script src="../../../layuiadmin/PubCustom.js"></script>
     <script src="../../../layuiadmin/soulTable.slim.js"></script>
+    <script src="../../../layuiadmin/PageTitle.js"></script>
 </head>
 <body>
     <div class="layui-fluid">
@@ -120,6 +121,13 @@
             var sWhere = "";
             var HModName = "Sb_EquipStatusChangeBillList";
 
+            //#region 銆愬姩鎬佽幏鍙栨ā鍧楀悕绉般��
+            var HModuleType = "3916";
+            //閫氳繃鍗曟嵁绫诲瀷锛屼粠鏁版嵁搴撳姩鎬佽幏鍙栧崟鎹ā鍧楀懡鍚�,寮曠敤js鏂囦欢 PageTitle.js
+            var HPageTitle = get_PageTitle(HModuleType) == "" ? document.title : get_PageTitle(HModuleType);
+        //#endregion
+
+
             var params = getUrlVars();
 
             //#region 銆愯繃婊ゆ柟妗堛��
@@ -220,6 +228,7 @@
                     , toolbar: '#toolbarDemo'
                     , height: 'full-50'
                     , page: true
+                    , totalRow: true
                     , cellMinWidth: 90
                     , limit: 50
                     , limits: [50, 500, 5000, 20000]
@@ -227,7 +236,7 @@
                         soulTable.render(this);
                     }
                     , cols: [[
-                        { type: 'checkbox', fixed: 'left' }
+                        { type: 'checkbox', fixed: 'left', totalRowText: '鍚堣琛�'}
                         , { field: 'HMainID', title: 'HMainID', sort: true, width: 165, hide: true }
                         , { field: '鏃ユ湡', title: '鏃ユ湡', sort: true, width: 165}
                         , { field: '鍗曟嵁鍙�', title: '鍗曟嵁鍙�', sort: true, width: 170 }
@@ -248,7 +257,7 @@
                         , { field: '璁¢噺鍗曚綅', title: '璁¢噺鍗曚綅', sort: true, width: 165 }
                         , { field: '骞�', title: '骞�', sort: true, width: 170 }
                         , { field: '鏈�', title: '鏈�', sort: true, width: 170 }
-                        , { field: '鏁伴噺', title: '鏁伴噺', sort: true, width: 170 }
+                        , { field: '鏁伴噺', title: '鏁伴噺', sort: true, width: 170, totalRow: true }
                         , { field: '鍒跺崟浜�', title: '鍒跺崟浜�', sort: true, width: 165 }
                         , { field: '鍒跺崟鏃ユ湡', title: '鍒跺崟鏃ユ湡', width: 120, sort: true, templet: "<div>{{d.鍒跺崟鏃ユ湡 ==null ?'':layui.util.toDateString(d.鍒跺崟鏃ユ湡, 'yyyy-MM-dd')}}</div>" }
                         , { field: '瀹℃牳浜�', title: '瀹℃牳浜�', sort: true, width: 100 }
@@ -367,7 +376,7 @@
                     type: 2
                     , skin: 'layui-layer-rim' //鍔犱笂杈规
                     , area: ['100%', '100%']
-                    , title: '璁惧鐘舵�佸彉鏇村崟鏂板'
+                    , title: '鏂板' + HPageTitle
                     , shift: 0//寮瑰嚭鍔ㄧ敾
                     , content: './Sb_EquipStatusChangeBill.html?OperationType=1&linterid='
                     , end: function () {
@@ -387,7 +396,7 @@
                     layer.open({
                         type: 2
                         , area: ['100%', '100%']
-                        , title: '璁惧鐘舵�佸彉鏇村崟缂栬緫'
+                        , title: '缂栬緫' + HPageTitle
                         , shift: 0//寮瑰嚭鍔ㄧ敾
                         , content: './Sb_EquipStatusChangeBill.html?OperationType=3&linterid=' + linterid +''
                         , end: function () {

--
Gitblit v1.9.1