mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-14 21:36:45 +08:00
修改接口参数
This commit is contained in:
@@ -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?positionIdList=${params.positionIdList}&bandCodeList=${params.bandCodeList}`);
|
export const getFullJobPath = (params) => ajax.get(`/manageApi/stu/grow/getFullJobPath?positionNameList=${params.positionNameList}&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`);
|
||||||
//外部考试点击调用
|
//外部考试点击调用
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
getFullJobPath({
|
getFullJobPath({
|
||||||
positionIdList:this.$route.query.positionIdList || '',
|
positionNameList:this.$route.query.positionIdList || '',
|
||||||
bandCodeList:this.$route.query.bandCodeList || ''
|
bandCodeList:this.$route.query.bandCodeList || ''
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
if(res.code == 200){
|
if(res.code == 200){
|
||||||
|
|||||||
@@ -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.positionId).join(',')
|
let positionIdList = this.posiData.map(item => item.positionName).join(',')
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/learnPath/allPath?bandCodeList=${bandCodeList}&positionIdList=${positionIdList}`,
|
url: `/pages/learnPath/allPath?bandCodeList=${bandCodeList}&positionIdList=${positionIdList}`,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user