Xiao_123 2 hónapja
szülő
commit
69fecd08a5

+ 3 - 33
src/views/menduner/system/talentMap/maintenance/examine/store.vue

@@ -13,8 +13,8 @@
           <template v-if="type === '招聘'">
             <el-tabs v-model="activeName" type="border-card">
               <el-tab-pane label="基本信息" name="info">
-                <Info :id="personId" :user-id="userId" @echo="infoEcho" />
-                <expExtend :user-id="userId" defaultShowAll class="m-t-20px" @echo="expEcho" />
+                <Info :id="personId" :user-id="userId" />
+                <expExtend :user-id="userId" defaultShowAll class="m-t-20px" />
               </el-tab-pane>
               <el-tab-pane label="附件简历" name="Attachment">
                 <Attachment showPreview :user-id="userId" />
@@ -153,35 +153,6 @@ const dealData = async (type, data) => {
   }
 }
 
-// 门墩儿招聘人才详情回显赋值
-const infoEcho = (data) => {
-  data = data ? JSON.parse(data) : null
-  itemData.value = {
-    ...itemData.value,
-    name_zh: data?.name || '',
-    email: data?.email || '',
-    mobile: data?.phone || '',
-    birthday: data?.birthday ? timesTampChange(data.birthday, 'Y-M-D') : '',
-    age: data?.birthday ? timestampToAge(data.birthday) : null,
-    created_at: data?.createTime ? timesTampChange(data.createTime, 'Y-M-D') : null,
-    updated_at: data?.updateTime ? timesTampChange(data.updateTime, 'Y-M-D') : null,
-  }
-}
-
-// 门墩儿招聘人才工作经历回显赋值
-const expEcho = (workList) => {
-  itemData.value = {
-    ...itemData.value,
-    career_path: workList ? workList.map(e => {
-      return {
-        hotel_zh: e?.enterpriseName || null,
-        title_zh: e?.positionName || null,
-        date: e?.startTime ? timesTampChange(e.startTime, 'Y-M-D') : null
-      }
-    }) : null
-  }
-}
-
 // 重置
 const resetData = () => {
   taskId.value = null
@@ -221,8 +192,7 @@ const handleStore = async () => {
       results: [Object.assign(itemData.value, formQuery, { career_path: FormPageRef.value.careerTrajectory })]
     }
   }
-  console.log(params, '审核入库')
-
+  
   const loading = ElLoading.service({
     lock: true,
     text: '正在保存中...',