|
@@ -8,6 +8,7 @@
|
|
defineOptions({ name: 'position-add-job-requirements'})
|
|
defineOptions({ name: 'position-add-job-requirements'})
|
|
import CtForm from '@/components/CtForm'
|
|
import CtForm from '@/components/CtForm'
|
|
import { reactive, ref } from 'vue'
|
|
import { reactive, ref } from 'vue'
|
|
|
|
+// import { getDict } from '@/hooks/web/useDictionaries'
|
|
|
|
|
|
const formPageRef = ref()
|
|
const formPageRef = ref()
|
|
const query = reactive({})
|
|
const query = reactive({})
|
|
@@ -21,6 +22,8 @@ const items = ref({
|
|
label: '最高学历 *',
|
|
label: '最高学历 *',
|
|
itemText: 'label',
|
|
itemText: 'label',
|
|
itemValue: 'value',
|
|
itemValue: 'value',
|
|
|
|
+ col: 6,
|
|
|
|
+ flexStyle: 'mr-3',
|
|
dictTypeName: 'menduner_education_type',
|
|
dictTypeName: 'menduner_education_type',
|
|
rules: [v => !!v || '请选择最高学历'],
|
|
rules: [v => !!v || '请选择最高学历'],
|
|
items: []
|
|
items: []
|
|
@@ -32,12 +35,42 @@ const items = ref({
|
|
label: '工作经验 *',
|
|
label: '工作经验 *',
|
|
itemText: 'label',
|
|
itemText: 'label',
|
|
itemValue: 'value',
|
|
itemValue: 'value',
|
|
|
|
+ col: 6,
|
|
dictTypeName: 'menduner_exp_type',
|
|
dictTypeName: 'menduner_exp_type',
|
|
rules: [v => !!v || '请选择工作经验'],
|
|
rules: [v => !!v || '请选择工作经验'],
|
|
items: []
|
|
items: []
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: 'text',
|
|
|
|
+ key: 'payFrom',
|
|
|
|
+ value: '',
|
|
|
|
+ col: 6,
|
|
|
|
+ flexStyle: 'mr-3',
|
|
|
|
+ label: '最低薪资 *',
|
|
|
|
+ suffix: '元',
|
|
|
|
+ rules: [v => !!v || '请填写最低薪资'],
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ type: 'text',
|
|
|
|
+ key: 'payTo',
|
|
|
|
+ value: '',
|
|
|
|
+ col: 6,
|
|
|
|
+ label: '最高薪资 *',
|
|
|
|
+ suffix: '元',
|
|
|
|
+ rules: [v => !!v || '请填写最高薪资'],
|
|
|
|
+ },
|
|
]
|
|
]
|
|
})
|
|
})
|
|
|
|
+
|
|
|
|
+// 获取字典内容
|
|
|
|
+// const getDictData = async (dictTypeName) => {
|
|
|
|
+// const item = items.value.options.find(e => e.dictTypeName === dictTypeName)
|
|
|
|
+// if (item) {
|
|
|
|
+// const { data } = await getDict(dictTypeName)
|
|
|
|
+// item.items = data
|
|
|
|
+// }
|
|
|
|
+// }
|
|
|
|
+// getDictData()
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|