zsk 9 months ago
parent 1aebf639f2
commit 75adab9b49

Binary file not shown.

@ -30,7 +30,7 @@
<template v-if="column.key === 'action'">
<a-space>
<a-button type="link" @click="editItem(record)"></a-button>
<a-button type="link" @click="deleteItem(record)"></a-button>
<a-button type="link" @click="deleteItem(record)" v-if="activeTab != 'recommendations'"></a-button>
</a-space>
</template>
</template>

@ -64,7 +64,7 @@
<a-form-item label="中否" name="fruit">
<a-input v-model:value="formState.fruit" />
</a-form-item>
<a-form-item v-if="formState.classify === 9" label="开奖号" name="winNo">
<a-form-item v-if="formState.classify === 8" label="开奖号" name="winNo">
<a-input v-model:value="formState.winNo" />
</a-form-item>
<a-form-item v-if="formState.classify === 8 || formState.classify === 9" label="推荐号" name="recommendNo">
@ -82,12 +82,12 @@ import dayjs from 'dayjs';
import { getScheduleListApi, deleteScheduleApi, saveScheduleApi, updateScheduleApi } from '../../api/scheduleConfig';
const noteTypes = [
{ key: 1, label: '总进球' },
{ key: 2, label: '2.0' },
{ key: 3, label: '3.0' },
{ key: 4, label: '中高倍' },
{ key: 5, label: '高倍' },
{ key: 6, label: '十倍' },
{ key: 1, label: '足球总进球' },
{ key: 2, label: '足球2.0' },
{ key: 3, label: '足球3.0' },
{ key: 4, label: '足球中高倍' },
{ key: 5, label: '足球高倍' },
{ key: 6, label: '足球8.0' },
{ key: 7, label: '篮球' },
{ key: 8, label: '排列三' },
{ key: 9, label: '快乐八' },
@ -248,10 +248,10 @@ const getColumns = (classify) => {
{ title: '操作', key: 'action' },
];
if (classify === 9) {
if (classify === 8) {
baseColumns.splice(1, 0, { title: '开奖号', dataIndex: 'winNo', key: 'winNo' });
baseColumns.splice(2, 0, { title: '推荐号', dataIndex: 'recommendNo', key: 'recommendNo' });
} else if (classify === 8) {
} else if (classify === 9) {
baseColumns.splice(1, 0, { title: '推荐号', dataIndex: 'recommendNo', key: 'recommendNo' });
} else {
baseColumns.splice(1, 0, { title: '比赛内容', key: 'scheduleJson' });

Loading…
Cancel
Save