From 28a60b0977d66b75fb9a2c3306840bc18ec271f6 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 19 八月 2025 17:51:18 +0800 Subject: [PATCH] 会员支付相关 --- cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupRecords.js | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupRecords.js b/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupRecords.js index f2b5ab1..2b7dca5 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupRecords.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/worldCupRecords/worldCupRecords.js @@ -44,6 +44,27 @@ }); this.layerIndex = index; } +/** + * 新增赛事记录 + * @returns {boolean} + */ +WorldCupRecords.addWorldCupRecordsInfo = function (){ + var selected = $('#WorldCupRecordsTable2').bootstrapTable('getSelections'); + if(selected.length == 0){ + Feng.info("请先选中表格中的某一记录!"); + return false; + } + let seItem2 = selected[0]; + var index = layer.open({ + type: 2, + title: '添加赛事记录', + area: ['100%', '100%'], //宽高 + fix: false, //不固定 + maxmin: true, + content: Feng.ctxPath + '/worldCupRecords/addWorldCupGameStatisticsInfo?id=' + seItem2.id + }); + this.layerIndex = index; +} WorldCupRecords.openUserGameRecord = function (){ var index = layer.open({ @@ -77,12 +98,14 @@ var queryData = {}; queryData['province'] = $("#province").val(); queryData['city'] =$("#city").val(); + queryData['time'] =$("#time").val(); WorldCupRecords.table1.refresh({query: queryData}); }; WorldCupRecords.resetSearch1 = function () { $("#province").val(""); $("#city").val(""); + $("#time").val(""); WorldCupRecords.search1(); }; @@ -114,7 +137,7 @@ $(function () { var defaultColunms1 = [ - {field: 'selectItem', checkbox: true}, + {field: 'selectItem', visible: false, checkbox: false}, {title: 'id', field: 'id', visible: false, align: 'center', valign: 'middle'}, {title: '名次', field: 'row_num', visible: true, align: 'center', valign: 'middle',width:'20%',}, {title: '用户姓名', field: 'name', visible: true, align: 'center', valign: 'middle',}, -- Gitblit v1.7.1