|
@@ -232,7 +232,7 @@
|
|
|
<el-form-item label="比赛类型" prop="gameType">
|
|
<el-form-item label="比赛类型" prop="gameType">
|
|
|
<el-select aria-required="true" v-model="form.gameType" placeholder="请选择">
|
|
<el-select aria-required="true" v-model="form.gameType" placeholder="请选择">
|
|
|
<el-option
|
|
<el-option
|
|
|
- v-for="dict in tournaments_type.filter((item) => item.value !== '1')"
|
|
|
|
|
|
|
+ v-for="dict in physical_tournaments_type"
|
|
|
:key="dict.value"
|
|
:key="dict.value"
|
|
|
:label="dict.label"
|
|
:label="dict.label"
|
|
|
:value="dict.value"
|
|
:value="dict.value"
|
|
@@ -350,8 +350,8 @@ import { uploadTournament } from '@/api/system/business/tournaments';
|
|
|
import { parseTime } from '@/utils/dateUtils';
|
|
import { parseTime } from '@/utils/dateUtils';
|
|
|
import LevelsIndex from '@/views/system/physical/blindLevels/index.vue';
|
|
import LevelsIndex from '@/views/system/physical/blindLevels/index.vue';
|
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
|
|
|
-const { tournaments_type, tournaments_time, tournaments_status } = toRefs<any>(
|
|
|
|
|
- proxy?.useDict('tournaments_type', 'tournaments_time', 'tournaments_status')
|
|
|
|
|
|
|
+const { tournaments_type, tournaments_time, physical_tournaments_type } = toRefs<any>(
|
|
|
|
|
+ proxy?.useDict('tournaments_type', 'tournaments_time', 'physical_tournaments_type')
|
|
|
);
|
|
);
|
|
|
const tournamentsList = ref<TournamentsVO[]>([]);
|
|
const tournamentsList = ref<TournamentsVO[]>([]);
|
|
|
const buttonLoading = ref(false);
|
|
const buttonLoading = ref(false);
|