From cf28c25d1a8e360ab328c5435d289c5cb9b414c1 Mon Sep 17 00:00:00 2001
From: nickchange <126672920+nickchange@users.noreply.github.com>
Date: 星期六, 25 十一月 2023 21:06:34 +0800
Subject: [PATCH] 11.26
---
cloud-server-management/src/main/webapp/static/modular/system/ball/ball.js | 35 +++++++++++++++++++++++++++++------
1 files changed, 29 insertions(+), 6 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 9f402bf..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) {
@@ -72,14 +81,14 @@
Feng.error("不能重复操作");
return
}
- parent.layer.confirm(state == 1 ? '是否开启' : "是否关闭" , {
+ parent.layer.confirm(state == 1 ? '是否关闭' : "是否开启" , {
btn: ['确定', '取消']
}, function (index) {
let ajax = new $ax(Feng.ctxPath + "/ball/editCoursePackageState", function (data) {
- Feng.success(state == 1 ? '开启' : "关闭" + "成功!");
+ Feng.success(state == 1 ? '关闭' : "开启" + "成功!");
TStudent.table.refresh();
}, function (data) {
- Feng.error(state == 1 ? '开启' : "关闭" + "失败!" + data.responseJSON.message + "!");
+ Feng.error(state == 1 ? '关闭' : "开启" + "失败!" + data.responseJSON.message + "!");
});
ajax.set("id", TStudent.seItem.id);
ajax.set("state", state);
@@ -126,6 +135,11 @@
this.layerIndex = index;
}
};
+
+
+
+
+
TStudent.openTStudentDetail3 = function () {
if (this.check()) {
@@ -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