|
@@ -3,12 +3,12 @@
|
|
|
<div>
|
|
|
<div class="topTip">丰富详尽的企业介绍能提高求职者对贵企业的关注和了解,有助于达到更好的招聘效果</div>
|
|
|
<CtForm ref="CtFormRef" :items="formItems" style="width: 900px;margin: 0 auto">
|
|
|
- <template #name="{ item }">
|
|
|
+ <!-- <template #name="{ item }">
|
|
|
<div v-show="!item.show" class="text-right" style="width: 80px; line-height: 40px;">
|
|
|
<v-icon :color="statusInfo.color" size="20">{{ statusInfo.mdi }}</v-icon>
|
|
|
<span class="cursor-pointer text-decoration-underline" :style="{'color': statusInfo.color,'font-size': '14px'}" @click="emit('change', 6)">{{ statusInfo.label }}</span>
|
|
|
</div>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<template #industryId="{ item }">
|
|
|
<v-menu :close-delay="1" :open-delay="0" v-bind="$attrs" :close-on-content-click="true">
|
|
|
<template v-slot:activator="{ props }">
|
|
@@ -33,9 +33,9 @@
|
|
|
|
|
|
<script setup>
|
|
|
defineOptions({name: 'informationSettingsComponents-basicInfo'})
|
|
|
-import { ref, reactive, computed } from 'vue'
|
|
|
+import { ref, reactive } from 'vue'
|
|
|
import { getEnterpriseBaseInfo, updateEnterpriseBaseInfo } from '@/api/enterprise'
|
|
|
-import { getEnterpriseAuth } from '@/api/recruit/enterprise/information'
|
|
|
+// import { getEnterpriseAuth } from '@/api/recruit/enterprise/information'
|
|
|
import { getDict } from '@/hooks/web/useDictionaries'
|
|
|
import { useI18n } from '@/hooks/web/useI18n'
|
|
|
import industryTypeCard from '@/components/industryTypeCard'
|
|
@@ -51,7 +51,9 @@ const formItems = ref({
|
|
|
type: 'text',
|
|
|
key: 'name',
|
|
|
value: '',
|
|
|
+ col: 6,
|
|
|
label: '企业全称 *',
|
|
|
+ flexStyle: 'mr-3',
|
|
|
slotName: 'name',
|
|
|
rules: [v => !!v || '请输入企业全称']
|
|
|
},
|
|
@@ -60,7 +62,6 @@ const formItems = ref({
|
|
|
key: 'anotherName',
|
|
|
value: '',
|
|
|
col: 6,
|
|
|
- flexStyle: 'mr-3',
|
|
|
label: '企业别名 *',
|
|
|
rules: [v => !!v || '请输入企业别名']
|
|
|
},
|
|
@@ -69,6 +70,7 @@ const formItems = ref({
|
|
|
key: 'website',
|
|
|
value: '',
|
|
|
col: 6,
|
|
|
+ flexStyle: 'mr-3',
|
|
|
label: '企业官网'
|
|
|
},
|
|
|
{
|
|
@@ -76,7 +78,6 @@ const formItems = ref({
|
|
|
key: 'contact',
|
|
|
value: '',
|
|
|
col: 6,
|
|
|
- flexStyle: 'mr-3',
|
|
|
label: '联系人'
|
|
|
},
|
|
|
{
|
|
@@ -84,6 +85,7 @@ const formItems = ref({
|
|
|
key: 'phone',
|
|
|
value: '',
|
|
|
col: 6,
|
|
|
+ flexStyle: 'mr-3',
|
|
|
label: '联系电话'
|
|
|
},
|
|
|
{
|
|
@@ -97,7 +99,6 @@ const formItems = ref({
|
|
|
itemValue: 'value',
|
|
|
col: 6,
|
|
|
noParam: true,
|
|
|
- flexStyle: 'mr-3',
|
|
|
rules: [v => !!v || '请选择所在行业']
|
|
|
},
|
|
|
{
|
|
@@ -110,6 +111,7 @@ const formItems = ref({
|
|
|
itemText: 'label',
|
|
|
itemValue: 'value',
|
|
|
col: 6,
|
|
|
+ flexStyle: 'mr-3',
|
|
|
dictTypeName: 'menduner_financing_status',
|
|
|
rules: [v => !!v || '请选择融资阶段'],
|
|
|
items: []
|
|
@@ -124,20 +126,19 @@ const formItems = ref({
|
|
|
itemText: 'label',
|
|
|
itemValue: 'value',
|
|
|
col: 6,
|
|
|
- flexStyle: 'mr-3',
|
|
|
dictTypeName: 'menduner_scale',
|
|
|
rules: [v => !!v || '请选择企业规模'],
|
|
|
items: []
|
|
|
},
|
|
|
- {
|
|
|
- type: 'text',
|
|
|
- key: 'workTime',
|
|
|
- value: null,
|
|
|
- col: 6,
|
|
|
- class: 'mb-3',
|
|
|
- label: '上班时间(示例:上午09:00 - 下午17:00)',
|
|
|
- placeholder: '请输入上班时间'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // type: 'text',
|
|
|
+ // key: 'workTime',
|
|
|
+ // value: null,
|
|
|
+ // col: 6,
|
|
|
+ // class: 'mb-3',
|
|
|
+ // label: '上班时间(示例:上午09:00 - 下午17:00)',
|
|
|
+ // placeholder: '请输入上班时间'
|
|
|
+ // },
|
|
|
{
|
|
|
type: 'datePicker',
|
|
|
key: 'openTime',
|
|
@@ -181,24 +182,24 @@ getDict('menduner_industry_type', {}, 'industryList').then(({ data }) => {
|
|
|
})
|
|
|
|
|
|
// 获取企业实名信息
|
|
|
-const authInfo = ref({})
|
|
|
-const statusList = [
|
|
|
- { label: '未认证', color: '#fb8c00', value: null, mdi: 'mdi-shield-remove' },
|
|
|
- { label: '审核中', color: '#fb8c00', value: '0', mdi: 'mdi-shield-half-full' },
|
|
|
- { label: '已认证', color: '#00897B', value: '1', mdi: 'mdi-shield-check' },
|
|
|
- { label: '已驳回', color: '#fe574a', value: '2', mdi: 'mdi-shield-off' }
|
|
|
-]
|
|
|
-const getAuthInfo = async () => {
|
|
|
- const data = await getEnterpriseAuth()
|
|
|
- if (!data) return
|
|
|
- authInfo.value = data
|
|
|
-}
|
|
|
-getAuthInfo()
|
|
|
+// const authInfo = ref({})
|
|
|
+// const statusList = [
|
|
|
+// { label: '未认证', color: '#fb8c00', value: null, mdi: 'mdi-shield-remove' },
|
|
|
+// { label: '审核中', color: '#fb8c00', value: '0', mdi: 'mdi-shield-half-full' },
|
|
|
+// { label: '已认证', color: '#00897B', value: '1', mdi: 'mdi-shield-check' },
|
|
|
+// { label: '已驳回', color: '#fe574a', value: '2', mdi: 'mdi-shield-off' }
|
|
|
+// ]
|
|
|
+// const getAuthInfo = async () => {
|
|
|
+// const data = await getEnterpriseAuth()
|
|
|
+// if (!data) return
|
|
|
+// authInfo.value = data
|
|
|
+// }
|
|
|
+// getAuthInfo()
|
|
|
|
|
|
-const statusInfo = computed(() => {
|
|
|
- const obj = (authInfo.value && Object.keys(authInfo.value).length) ? statusList.find(e => e.value === authInfo.value.status) : statusList[0]
|
|
|
- return obj
|
|
|
-})
|
|
|
+// const statusInfo = computed(() => {
|
|
|
+// const obj = (authInfo.value && Object.keys(authInfo.value).length) ? statusList.find(e => e.value === authInfo.value.status) : statusList[0]
|
|
|
+// return obj
|
|
|
+// })
|
|
|
|
|
|
let completeStatus = false
|
|
|
// 获取基本信息
|
|
@@ -246,9 +247,9 @@ const handleSave = async () => {
|
|
|
getBaseInfo()
|
|
|
}
|
|
|
|
|
|
-defineExpose({
|
|
|
- getAuthInfo
|
|
|
-})
|
|
|
+// defineExpose({
|
|
|
+// getAuthInfo
|
|
|
+// })
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|