|
@@ -381,6 +381,7 @@
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
import {chevronDownOutline, chevronUpOutline,arrowBackOutline,addCircleOutline,trashOutline} from 'ionicons/icons';
|
|
import {chevronDownOutline, chevronUpOutline,arrowBackOutline,addCircleOutline,trashOutline} from 'ionicons/icons';
|
|
import {reactive,defineComponent, computed,watch,ref,toRefs} from "vue";
|
|
import {reactive,defineComponent, computed,watch,ref,toRefs} from "vue";
|
|
|
|
+import {post} from "@/api/common";
|
|
import {useRoute, useRouter} from "vue-router";
|
|
import {useRoute, useRouter} from "vue-router";
|
|
import {required} from "@vuelidate/validators";
|
|
import {required} from "@vuelidate/validators";
|
|
import {useVuelidate} from "@vuelidate/core";
|
|
import {useVuelidate} from "@vuelidate/core";
|
|
@@ -393,7 +394,7 @@ import {getSiteDataList} from "@/api/siteInfo";
|
|
import {getSysDictionaryList} from '@/api/system/dictionary';
|
|
import {getSysDictionaryList} from '@/api/system/dictionary';
|
|
import {alertController, onIonViewDidEnter} from "@ionic/vue";
|
|
import {alertController, onIonViewDidEnter} from "@ionic/vue";
|
|
import dayjs from "dayjs";
|
|
import dayjs from "dayjs";
|
|
-import {post} from "@/api/common";
|
|
|
|
|
|
+import {useUserStore} from "@/store/modules/user";
|
|
|
|
|
|
interface SelectProps {
|
|
interface SelectProps {
|
|
name: string,
|
|
name: string,
|
|
@@ -408,6 +409,8 @@ export default defineComponent({
|
|
setup() {
|
|
setup() {
|
|
const router = useRouter();
|
|
const router = useRouter();
|
|
const route = useRoute();
|
|
const route = useRoute();
|
|
|
|
+ const loginUserInfo = useUserStore().getUserInfo;
|
|
|
|
+ const curUserID = loginUserInfo.userID == undefined?"":loginUserInfo.userID;
|
|
const isAllowCommit = ref(true);
|
|
const isAllowCommit = ref(true);
|
|
const expand = ref<boolean>(false);
|
|
const expand = ref<boolean>(false);
|
|
const loading = ref(true);
|
|
const loading = ref(true);
|
|
@@ -708,30 +711,30 @@ export default defineComponent({
|
|
pageParams.jobUserID = jobUserID;
|
|
pageParams.jobUserID = jobUserID;
|
|
baseInfoData.baseData.jobUserID = jobUserID;
|
|
baseInfoData.baseData.jobUserID = jobUserID;
|
|
curStepData.value.statusVal = status;
|
|
curStepData.value.statusVal = status;
|
|
- console.log("当前jobUserID",jobUserID);
|
|
|
|
|
|
+ //console.log("当前jobUserID",jobUserID);
|
|
if(curStepData.value.statusVal==1){
|
|
if(curStepData.value.statusVal==1){
|
|
- const reqData = await getJobUserById(jobUserID,"60ea0d5b-a75c-11ed-a6c5-7085c2a9999e");
|
|
|
|
|
|
+ const reqData = await getJobUserById(jobUserID,curUserID);
|
|
baseInfoData.baseData = reqData;
|
|
baseInfoData.baseData = reqData;
|
|
- console.log('baseData',baseInfoData.baseData);
|
|
|
|
|
|
+ //console.log('baseData',baseInfoData.baseData);
|
|
await getStreetList();
|
|
await getStreetList();
|
|
}
|
|
}
|
|
else if(curStepData.value.statusVal==2){
|
|
else if(curStepData.value.statusVal==2){
|
|
const reqData :any = await getEducationListByJobUserID(pageParams);
|
|
const reqData :any = await getEducationListByJobUserID(pageParams);
|
|
educationList.value = reqData.list;
|
|
educationList.value = reqData.list;
|
|
pageParams.total = reqData.total;
|
|
pageParams.total = reqData.total;
|
|
- console.log("educationList",educationList.value);
|
|
|
|
|
|
+ //console.log("educationList",educationList.value);
|
|
}
|
|
}
|
|
else if(curStepData.value.statusVal==3){
|
|
else if(curStepData.value.statusVal==3){
|
|
const reqData = await getExperienceListByJobUserID(pageParams);
|
|
const reqData = await getExperienceListByJobUserID(pageParams);
|
|
experienceList.value= reqData.list;
|
|
experienceList.value= reqData.list;
|
|
pageParams.total = reqData.total;
|
|
pageParams.total = reqData.total;
|
|
- console.log("experienceList",experienceList.value);
|
|
|
|
|
|
+ //console.log("experienceList",experienceList.value);
|
|
}
|
|
}
|
|
else if(curStepData.value.statusVal==4){
|
|
else if(curStepData.value.statusVal==4){
|
|
const reqData = await getJobHuntListByJobUserID(pageParams);
|
|
const reqData = await getJobHuntListByJobUserID(pageParams);
|
|
jobHuntList.value= reqData.list;
|
|
jobHuntList.value= reqData.list;
|
|
pageParams.total = reqData.total;
|
|
pageParams.total = reqData.total;
|
|
- console.log("jobHuntList",jobHuntList.value);
|
|
|
|
|
|
+ //console.log("jobHuntList",jobHuntList.value);
|
|
}
|
|
}
|
|
loading.value = false;
|
|
loading.value = false;
|
|
};
|
|
};
|