From b605b43acb4d6c988a2df529e2f14acab21ab55c Mon Sep 17 00:00:00 2001
From: lijie_ycrj <1540286404@qq.com>
Date: Tue, 10 Mar 2026 17:13:38 +0800
Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E8=83=BD=E6=8E=A8=E8=8D=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config.js | 2 +
packageB/priority/recordsManagement.vue | 2 +-
packageB/priority/smartRecommend.vue | 638 +++++++++++++++++-------
utils/request.js | 7 +-
4 files changed, 466 insertions(+), 183 deletions(-)
diff --git a/config.js b/config.js
index fb4071c..43388d2 100644
--- a/config.js
+++ b/config.js
@@ -13,6 +13,8 @@ export default {
// LCBaseUrlInner:'http://10.110.145.145:10100',//招聘、培训、帮扶
// imgBaseUrl:'http://10.110.145.145/images', //图片基础url
// trainVideoImgUrl:'http://10.110.145.145:9100/file/file/minio',
+ jobRecommendUrl:'http://222.80.110.161:11111/api', //岗位推荐的三方url
+ policyRecommendUrl:'http://222.80.110.161:11111/sdrc-api', //政策推荐的三方url
LCBaseUrl:'https://www.xjksly.cn/prod-api',//内网端口
LCBaseUrlInner:'https://www.xjksly.cn/prod-psout-api',//招聘、培训、帮扶
imgBaseUrl:'https://www.xjksly.cn/images', //图片基础url
diff --git a/packageB/priority/recordsManagement.vue b/packageB/priority/recordsManagement.vue
index 9c01113..3db84d5 100644
--- a/packageB/priority/recordsManagement.vue
+++ b/packageB/priority/recordsManagement.vue
@@ -387,7 +387,7 @@ function goFollow(item){
navTo('/packageB/priority/recordFollow?name='+item.name+'&taskType='+item.task_type+'&taskId='+item.task_id+'&personId='+item.person_id+'&goalPersonId='+item.goal_person_id);
}
function goRecommend(item){
- navTo('/packageB/priority/smartRecommend');
+ navTo('/packageB/priority/smartRecommend?goalPersonId='+item.goal_person_id);
}
function goJobWill(item){
navTo('/packageB/priority/jobWill?id='+item.person_id+'&goalPersonId='+item.goal_person_id);
diff --git a/packageB/priority/smartRecommend.vue b/packageB/priority/smartRecommend.vue
index d7aefa6..7091b80 100644
--- a/packageB/priority/smartRecommend.vue
+++ b/packageB/priority/smartRecommend.vue
@@ -1,131 +1,225 @@
- 求职
需求
+ 岗位推荐
- 创业
需求
+ 政策推荐
- 培训
需求
-
- 其他
需求
+ 培训推荐
-
-
-
- 帮扶记录详情
-
+
+
+
+
+
+ 推荐岗位列表
+
+
+
+ 共{{totalNum}}个
+
+
+
+
+
+
+
+
+ 岗位名称:
+
+
+
+ {{item.jobTitle}}
+
+
+
+
+
+
+ 公司名称:
+
+
+
+ {{item.companyName}}
+
+
+
+
+
+
+ 薪资待遇:
+
+
+
+ {{item.minSalary}}-{{item.maxSalary}}
+
+
+
+
+
+
+ 工作地点:
+
+
+
+ {{item.jobLocation}}
+
+
+
+
+
-
-
-
-
- 人员姓名:
+
+
+
+ 推荐政策列表
+
+
+
+ 共{{totalNum}}项
+
-
- {{formData.name}}
+
+
+
+
+
+
+ 政策名称:
+
+
+
+ {{item.zcmc}}
+
+
+
+
+
+
+ 政策类型:
+
+
+
+ {{ item.type === '3' ? '个人就业政策' : '单位就业政策' }}
+
+
+
+
+
+
+ 政策级别:
+
+
+
+ {{ item.zcLevel }}
+
+
+
+
+
+
+ 发文单位:
+
+
+
+ {{item.sourceUnit}}
+
+
+
+
+
+
+ 发布时间:
+
+
+
+ {{item.publishTime}}
+
+
+
+
-
-
- 身份证号:
+
+
+
+ 推荐培训列表
+
+
+
+ 共{{totalNum}}门
+
-
- {{formData.id_card}}
+
+
+
+
+
+
+ 课程标题:
+
+
+
+ {{item.videoTitle}}
+
+
+
+
+
+
+ 课程分类:
+
+
+
+ {{getabelByValue(item.category,classificationOptions)}}
+
+
+
+
+
+
+ 讲师:
+
+
+
+ {{item.teacherName}}
+
+
+
+
+
+
+ 时长:
+
+
+
+ {{formatDuration(item.hour)}}
+
+
+
+
-
-
- 联系电话:
-
-
- {{formData.phone}}
-
-
-
-
- 帮扶类型:
-
-
- {{formData.task_type}}
-
-
-
-
- 帮扶人员:
-
-
- {{formData.create_by_name}}
-
-
-
-
- 帮扶日期:
-
-
- {{formData.follow_date}}
-
-
-
-
- 下次联系:
-
-
- {{formData.next_contact_date}}
-
-
-
-
- 人员标签:
-
-
- {{formData.tag_name}}
-
-
-
-
- 帮扶内容:
-
-
- {{formData.detailRecords}}
-
-
-
-
+
+
diff --git a/utils/request.js b/utils/request.js
index c41e10a..2bf8535 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -176,11 +176,16 @@ export function uploadFile(tempFilePaths, loading = false) {
})
}
-export function myRequest(url, data = {}, method = 'GET', port = 9100, headers = {}, loading = false) {
+export function myRequest(url, data = {}, method = 'GET', port = 9100, headers = {}, loading = false,urlType='') {
let LCBaseUrl = config.LCBaseUrl
if (port != 9100) {
LCBaseUrl = config.LCBaseUrlInner
}
+ if(urlType=='jobRecommend'){
+ LCBaseUrl=config.jobRecommendUrl
+ }else if(urlType=='policyRecommend'){
+ LCBaseUrl=config.policyRecommendUrl
+ }
const header = headers || {};
// 上下文
// /jobfair-api/jobfair/public 招聘会