From f6afbed587ff142ad5a49d897e2c32d1c78acc57 Mon Sep 17 00:00:00 2001
From: wangtao <1q2w3e4r>
Date: Wed, 6 Jul 2022 14:10:35 +0800
Subject: [PATCH] 1426  	B6,系统通知配置支持列排序

---
 hg-monitor-web-base/src/main/resources/static/src/controller/systemNotice.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/hg-monitor-web-base/src/main/resources/static/src/controller/systemNotice.js b/hg-monitor-web-base/src/main/resources/static/src/controller/systemNotice.js
index 1b7b558..fc03c39 100644
--- a/hg-monitor-web-base/src/main/resources/static/src/controller/systemNotice.js
+++ b/hg-monitor-web-base/src/main/resources/static/src/controller/systemNotice.js
@@ -109,7 +109,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'laydate'
                 cols: [[{
                     type: 'checkbox'
                 }, {
-                    field: 'noticeTempName', title: '模板名称', align: 'left',minWidth:400,
+                    field: 'noticeTempName', title: '模板名称', align: 'left',minWidth:400, sort: true,
                     templet:
                         '<div>' +
                         '  <span' +
@@ -142,7 +142,7 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'laydate'
                 //     }
                 // }
                 , {
-                    field: 'subPersonSum', title: '订阅人数', align: 'center',
+                    field: 'subPersonSum', title: '订阅人数', align: 'center', sort: true,
                     templet: function (d) {
                         if (!d.noticeTempUserList) {
                             return '';
@@ -157,15 +157,15 @@ layui.define(['table', 'form', 'admin', 'layer', 'common', 'sessions', 'laydate'
                             return '<span>' + userName + '</span>';
                         }
                     }
-                }, {
-                    field: 'lastNoticeTime', title: '最后一次通知时间', align: 'center', templet: function (d) {
+                }, /*{
+                    field: 'lastNoticeTime', title: '最后一次通知时间', align: 'center', sort: true, templet: function (d) {
                         if (d.alarmNoticeHis.updateTime) {
                             return '<span class="layui-table-link link-notice-temp-view-notice" data-subid="' + d.subId + '" data-index="' + d.LAY_TABLE_INDEX + '">' + d.alarmNoticeHis.updateTime + '</span>'
                         } else {
                             return ''
                         }
                     }
-                }, {
+                },*/ {
                     field: 'frequency', title: '通知频率', align: 'center'
                 }, {
                     field: 'tempStatus', title: '状态', align: 'center',
--
libgit2 0.24.0