Pārlūkot izejas kodu

企业详情-认证信息删除

Xiao_123 7 mēneši atpakaļ
vecāks
revīzija
ccbad647bf
4 mainītis faili ar 25 papildinājumiem un 25 dzēšanām
  1. 2 2
      pages/index/my.vue
  2. 3 3
      pages/login/index.vue
  3. 19 19
      pagesB/companyDetail/index.vue
  4. 1 1
      utils/position.js

+ 2 - 2
pages/index/my.vue

@@ -76,7 +76,7 @@ const itemList = [
 const list = [
 	{	title: '我的简历',	path: '/pagesA/resume/index'	},					
 	{ title: '面试管理', path: '/pagesA/interview/index' },
-	{ title: '门墩甄选', appId: 'wx6decdf12f9e7a061' },
+	{ title: '门墩儿商城', appId: 'wx6decdf12f9e7a061' },
 	{ title: '我要招聘', key: 'recruit' }
 ]
 
@@ -91,7 +91,7 @@ const handleToLink = (item) => {
 	}
 	if (item.key === 'recruit') {
 		uni.showToast({
-			title: '请前往网页版门墩招聘',
+			title: '请前往网页版门墩招聘',
 			icon: 'none'
 		})
 	}

+ 3 - 3
pages/login/index.vue

@@ -70,12 +70,12 @@ const state = ref({
   isMobileEnd: false, // 手机号输入完毕
   codeText: '获取验证码',
   sms: {
-    phone: '13229740092',
+    phone: '',
     code: ''
   },
   account: {
-    phone: '13229740091',
-    password: 'Citu123'
+    phone: '',
+    password: ''
   },
   rules: {
     phone: mobile,

+ 19 - 19
pagesB/companyDetail/index.vue

@@ -5,10 +5,10 @@
         <image class="r-avatar" style="width: 80px; height: 80px;" :src="info.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></image>
         <view class="f-straight ss-m-l-10" style="flex: 1;position: relative;">
           <view class="title-des ellipsis font-weight-bold" style="max-width: 45vw;">{{ info.anotherName }}</view>
-          <view class="ss-m-b-5">
+          <!-- <view class="ss-m-b-5">
             <uni-icons :color="statusInfo.color" size="20" custom-prefix="iconfont"  :type="statusInfo.mdi" />
             <span :style="{'color': statusInfo.color,'font-size': '14px'}" class="font-weight-bold">{{ statusInfo.label }}</span>
-          </view>
+          </view> -->
           <view class="color-999 ellipsis font-size-14" style="max-width: 60vw;">
             <span>{{ !!info.industryName? info.industryName : '行业未知'}}</span>
             <span class="ss-m-x-10"> | </span>
@@ -137,13 +137,13 @@ const queryParams = ref({
   enterpriseId: id.value
 })
 const positionList = ref([])
-const authInfo = ref({})
-const statusList = [
-  { label: '未认证', color: '#fb8c00', value: null, mdi: 'icon-dunpai1' },
-  { label: '审核中', color: '#fb8c00', value: '0', mdi: 'icon-dunpai' },
-  { label: '已认证', color: '#00897B', value: '1', mdi: 'icon-mn_dunpai_fill' },
-  { label: '已驳回', color: '#fe574a', value: '2', mdi: 'icon-hongsedunpai' }
-]
+// const authInfo = ref({})
+// const statusList = [
+//   { label: '未认证', color: '#fb8c00', value: null, mdi: 'icon-dunpai1' },
+//   { label: '审核中', color: '#fb8c00', value: '0', mdi: 'icon-dunpai' },
+//   { label: '已认证', color: '#00897B', value: '1', mdi: 'icon-mn_dunpai_fill' },
+//   { label: '已驳回', color: '#fe574a', value: '2', mdi: 'icon-hongsedunpai' }
+// ]
 
 // 预览
 const previewImage = (i) => {
@@ -153,10 +153,10 @@ const previewImage = (i) => {
   })
 }
 
-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
+// })
 
 // 企业埋点
 const enterpriseClickFn = async () => {
@@ -182,17 +182,17 @@ const handleFollow = async () => {
 }
 
 // 企业认证详情
-const getEnterpriseAuthInfo = async () => {
-  const { data } = await getEnterpriseAuthDetails(id.value)
-  authInfo.value = data
-}
+// const getEnterpriseAuthInfo = async () => {
+//   const { data } = await getEnterpriseAuthDetails(id.value)
+//   authInfo.value = data
+// }
 
 // 企业详情
 const getData = async () => {
   const { data } = await getEnterpriseDetails(id.value)
-  info.value = { ...data, ...dealDictObjData({}, data.enterprise) }
+  info.value = data.enterprise ? { ...data, ...dealDictObjData({}, data.enterprise) } : data
   getCollectionStatus()
-  getEnterpriseAuthInfo()
+  // getEnterpriseAuthInfo()
 }
 
 // 招聘职位列表

+ 1 - 1
utils/position.js

@@ -22,7 +22,7 @@ const dictList = ref([
   { type: 'menduner_job_type', value: 'jobType', key: 'jobType', label: 'jobTypeName' },
   { type: 'menduner_financing_status', value: 'financing', key: 'financingStatus', label: 'financingName' },
   { type: 'menduner_scale', value: 'scale', key: 'scale', label: 'scaleName' },
-  { type: 'menduner_job_status', value: 'jobStatus', key: 'jobStatus', label: 'jobStatusName' },
+  { type: 'menduner_job_seek_status', value: 'jobStatus', key: 'jobStatus', label: 'jobStatusName' },
   { type: 'menduner_marital_status', value: 'marital', key: 'maritalStatus', label: 'maritalStatusName' },
   { type: 'menduner_industry_type', value: 'industry', key: 'industryId', label: 'industryName', params: {}, apiType: 'industryList', nameKey: 'nameCn', valueKey: 'id' },
   { type: 'menduner_education_type', value: 'edu', key: 'eduType', label: 'eduName' },