岗位传递id

This commit is contained in:
zhangsir
2024-07-09 18:03:16 +08:00
parent 1fb8e93169
commit 761340fd6e
3 changed files with 3 additions and 3 deletions

View File

@@ -7,7 +7,7 @@ export const getAllPosition = () => ajax.get(`/manageApi/stu/grow/getPositionOfP
// 获取职级
export const getAllBandInfo = () => ajax.get(`/manageApi/admin/thirdApi/getAllBandInfo`)
//全岗位路径
export const getFullJobPath = (params) => ajax.get(`/manageApi/stu/grow/getFullJobPath?positionNameList=${params.positionNameList}&bandCodeList=${params.bandCodeList}`);
export const getFullJobPath = (params) => ajax.get(`/manageApi/stu/grow/getFullJobPath?positionIdList=${params.positionIdList}&bandCodeList=${params.bandCodeList}`);
//外部考试
export const queryExternalExam = (params) => ajax.get(`/manageApi/external/exam/queryExternalExam?externalId=${params.externalId}&type=14`);
//外部考试点击调用

View File

@@ -141,7 +141,7 @@
const bandCodeList = uni.getStorageSync('bandCodeList');
const positionIdList = uni.getStorageSync('positionIdList');
getFullJobPath({
positionNameList: positionIdList || '',
positionIdList: positionIdList || '',
bandCodeList: bandCodeList || ''
}).then(res=>{
if(res.code == 200){

View File

@@ -87,7 +87,7 @@
},
goAllPath(){
let bandCodeList = this.bandItem.map(item => item.bandCode).join(',')
let positionIdList = this.posiData.map(item => item.positionName).join(',')
let positionIdList = this.posiData.map(item => item.positionId).join(',')
// uni.navigateTo({
// url: `/pages/learnPath/allPath?bandCodeList=${bandCodeList}&positionIdList=${positionIdList}`,
// })