From 7e7f901b2172281dc294dfbc67e6ad00625f09f4 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 04 三月 2024 10:11:21 +0800 Subject: [PATCH] 合并代码 --- cloud-server-management/src/main/webapp/static/modular/system/ball/ball.js | 29 ++++++++++++++++++++++++++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/ball/ball.js b/cloud-server-management/src/main/webapp/static/modular/system/ball/ball.js index e223c92..3ba40bc 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/ball/ball.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/ball/ball.js @@ -29,9 +29,18 @@ {title: '市', field: 'city', visible: true, align: 'center', valign: 'middle'}, { title: '门店名称', field: 'store', visible: true, align: 'center', valign: 'middle'}, { title: '所属场地', field: 'site', visible: true, align: 'center', valign: 'middle'}, - { title: '设备ID', field: 'blue', visible: true, align: 'center', valign: 'middle'}, - { title: '设备类型', field: 'red', visible: true, align: 'center', valign: 'middle'}, - { title: '设备类型', field: 'red', visible: true, align: 'center', valign: 'middle'}, + { title: '蓝方设备ID', field: 'blue', visible: true, align: 'center', valign: 'middle'}, + { title: '红方设备ID', field: 'red', visible: true, align: 'center', valign: 'middle'}, + { + title: '设备类型', + field: 'deviceType', + visible: true, + align: 'center', + valign: 'middle', + formatter: function(value, row, index) { + return '智慧球场'; + } + }, { title: '状态', field: 'state', visible: true, align: 'center', valign: 'middle', formatter: function(value, row, index) { @@ -127,6 +136,11 @@ } }; + + + + + TStudent.openTStudentDetail3 = function () { if (this.check()) { var index = layer.open({ @@ -205,6 +219,15 @@ TStudent.table.refresh({query: queryData}); }; +TStudent.resetSearch = function () { + $("#pCode").val(""); + $("#cCode").val(""); + $("#store").val(""); + $("#site").val(""); + TStudent.search(); +}; + + $(function () { var defaultColunms = TStudent.initColumn(); var table = new BSTable(TStudent.id, "/ball/list", defaultColunms); -- Gitblit v1.7.1