浏览代码

Merge branch 'jobFair' of https://git.citupro.com/zhengnaiwen_citu/menduner into jobFair

Xiao_123 2 月之前
父节点
当前提交
3fa468b602

+ 0 - 3
components.d.ts

@@ -74,7 +74,4 @@ declare module 'vue' {
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
-  export interface ComponentCustomProperties {
-    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
-  }
 }

+ 3 - 3
src/api/recruit/personal/resume/index.js

@@ -208,7 +208,7 @@ export const enterpriseSearchByName = async (params) => {
 // 学校列表
 export const schoolList = async (data) => {
   return await request.post({
-    url: 'app-api/flames/school/list',
+    url: '/app-api/flames/school/list',
     data
   })
 }
@@ -216,7 +216,7 @@ export const schoolList = async (data) => {
 // 院系列表
 export const departmentList = async (data) => {
   return await request.post({
-    url: 'app-api/flames/school/department/list',
+    url: '/app-api/flames/school/department/list',
     data
   })
 }
@@ -224,7 +224,7 @@ export const departmentList = async (data) => {
 // 获取学生基本信息
 export const getStudentInfo = async (data) => {
   return await request.post({
-    url: 'app-api/menduner/system/person/resume/student/get',
+    url: '/app-api/menduner/system/person/resume/student/get',
     data
   })
 }

+ 1 - 1
src/utils/check.js

@@ -2,7 +2,7 @@
 export const checkPersonBaseInfo = (baseInfo) => {
   const info = baseInfo ? baseInfo : localStorage.getItem('baseInfo') ? JSON.parse(localStorage.getItem('baseInfo')) : {}
   if (!info || !Object.keys(info).length) return false
-  if (info.type && Number(info.type) === 1) return true // 0是求职者,1是学生
+  if (info.type === '1') return true // 学生信息管理。 type:'0'是求职者,'1'是学生
   const keyArr = [ // 必填项目
     'name',
     'sex',

+ 1 - 1
src/views/recruit/personal/PersonalCenter/index.vue

@@ -57,7 +57,7 @@ const userStore = useUserStore()
 const info = localStorage.getItem('baseInfo') ? JSON.parse(localStorage.getItem('baseInfo')) : {}
 
 const menuHide = { // 是否隐藏
-  studentInformation: (info?.type && Number(info.type) !== 1) // 学生信息管理。 type:0是求职者,1是学生
+  studentInformation: (info?.type !== '1') // 学生信息管理。 type:'0'是求职者,'1'是学生
 }
 
 // 左侧菜单列表

+ 2 - 2
src/views/recruit/personal/PersonalCenter/student/information/index.vue

@@ -149,7 +149,7 @@ const getDepartmentList = async (e) => {
 }
 
 // 获取学生基本信息
-const getStudentInfoFun = async () => {
+const studentInfoFun = async () => {
   const data = JSON.parse(localStorage.getItem('studentInfo') || '{}')
   if (data.schoolId) getDepartmentList(data.schoolId)
   // 回显
@@ -157,7 +157,7 @@ const getStudentInfoFun = async () => {
     if (data[e.key]) e.value = data[e.key]
   })
 }
-getStudentInfoFun()
+studentInfoFun()
 
 
 // 提交