This commit is contained in:
@@ -290,7 +290,7 @@ const columns = ref([
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '积分',
|
title: '余额',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
key: 'integral',
|
key: 'integral',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -654,6 +654,7 @@ const clear = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const veeify = async () => {
|
const veeify = async () => {
|
||||||
|
try {
|
||||||
let data = {}
|
let data = {}
|
||||||
if (nowKey.value === 1 || nowKey.value === 2) {
|
if (nowKey.value === 1 || nowKey.value === 2) {
|
||||||
data = {
|
data = {
|
||||||
@@ -663,7 +664,7 @@ const veeify = async () => {
|
|||||||
}
|
}
|
||||||
await api.getHotStatus(data)
|
await api.getHotStatus(data)
|
||||||
await getList()
|
await getList()
|
||||||
clear()
|
// clear()
|
||||||
} else {
|
} else {
|
||||||
formRef.value?.validate(async (errors) => {
|
formRef.value?.validate(async (errors) => {
|
||||||
if (!errors) {
|
if (!errors) {
|
||||||
@@ -673,10 +674,14 @@ const veeify = async () => {
|
|||||||
}
|
}
|
||||||
await api.getHotStatus(data)
|
await api.getHotStatus(data)
|
||||||
await getList()
|
await getList()
|
||||||
clear()
|
// clear()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
} finally {
|
||||||
|
isNoteModel.value = false
|
||||||
|
isDzModel.value = false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const veeifys = async () => {
|
const veeifys = async () => {
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ const columns = ref([
|
|||||||
align: 'center',
|
align: 'center',
|
||||||
slot: 'game_name',
|
slot: 'game_name',
|
||||||
render: (row) => {
|
render: (row) => {
|
||||||
const res = gamelist.value.find((item) => item.value === row.hall_id)
|
const res = gamelist.value.find((item) => item.value === Number(row.hall_id))
|
||||||
return h('span', null, {
|
return h('span', null, {
|
||||||
default: () => res?.label || '',
|
default: () => res?.label || '',
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user