Compare commits

...

6 Commits

Author SHA1 Message Date
e9d5ca54a3 Merge branch 'test'
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-12 01:43:11 +08:00
e7b1992932 Merge branch 'test' of https://gitea.jdt168.com/XinLingKeJi/jdt-admin into test
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-12 01:42:56 +08:00
aee9a2d9c0 Merge branch 'dev' into test 2024-09-12 01:42:52 +08:00
82211679f9 fix(custom): \!
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-12 01:40:25 +08:00
f031d84745 Merge branch 'dev' into test
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-09 16:04:14 +08:00
7d379fa03c fix(custom): \!
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-09 16:03:59 +08:00
3 changed files with 28 additions and 23 deletions

View File

@@ -290,7 +290,7 @@ const columns = ref([
},
},
{
title: '积分',
title: '余额',
align: 'center',
key: 'integral',
},

View File

@@ -654,28 +654,33 @@ const clear = () => {
}
const veeify = async () => {
let data = {}
if (nowKey.value === 1 || nowKey.value === 2) {
data = {
gid: [nowRow.value.gid],
status: nowKey.value,
notes: notesVal.value,
}
await api.getHotStatus(data)
await getList()
clear()
} else {
formRef.value?.validate(async (errors) => {
if (!errors) {
data = {
...nowRow.value,
gid: [nowRow.value.gid],
}
await api.getHotStatus(data)
await getList()
clear()
try {
let data = {}
if (nowKey.value === 1 || nowKey.value === 2) {
data = {
gid: [nowRow.value.gid],
status: nowKey.value,
notes: notesVal.value,
}
})
await api.getHotStatus(data)
await getList()
// clear()
} else {
formRef.value?.validate(async (errors) => {
if (!errors) {
data = {
...nowRow.value,
gid: [nowRow.value.gid],
}
await api.getHotStatus(data)
await getList()
// clear()
}
})
}
} finally {
isNoteModel.value = false
isDzModel.value = false
}
}

View File

@@ -157,7 +157,7 @@ const columns = ref([
align: 'center',
slot: 'game_name',
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, {
default: () => res?.label || '',
})