From d53db00590b2fa94e5c7cbf2fb55bcc801006b4a Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 26 五月 2023 15:18:16 +0800 Subject: [PATCH] 地图缩放条 --- src/main/webapp/static/js/waitPakinLog/waitPakinLog.js | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js index 0e3e360..8dcb1db 100644 --- a/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js +++ b/src/main/webapp/static/js/waitPakinLog/waitPakinLog.js @@ -3,20 +3,21 @@ var cols = [ ]; cols.push.apply(cols, detlCols); - cols.push({field: 'status', align: 'center',title: '鐘舵��', templet:function(row){ - var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='寰呭叆搴搢宸插惎鍔�' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; - if(row.status !== 'Y'){html += " checked ";} + cols.push({field: 'matType$', align: 'center',title: '鐗╂枡绫诲瀷'}) + cols.push({field: 'status', align: 'center',title: '鏁版嵁鐘舵��', templet:function(row){ + var html = "<input value='status' type='checkbox' lay-skin='switch' lay-text='姝e父|閿佸畾' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; + if(row.status === 'Y'){html += " checked ";} html += ">"; return html; }} ,{field: 'ioStatus', align: 'center',title: '鍏ュ嚭鐘舵��', templet:function(row){ - var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='鍏ュ簱|鍑哄簱' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; - if(row.ioStatus !== 'Y'){html += " checked ";} + var html = "<input value='ioStatus' type='checkbox' lay-skin='switch' lay-text='杩愯涓瓅寰呭鐞�' lay-filter='tableCheckbox' disabled='disabled' table-index='"+row.LAY_TABLE_INDEX+"'"; + if(row.ioStatus === 'Y'){html += " checked ";} html += ">"; return html; }} ,{field: 'modiUser$', align: 'center',title: '淇敼浜哄憳', hide:true} - ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿', hide:true}) + ,{field: 'modiTime$', align: 'center',title: '淇敼鏃堕棿'}) return cols; } layui.use(['table','laydate', 'form'], function(){ -- Gitblit v1.9.1