From 799c3039676eb62d64b4757bcda704376f8916de Mon Sep 17 00:00:00 2001 From: lsh <lsh@163.com> Date: 星期二, 16 四月 2024 09:12:17 +0800 Subject: [PATCH] # --- src/main/webapp/static/js/weekly/weekly.js | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/static/js/weekly/weekly.js b/src/main/webapp/static/js/weekly/weekly.js index 78a073e..8d3a941 100644 --- a/src/main/webapp/static/js/weekly/weekly.js +++ b/src/main/webapp/static/js/weekly/weekly.js @@ -644,7 +644,8 @@ }, done: function (res, curr, count) { $(".layui-table-cell").css('overflow', 'visible');//瑙e喅layui鏁版嵁琛ㄦ牸涓祵濂椾笅鎷夋鏄剧ず闂 - $(".laytable-cell-2-0-7").css('color', 'rgba(0, 0, 0, 0)'); + $(".laytable-cell-2-0-5").css('color', 'rgba(0, 0, 0, 0)'); + $(".layui-layer-setwin").css('display', 'none'); $(layero).find('.layui-table-view').css('margin', '0'); var options = this; @@ -936,7 +937,11 @@ } }) location.reload(); + return false; + }); + $('#cancelBtn').on('click', function () { + location.reload(); }); // 鏄庣粏琛ㄦ牸 var xxDataList = []; @@ -954,7 +959,7 @@ // ,{field: 'workPurpose', title: '宸ヤ綔鐩殑', style: 'color: blue;font-weight: bold', edit:true} ,{field: 'addr', title: '鍦板潃', style: 'color: blue;font-weight: bold', edit:true} // ,{field: 'comment', title: '璇勮', style: 'color: blue;font-weight: bold', edit:false} - ,{field: 'weeklyMatter', title: '闇�鍗忓姪浜嬮」', style: 'color: blue;font-weight: bold', edit:true} + // ,{field: 'weeklyMatter', title: '闇�鍗忓姪浜嬮」', style: 'color: blue;font-weight: bold', edit:true} // ,{field: 'dailyTime$', align: 'center',title: '鏃ユ姤鏃ユ湡'} // ,{field: 'settleMsg', align: 'center',title: '瀹℃牳杩涘害'} // ,{field: 'director', align: 'center',title: '璐熻矗浜�'} @@ -974,7 +979,8 @@ }, done: function (res, curr, count) { $(".layui-table-cell").css('overflow', 'visible');//瑙e喅layui鏁版嵁琛ㄦ牸涓祵濂椾笅鎷夋鏄剧ず闂 - $(".laytable-cell-2-0-6").css('color', 'rgba(0, 0, 0, 0)'); + $(".laytable-cell-2-0-4").css('color', 'rgba(0, 0, 0, 0)'); + $(".layui-layer-setwin").css('display', 'none'); $(layero).find('.layui-table-view').css('margin', '0'); var options = this; @@ -1130,6 +1136,9 @@ title: (exp ? '淇敼' : '娣诲姞') + '鏄庣粏', content: $('#matEditDialog').html(), success: function (layero, dIndex) { + if (!exp){ + indexDelSign = 1; + } // 鍥炴樉鏁版嵁 form.val('matEditForm', exp); // 琛ㄥ崟鎻愪氦浜嬩欢 -- Gitblit v1.9.1