|
@@ -31,6 +31,9 @@
|
|
<template #match_status>
|
|
<template #match_status>
|
|
<el-option v-for="i in matchList" :key="i.id" :label="i.label" :value="i.value"></el-option>
|
|
<el-option v-for="i in matchList" :key="i.id" :label="i.label" :value="i.value"></el-option>
|
|
</template>
|
|
</template>
|
|
|
|
+ <template #match_type>
|
|
|
|
+ <el-radio v-for="i in matchTypeList" :key="i.id" :label="i.value">{{ i.label }}</el-radio>
|
|
|
|
+ </template>
|
|
<template #type>
|
|
<template #type>
|
|
<el-option v-for="i in typeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
|
|
<el-option v-for="i in typeList" :key="i.id" :label="i.label" :value="i.value"></el-option>
|
|
</template>
|
|
</template>
|
|
@@ -159,6 +162,7 @@ const matchList = ref([])
|
|
const formList = ref([])
|
|
const formList = ref([])
|
|
const tagsList = ref([])
|
|
const tagsList = ref([])
|
|
const sectorList = ref([])
|
|
const sectorList = ref([])
|
|
|
|
+const matchTypeList = ref([])
|
|
// 多选列表
|
|
// 多选列表
|
|
const selectList = ref([])
|
|
const selectList = ref([])
|
|
// 加载中
|
|
// 加载中
|
|
@@ -168,6 +172,8 @@ const formFields = ref([
|
|
{ label: t('pages.match.name'), model: 'name' },
|
|
{ label: t('pages.match.name'), model: 'name' },
|
|
{ label: t('pages.match.tags'), model: 'tags', custom: true },
|
|
{ label: t('pages.match.tags'), model: 'tags', custom: true },
|
|
{ label: t('pages.match.type'), model: 'type', type: 'select' },
|
|
{ label: t('pages.match.type'), model: 'type', type: 'select' },
|
|
|
|
+ { label: t('pages.match.match_type'), model: 'match_type', type: 'radio' },
|
|
|
|
+ { label: t('pages.match.href'), model: 'href' },
|
|
{ label: t('pages.match.work'), model: 'work' },
|
|
{ label: t('pages.match.work'), model: 'work' },
|
|
{ label: t('pages.match.industry'), model: 'industry', type: 'select' },
|
|
{ label: t('pages.match.industry'), model: 'industry', type: 'select' },
|
|
{ label: t('pages.match.form'), model: 'form', type: 'select' },
|
|
{ label: t('pages.match.form'), model: 'form', type: 'select' },
|
|
@@ -220,6 +226,9 @@ const searchOther = async () => {
|
|
// 类型
|
|
// 类型
|
|
result = await dictDataStore.query({ code: 'matchType', is_use: '0' })
|
|
result = await dictDataStore.query({ code: 'matchType', is_use: '0' })
|
|
if ($checkRes(result)) typeList.value = result.data
|
|
if ($checkRes(result)) typeList.value = result.data
|
|
|
|
+ // 赛事类型
|
|
|
|
+ result = await dictDataStore.query({ code: 'activeType', is_use: '0' })
|
|
|
|
+ if ($checkRes(result)) matchTypeList.value = result.data
|
|
// 类别
|
|
// 类别
|
|
result = await dictDataStore.query({ code: 'matchForm', is_use: '0' })
|
|
result = await dictDataStore.query({ code: 'matchForm', is_use: '0' })
|
|
if ($checkRes(result)) formList.value = result.data
|
|
if ($checkRes(result)) formList.value = result.data
|