From e1749547c76a5d8bae94e47d38d4d75b481610c1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 09 九月 2021 10:51:15 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/tag/tag.html |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/main/webapp/views/tag/tag.html b/src/main/webapp/views/tag/tag.html
index 4debad2..c81b263 100644
--- a/src/main/webapp/views/tag/tag.html
+++ b/src/main/webapp/views/tag/tag.html
@@ -13,6 +13,9 @@
         #detail {
             padding: 25px 30px 0 0;
         }
+        .ew-tree-table-box {
+            height: 100%;
+        }
     </style>
 </head>
 <body>
@@ -89,9 +92,9 @@
                 </div>
 
                 <div class="layui-form-item">
-                    <label class="layui-form-label">绠�瑕佹弿杩�</label>
+                    <label class="layui-form-label">鎺掑簭</label>
                     <div class="layui-input-block">
-                        <input name="brief" placeholder="璇疯緭鍏ョ畝瑕佹弿杩�" class="layui-input">
+                        <input name="sort" placeholder="璇疯緭鍏ユ帓搴�" class="layui-input">
                     </div>
                 </div>
 
@@ -154,7 +157,7 @@
                 ,{field: 'img', align: 'center',title: '鍥剧墖', hide: true}
                 // ,{field: 'brief', align: 'center',title: '绠�瑕佹弿杩�'}
                 // ,{field: 'count', align: 'center',title: '鏁伴噺'}
-                ,{field: 'sort', align: 'center',title: '鎺掑簭', hide: true}
+                ,{field: 'sort', align: 'center',title: '鎺掑簭'}
                 ,{field: 'status$', align: 'center',title: '鐘舵��'}
                 ,{field: 'updateTime$', align: 'center',title: '淇敼鏃堕棿'}
                 ,{field: 'updateBy$', align: 'center',title: '淇敼浜哄憳', hide: true}
@@ -163,6 +166,7 @@
                 ,{fixed: 'right', title:'鎿嶄綔', align: 'center', toolbar: '#operate', width:150}
             ]],
             done: function (data) {
+                $('.ew-tree-table-box').css('height', '100%');
                 insTb.expandAll();
                 tbDataList = data;
             }
@@ -179,7 +183,11 @@
                     return;
                 }
                 var ids = checkRows.map(function (d) {
-                    return d.id;
+                    if (!d.LAY_INDETERMINATE) {
+                        return d.id;
+                    } else {
+                        return null;
+                    }
                 });
                 doDel({ids: ids});
             }
@@ -203,7 +211,6 @@
                 content: $('#editDialog').html(),
                 success: function (layero, dIndex) {
                     // 鍥炴樉琛ㄥ崟鏁版嵁
-                    console.log(mData)
                     form.val('detail', mData);
                     // 琛ㄥ崟鎻愪氦浜嬩欢
                     form.on('submit(editSubmit)', function (data) {

--
Gitblit v1.9.1