diff --git a/ruoyi-ui/src/views/system/WxBuilding/index.vue b/ruoyi-ui/src/views/system/WxBuilding/index.vue index 92cc8c7b..ef746fcb 100644 --- a/ruoyi-ui/src/views/system/WxBuilding/index.vue +++ b/ruoyi-ui/src/views/system/WxBuilding/index.vue @@ -575,6 +575,8 @@ export default { status: null, isOpen: null, createdId: null, + orderByColumn:"id", + isAsc:"desc" }, // 表单参数 form: {}, diff --git a/ruoyi-ui/src/views/system/area/index.vue b/ruoyi-ui/src/views/system/area/index.vue index ec206ee4..aca7c967 100644 --- a/ruoyi-ui/src/views/system/area/index.vue +++ b/ruoyi-ui/src/views/system/area/index.vue @@ -227,7 +227,7 @@ - + - + - + - + - + - + { + listCompetitionOfTeam({"orderByColumn":"t.id","isAsc":"desc","pageNum": 1, "pageSize": 1000,"competitionId":id}).then(response => { this.competitionOfTeamList = response.rows; }); } @@ -987,7 +987,7 @@ export default { bindConfirm(id,tage){ updateCompetitionOfTeam({"id":id,"status":tage}).then(response => { this.$modal.msgSuccess("球队审核成功"); - listCompetitionOfTeam({"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionOfTeam({"orderByColumn":"t.id","isAsc":"desc","pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionOfTeamList = response.rows; }); }); @@ -1058,7 +1058,7 @@ export default { handleTagClick(tab, event){ console.info(tab.name) if(tab.name=='competitionTeamApprove'){ - listCompetitionOfTeam({"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionOfTeam({"orderByColumn":"t.id","isAsc":"desc","pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionOfTeamList = response.rows; }); }else if(tab.name=='competitionTeamGroup'){ @@ -1067,7 +1067,7 @@ export default { this.competitionTeamGroupList.push({"competitionGroup":"未分","id":null}) }); }else if(tab.name=='competitionVsSet'){ - listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isAsc":"desc","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionTeamVsTeamList = response.rows; }); }else if(tab.name=='competitionSpread'){ @@ -1124,7 +1124,7 @@ export default { arrangeTeamGroupSchedule(param).then(response => { this.$modal.msgSuccess("赛程智能设置成功"); this.mindVisible = false; - listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isAsc":"desc","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionTeamVsTeamList = response.rows; }); }); @@ -1190,7 +1190,7 @@ export default { this.$modal.confirm('是否确认删除赛会中的赛程数据?').then(function() { return delCompetitionTeamVsTeam(ids); }).then(() => { - listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isAsc":"desc","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionTeamVsTeamList = response.rows; }); this.$modal.msgSuccess("删除赛程成功"); @@ -1200,7 +1200,7 @@ export default { editDataCompetitionResult(this.competitionRecord).then(response => { this.$modal.msgSuccess("比赛结果记录成功"); this.vsRecordOpen = false; - listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isAsc":"desc","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionTeamVsTeamList = response.rows; }); }); @@ -1214,7 +1214,7 @@ export default { updateCompetitionTeamVsTeam(this.vsform).then(response => { this.$modal.msgSuccess("编辑赛程成功"); this.vsOpen = false; - listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isAsc":"desc","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionTeamVsTeamList = response.rows; }); }); @@ -1223,7 +1223,7 @@ export default { addCompetitionTeamVsTeam(this.vsform).then(response => { this.$modal.msgSuccess("新增赛程成功"); this.vsOpen = false; - listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { + listCompetitionTeamVsTeam({"orderByColumn":"competition_time","isAsc":"desc","isDeleted":0,"pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => { this.competitionTeamVsTeamList = response.rows; }); }); diff --git a/ruoyi-ui/src/views/system/competitionTeamGroup/index.vue b/ruoyi-ui/src/views/system/competitionTeamGroup/index.vue index c4e4e209..dbbc1c80 100644 --- a/ruoyi-ui/src/views/system/competitionTeamGroup/index.vue +++ b/ruoyi-ui/src/views/system/competitionTeamGroup/index.vue @@ -157,7 +157,7 @@ - + - + - + - + - +