AI模块联调

This commit is contained in:
francis_fh
2026-01-22 18:58:19 +08:00
parent 4dce6d3e39
commit b92e3b8adb
23 changed files with 424 additions and 453 deletions

View File

@@ -104,7 +104,7 @@ const generateTabbarList = () => {
baseItems.splice(1, 0, {
id: 1,
text: '发布岗位',
path: '/pages/job/publishJob',
path: '/packageA/pages/job/publishJob',
iconPath: '/static/tabbar/post.png',
selectedIconPath: '/static/tabbar/posted.png',
centerItem: false,
@@ -173,7 +173,7 @@ const switchTab = (item, index) => {
// 检查是否为需要登录的页面
const loginRequiredPages = [
'/pages/job/publishJob',
'/packageA/pages/job/publishJob',
'/pages/mine/mine',
'/pages/mine/company-mine'
];
@@ -190,7 +190,7 @@ const switchTab = (item, index) => {
}
// 已登录,处理特定页面的逻辑
if (item.path === '/pages/job/publishJob') {
if (item.path === '/packageA/pages/job/publishJob') {
// 检查企业信息是否完整
const cachedUserInfo = uni.getStorageSync('userInfo') || {};
const storeUserInfo = userInfo.value || {};
@@ -200,12 +200,12 @@ const switchTab = (item, index) => {
if (!currentUserInfo.company || currentUserInfo.company === null) {
// 企业信息为空,跳转到企业信息补全页面
uni.navigateTo({
url: '/pages/complete-info/company-info',
url: '/packageA/pages/complete-info/company-info',
});
} else {
// 企业信息完整,跳转到发布岗位页面
uni.navigateTo({
url: '/pages/job/publishJob',
url: '/packageA/pages/job/publishJob',
});
}