|
@@ -54,6 +54,14 @@ const formItems = ref({
|
|
items: []
|
|
items: []
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ type: 'text',
|
|
|
|
+ key: 'name',
|
|
|
|
+ value: null,
|
|
|
|
+ col: 6,
|
|
|
|
+ label: '投递人姓名',
|
|
|
|
+ clearable: true
|
|
|
|
+ },
|
|
|
|
+ {
|
|
type: 'autocomplete',
|
|
type: 'autocomplete',
|
|
key: 'eduType',
|
|
key: 'eduType',
|
|
value: null,
|
|
value: null,
|
|
@@ -63,6 +71,7 @@ const formItems = ref({
|
|
clearable: true,
|
|
clearable: true,
|
|
dictTypeName: 'menduner_education_type',
|
|
dictTypeName: 'menduner_education_type',
|
|
returnObject: true,
|
|
returnObject: true,
|
|
|
|
+ flexStyle: 'ml-3',
|
|
col: 6,
|
|
col: 6,
|
|
items: []
|
|
items: []
|
|
},
|
|
},
|
|
@@ -76,7 +85,6 @@ const formItems = ref({
|
|
dictTypeName: 'menduner_exp_type',
|
|
dictTypeName: 'menduner_exp_type',
|
|
returnObject: true,
|
|
returnObject: true,
|
|
col: 6,
|
|
col: 6,
|
|
- flexStyle: 'ml-3',
|
|
|
|
clearable: true,
|
|
clearable: true,
|
|
items: []
|
|
items: []
|
|
},
|
|
},
|
|
@@ -90,6 +98,7 @@ const formItems = ref({
|
|
dictTypeName: 'menduner_job_seek_status',
|
|
dictTypeName: 'menduner_job_seek_status',
|
|
returnObject: true,
|
|
returnObject: true,
|
|
clearable: true,
|
|
clearable: true,
|
|
|
|
+ flexStyle: 'ml-3',
|
|
col: 6,
|
|
col: 6,
|
|
items: []
|
|
items: []
|
|
}
|
|
}
|
|
@@ -101,8 +110,10 @@ const confirm = () => {
|
|
const data = []
|
|
const data = []
|
|
formItems.value.options.forEach(k => {
|
|
formItems.value.options.forEach(k => {
|
|
if (k.value) {
|
|
if (k.value) {
|
|
- params[k.key] = k.value[k.itemValue]
|
|
|
|
- data.push({ ...k.value, title: k.label, key: k.key })
|
|
|
|
|
|
+ params[k.key] = k.type === 'text' ? k.value : k.value[k.itemValue]
|
|
|
|
+
|
|
|
|
+ const obj = k.type === 'text' ? { value: k.value, title: k.label, key: k.key } : { ...k.value, title: k.label, key: k.key }
|
|
|
|
+ data.push(obj)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
if (!Object.keys(params).length) return Snackbar.warning('请选择筛选条件')
|
|
if (!Object.keys(params).length) return Snackbar.warning('请选择筛选条件')
|
|
@@ -121,6 +132,7 @@ const handleClear = (item) => {
|
|
|
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
formItems.value.options.forEach(async (k) => {
|
|
formItems.value.options.forEach(async (k) => {
|
|
|
|
+ if (k.type === 'text') return
|
|
// 字典数据获取
|
|
// 字典数据获取
|
|
if (k.dictTypeName) {
|
|
if (k.dictTypeName) {
|
|
getDict(k.dictTypeName).then(({ data }) => {
|
|
getDict(k.dictTypeName).then(({ data }) => {
|