瀏覽代碼

企业注册别名

Xiao_123 7 月之前
父節點
當前提交
c3c6ba1397

+ 1 - 1
src/components/Position/longStrip.vue

@@ -35,7 +35,7 @@
             <v-img width="50" height="50" :src="val.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/7.png'"></v-img>
           </div>
           <div class="ml-3">
-            <div class="cursor-pointer info-name" @click="handleToEnterprise(val)">{{ val.enterprise.name }}</div>
+            <div class="cursor-pointer info-name" @click="handleToEnterprise(val)">{{ val.enterprise.anotherName }}</div>
             <div class="mt-3 ellipsis color-666 font-size-13" style="max-width: 260px;">
               <span v-for="(k, i) in desc" :key="k">
                 {{ val.enterprise[k] }}

+ 1 - 1
src/store/user.js

@@ -175,7 +175,7 @@ export const useUserStore = defineStore('user',
       // 获取当前登录的企业用户信息
       async getEnterpriseInfo () {
         const result = await getEnterprisingUserInfo()
-        this.baseInfo = result
+        this.entBaseInfo = result
         
         // 是否为企业账号管理员
         const isAdmin = result.userType === '1'

+ 2 - 2
src/views/about/index.vue

@@ -96,8 +96,8 @@ const introduce = [
   },
   {
     name: 'Nelson Li 李可',
-    job: '泛海酒店投资管理有限公司副总经理兼武汉泛海费尔蒙酒店业主代表',
-    company: '',
+    job: '泛海酒店投资管理有限公司副总经理',
+    company: '武汉泛海费尔蒙酒店业主代表',
     avatar: 'https://minio.citupro.com/dev/menduner/home/about/%E5%9B%BE%E7%89%877.png',
     desc: '世界每时每刻都在发生变化,唯一不变的是我们对于这个行业的初心和热情。很高兴看到一群有梦想的酒店人为了遇见更好的自己,为了中国酒店业的未来勇敢的迈出了这一步…“精诚所至 金石为开”,愿“门墩儿”与中国酒店人共同成长,加油!'
   },

+ 7 - 0
src/views/recruit/entRegister/register.vue

@@ -156,6 +156,13 @@ const formItems = ref({
       rules: [v => !!v || '请输入企业名称'],
       blur: saveRegisterInfo
     },
+    {
+      type: 'text',
+      key: 'anotherName',
+      value: '',
+      label: '企业别名 *',
+      rules: [v => !!v || '请输入企业别名']
+    },
     {
       type: 'text',
       key: 'code',

+ 9 - 5
src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/basicInfo.vue

@@ -40,11 +40,13 @@ import { getDict } from '@/hooks/web/useDictionaries'
 import { useI18n } from '@/hooks/web/useI18n'
 import industryTypeCard from '@/components/industryTypeCard'
 import Snackbar from '@/plugins/snackbar'
+import { useUserStore } from '@/store/user'
 const emit = defineEmits(['complete'])
 
 const { t } = useI18n()
 const CtFormRef = ref()
 const query = reactive({})
+const user = useUserStore()
 const formItems = ref({
   options: [
     {
@@ -105,7 +107,7 @@ const formItems = ref({
       type: 'autocomplete',
       key: 'financingStatus',
       value: null,
-      label: '融资阶段 *',
+      label: '融资阶段',
       outlined: true,
       clearable: false,
       itemText: 'label',
@@ -113,7 +115,7 @@ const formItems = ref({
       col: 6,
       flexStyle: 'mr-3',
       dictTypeName: 'menduner_financing_status',
-      rules: [v => !!v || '请选择融资阶段'],
+      // rules: [v => !!v || '请选择融资阶段'],
       items: []
     },
     {
@@ -134,9 +136,10 @@ const formItems = ref({
       type: 'datePicker',
       key: 'openTime',
       value: null,
-      default: '2000-01-01',
-      defaultValue: new Date(2000, 1, 1),
-      format: 'YYYY-MM-DD',
+      mode: 'month',
+      default: '2010-01',
+      defaultValue: new Date(2010, 1),
+      format: 'YYYY-MM',
       label: '开业时间',
       labelWidth: 120,
       col: 6,
@@ -237,6 +240,7 @@ const handleSave = async () => {
   })
   await updateEnterpriseBaseInfo(query)
   Snackbar.success(t('common.saveMsg'))
+  await user.getEnterpriseInfo()
   getBaseInfo()
 }
 

+ 2 - 1
src/views/recruit/enterprise/entInfoSetting/informationSettingsComponents/businessInformation.vue

@@ -56,9 +56,10 @@ const formItems = ref({
     {
       type: 'datePicker',
       key: 'establishmentTime',
-      value: null,
+      value: '2010-01-01',
       label: '成立时间 *',
       format: 'YYYY-MM-DD',
+      defaultValue: new Date(2010, 1, 1),
       labelWidth: 120,
       col: 6,
       flexStyle: 'mr-3'

+ 1 - 1
src/views/recruit/personal/PersonalCenter/jobFeedback/components/interview/item.vue

@@ -39,7 +39,7 @@
               <v-img width="30" height="30" :src="val.enterprise.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></v-img>
             </div>
             <div class="ellipsis" style="max-width: 400px;">
-              <span class="mx-2 enterprise-name" @click="handleToEnterprise(val)">{{ val.enterprise.name }}</span>
+              <span class="mx-2 enterprise-name" @click="handleToEnterprise(val)">{{ val.enterprise.anotherName }}</span>
             [
               <span>{{ val.enterprise.industryName }}</span>
               <span>&nbsp;·&nbsp;{{ val.enterprise.financingName }}</span>

+ 4 - 0
src/views/recruit/personal/PersonalCenter/resume/online/components/educationExp.vue

@@ -170,9 +170,11 @@ const formItems = ref({
       key: 'startTime',
       mode: 'month', // 时间类型 year month date time
       value: null,
+      default: '2000-01',
       format: 'YYYY/MM',
       labelWidth: 120,
       label: '开始时间 *',
+      defaultValue: new Date(2000, 1),
       disabledFutureDates: true,
       col: 6,
       rules: [v => !!v || '请选择起始时间']
@@ -182,7 +184,9 @@ const formItems = ref({
       key: 'endTime',
       mode: 'month', // 时间类型 year month date time
       value: null,
+      default: '2004-01',
       format: 'YYYY/MM',
+      defaultValue: new Date(2004, 1),
       disabledFutureDates: true,
       labelWidth: 120,
       label: '结束时间 *',

+ 4 - 2
src/views/recruit/personal/PersonalCenter/resume/online/components/trainingExperience.vue

@@ -80,9 +80,10 @@ const items = ref({
       type: 'datePicker',
       key: 'startTime',
       mode: 'month',
-      value: null,
+      value: '2020-01',
       labelWidth: 140,
       format: 'YYYY/MM',
+      defaultValue: new Date(2020, 1),
       label: '培训开始时间 *',
       disabledFutureDates: true,
       col: 6,
@@ -93,9 +94,10 @@ const items = ref({
       type: 'datePicker',
       key: 'endTime',
       mode: 'month',
-      value: null,
+      value: '2022-01',
       format: 'YYYY/MM',
       labelWidth: 140,
+      defaultValue: new Date(2022, 1),
       label: '培训结束时间 *',
       disabledFutureDates: true,
       col: 6,

+ 4 - 0
src/views/recruit/personal/PersonalCenter/resume/online/components/workExperience.vue

@@ -153,6 +153,8 @@ const formItems = ref({
       value: null,
       label: '开始时间 *',
       labelWidth: 120,
+      default: '2020-01',
+      defaultValue: new Date(2020, 1),
       disabledFutureDates: true,
       format: 'YYYY/MM',
       col: 6,
@@ -165,6 +167,8 @@ const formItems = ref({
       mode: 'month', // 时间类型 year month date time
       value: null,
       format: 'YYYY/MM',
+      default: '2022-01',
+      defaultValue: new Date(2022, 1),
       label: '结束时间 *',
       disabledFutureDates: true,
       col: 6,

+ 2 - 2
src/views/recruit/personal/position/components/details.vue

@@ -64,8 +64,8 @@
                 <div class="ml-2">
                   <div class="contact-name">{{ info.contact.name }}</div>
                   <div class="contact-info">
-                    {{ info.enterprise.name }}
-                     <span v-if="info?.enterprise?.name && info?.contact?.postNameCn">·</span>
+                    {{ info.enterprise.anotherName }}
+                     <span v-if="info?.enterprise?.anotherName && info?.contact?.postNameCn">·</span>
                     {{ info.contact.postNameCn }}</div>
                 </div>
               </div>

+ 1 - 1
src/views/recruit/personal/position/components/poster.vue

@@ -24,7 +24,7 @@
           <v-avatar style="border: 2px solid #fff;" size="68">
             <img crossOrigin="anonymous" :src="info.enterprise.logoUrl" alt="" style="width: 68px; height: 68px;">
           </v-avatar>
-          <div class="enterprise-name ml-5 ellipsis" style="width: 65%;">{{ info.enterprise?.name }}</div>
+          <div class="enterprise-name ml-5 ellipsis" style="width: 65%;">{{ info.enterprise?.anotherName }}</div>
           <div style="flex: 1;" class="text-right enterprise-name">{{ info.areaName }}</div>
         </div>
         <div class="mx-5 mt-3">