|
@@ -38,15 +38,15 @@
|
38
|
38
|
<span>{{ row.lotteryId | getLotteryName }}</span>
|
39
|
39
|
</template>
|
40
|
40
|
</el-table-column>
|
41
|
|
- <el-table-column label="编号" prop="matchWeek" width="80px"></el-table-column>
|
|
41
|
+ <el-table-column label="编号" prop="matchWeek" width="80px" />
|
42
|
42
|
<el-table-column label="比赛开始时间" width="180px">
|
43
|
43
|
<template slot-scope="{row}">
|
44
|
44
|
<span>{{ row.matchDate }}</span>
|
45
|
|
- <span> </span>
|
|
45
|
+ <span />
|
46
|
46
|
<span>{{ row.matchTime }}</span>
|
47
|
47
|
</template>
|
48
|
48
|
</el-table-column>
|
49
|
|
- <el-table-column label="联赛" prop="leagueName" width="200px"></el-table-column>
|
|
49
|
+ <el-table-column label="联赛" prop="leagueName" width="200px" />
|
50
|
50
|
<el-table-column label="主队 vs 客队">
|
51
|
51
|
<template slot-scope="{row}">
|
52
|
52
|
<span>{{ row.homeTeamName }}</span>
|
|
@@ -54,14 +54,14 @@
|
54
|
54
|
<span>{{ row.awayTeamName }}</span>
|
55
|
55
|
</template>
|
56
|
56
|
</el-table-column>
|
57
|
|
- <el-table-column label="让分" prop="spreadPoints" width="80px"></el-table-column>
|
|
57
|
+ <el-table-column label="让分" prop="spreadPoints" width="80px" />
|
58
|
58
|
<el-table-column label="预设(篮球)" width="100px">
|
59
|
|
- <template slot-scope="{row}" v-if="row.lotteryId === 'basketball'">
|
|
59
|
+ <template v-if="row.lotteryId === 'basketball'" slot-scope="{row}">
|
60
|
60
|
<span>{{ row.presetPoints }}</span>
|
61
|
61
|
</template>
|
62
|
62
|
</el-table-column>
|
63
|
63
|
<el-table-column label="比分" width="160px">
|
64
|
|
- <template slot-scope="{row}" v-if="row.status === 3">
|
|
64
|
+ <template v-if="row.status === 3" slot-scope="{row}">
|
65
|
65
|
<span>(半){{ row.halfScore }}</span>
|
66
|
66
|
<span> ←|→ </span>
|
67
|
67
|
<span>{{ row.wholeScore }}(全)</span>
|
|
@@ -90,27 +90,27 @@ import matchAPI from '@/api/lottery/match-api'
|
90
|
90
|
const statusEnum = [
|
91
|
91
|
{
|
92
|
92
|
value: 0,
|
93
|
|
- label: '--',
|
|
93
|
+ label: '--'
|
94
|
94
|
},
|
95
|
95
|
{
|
96
|
96
|
value: 1,
|
97
|
|
- label: '开售',
|
|
97
|
+ label: '开售'
|
98
|
98
|
},
|
99
|
99
|
{
|
100
|
100
|
value: 2,
|
101
|
|
- label: '进行中',
|
|
101
|
+ label: '进行中'
|
102
|
102
|
},
|
103
|
103
|
{
|
104
|
104
|
value: 3,
|
105
|
|
- label: '已结束',
|
|
105
|
+ label: '已结束'
|
106
|
106
|
},
|
107
|
107
|
{
|
108
|
108
|
value: 4,
|
109
|
|
- label: '无效或异常',
|
|
109
|
+ label: '无效或异常'
|
110
|
110
|
},
|
111
|
111
|
{
|
112
|
112
|
value: 5,
|
113
|
|
- label: '取消',
|
|
113
|
+ label: '取消'
|
114
|
114
|
}
|
115
|
115
|
]
|
116
|
116
|
|
|
@@ -189,7 +189,7 @@ export default {
|
189
|
189
|
},
|
190
|
190
|
setMatchException(row) {
|
191
|
191
|
this.$confirm('确认进行当前操作?', '提示', { type: 'warning' }).then(() => {
|
192
|
|
- matchAPI.update({...row, status: 4})
|
|
192
|
+ matchAPI.update({ ...row, status: 4 })
|
193
|
193
|
})
|
194
|
194
|
}
|
195
|
195
|
}
|