|
@@ -240,6 +240,7 @@
|
|
|
</ion-item>
|
|
|
</ion-item-group>
|
|
|
</ion-list>
|
|
|
+
|
|
|
<ion-list v-if="curStepData.statusVal==2" >
|
|
|
<ion-item>
|
|
|
<div class="panel-title2" slot="start">
|
|
@@ -248,11 +249,11 @@
|
|
|
</div>
|
|
|
<ion-buttons slot="end">
|
|
|
<ion-icon :icon="addCircleOutline" class="iconBtn"
|
|
|
- @click="onPathForward('./educationEdit',null,null,2)"></ion-icon>
|
|
|
+ @click="onPathForward('./educationEdit',null,null,null,2)"></ion-icon>
|
|
|
</ion-buttons>
|
|
|
</ion-item>
|
|
|
<ion-item v-for="(record,key) in educationList" :key="key" detail
|
|
|
- @click="onPathForward('./educationEdit',record.educationID,null,2)">
|
|
|
+ @click="onPathForward('./educationEdit',record.educationID,null,null,2)">
|
|
|
<ion-label>
|
|
|
<h3>{{record.schoolName}}</h3>
|
|
|
<p>{{dayjs(record.schoolTime).format("YYYY-MM-DD")}}至{{dayjs(record.overTime).format("YYYY-MM-DD")}}</p>
|
|
@@ -260,7 +261,29 @@
|
|
|
</ion-item>
|
|
|
<b-empty v-if="educationList.length==0" :loading="loading" />
|
|
|
</ion-list>
|
|
|
- <ion-list v-if="curStepData.statusVal==3">
|
|
|
+
|
|
|
+ <ion-list v-if="curStepData.statusVal==3" >
|
|
|
+ <ion-item>
|
|
|
+ <div class="panel-title2" slot="start">
|
|
|
+ <div class="item-flag"></div>
|
|
|
+ 工作经验
|
|
|
+ </div>
|
|
|
+ <ion-buttons slot="end">
|
|
|
+ <ion-icon :icon="addCircleOutline" class="iconBtn"
|
|
|
+ @click="onPathForward('./experienceEdit',null,null,null,3)"></ion-icon>
|
|
|
+ </ion-buttons>
|
|
|
+ </ion-item>
|
|
|
+ <ion-item v-for="(record,key) in experienceList" :key="key" detail
|
|
|
+ @click="onPathForward('./experienceEdit',null,record.experienceID,null,3)">
|
|
|
+ <ion-label>
|
|
|
+ <h3>{{record.workAddress}}</h3>
|
|
|
+ <p>{{dayjs(record.startTime).format("YYYY-MM-DD")}}至{{dayjs(record.endTime).format("YYYY-MM-DD")}}</p>
|
|
|
+ </ion-label>
|
|
|
+ </ion-item>
|
|
|
+ <b-empty v-if="experienceList.length==0" :loading="loading" />
|
|
|
+ </ion-list>
|
|
|
+
|
|
|
+ <ion-list v-if="curStepData.statusVal==4">
|
|
|
<ion-item>
|
|
|
<div class="panel-title2" slot="start">
|
|
|
<div class="item-flag"></div>
|
|
@@ -268,11 +291,11 @@
|
|
|
</div>
|
|
|
<ion-buttons slot="end">
|
|
|
<ion-icon :icon="addCircleOutline" class="iconBtn"
|
|
|
- @click="onPathForward('./jobHuntEdit',null,null,3)"></ion-icon>
|
|
|
+ @click="onPathForward('./jobHuntEdit',null,null,null,4)"></ion-icon>
|
|
|
</ion-buttons>
|
|
|
</ion-item>
|
|
|
<ion-item v-for="(record,key) in jobHuntList" :key="key" detail
|
|
|
- @click="onPathForward( './jobHuntEdit',null,record.jobHuntID,3)">
|
|
|
+ @click="onPathForward( './jobHuntEdit',null,null,record.jobHuntID,4)">
|
|
|
<ion-label>
|
|
|
<h3>{{record.postName}}</h3>
|
|
|
<p>期望薪资:{{record.minSalary}}-{{record.maxSalary}}</p>
|
|
@@ -291,8 +314,8 @@
|
|
|
<ion-footer>
|
|
|
<ion-toolbar>
|
|
|
<div slot="end">
|
|
|
- <ion-button shape="round" expand="block" @click="onSave" v-if="curStepData.statusVal!=3">下一步</ion-button>
|
|
|
- <ion-button shape="round" expand="block" @click="onFinish" v-if="curStepData.statusVal==3">完 成</ion-button>
|
|
|
+ <ion-button shape="round" expand="block" @click="onSave" v-if="curStepData.statusVal!=4">下一步</ion-button>
|
|
|
+ <ion-button shape="round" expand="block" @click="onFinish" v-if="curStepData.statusVal==4">完 成</ion-button>
|
|
|
</div>
|
|
|
</ion-toolbar>
|
|
|
</ion-footer>
|
|
@@ -307,6 +330,7 @@ import {useVuelidate} from "@vuelidate/core";
|
|
|
import {getRegionCodeList,getStreetCodeList} from "@/api/system/area";
|
|
|
import {getJobUserById,baseInfoSave} from "@/api/jobUserInfo";
|
|
|
import {getEducationListByJobUserID} from "@/api/education";
|
|
|
+import {getExperienceListByJobUserID} from "@/api/experience";
|
|
|
import {getJobHuntListByJobUserID} from "@/api/jobHuntInfo";
|
|
|
import {getSiteDataList} from "@/api/siteInfo";
|
|
|
import {getSysDictionaryList} from '@/api/system/dictionary';
|
|
@@ -334,9 +358,10 @@ export default defineComponent({
|
|
|
statusVal: 1
|
|
|
});
|
|
|
const stepList = ref([
|
|
|
- {title: '个人基础信息', desc: '个人基础信息', val: 1},
|
|
|
- {title: '完善教育经历', desc: '完善个人教育经历',val: 2},
|
|
|
- {title: '个人求职意向', desc: '个人求职意向', val: 3}
|
|
|
+ {title: '基础信息', desc: '个人基础信息', val: 1},
|
|
|
+ {title: '教育经历', desc: '完善教育经历',val: 2},
|
|
|
+ {title: '工作经验', desc: '完善工作经验', val: 3},
|
|
|
+ {title: '求职意向', desc: '个人求职意向', val: 4},
|
|
|
]);
|
|
|
const genderList = ref<SelectProps[]>([]);
|
|
|
const jobUserStatusList = ref<SelectProps[]>([]);
|
|
@@ -352,7 +377,8 @@ export default defineComponent({
|
|
|
const regionList = ref<SelectProps[]>([]);
|
|
|
const streetList = ref<SelectProps[]>([]);
|
|
|
const educationList = ref([]);
|
|
|
- const jobHuntList = ref<SelectProps[]>([]);
|
|
|
+ const experienceList = ref([]);
|
|
|
+ const jobHuntList = ref([]);
|
|
|
const baseInfoData = reactive({
|
|
|
baseData:{
|
|
|
jobUserID:null,
|
|
@@ -444,11 +470,13 @@ export default defineComponent({
|
|
|
}
|
|
|
else if (curStepData.value.statusVal==2){
|
|
|
await router.push({path: './edit', query: {reload:0,jobUserID: baseInfoData.baseData.jobUserID,status:3}});
|
|
|
+ }else if (curStepData.value.statusVal==3){
|
|
|
+ await router.push({path: './edit', query: {reload:0,jobUserID: baseInfoData.baseData.jobUserID,status:4}});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- const onPathForward = (pathValue:string,educationIDValue:any,jobHuntIDValue:any,statusValue:any)=>{
|
|
|
- router.push({path: pathValue, query: {reload:1,educationID:educationIDValue,jobHuntID:jobHuntIDValue,jobUserID: baseInfoData.baseData.jobUserID,status:statusValue}});
|
|
|
+ const onPathForward = (pathValue:string,educationIDValue:any,experienceIDValue:any,jobHuntIDValue:any,statusValue:any)=>{
|
|
|
+ router.push({path: pathValue, query: {reload:1,educationID:educationIDValue,experienceID:experienceIDValue,jobHuntID:jobHuntIDValue,jobUserID: baseInfoData.baseData.jobUserID,status:statusValue}});
|
|
|
}
|
|
|
|
|
|
|
|
@@ -532,6 +560,12 @@ export default defineComponent({
|
|
|
console.log("educationList",educationList.value);
|
|
|
}
|
|
|
else if(curStepData.value.statusVal==3){
|
|
|
+ const reqData = await getExperienceListByJobUserID(pageParams);
|
|
|
+ experienceList.value= reqData.list;
|
|
|
+ pageParams.total = reqData.total;
|
|
|
+ console.log("experienceList",experienceList.value);
|
|
|
+ }
|
|
|
+ else if(curStepData.value.statusVal==4){
|
|
|
const reqData = await getJobHuntListByJobUserID(pageParams);
|
|
|
jobHuntList.value= reqData.list;
|
|
|
pageParams.total = reqData.total;
|
|
@@ -584,6 +618,7 @@ export default defineComponent({
|
|
|
regionList,
|
|
|
streetList,
|
|
|
educationList,
|
|
|
+ experienceList,
|
|
|
jobHuntList,
|
|
|
expandChange,
|
|
|
provinceChange,
|