diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..35410ca
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml
+# 基于编辑器的 HTTP 客户端请求
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/ks-app-employment-service.iml b/.idea/ks-app-employment-service.iml
new file mode 100644
index 0000000..d6ebd48
--- /dev/null
+++ b/.idea/ks-app-employment-service.iml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..331c8ce
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/apiRc/needs/assistService.js b/apiRc/needs/assistService.js
new file mode 100644
index 0000000..63300fc
--- /dev/null
+++ b/apiRc/needs/assistService.js
@@ -0,0 +1,58 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:51
+ */
+import request from '@/utilsRc/request'
+
+// 查询援助需求列表
+export function listAssistService(query) {
+ return request({
+ url: '/demand/personAssistDemandInfo/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询援助需求详细
+export function getAssistService(ids) {
+ return request({
+ url: '/demand/personAssistDemandInfo/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增援助需求
+export function addAssistService(data) {
+ return request({
+ url: '/demand/personAssistDemandInfo',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改援助需求
+export function updateAssistService(data) {
+ return request({
+ url: '/demand/personAssistDemandInfo',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除援助需求
+export function delAssistService(ids) {
+ return request({
+ url: '/manage/personDemand/' + ids,
+ method: 'delete'
+ })
+}
+
+// 个人援助需求办结
+export function finishAssistService(data) {
+ return request({
+ url: '/demand/personAssistDemandInfo/assistDone',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/apiRc/needs/entrepreneurshipService.js b/apiRc/needs/entrepreneurshipService.js
new file mode 100644
index 0000000..2514188
--- /dev/null
+++ b/apiRc/needs/entrepreneurshipService.js
@@ -0,0 +1,58 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:35
+ */
+import request from '@/utilsRc/request'
+
+// 查询创业需求列表
+export function listEntrepreneurshipService(query) {
+ return request({
+ url: '/demand/personEntrepreneurshipDemandInfo/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询创业需求详细
+export function getEntrepreneurshipService(ids) {
+ return request({
+ url: '/demand/personEntrepreneurshipDemandInfo/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增创业需求
+export function addEntrepreneurshipService(data) {
+ return request({
+ url: '/demand/personEntrepreneurshipDemandInfo',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改创业需求
+export function updateEntrepreneurshipService(data) {
+ return request({
+ url: '/demand/personEntrepreneurshipDemandInfo',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除创业需求
+export function delEntrepreneurshipService(ids) {
+ return request({
+ url: '/manage/personDemand/' + ids,
+ method: 'delete'
+ })
+}
+
+// 个人援助需求办结
+export function finishEntrepreneurshipService(data) {
+ return request({
+ url: '/demand/personEntrepreneurshipDemandInfo/entrepreneurshipDone',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/apiRc/needs/jobService.js b/apiRc/needs/jobService.js
new file mode 100644
index 0000000..9468687
--- /dev/null
+++ b/apiRc/needs/jobService.js
@@ -0,0 +1,57 @@
+/*
+ * @Date: 2025-04-07 14:23:47
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:39
+ */
+import request from '@/utilsRc/request'
+
+// 查询求职需求列表
+export function listJobService(query) {
+ return request({
+ url: '/manage/personDemand/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询求职需求详细
+export function getJobService(ids) {
+ return request({
+ url: '/manage/personDemand/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增求职需求
+export function addJobService(data) {
+ return request({
+ url: '/manage/personDemand',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改求职需求
+export function updateJobService(data) {
+ return request({
+ url: '/manage/personDemand',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除求职需求
+export function delJobService(ids) {
+ return request({
+ url: '/manage/personDemand/' + ids,
+ method: 'delete'
+ })
+}
+
+//查询服务次数
+export function serviceTraceability(userId) {
+ return request({
+ url: '/timelime/timelime/getFwcs/' + userId,
+ method: 'get'
+ })
+}
diff --git a/apiRc/needs/otherService.js b/apiRc/needs/otherService.js
new file mode 100644
index 0000000..5c09a11
--- /dev/null
+++ b/apiRc/needs/otherService.js
@@ -0,0 +1,58 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:42
+ */
+import request from '@/utilsRc/request'
+
+// 查询其他需求列表
+export function listOtherService(query) {
+ return request({
+ url: '/demand/personOtherDemandInfo/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询其他需求详细
+export function getOtherService(ids) {
+ return request({
+ url: '/demand/personOtherDemandInfo/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增其他需求
+export function addOtherService(data) {
+ return request({
+ url: '/demand/personOtherDemandInfo',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改其他需求
+export function updateOtherService(data) {
+ return request({
+ url: '/demand/personOtherDemandInfo',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除其他需求
+export function delOtherService(ids) {
+ return request({
+ url: '/manage/personDemand/' + ids,
+ method: 'delete'
+ })
+}
+
+// 个人援助需求办结
+export function finishOtherService(data) {
+ return request({
+ url: '/demand/personOtherDemandInfo/otherDemandDone',
+ method: 'post',
+ data: data
+ })
+}
\ No newline at end of file
diff --git a/apiRc/needs/trainService.js b/apiRc/needs/trainService.js
new file mode 100644
index 0000000..cf4fb10
--- /dev/null
+++ b/apiRc/needs/trainService.js
@@ -0,0 +1,49 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:47
+ */
+import request from '@/utilsRc/request'
+
+// 查询培训需求列表
+export function listTrainService(query) {
+ return request({
+ url: '/demand/personTrainDemandInfo/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询培训需求详细
+export function getTrainService(ids) {
+ return request({
+ url: '/demand/personTrainDemandInfo/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增培训需求
+export function addTrainService(data) {
+ return request({
+ url: '/demand/personTrainDemandInfo',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改培训需求
+export function updateTrainService(data) {
+ return request({
+ url: '/demand/personTrainDemandInfo',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除培训需求
+export function delTrainService(ids) {
+ return request({
+ url: '/manage/personDemand/' + ids,
+ method: 'delete'
+ })
+}
diff --git a/apiRc/service/investigate.js b/apiRc/service/investigate.js
new file mode 100644
index 0000000..7ad8ae7
--- /dev/null
+++ b/apiRc/service/investigate.js
@@ -0,0 +1,50 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:56
+ */
+import request from '@/utilsRc/request'
+
+// 查询角色列表
+export function listInvestigate(query) {
+ return request({
+ url: '/process/processInterview/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询角色详细
+export function getInvestigate(ids) {
+ return request({
+ url: '/process/processInterview/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增角色
+export function addInvestigate(data) {
+ return request({
+ // url: '/process/processInterview',
+ url: '/timelime/timelime',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改角色
+export function updateInvestigate(data) {
+ return request({
+ url: '/process/processInterview',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除角色
+export function delInvestigate(ids) {
+ return request({
+ url: '/process/processInterview/' + ids,
+ method: 'delete'
+ })
+}
diff --git a/apiRc/service/jobRecommend.js b/apiRc/service/jobRecommend.js
new file mode 100644
index 0000000..f5212ca
--- /dev/null
+++ b/apiRc/service/jobRecommend.js
@@ -0,0 +1,86 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:56:59
+ */
+import request from '@/utilsRc/request'
+
+// 查询角色列表
+export function listJobRecommend(query) {
+ return request({
+ url: '/process/processJobRecommend/list',
+ method: 'get',
+ params: query
+ })
+}
+// 查询角色列表
+export function getWorkListReq(query) {
+ return request({
+ // url: '/personnel/personBaseInfo/postRecommend',
+ url: '/company/unitPostInfo/postElectedList',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询角色详细
+export function getJobRecommend(ids) {
+ return request({
+ url: '/process/processJobRecommend/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增角色
+export function addJobRecommend(data) {
+ return request({
+ url: '/process/processJobRecommend',
+ method: 'post',
+ data: data
+ })
+}
+
+//岗位推荐保存和办结
+export function saveJobRecommend(data) {
+ return request({
+ url: '/process/processJobRecommend/create',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改角色
+export function updateJobRecommend(data) {
+ return request({
+ url: '/process/processJobRecommend',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除角色
+export function delJobRecommend(ids) {
+ return request({
+ url: '/process/processJobRecommend/' + ids,
+ method: 'delete'
+ })
+}
+
+// 获取绑定的职位
+export function getAddedJobs(params) {
+ return request({
+ // url: '/company/postDeliverInfo/list',
+ url: '/company/unitPostInfo/no/permission/list',
+ method: 'get',
+ params,
+ })
+}
+
+// // 获取推荐岗位
+// export function getAddedJobs(params) {
+// return request({
+// url: '/personnel/personBaseInfo/postRecommend',
+// method: 'get',
+// params,
+// })
+// }
diff --git a/apiRc/service/jobTrack.js b/apiRc/service/jobTrack.js
new file mode 100644
index 0000000..73ae817
--- /dev/null
+++ b/apiRc/service/jobTrack.js
@@ -0,0 +1,49 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:57:02
+ */
+import request from '@/utilsRc/request'
+
+// 查询角色列表
+export function listJobTrack(query) {
+ return request({
+ url: '/process/processEmploymentTracking/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询角色详细
+export function getJobTrack(ids) {
+ return request({
+ url: '/process/processEmploymentTracking/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增角色
+export function addJobTrack(data) {
+ return request({
+ url: '/process/processEmploymentTracking',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改角色
+export function updateJobTrack(data) {
+ return request({
+ url: '/process/processEmploymentTracking',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除角色
+export function delJobTrack(ids) {
+ return request({
+ url: '/process/processEmploymentTracking/' + ids,
+ method: 'delete'
+ })
+}
diff --git a/apiRc/service/policyConsultation.js b/apiRc/service/policyConsultation.js
new file mode 100644
index 0000000..80e00e7
--- /dev/null
+++ b/apiRc/service/policyConsultation.js
@@ -0,0 +1,49 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:57:05
+ */
+import request from '@/utilsRc/request'
+
+// 查询角色列表
+export function listPolicyConsultation(query) {
+ return request({
+ url: '/process/processPolicyConsult/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询角色详细
+export function getPolicyConsultation(ids) {
+ return request({
+ url: '/process/processPolicyConsult/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增角色
+export function addPolicyConsultation(data) {
+ return request({
+ url: '/process/processPolicyConsult',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改角色
+export function updatePolicyConsultation(data) {
+ return request({
+ url: '/process/processPolicyConsult',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除角色
+export function delPolicyConsultation(ids) {
+ return request({
+ url: '/process/processPolicyConsult/' + ids,
+ method: 'delete'
+ })
+}
diff --git a/apiRc/service/skillTrain.js b/apiRc/service/skillTrain.js
new file mode 100644
index 0000000..c77dfb9
--- /dev/null
+++ b/apiRc/service/skillTrain.js
@@ -0,0 +1,49 @@
+/*
+ * @Date: 2024-09-25 11:14:29
+ * @LastEditors: shirlwang
+ * @LastEditTime: 2025-11-04 08:57:09
+ */
+import request from '@/utilsRc/request'
+
+// 查询角色列表
+export function listSkillTrain(query) {
+ return request({
+ url: '/process/processSkillTraining/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询角色详细
+export function getSkillTrain(ids) {
+ return request({
+ url: '/process/processSkillTraining/' + ids,
+ method: 'get'
+ })
+}
+
+// 新增角色
+export function addSkillTrain(data) {
+ return request({
+ url: '/process/processSkillTraining',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改角色
+export function updateSkillTrain(data) {
+ return request({
+ url: '/process/processSkillTraining',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除角色
+export function delSkillTrain(ids) {
+ return request({
+ url: '/process/processSkillTraining/' + ids,
+ method: 'delete'
+ })
+}
diff --git a/config.js b/config.js
index 08c5c64..088e85f 100644
--- a/config.js
+++ b/config.js
@@ -5,6 +5,7 @@ export default {
LCBaseUrl:'http://10.110.145.145:9100',//招聘、培训、帮扶
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',
// sseAI+
// StreamBaseURl: 'http://39.98.44.136:8000',
StreamBaseURl: 'https://qd.zhaopinzao8dian.com/ai',
diff --git a/main.js b/main.js
index 7d6f49f..45663a1 100644
--- a/main.js
+++ b/main.js
@@ -1,7 +1,7 @@
/*
* @Date: 2025-11-03 10:52:09
* @LastEditors: shirlwang
- * @LastEditTime: 2025-11-03 17:26:29
+ * @LastEditTime: 2025-11-04 11:14:21
*/
import App from '@/App'
import * as Pinia from 'pinia'
@@ -24,6 +24,7 @@ import uniDataSelect from './uni_modules/uni-data-select/components/uni-data-sel
import uniSwipeAction from './uni_modules/uni-swipe-action/components/uni-swipe-action/uni-swipe-action.vue'
import uniSwipeActionItem from './uni_modules/uni-swipe-action/components/uni-swipe-action-item/uni-swipe-action-item.vue'
import storeRc from './utilsRc/store/index.js'
+import {processFileUrl,} from '@/utilsRc/common.js'
// iconfont.css 已在 App.vue 中通过 @import 引入,无需在此处重复引入
// import Tabbar from '@/components/tabbar/midell-box.vue'
// 自动导入 directives 目录下所有指令
@@ -57,6 +58,7 @@ export function createApp() {
app.component('uni-swipe-action-item', uniSwipeActionItem)
+ app.config.globalProperties.$processFileUrl = processFileUrl;
app.config.globalProperties.$getDict = getDict;
app.config.globalProperties.$store = storeRc;
app.config.globalProperties.$getDictSelectOption = async (dictType, isDigital = false, forceRefresh = false) => {
diff --git a/packageB/train/video/videoDetail.vue b/packageB/train/video/videoDetail.vue
index e6b052e..24c799e 100644
--- a/packageB/train/video/videoDetail.vue
+++ b/packageB/train/video/videoDetail.vue
@@ -1,316 +1,492 @@
-
-
-
-
-
-
-
-
-
-
-
- 视频列表
-
+
+
+
+
+
+
-
-
-
-
-
-
- {{ video.title || video.videoName || '未命名视频' }}
-
-
-
-
-
+
+
+ 视频详情
+
+
+
+
+
+
+
+ 分类:
+
+
+ {{getCategoryLabelByValue(videoInfo.category)}}
+
+
+
+
+
+
+
+ 等级:
+
+
+ {{getLevelLabelByValue(videoInfo.level)}}
+
+
+
+
+
+ 讲师:
+
+
+ {{videoInfo.teacherName}}
+
+
+
+
+
+
+
+
+
+ 时长:
+
+
+ {{videoInfo.hour}}分钟
+
+
+
+
+
+
+
+ 发布时间:
+
+
+ {{videoInfo.uploadTime}}
+
+
+
+
+
+
+
+
+ 课程
+
+
+ 简介
+
+
+
+
+ {{videoInfo.introduce}}
+
+
+
+ 学习进度
+
+
+
+
+
+
+ 已观看
+
+
+ {{videoInfo.percentage}}%
+
+
+
+
+ 课程章节
+
+
+
+
+
+
+ {{ index + 1 }}
+
+
+ {{item.className}}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageB/train/video/videoList.vue b/packageB/train/video/videoList.vue
index 6f3d588..90996a5 100644
--- a/packageB/train/video/videoList.vue
+++ b/packageB/train/video/videoList.vue
@@ -34,9 +34,9 @@
视频列表
-
+
- {{ video.title || video.videoName || '未命名视频' }}
+ {{ video.videoTitle || '未命名视频' }}
@@ -67,14 +67,10 @@ import config from "@/config.js"
// state
const title = ref('');
const searchKeyword = ref('');
-const pageState = reactive({
- page: 0,
- list: [],
- total: 0,
- maxPage: 1,
- pageSize: 12,
- search: {},
-});
+const dataList=ref([])
+const pageSize=ref(10)
+const pageNum=ref(1)
+const totalNum=ref(0)
const baseUrl = config.imgBaseUrl
const getItemBackgroundStyle = (imageName) => ({
backgroundImage: `url(${baseUrl}/train/${imageName})`,
@@ -82,45 +78,7 @@ const getItemBackgroundStyle = (imageName) => ({
backgroundPosition: 'center', // 居中
backgroundRepeat: 'no-repeat'
});
-// 模拟视频数据
-const mockVideoData = [
- {
- id: '1',
- title: '职业技能培训基础课程',
- coverImage: '/static/icon/server1.png',
- videoUrl: ''
- },
- {
- id: '2',
- title: '面试技巧分享',
- coverImage: '/static/icon/server2.png',
- videoUrl: ''
- },
- {
- id: '3',
- title: '简历制作指南',
- coverImage: '/static/icon/server3.png',
- videoUrl: ''
- },
- {
- id: '4',
- title: '职场沟通技巧',
- coverImage: '/static/icon/server4.png',
- videoUrl: ''
- },
- {
- id: '5',
- title: '职业规划讲座',
- coverImage: '/static/icon/flame.png',
- videoUrl: ''
- },
- {
- id: '6',
- title: '行业趋势分析',
- coverImage: '/static/icon/flame2.png',
- videoUrl: ''
- }
-];
+const trainVideoImgUrl=config.trainVideoImgUrl
onLoad(() => {
getDataList('refresh');
@@ -139,49 +97,46 @@ function clearSearch() {
// 获取视频列表
function getDataList(type = 'add') {
+ let maxPage=Math.ceil(totalNum.value/pageSize.value)
+ let params={}
if (type === 'refresh') {
- pageState.page = 1;
- pageState.maxPage = 1;
+ pageNum.value = 1;
+ params={
+ category:'',
+ hour:'',
+ level:'',
+ searchValue:searchKeyword.value,
+ orderStr:'',
+ pageSize:pageSize.value,
+ pageNum:pageNum.value
+ }
+ $api.myRequest('/train/public/trainVideo/trainVideoList', params).then((resData) => {
+ dataList.value=resData.rows
+ totalNum.value=resData.total
+ });
}
- if (type === 'add' && pageState.page < pageState.maxPage) {
- pageState.page += 1;
- }
-
- // 模拟API请求延迟
- setTimeout(() => {
- // 在实际项目中,这里应该调用真实的API接口
- // 目前使用模拟数据
- let filteredList = [...mockVideoData];
-
- // 如果有搜索关键词,进行过滤
- if (searchKeyword.value.trim()) {
- filteredList = filteredList.filter(video =>
- video.title.toLowerCase().includes(searchKeyword.value.toLowerCase())
- );
- }
-
- const start = 0;
- const end = pageState.pageSize;
- const pageData = filteredList.slice(start, end);
-
- if (type === 'add') {
- pageState.list = [...pageState.list, ...pageData];
- } else {
- pageState.list = pageData;
- }
-
- pageState.total = filteredList.length;
- pageState.maxPage = Math.ceil(pageState.total / pageState.pageSize);
- }, 300);
+ if (type === 'add' && pageNum.value < maxPage) {
+ pageNum.value += 1;
+ params={
+ category:'',
+ hour:'',
+ level:'',
+ searchValue:searchKeyword.value,
+ orderStr:'',
+ pageSize:pageSize.value,
+ pageNum:pageNum.value
+ }
+ $api.myRequest('/train/public/trainVideo/trainVideoList', params).then((resData) => {
+ dataList.value=dataList.value.concat(resData.rows)
+ totalNum.value=resData.total
+ });
+ }
}
+
// 播放视频
function playVideo(video) {
- // 在实际项目中,这里应该导航到视频播放页面
- // 或者调用视频播放组件
- console.log('播放视频:', video);
- navTo(`/packageB/train/video/videoDetail?id=${video.id}`);
- // $api.msg(`准备播放: ${video.title}`);
+ navTo(`/packageB/train/video/videoDetail?id=${video.videoId}`);
}
@@ -190,13 +145,6 @@ function playVideo(video) {
width: 64rpx;
height: 64rpx;
}
-.btn {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 52rpx;
- height: 52rpx;
-}
image {
height: 100%;
width: 100%;
@@ -264,7 +212,7 @@ image {
width: 70rpx;
height: 8rpx;
background: linear-gradient(90deg, #FFAD58 0%, #FF7A5B 100%);
- border-radius: 2px;
+ border-radius: 4rpx;
}
.video-grid{
display: grid;
diff --git a/packageRc/components/ImageUpload.vue b/packageRc/components/ImageUpload.vue
new file mode 100644
index 0000000..3b4a6fc
--- /dev/null
+++ b/packageRc/components/ImageUpload.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/components/placePicker.vue b/packageRc/components/placePicker.vue
index 2baebaa..5e0661e 100644
--- a/packageRc/components/placePicker.vue
+++ b/packageRc/components/placePicker.vue
@@ -1,145 +1,555 @@
-
-
-
-
- 您已选择:{{ checkedMarker.name }}({{ checkedMarker.address }})
-
- {{ item.name }}
- {{ item.address }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 热门搜索
+
+
+ {{ tag }}
+
+
+
+
+
+
+
+
+ 您已选择:{{ checkedMarker.name }}
+ ({{ checkedMarker.address }})
+
+ 清除
+
+
+
+
+ 找到 {{ placeList.length }} 个相关地点
+
+
+
+ {{ item.name }}
+ {{ item.address }}
+
+
+
+
+
+
+
-
+
+
+
+
+
- 取 消
- 确 定
+ 取 消
+ 确 定
-
+
+
+
diff --git a/packageRc/pages/needs/components/entrepreneurshipService.vue b/packageRc/pages/needs/components/entrepreneurshipService.vue
new file mode 100644
index 0000000..a41c15c
--- /dev/null
+++ b/packageRc/pages/needs/components/entrepreneurshipService.vue
@@ -0,0 +1,431 @@
+
+
+
+
+
+ 创业需求信息
+ 编辑
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/components/jobService.vue b/packageRc/pages/needs/components/jobService.vue
new file mode 100644
index 0000000..91aaa24
--- /dev/null
+++ b/packageRc/pages/needs/components/jobService.vue
@@ -0,0 +1,724 @@
+
+
+
+
+
+
+ 求职需求信息
+ 编辑
+
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+
+ {{ formData.jobWorkTypeName || '请选择工种' }}
+
+
+
+
+ 工种数据加载中...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/components/otherService.vue b/packageRc/pages/needs/components/otherService.vue
new file mode 100644
index 0000000..d8ac701
--- /dev/null
+++ b/packageRc/pages/needs/components/otherService.vue
@@ -0,0 +1,335 @@
+
+
+
+
+
+
+ 需求信息
+ 编辑
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/components/trainService.vue b/packageRc/pages/needs/components/trainService.vue
new file mode 100644
index 0000000..7cd0c1d
--- /dev/null
+++ b/packageRc/pages/needs/components/trainService.vue
@@ -0,0 +1,590 @@
+
+
+
+
+
+
+ 培训需求信息
+ 编辑
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+
+
+
+ {{ formData.qwpxgzName || '请选择工种' }}
+
+
+
+
+ 工种数据加载中...
+
+
+
+
+ {{ formData.qwpxsj || "请选择" }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/components/u-empty/props.js b/packageRc/pages/needs/components/u-empty/props.js
new file mode 100644
index 0000000..78662f8
--- /dev/null
+++ b/packageRc/pages/needs/components/u-empty/props.js
@@ -0,0 +1,59 @@
+export default {
+ props: {
+ // 内置图标名称,或图片路径,建议绝对路径
+ icon: {
+ type: String,
+ default: uni.$u.props.empty.icon
+ },
+ // 提示文字
+ text: {
+ type: String,
+ default: uni.$u.props.empty.text
+ },
+ // 文字颜色
+ textColor: {
+ type: String,
+ default: uni.$u.props.empty.textColor
+ },
+ // 文字大小
+ textSize: {
+ type: [String, Number],
+ default: uni.$u.props.empty.textSize
+ },
+ // 图标的颜色
+ iconColor: {
+ type: String,
+ default: uni.$u.props.empty.iconColor
+ },
+ // 图标的大小
+ iconSize: {
+ type: [String, Number],
+ default: uni.$u.props.empty.iconSize
+ },
+ // 选择预置的图标类型
+ mode: {
+ type: String,
+ default: uni.$u.props.empty.mode
+ },
+ // 图标宽度,单位px
+ width: {
+ type: [String, Number],
+ default: uni.$u.props.empty.width
+ },
+ // 图标高度,单位px
+ height: {
+ type: [String, Number],
+ default: uni.$u.props.empty.height
+ },
+ // 是否显示组件
+ show: {
+ type: Boolean,
+ default: uni.$u.props.empty.show
+ },
+ // 组件距离上一个元素之间的距离,默认px单位
+ marginTop: {
+ type: [String, Number],
+ default: uni.$u.props.empty.marginTop
+ }
+ }
+}
diff --git a/packageRc/pages/needs/components/u-empty/u-empty.vue b/packageRc/pages/needs/components/u-empty/u-empty.vue
new file mode 100644
index 0000000..a35c44b
--- /dev/null
+++ b/packageRc/pages/needs/components/u-empty/u-empty.vue
@@ -0,0 +1,128 @@
+
+
+
+
+ {{text ? text : icons[mode]}}
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/needDetail.vue b/packageRc/pages/needs/needDetail.vue
new file mode 100644
index 0000000..2aa70cd
--- /dev/null
+++ b/packageRc/pages/needs/needDetail.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+ 求职
需求
+
+ 创业
需求
+
+ 培训
需求
+
+ 其他
需求
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/needsList.vue b/packageRc/pages/needs/needsList.vue
new file mode 100644
index 0000000..317814f
--- /dev/null
+++ b/packageRc/pages/needs/needsList.vue
@@ -0,0 +1,781 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ 共 {{ total }} 条
+
+
+
+
+
+
+
+ {{ item.personName }}
+
+
+ 状态:
+ {{ getDictLabel(item.currentStatus, currentStatusList) }}
+
+
+ 需求工种:{{ item.jobWorkTypeName }}
+
+
+ 需求名称:{{ item.serviceRequirementTitle }}
+
+
+ 需求名称:{{ item.demandTitle }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 加载中~
+
+ 加载更多
+
+ 没有更多数据了~
+
+
+
+
+
+
+ {{ formData.actualSolveDate||'请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 办结
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/needs/personNeeds.vue b/packageRc/pages/needs/personNeeds.vue
new file mode 100644
index 0000000..0823422
--- /dev/null
+++ b/packageRc/pages/needs/personNeeds.vue
@@ -0,0 +1,517 @@
+
+
+
+
+
+
+
+
+
+
+
+ 求职需求
+ {{getJobWorkTypeName(item.jobWorkType)}}
+
+
+ 援助需求
+ {{ item.demandTitle }}
+
+
+ 创业需求
+ {{ item.personName }}的创业需求
+
+
+ 培训需求
+ {{ item.personName }}的培训需求
+
+
+ 其他需求
+ {{ item.personName }}的其他需求
+
+
+ 需求状态:
+ {{ getDictLabel(item.currentStatus, currentStatusList) }}
+
+
+
+ 提交时间:{{ item.createTime }}
+ 左划删除需求
+
+
+
+
+
+
+ 加载中~
+
+ 加载更多
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/choosePerson.vue b/packageRc/pages/service/components/choosePerson.vue
new file mode 100644
index 0000000..c17b2ee
--- /dev/null
+++ b/packageRc/pages/service/components/choosePerson.vue
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+ {{ item.personName }}
+ 期望工种:{{item.jobWorkTypeName}}
+
+
+ {{ item.personName }}
+ 意愿培训工种:{{item.trainingIntentionWorkTypeName}}
+
+
+ {{ item.name }}
+ {{ item.phone }}
+
+ 现居住地:{{item.currentResidentialAddress}}
+
+
+
+
+ 取消
+ 重置
+ 确定
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/investigate.vue b/packageRc/pages/service/components/investigate.vue
new file mode 100644
index 0000000..5765017
--- /dev/null
+++ b/packageRc/pages/service/components/investigate.vue
@@ -0,0 +1,752 @@
+
+
+
+
+
+
+ 服务信息
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.serviceObjectName || '请选择被服务对象' }}
+
+
+
+
+
+
+
+ {{ formData.serviceObjectName || '请选择被服务对象' }}
+
+
+
+
+
+
+
+ {{ formData.practicalSolutionTime || '请选择服务时间' }}
+
+
+
+
+
+
+
+
+
+
+ {{ getDictLabel(formData.demandType, dict.demandType) || '请选择服务类型' }}
+
+
+
+
+
+
+ {{ getMultiDictLabel(formData.serviceContent, dict.serviceContent) || '请选择服务内容' }}
+
+
+
+
+
+
+ {{ getDictLabel(formData.dhgtjg, dict.dhgtjg) || '请选择电话沟通结果' }}
+
+
+
+
+
+
+
+
+ {{ getDictLabel(formData.personStatus, dict.personStatus) || '请选择人员状态' }}
+
+
+
+
+
+
+
+
+
+
+ 附件信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/jobRecommend.vue b/packageRc/pages/service/components/jobRecommend.vue
new file mode 100644
index 0000000..04733a9
--- /dev/null
+++ b/packageRc/pages/service/components/jobRecommend.vue
@@ -0,0 +1,629 @@
+
+
+
+
+
+
+
+ 服务信息
+ 编辑
+
+
+
+
+ 人员姓名*
+
+ {{ formData.personName || '请选择' }}
+
+ ✏️
+
+
+ 标题*
+
+ ✏️
+
+
+ 备注
+
+ ✏️
+
+
+ 附件
+
+
+
+
+
+
+ 求职需求信息
+
+
+
+
+ 求职工种
+
+ {{ getJobWorkTypeName(activePersonInfo.jobWorkType) }}
+
+
+
+ 最低薪酬
+
+ {{ activePersonInfo.minRecruitmentSalary || '--' }}
+
+
+
+ 最高薪酬
+
+ {{ activePersonInfo.highRecruitmentSalary || '--' }}
+
+
+
+ 推荐岗位
+
+
+
+ 人员推荐记录
+
+
+ {{ item.postName }}
+ 工种:{{item.recruitWorkTypeName}}
+ 单位名称:{{item.unitName}}
+ 删除
+
+
+ 暂无数据~
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/jobTrack.vue b/packageRc/pages/service/components/jobTrack.vue
new file mode 100644
index 0000000..8b2be07
--- /dev/null
+++ b/packageRc/pages/service/components/jobTrack.vue
@@ -0,0 +1,399 @@
+
+
+
+
+
+
+ 服务信息
+ 编辑
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+ {{ getDictLabel(formData.personStatus, dict.personStatus)||'请选择' }}
+
+
+
+
+
+ {{ getDictLabel(formData.employmentType, dict.employmentType)||'请选择' }}
+
+
+
+
+
+
+
+
+
+ {{ getDictLabel(formData.employmentStatus, dict.employmentStatus)||'请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.time||'请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 附件信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/policyConsultation.vue b/packageRc/pages/service/components/policyConsultation.vue
new file mode 100644
index 0000000..d4b691f
--- /dev/null
+++ b/packageRc/pages/service/components/policyConsultation.vue
@@ -0,0 +1,331 @@
+
+
+
+
+
+
+ 服务信息
+ 编辑
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+ {{ formData.time||'请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 附件信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/positionChooser.vue b/packageRc/pages/service/components/positionChooser.vue
new file mode 100644
index 0000000..4db8319
--- /dev/null
+++ b/packageRc/pages/service/components/positionChooser.vue
@@ -0,0 +1,388 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{getDictLabel(item.minEducation, xue_li) || '学历不限'}}
+ {{item.profession || '专业不限'}}
+ 全职
+
+
+
+
+
+ {{item.unitName}}
+
+
+ 📍
+ {{item.workLocation || '暂无地址'}}
+
+
+
+
+
+
+
+ 推荐
+
+
+ 加载中...
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/components/skillTrain.vue b/packageRc/pages/service/components/skillTrain.vue
new file mode 100644
index 0000000..c8a121e
--- /dev/null
+++ b/packageRc/pages/service/components/skillTrain.vue
@@ -0,0 +1,445 @@
+
+
+
+
+
+
+ 服务信息
+ 编辑
+
+
+
+
+
+ {{ formData.personName || '请选择' }}
+
+
+
+
+
+
+
+
+
+ {{ formData.time||'请选择' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 附件信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 重置
+
+
+
+
+ 取消
+
+ 保存
+
+
+
+
+
+
+
diff --git a/packageRc/pages/service/serviceDetail.vue b/packageRc/pages/service/serviceDetail.vue
index e69de29..c5838ee 100644
--- a/packageRc/pages/service/serviceDetail.vue
+++ b/packageRc/pages/service/serviceDetail.vue
@@ -0,0 +1,224 @@
+
+
+
+
+ 走访
调查
+
+ 政策法规
咨询
+
+ 岗位
推荐
+
+ 技术培训
操作
+
+ 就业
跟踪
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/packageRc/static/scss/index.scss b/packageRc/static/scss/index.scss
new file mode 100644
index 0000000..e89febd
--- /dev/null
+++ b/packageRc/static/scss/index.scss
@@ -0,0 +1,92 @@
+
+
+ .inner-part {
+ width: 100%;
+ }
+
+ .self-form {
+ width: 100%;
+ }
+
+ .form-item {
+ display: flex;
+ align-items: flex-start;
+ // margin-bottom: 24rpx;
+ background-color: #fff;
+ border-radius: 8rpx;
+ padding: 24rpx 0;
+ }
+
+ .form-label {
+ width: 200rpx;
+ font-size: 28rpx;
+ color: #333;
+ flex-shrink: 0;
+ line-height: 48rpx;
+ }
+
+ .required {
+ color: #f56c6c;
+ margin-left: 4rpx;
+ }
+
+ .form-textarea {
+ flex: 1;
+ border: none;
+ outline: none;
+ font-size: 28rpx;
+ color: #333;
+ background: none;
+ min-height: 120rpx;
+ line-height: 40rpx;
+ }
+
+ .form-textarea-disabled {
+ color: #909399;
+ background-color: #f5f7fa;
+ }
+
+ .icon-right {
+ width: 40rpx;
+ height: 40rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ color: #A6A6A6;
+ margin-left: 16rpx;
+ }
+
+.input-outer-part{
+ position: relative;
+ box-sizing: border-box;
+ .inner{
+ z-index: 1;
+ position: relative;
+ background: #fff;
+ width: calc(100% - 64rpx);
+ margin: 0 auto;
+ box-sizing: border-box;
+ border-radius: 16rpx;
+ padding: 32rpx;
+ margin-bottom: 24rpx;
+ .part-title{
+ color: #3D3D3D;
+ font-weight: bold;
+ line-height: 28rpx;
+ margin-top: 9rpx;
+ padding-left: 12rpx;
+ border-left: 6rpx solid #1A62CE;
+ font-size: 32rpx;
+ margin-bottom: 24rpx;
+ }
+ .inner-part{
+ background: #fff;
+ border-radius: 16rpx;
+ .self-form{
+ .u-form-item__body{
+ padding: 14px 0;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index f37f06c..c6b10b9 100644
--- a/pages.json
+++ b/pages.json
@@ -460,6 +460,16 @@
"style": {
"navigationBarTitleText": "添加帮扶"
}
+ } , {
+ "path": "pages/service/serviceDetail",
+ "style": {
+ "navigationBarTitleText": "服务"
+ }
+ } , {
+ "path": "pages/needs/needDetail",
+ "style": {
+ "navigationBarTitleText": "需求"
+ }
}
]
}],
diff --git a/unpackage/dist/dev/mp-weixin/project.config.json b/unpackage/dist/dev/mp-weixin/project.config.json
index 259a170..c0cb767 100644
--- a/unpackage/dist/dev/mp-weixin/project.config.json
+++ b/unpackage/dist/dev/mp-weixin/project.config.json
@@ -1,7 +1,8 @@
{
"description": "项目配置文件。",
"packOptions": {
- "ignore": []
+ "ignore": [],
+ "include": []
},
"setting": {
"urlCheck": false,
@@ -9,28 +10,22 @@
"postcss": true,
"minified": true,
"newFeature": true,
- "bigPackageSizeSupport": true
+ "bigPackageSizeSupport": true,
+ "babelSetting": {
+ "ignore": [],
+ "disablePlugins": [],
+ "outputPath": ""
+ }
+ },
+ "condition": false
},
"compileType": "miniprogram",
- "libVersion": "3.5.7",
+ "libVersion": "3.10.3",
"appid": "wx9d1cbc11c8c40ba7",
"projectname": "qingdao-employment-service",
- "condition": {
- "search": {
- "current": -1,
- "list": []
- },
- "conversation": {
- "current": -1,
- "list": []
- },
- "game": {
- "current": -1,
- "list": []
- },
- "miniprogram": {
- "current": -1,
- "list": []
- }
+ "condition": {},
+ "editorSetting": {
+ "tabIndent": "insertSpaces",
+ "tabSize": 2
}
}
\ No newline at end of file
diff --git a/utils/request.js b/utils/request.js
index 4c01086..8e448e6 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -54,7 +54,7 @@ export function request({
err.error = resData
reject(err)
},
- fail: err => reject(err),
+ fail: err => reject(err) ,
complete() {
if (load) {
uni.hideLoading();
@@ -207,6 +207,10 @@ export function myRequest(url, data = {}, method = 'GET', port = 9100, headers =
code,
msg
} = resData.data
+ if(resData.data?.code == undefined){
+ resolve(resData.data)
+ return
+ }
if (code === 200) {
resolve(resData.data)
return
diff --git a/utilsRc/request.js b/utilsRc/request.js
index 47c2ad5..263db68 100644
--- a/utilsRc/request.js
+++ b/utilsRc/request.js
@@ -20,7 +20,7 @@ const request = config => {
if (getToken() && !isToken) {
config.header['Authorization'] = 'Bearer ' + getToken()
}
- config.header['Authorization'] = 'Bearer ' + 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJzeXNfdXNlcjoxIiwicm5TdHIiOiJVMDRocERSZjdZMXJUbUxXb05uOUpzYUdDZzBNazJJQSIsInVzZXJJZCI6MX0.LZ29vvA4tK3b9Hki4nU9Jb1himXZM2AEOue3CMRY95w'
+ config.header['Authorization'] = 'Bearer ' + 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJsb2dpblR5cGUiOiJsb2dpbiIsImxvZ2luSWQiOiJzeXNfdXNlcjoxIiwicm5TdHIiOiI5aW9ycXdMYVp5aXFienBJOXdvVGlYc3R3V0xydkFqWSIsInVzZXJJZCI6MX0.lfsx6tcpSUYYenWmz8T7gsgc8_t1sFNif_e2nOBRRL4'
// get请求映射params参数
if (config.params) {
let url = config.url + '?' + tansParams(config.params)