| | |
| | | }); |
| | | 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({ |
| | |
| | | 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(); |
| | | }; |
| | | |