From 31ce6be2d56798d9509e6d90335999064351f7f3 Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期二, 10 十二月 2024 16:06:26 +0800 Subject: [PATCH] 12.10 --- ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tLine/tLine.js | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tLine/tLine.js b/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tLine/tLine.js index 59dfb09..920a858 100644 --- a/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tLine/tLine.js +++ b/ManagementNTTravel/guns-admin/src/main/webapp/static/modular/system/tLine/tLine.js @@ -25,6 +25,28 @@ return btn; } }, + {title: '是否推荐', field: 'isOpen', visible: true, align: 'center', valign: 'middle', + formatter: function (value, row) { + var btn = ""; + + if (row.isOpen == 1){ + btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="是" onfocus="TUser.tooltip()">是</p>'] + } else { + btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="否" onfocus="TUser.tooltip()">否</p>'] + } + + return btn; + } + }, + {title: '排序值', field: 'sortBy', visible: true, align: 'center', valign: 'middle', + formatter: function (value, row) { + var btn = ""; + + btn = ['<p class="toolTip" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="' + row.sortBy + '" onfocus="TUser.tooltip()">' + row.sortBy+ '</p>'] + + return btn; + } + }, {title: '线路名称', field: 'name', visible: true, align: 'center', valign: 'middle', formatter: function (value, row) { var btn = ""; @@ -106,7 +128,7 @@ TLine.openAddTLine = function () { var index = layer.open({ type: 2, - title: '添加直通车线路', + title: '添加跨城线路', area: ['100%', '100%'], //宽高 fix: false, //不固定 maxmin: true, @@ -122,7 +144,7 @@ if (this.check()) { var index = layer.open({ type: 2, - title: '编辑直通车线路', + title: '编辑跨城线路', area: ['100%', '100%'], //宽高 fix: false, //不固定 maxmin: true, -- Gitblit v1.7.1