增加个人中心素质测评和面试入口,修复面试名称问题

This commit is contained in:
2025-12-22 15:52:53 +08:00
parent 993c22a7f1
commit 6d97f65d7e
2 changed files with 15 additions and 4 deletions

View File

@@ -1142,7 +1142,7 @@ function goCa(){
if (checkLogin()) {
let userInfo = uni.getStorageSync('userInfo')
storeRc.dispatch('LoginByUserInfo', userInfo).then(res => {
navTo(`/packageCa/search/search?name=${userInfo.name}&idCard=${userInfo.idCard}`);
navTo(`/packageCa/search/search?name=${userInfo.name}&userId=${userInfo.idCard}`);
});
}
}
@@ -1151,7 +1151,7 @@ function goCaAI(){
if (checkLogin()) {
let userInfo = uni.getStorageSync('userInfo')
storeRc.dispatch('LoginByUserInfo', userInfo).then(res => {
navTo(`/packageCa/search/AIAudition?name=${userInfo.name}&idCard=${userInfo.idCard}`);
navTo(`/packageCa/search/AIAudition?name=${userInfo.name}&userId=${userInfo.idCard}`);
});
}
}

View File

@@ -74,7 +74,7 @@
</view>
<view class="row-right">已认证</view>
</view>
<view class="main-row btn-feel">
<view class="main-row btn-feel" @click="goCa()">
<view class="row-left">
<image class="left-img" src="@/static/icon/server2.png"></image>
<text class="left-text">素质测评</text>
@@ -83,7 +83,7 @@
<uni-icons color="#909090" type="right" size="14"></uni-icons>
</view>
</view>
<view class="main-row btn-feel">
<view class="main-row btn-feel" @click="goCaAI()">
<view class="row-left">
<image class="left-img" src="@/static/icon/server3.png"></image>
<text class="left-text">AI面试</text>
@@ -203,6 +203,17 @@ function goToJobHelper() {
// 跳转到求职者信息补全页面
navTo('/pages/complete-info/complete-info');
}
// 跳转到素质测评
function goCa(){
let userInfo = uni.getStorageSync('userInfo')
navTo(`/packageCa/search/search?name=${userInfo.name}&userId=${userInfo.idCard}`);
}
// 跳转到AI面试
function goCaAI(){
let userInfo = uni.getStorageSync('userInfo')
navTo(`/packageCa/search/AIAudition?name=${userInfo.name}&userId=${userInfo.idCard}`);
}
</script>
<style lang="stylus" scoped>