岗位传递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 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`); 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 bandCodeList = uni.getStorageSync('bandCodeList');
const positionIdList = uni.getStorageSync('positionIdList'); const positionIdList = uni.getStorageSync('positionIdList');
getFullJobPath({ getFullJobPath({
positionNameList: positionIdList || '', positionIdList: positionIdList || '',
bandCodeList: bandCodeList || '' bandCodeList: bandCodeList || ''
}).then(res=>{ }).then(res=>{
if(res.code == 200){ if(res.code == 200){

View File

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