|
@@ -128,23 +128,14 @@ onMounted(async () => {
|
|
loading.value = false
|
|
loading.value = false
|
|
})
|
|
})
|
|
const searchMatch = async () => {
|
|
const searchMatch = async () => {
|
|
- const info = {
|
|
|
|
- skip: 0,
|
|
|
|
- limit: 1,
|
|
|
|
- is_use: '0',
|
|
|
|
- status: '1'
|
|
|
|
- }
|
|
|
|
|
|
+ const info = { skip: 0, limit: 1, is_use: '0', status: '1' }
|
|
const res = await matchStore.query(info)
|
|
const res = await matchStore.query(info)
|
|
if (res.errcode == '0') {
|
|
if (res.errcode == '0') {
|
|
matchInfo.value = res.data[0]
|
|
matchInfo.value = res.data[0]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
const searchOther = async () => {
|
|
const searchOther = async () => {
|
|
- const data = {
|
|
|
|
- skip: 0,
|
|
|
|
- limit: 3,
|
|
|
|
- status: '1'
|
|
|
|
- }
|
|
|
|
|
|
+ const data = { skip: 0, limit: 3, status: '1' }
|
|
let res
|
|
let res
|
|
res = await projectStore.query({ ...data, is_use: '0' })
|
|
res = await projectStore.query({ ...data, is_use: '0' })
|
|
if (res.errcode == '0') projectList.value = res.data
|
|
if (res.errcode == '0') projectList.value = res.data
|