|
@@ -2,7 +2,7 @@
|
|
<div>
|
|
<div>
|
|
<CtForm ref="formPageRef" :items="items" style="width: 600px;">
|
|
<CtForm ref="formPageRef" :items="items" style="width: 600px;">
|
|
<template #explain>
|
|
<template #explain>
|
|
- <span style="color: var(--v-error-base); cursor: pointer;" @click="previewFile('https://minio.citupro.com/dev/menduner/%E5%A3%B0%E6%98%8E%EF%BC%9A%E7%A7%AF%E5%88%86%E4%B8%8E%E8%B5%8F%E9%87%91%E6%9C%8D%E5%8A%A1%281%29.docx')">
|
|
|
|
|
|
+ <span style="color: var(--v-error-base); cursor: pointer;" @click="handleViewRule">
|
|
<v-icon size="25" color="error">mdi-help-circle-outline</v-icon>
|
|
<v-icon size="25" color="error">mdi-help-circle-outline</v-icon>
|
|
众聘岗位规则说明
|
|
众聘岗位规则说明
|
|
</span>
|
|
</span>
|
|
@@ -21,6 +21,10 @@
|
|
</v-menu>
|
|
</v-menu>
|
|
</template>
|
|
</template>
|
|
</CtForm>
|
|
</CtForm>
|
|
|
|
+
|
|
|
|
+ <CtDialog :visible="show" :widthType="1" titleClass="text-h6" title="众聘岗位规则说明" :footer="false" @close="show = false">
|
|
|
|
+ <RulePage />
|
|
|
|
+ </CtDialog>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -28,14 +32,16 @@
|
|
defineOptions({ name: 'position-add-baseInfo'})
|
|
defineOptions({ name: 'position-add-baseInfo'})
|
|
import CtForm from '@/components/CtForm'
|
|
import CtForm from '@/components/CtForm'
|
|
import { reactive, ref, defineExpose, watch } from 'vue'
|
|
import { reactive, ref, defineExpose, watch } from 'vue'
|
|
-import { previewFile } from '@/utils'
|
|
|
|
import textUI from '@/components/FormUI/TextInput'
|
|
import textUI from '@/components/FormUI/TextInput'
|
|
import jobTypeCard from '@/components/jobTypeCard'
|
|
import jobTypeCard from '@/components/jobTypeCard'
|
|
|
|
+import RulePage from './rule.vue'
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
itemData: Object
|
|
itemData: Object
|
|
})
|
|
})
|
|
|
|
|
|
|
|
+const show = ref(false)
|
|
|
|
+
|
|
const getValue = (key) => {
|
|
const getValue = (key) => {
|
|
return items.value.options.find(e => e.key === key)
|
|
return items.value.options.find(e => e.key === key)
|
|
}
|
|
}
|
|
@@ -74,6 +80,7 @@ const handleChangePublic = (val) => {
|
|
if (hireType.value === e.show) e.hide = false
|
|
if (hireType.value === e.show) e.hide = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ if (e.slotName === 'explain') e.hide = val ? false : true
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
|
|
@@ -98,6 +105,8 @@ const items = ref({
|
|
{
|
|
{
|
|
slotName: 'explain',
|
|
slotName: 'explain',
|
|
noParam: true,
|
|
noParam: true,
|
|
|
|
+ value: null,
|
|
|
|
+ hide: true,
|
|
flexStyle: 'mb-3'
|
|
flexStyle: 'mb-3'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -252,6 +261,11 @@ const handleJobClickItem = (list, name) => {
|
|
positionId.value = name
|
|
positionId.value = name
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+// 众聘规则查看
|
|
|
|
+const handleViewRule = () => {
|
|
|
|
+ show.value = true
|
|
|
|
+}
|
|
|
|
+
|
|
const getQuery = async () => {
|
|
const getQuery = async () => {
|
|
const { valid } = await formPageRef.value.formRef.validate()
|
|
const { valid } = await formPageRef.value.formRef.validate()
|
|
if (!valid) return
|
|
if (!valid) return
|