diff --git a/ruoyi-ui/src/views/system/competitionSet/index.vue b/ruoyi-ui/src/views/system/competitionSet/index.vue
index 2a4d5b45..7f443538 100644
--- a/ruoyi-ui/src/views/system/competitionSet/index.vue
+++ b/ruoyi-ui/src/views/system/competitionSet/index.vue
@@ -225,6 +225,7 @@
v-hasPermi="['system:competitionOfTeam:edit']"
>比赛记录
编辑赛程
删除赛程
@@ -785,6 +787,17 @@ export default {
this.vsOpen=true;
this.vsTitle = "编辑赛程"
},
+ handleTeamVsTeamDel(row){
+ const ids = row.id || this.ids;
+ this.$modal.confirm('是否确认删除赛会中的赛程数据?').then(function() {
+ return delCompetitionTeamVsTeam(ids);
+ }).then(() => {
+ listCompetitionTeamVsTeam({"orderByColumn":"competition_time","pageNum": 1, "pageSize": 1000,"competitionId":this.competitionObj.id}).then(response => {
+ this.competitionTeamVsTeamList = response.rows;
+ });
+ this.$modal.msgSuccess("删除赛程成功");
+ }).catch(() => {});
+ },
/** 提交按钮 */
submitTeamVsTeamForm() {
this.$refs["vsform"].validate(valid => {