|
|
@@ -41,19 +41,19 @@
|
|
|
>删除</el-button
|
|
|
>
|
|
|
</el-col>-->
|
|
|
- <!-- <el-col :span="1.5">
|
|
|
+ <el-col :span="1.5">
|
|
|
<el-button type="warning" plain icon="Download" @click="handleExport" v-hasPermi="['business:tournaments:export']">导出</el-button>
|
|
|
- </el-col>-->
|
|
|
+ </el-col>
|
|
|
|
|
|
<!-- 新增的 “盲注管理” 按钮 -->
|
|
|
<el-col :span="1.5">
|
|
|
<el-button type="warning" plain icon="Operation" v-hasPermi="['business:tournaments:manager']">
|
|
|
- <router-link to="/business/structures">盲注表管理</router-link>
|
|
|
+ <router-link to="/tournament/structures">盲注表管理</router-link>
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<el-col :span="1.5">
|
|
|
<el-button type="success" plain icon="Operation" v-hasPermi="['business:tournaments:manager']">
|
|
|
- <router-link to="/business/config">自动比赛管理</router-link>
|
|
|
+ <router-link to="/tournament/config">自动比赛管理</router-link>
|
|
|
</el-button>
|
|
|
</el-col>
|
|
|
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
@@ -735,7 +735,7 @@ const removeReward = (index: number) => {
|
|
|
const iconPreviewUrl = ref('');
|
|
|
const competitionIcon = ref('');
|
|
|
const fileList = ref([]);
|
|
|
-
|
|
|
+import { parseTime } from '@/utils/dateUtils';
|
|
|
// 单选控制变量(用于绑定 el-radio)
|
|
|
const selectedRadio = ref<number | null>(null);
|
|
|
|
|
|
@@ -771,8 +771,8 @@ const initFormData: TournamentsForm = {
|
|
|
itemsNum: null,
|
|
|
blindStructureId: null,
|
|
|
itemsPrizeList: [],
|
|
|
- delayCardNum: 4,
|
|
|
- delayCardTime: 15
|
|
|
+ delayCardNum: null,
|
|
|
+ delayCardTime: null
|
|
|
};
|
|
|
const data = reactive<PageData<TournamentsForm, TournamentsQuery>>({
|
|
|
form: { ...initFormData },
|
|
|
@@ -1084,7 +1084,7 @@ const handleExport = () => {
|
|
|
{
|
|
|
...queryParams.value
|
|
|
},
|
|
|
- `赛事列表_${new Date().getTime()}.xlsx`
|
|
|
+ `赛事列表${parseTime(new Date(), '{y}{m}{d}{h}{i}{s}')}.xlsx`
|
|
|
);
|
|
|
};
|
|
|
|
|
|
@@ -1466,7 +1466,7 @@ const handleViewHistory = (row: ClaimsVO) => {
|
|
|
// 判断 playerId 是否有效(非 null、undefined)
|
|
|
const playerIdStr = playerId != null ? String(playerId) : '';
|
|
|
proxy?.$router.push({
|
|
|
- path: '/business/history',
|
|
|
+ path: '/service/history',
|
|
|
query: { tournamentId: String(tournamentId), playerId: playerIdStr }
|
|
|
});
|
|
|
auditDialog.value.visible = false;
|
|
|
@@ -1478,7 +1478,7 @@ const handleViewPublicHistory = (row: TournamentsVO) => {
|
|
|
// 判断 playerId 是否有效(非 null、undefined)
|
|
|
const playerIdStr = playerId != null ? String(playerId) : '';
|
|
|
proxy?.$router.push({
|
|
|
- path: '/business/history',
|
|
|
+ path: '/service/history',
|
|
|
query: { tournamentId: String(tournamentId), playerId: playerIdStr }
|
|
|
});
|
|
|
};
|