diff --git a/apiCa/job.js b/apiCa/job.js new file mode 100644 index 0000000..e478386 --- /dev/null +++ b/apiCa/job.js @@ -0,0 +1,11 @@ +import request from '@/utilCa/request.js' + +const api = {} +// 获取职业大类 中类 +api.queryJobDictionaryListByParentCode = (code) => request.globalRequest(`/Job/QueryJobDictionaryListByParentCode?code=${code}`,'GET', {}, 1,3) +// 搜索 +api.queryJobListByParentCode = (name,code) => request.globalRequest(`/Job/QueryJobListByParentCode?name=${name}&code=${code}`,'GET', {}, 1,3) +// 职业详情 +api.queryJobDetailById = (id) => request.globalRequest(`/Job/QueryJobDetailById?id=${id}`,'GET', {}, 2,3) + +export default api diff --git a/apiCa/studentProfile.js b/apiCa/studentProfile.js new file mode 100644 index 0000000..40fe498 --- /dev/null +++ b/apiCa/studentProfile.js @@ -0,0 +1,32 @@ +import request from '@/utilCa/request.js' + +const api = {} +// 获取生涯罗盘 +api.getCareerCompassList = (name) => request.globalRequest(`/StudentProfile/GetCareerCompassList`,'GET', {}, 1) +// 保存生涯罗盘--职业方向 +api.saveGXCareerPlan = (jobId) => request.globalRequest(`/StudentProfile/SaveGXCareerPlan?jobId=${jobId}`,'POST', {}, 1) +// 生涯罗盘--获取职业规划 +api.getGXCareerPlanList = (keyword,page,ps) => request.globalRequest(`/StudentProfile/GetGXCareerPlanList?keyword=${keyword}&page=${page}&ps=${ps}`,'GET', {}, 1) + +// smart目标制定:获取学习目标 +api.querySmartTargets = () => request.globalRequest(`/StudentProfile/QuerySmartTargets`,'GET', {}, 1) +// smart目标制定:获取单个目标 +api.querySmartInfo = (encodeId) => request.globalRequest(`/StudentProfile/QuerySmartInfo?encodeId=${encodeId}`,'GET', {}, 1) +// smart目标制定:保存smart目标 +api.saveSmartTarget = (data) => request.globalRequest(`/StudentProfile/SaveSmartTarget`,'POST', data, 1) +// smart目标制定:删除Smart目标 +api.deleteSmartTarg = (encodeId) => request.globalRequest(`/StudentProfile/DeleteSmartTarg?encodeId=${encodeId}`,'POST', {}, 1) +// smart目标制定:获取年度计划 +api.queryPlanList = (encodeId) => request.globalRequest(`/StudentProfile/QueryPlanList?encodeId=${encodeId}`,'GET', {}, 1) +// smart目标制定:保存年度计划 +api.savePlanList = (data) => request.globalRequest(`/StudentProfile/SavePlanList`,'POST', data, 1) +// 获取生涯档案(高校 +api.getGXWechatStudentProfile = () => request.globalRequest(`/StudentProfile/GetGXWechatStudentProfile`,'GET', {}, 1) + +//获取职业路径职业列表 +api.queryCareerPath = () => request.globalRequest(`/StudentManage/QueryCareerPath`,'POST', {}, 1) +// 获取职业详情,参数encodeId 加密id +api.queryPathInfo = (encodeId) => request.globalRequest(`/StudentManage/QueryPathInfo?encodeId=${encodeId}`,'POST', {}, 1) + + +export default api diff --git a/apiCa/testManage.js b/apiCa/testManage.js new file mode 100644 index 0000000..0050dfe --- /dev/null +++ b/apiCa/testManage.js @@ -0,0 +1,125 @@ +import request from '@/utilCa/request.js' + +const api = {} + +// 检查综合解释是否完成 +api.checkUnionTest = () => request.globalRequest(`/TaskManage/CheckUnionTest`,'GET', {}, 2,5) +api.queryUnionTestResult = () => request.globalRequest(`/Test/QueryUnionTestResult`,'GET', {}, 2,5) + +// 测评列表 +api.queryTaskListForWeChart = (eduLevel) => request.globalRequest(`/TaskManage/QueryTaskListForWeChart?eduLevel=${eduLevel}`,'GET', {}, 2,5) +// 获取测评题目 +api.queryTestContent = (type) => request.globalRequest(`/TaskManage/QueryTestContent?type=${type}`,'GET', {}, 2,5) + +// 保存学科信心测评结果 +api.saveSubjectTest = (testStr) => request.globalRequest(`/TaskManage/SaveSubjectTest?testStr=${testStr}`,'POST', "", 2,5) +// 保存自我评估 +api.saveStudentSscoreResult = (data) => request.globalRequest(`/Test/SaveStudentSscoreResult`,'POST', data, 2,5) +// 保存MBTI +api.saveMBTITest = (data) => request.globalRequest(`/TaskManage/SaveMBTITest`,'POST', data, 2,5) +// 保存工作价值 +api.saveWorkValuesResult = (data) => request.globalRequest(`/TaskManage/SaveWorkValuesResult`,'POST', data, 2,5) +// 保存多元智能 +api.saveMultipleIntelligenceResult = (data) => request.globalRequest(`/TaskManage/SaveMultipleIntelligenceResult`,'POST', data, 2,5) +// 保存人格测评 +api.saveCharacterTestResult = (data) => request.globalRequest(`/TaskManage/SaveCharacterTestResult`,'POST', data, 2,5) +// 保存兴趣测评 +api.saveInterestTestResult = (data) => request.globalRequest(`/TaskManage/SaveInterestTestResult`,'POST', data, 2,5) +// 保存初中测评结果 +api.querySaveTestRecord = (data) => request.globalRequest(`/ResearchStudy/QuerySaveTestRecord`,'POST', data, 1) +// 保存简易测评 +api.saveCustomerTestResult = (data) => request.globalRequest(`/TaskManage/SaveCustomerTestResult`,'POST', data, 2,5) +//保存测评结果(通用能力,多元能力,领导力) +api.saveCustomTestResult = (data) => request.globalRequest(`/TaskManage/SaveCustomTestResult`,'POST', data, 2,5) +//保存结果(学习力相关测评(文本类),图形类(-45:推理能力测评,),(生涯构建)(生涯适应力)) +api.saveStudyCustomTestResult = (data) => request.globalRequest(`/TestManage/SaveStudyCustomTestResult`,'POST', data, 1,0) +//保存结果(学习力:图形类:22:注意力测评,23:记忆力测评,25:场独立-场依存认知风格测评) +api.saveStudyGraphic_TestResult = (data) => request.globalRequest(`/TestManage/SaveStudyGraphic_TestResult`,'POST', data, 1,0) +//保存结果(学习力:图形类:沉思型-冲动型认知风格测评, +api.saveStudyGraphic_DependencyResult = (data) => request.globalRequest(`/TestManage/SaveStudyGraphic_DependencyResult`,'POST', data, 1,0) + + +// 获取自我评估结果 +api.querySubjectScoreResult = () => request.globalRequest(`/TaskManage/QuerySubjectScoreResult`,'GET', {}, 2,5) +// 获取兴趣测评结果 +api.queryInterestTestResult = (year,term,recordId) => request.globalRequest(`/TestManage/QueryInterestTestResult?year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1) +// 获取学科信心结果 +api.querySubjectResult = (year,term,recordId) => request.globalRequest(`/TestManage/QuerySubjectResult?year=${year}&term=${term}&recordId=${recordId}`,'GET', {},1) +// 获取MBTI结果 +api.queryMBTIResult = (year,term,recordId)=> request.globalRequest(`/TestManage/QueryMBTIResult?year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1) +// 获取多元智能结果 +api.multipleIntelligenceResult = (year,term,recordId) => request.globalRequest(`/TestManage/MultipleIntelligenceResult?year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1) +// 获取工作价值结果 +api.workValuesResult = (year,term,recordId) => request.globalRequest(`/TestManage/WorkValuesResult?year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1) +// 获取人格测评结果 +api.personalityTestResult = (year,term,recordId) => request.globalRequest(`/TestManage/PersonalityTestResult?year=${year}&term=${term}&recordId=${recordId}`,'GET', {},1) +// 获取初中兴趣题目 +api.getTestTitle = (testtype) => request.globalRequest(`/ResearchStudy/GetTestTitle?testtype=${testtype}`,'GET', {}, 1) +// 获取初中测评结果 +api.queryJuniorTestRecord = (year,term,recordId) => request.globalRequest(`/ResearchStudy/QueryJuniorTestRecord?year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1) +// 获取简易测评 +api.queryCustomerTestTite = (testtype) => request.globalRequest(`/TaskManage/QueryTestContent?type=${testtype}`,'GET', {}, 2,5) +// 获取简易测评报告 +api.queryPrimaryInterestResult = () => request.globalRequest(`/TaskManage/QueryPrimaryInterestResult`,'GET', {}, 2,5) +// 获取多元智能结果(简版) +api.multipleIntelligenceSimpleResult = () => request.globalRequest(`/Test/MultipleIntelligenceSimpleResult`,'GET', {}, 2,5) +// 获取测评结果(通用能力,多元能力,领导力) +api.queryCustomTestResult = (testType,year,term,recordId) => request.globalRequest(`/TestManage/QueryCustomTestResult?type=${testType}&year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1) +//获取测评结果(生涯构建和学习力相关测评) +api.getStudyCustomTestResult = (testType,year,term,recordId) => request.globalRequest(`/TestManage/GetStudyCustomTestResult?testType=${testType}&year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1,0) +//获取结果时间维度对比(生涯构建和学习力相关测评) +api.getStudyTimeGroupTestResult = (testType,userId,year,term,recordId) => request.globalRequest(`/TestManage/GetStudyTimeGroupTestResult?testType=${testType}&userId=${userId}&year=${year}&term=${term}&recordId=${recordId}`,'GET', {}, 1,0) +//小程序获取时间维度接口(所有生涯测评) +api.getCareerYearAndTermList = (testType) => request.globalRequest(`/TestManage/GetCareerYearAndTermList?testType=${testType}`,'GET', {}, 1,0) + + +//兴趣测评对比数据 +api.getInterestTestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetInterestTestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//人格测评对比数据 +api.getPersonTestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetPersonTestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//多元智能测评对比数据 +api.getMultipleTestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetMultipleTestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//工作价值观测评对比数据 +api.getWorkValuesTestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetWorkValuesTestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//MBTI测评对比数据 +api.getMBTITestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetMBTITestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) + +//学科信心测评对比数据 +api.getSubjectTestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetSubjectTestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) + +//SCL-90对比/领导力数据 +api.getCustomTestGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,typeId,userId,recordId) => request.globalRequest(`/TestManage/GetCustomTestGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&typeId=${typeId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) + +//多元能力测评对比数据 +api.getMultipleAbilityGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetMultipleAbilityGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) + +//通用职业能力测评对比数据 +api.getBeCurrentJobGroupResult = (year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetBeCurrentJobGroupResult?year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) + +//获取学习力测评(文本类)群体维度对比数据,(生涯构建) +api.getStudyTestGroupResult = (typeId,year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetStudyTestGroupResult?typeId=${typeId}&year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//记忆力测评群体维度对比数据 +api.getLearningMemoryGroupResult = (typeId,year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetLearningMemoryGroupResult?typeId=${typeId}&year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//场独立-场依存认知风格测评群体维度对比数据 +api.getLearningUniqueGroupResult = (typeId,year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetLearningUniqueGroupResult?typeId=${typeId}&year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//沉思型-冲动型认知风格测评群体维度对比数据 +api.getLearningDependencyGroupResult = (typeId,year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetLearningDependencyGroupResult?typeId=${typeId}&year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//学习力(图形类)测评群体维度对比数据(22:注意力测评,-45:推理能力测评) +api.getGraphic_TestGroupResult = (typeId,year,term,schoolId,gradeId,classId,sex,departId,userId,recordId) => request.globalRequest(`/TestManage/GetGraphic_TestGroupResult?typeId=${typeId}&year=${year}&term=${term}&schoolId=${schoolId}&gradeid=${gradeId}&classid=${classId}&sex=${sex}&departId=${departId}&userId=${userId}&recordId=${recordId}`,'GET', {}, 1,0) +//获取测评分类标签 +api.getTestTypeTagLIst = () => request.globalRequest(`/TestManage/GetTestTypeTagLIst`,'GET', {}, 1) + +//获取测评报告日期列表 +api.getCareerYearAndTermListNew = (testType,userId) => request.globalRequest(`/TestManage/GetCareerYearAndTermListNew?testType=${testType}&userId=${userId}`,'GET', {}, 1) + +// 保存测评答题过程记录 +api.saveTestRecordProcess = (data) => request.globalRequest(`/TestRecordProcess/SaveTestRecordProcess`,'POST', data, 1) +//获取测评答题记录 +api.getTestRecordProcessList = (testType) => request.globalRequest(`/TestRecordProcess/GetTestRecordProcessList?testType=${testType}`,'GET', {}, 1) +// 删除测评数据 +api.removeTestRecordProcess = (testType) => request.globalRequest(`/TestRecordProcess/RemoveTestRecordProcess?testType=${testType}`,'POST', {}, 1) +// 获取测评列表答题记录状态 +api.getUserTestTypeProcessList = (testTypes) => request.globalRequest(`/TestRecordProcess/GetUserTestTypeProcessList?testTypes=${testTypes}`,'GET', {}, 1) + + +export default api diff --git a/apiCa/user.js b/apiCa/user.js new file mode 100644 index 0000000..7f8b87b --- /dev/null +++ b/apiCa/user.js @@ -0,0 +1,78 @@ +import request from '@/utilCa/request.js' + +const api = {} + +//根据openId,获取token,并判断用户是否已绑定账号 +api.queryKaShiToken = (userId,name) => request.globalRequest(`/KaShi/QueryKaShiToken?userId=${userId}&name=${name}&schoolId=2268`,'GET', {}) + +//根据openId,获取token,并判断用户是否已绑定账号 +api.getAccessTokenAndUser = (params) => request.globalRequest(`/WeChartToken/GetAccessTokenAndUser?openId=${params}`,'GET', {}) + +//获取用户token 生涯平台token +api.queryWechartToken = (userId,schoolId,userType) => request.globalRequest(`/Auth/QueryWechartToken?userId=${userId}&schoolId=${schoolId}&userType=${userType}`,'GET', {},1,4) +// 获取openid +api.getOpenId = (params) => request.globalRequest(`/WishOrder/GetOpenId?code=${params}`,'GET', {}, "") + +// 微信支付 +api.createWeiXinOrder = (data) => request.globalRequest(`/TenpayOrder/CreateWeiXinOrder`, 'POST', data) + +// 用户绑定登录 +api.userBindLogin = (data) => request.globalRequest(`/user/UserBindLogin`, 'POST', data) +//用户解绑账号或切换账号(有返回User, Token话,前端重新绑定到header上) +api.userUnBindOrChangeCodeNumber = (userId,type) => request.globalRequest(`/user/UserUnBindOrChangeCodeNumber?userId=${userId}&type=${type}`,'GET', {}, 1) +//获取当前微信用户已绑定的账号列表 +api.getUserCodeNumber = () => request.globalRequest(`/user/GetUserCodeNumber`,'GET', {}, 1) +//根据学号获取学校列表 +api.getSchoolByCodeNumber = (params) => request.globalRequest(`/user/GetSchoolByCodeNumber?codeNumber=${params}`,'GET', {}, 1) + +// 判断学生是否完成生涯成熟度问卷, taskId大于0,需要进行问卷,taskId 等于0,不需要问卷 +// api.getQuestionnaireTitlePower = () => request.globalRequest(`/CareerMaturityTask/GetQuestionnaireTitlePower`,'GET', {}, 1) +// 获取生涯成熟度题目 +// api.getTestTitleListList = () => request.globalRequest(`/CareerMaturityTask/GetTestTitleListList`,'GET', {}, 1) +// 保存生涯成熟度测评结果 +// api.saveCareerMaturityTestResult = (data) => request.globalRequest(`/CareerMaturityTask/SaveCareerMaturityTestResult`, 'POST', data, 1) + +// 获取手机验证码 +api.getMobileCode = (mobile) => request.globalRequest(`/WeChartUser/GetMobileCode?mobile=${mobile}&token=SQEIfNmlFufmOMNVPZCvNVWpDeldYjH`,'GET', {}, 1) +// 提交手机注册 +api.checkSmsCode = (data) => request.globalRequest(`/user/CheckSmsCode`, 'POST', data, 1) + +// 获取个人档案 +api.queryStudentProfile = () => request.globalRequest(`/StudentResource/QueryStudentProfile`,'GET', {}, 2,4) +// 添加,取消个人意向 +api.doIntention = (type,id,actionType) => request.globalRequest(`/StudentResource/DoIntention?type=${type}&actionType=${actionType}&id=${id}`,'GET', {}, 2,4) +//绑vip卡 +api.bindCard = (data) => request.globalRequest(`/user/BindCard`,'POST', data, 1) + +// 一体机激活 绑定 获取列表 +api.queryMachineOrderCountList = (machineNumber) => request.globalRequest(`/Onemachine/QueryMachineOrderCountList?machineNumber=${machineNumber}`,'GET', {}, 1) +// 绑定设备 +api.activityMachine = (data) => request.globalRequest(`/Onemachine/ActivityMachine`,'POST', data, 1) +// 解绑 +api.removeMachine = (orderId,machineModelId,machineNumber) => request.globalRequest(`/Onemachine/RemoveMachine?orderId=${orderId}&machineModelId=${machineModelId}&machineNumber=${machineNumber}`,'POST', {}, 1) + +// ai咨询问题 +api.aISearch = (keyword,sessionId) => request.globalRequest(`/AIAgents/search?keyword=${keyword}&sessionId=${sessionId}`,'GET', {}, 1) +// ai获取历史咨询 +api.aIGetHistoryRecord = (page) => request.globalRequest(`/AIAgents/GetHistoryRecord?page=${page}&pageSize=20`,'GET', {}, 1) + +// 保存人脸图片 +api.queryUploadPhoto = (address) => request.globalRequest(`/user/QueryUploadPhoto?address=${address}`,'GET', {}, 1) + +// 保存操作日志 +api.saveUserOperationLog = (data) => request.globalRequest(`/UserOperationLog/SaveUserOperationLog`,'POST', data, 3) + +// 获取操作日志 +api.getUserOperationLogList = (pageIndex,pageSize,keyword,operationType) => request.globalRequest(`/UserOperationLog/GetUserOperationLogList?pageIndex=${pageIndex}&pageSize=${pageSize}&keyword=${keyword}&operationType=${operationType}`,'GET', {}, 1) +// 设备登录 +api.loginOneMachine = (machineNo) => request.globalRequest(`/user/LoginOneMachine?machineNo=${machineNo}`,'POST', {}, 1) +// 获取系统菜单权限 +api.querySchoolMenu = () => request.globalRequest(`/user/QuerySchoolMenu`,'GET', {}, 1) + +// 保存高校个人信息 +api.saveUserBasisInfo = (mobileCode,data) => request.globalRequest(`/user/SaveUserBasisInfo?mobileCode=${mobileCode}`,'POST', data, 1) + +// 获取高校个人信息 +api.getUserBasisInfo = () => request.globalRequest(`/user/GetUserBasisInfo`,'GET', {}, 1) +export default api + diff --git a/apiRc/needs/person.js b/apiRc/needs/person.js index 2297a97..6255d80 100644 --- a/apiRc/needs/person.js +++ b/apiRc/needs/person.js @@ -1,7 +1,7 @@ /* * @Date: 2025-10-31 11:06:15 - * @LastEditors: lip - * @LastEditTime: 2025-11-03 12:48:30 + * @LastEditors: shirlwang + * @LastEditTime: 2025-11-05 15:33:21 */ // 人员接口 // import { post, get } from '@/utilsRc/request' @@ -27,7 +27,7 @@ export function getPersonList(params) { export function addInvestigate(data) { return request({ // url: '//process/processInterview', - url: '//timelime/timelime', + url: '/timelime/timelime', method: 'post', data: data }) diff --git a/apiRc/personinfo/index.js b/apiRc/personinfo/index.js index 29af896..2aa1a9b 100644 --- a/apiRc/personinfo/index.js +++ b/apiRc/personinfo/index.js @@ -2,7 +2,7 @@ * @Descripttion: * @Author: lip * @Date: 2025-11-03 12:35:56 - * @LastEditors: lip + * @LastEditors: shirlwang */ // import { post, get } from '../../utils/request.js' import request from '@/utilsRc/request' @@ -28,14 +28,14 @@ export function personAlertList(params) { export function getJbrInfo() { return request({ method: 'get', - url: `system/center/user/selectHxjbr`, + url: `/system/center/user/selectHxjbr`, method: 'get' }) } export function getPersonBase() { return request({ method: 'get', - url: `system/center/user/selectHxjbr`, + url: `/system/center/user/selectHxjbr`, method: 'get' }) } diff --git a/apiRc/timeLine/index.js b/apiRc/timeLine/index.js new file mode 100644 index 0000000..b3e4596 --- /dev/null +++ b/apiRc/timeLine/index.js @@ -0,0 +1,26 @@ +import request from '@/utilsRc/request' + +// 查询时间轴列表 +export function timelineList(params) { + return request({ + url: '/timelime/timelime/timeline', + method: 'get', + params + }) +} + +// 查询时间轴详情列表 +export function timeList(params) { + return request({ + url: '/timelime/timelime/list', + method: 'get', + params + }) +} +//获取时间轴详细信息 +export function timeDetails(id) { + return request({ + url: '/timelime/timelime/' + id, + method: 'get' + }) +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index a04b5bf..be866e3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,4 @@ { - "name": "ks-app-employment-service", - "lockfileVersion": 2, "requires": true, "packages": { "": { @@ -27,8 +25,9 @@ }, "node_modules/sm-crypto": { "version": "0.3.13", - "resolved": "https://registry.npmjs.org/sm-crypto/-/sm-crypto-0.3.13.tgz", + "resolved": "https://registry.npmmirror.com/sm-crypto/-/sm-crypto-0.3.13.tgz", "integrity": "sha512-ztNF+pZq6viCPMA1A6KKu3bgpkmYti5avykRHbcFIdSipFdkVmfUw2CnpM2kBJyppIalqvczLNM3wR8OQ0pT5w==", + "license": "MIT", "dependencies": { "jsbn": "^1.1.0" } @@ -52,7 +51,7 @@ }, "sm-crypto": { "version": "0.3.13", - "resolved": "https://registry.npmjs.org/sm-crypto/-/sm-crypto-0.3.13.tgz", + "resolved": "https://registry.npmmirror.com/sm-crypto/-/sm-crypto-0.3.13.tgz", "integrity": "sha512-ztNF+pZq6viCPMA1A6KKu3bgpkmYti5avykRHbcFIdSipFdkVmfUw2CnpM2kBJyppIalqvczLNM3wR8OQ0pT5w==", "requires": { "jsbn": "^1.1.0" diff --git a/packageA/pages/UnitDetails/UnitDetails.vue b/packageA/pages/UnitDetails/UnitDetails.vue index c11cc7d..61eba48 100644 --- a/packageA/pages/UnitDetails/UnitDetails.vue +++ b/packageA/pages/UnitDetails/UnitDetails.vue @@ -21,15 +21,25 @@ {{ companyInfo?.companyName }} - - {{ companyInfo?.scale }} + + +  ·  + 公司介绍 {{ - companyInfo.companyIntroduction + companyInfo.description }} @@ -46,32 +56,39 @@ 在招职位 @@ -90,7 +107,7 @@ import config from "@/config.js"; import { storeToRefs } from "pinia"; import useLocationStore from "@/stores/useLocationStore"; const { longitudeVal, latitudeVal } = storeToRefs(useLocationStore()); -const { $api, navTo, vacanciesTo, navBack } = inject("globalFunction"); +const { $api, navTo, vacanciesTo, navBack, parseQueryParams } = inject("globalFunction"); const isExpanded = ref(false); const pageState = reactive({ page: 0, @@ -101,9 +118,16 @@ const pageState = reactive({ }); const companyInfo = ref({ jobInfoList: [], + companyName: '', + scale: '', + industry: '', + description: '', + isCollection: false }); const baseUrl = config.imgBaseUrl; +const companyIdRef = ref(null); + const getItemBackgroundStyle = (imageName) => ({ backgroundImage: `url(${baseUrl}/jobfair/${imageName})`, backgroundSize: "100% 100%", // 覆盖整个容器 @@ -111,14 +135,167 @@ const getItemBackgroundStyle = (imageName) => ({ backgroundRepeat: "no-repeat", }); +// 获取公司详情 +function getCompanyDetail(companyId) { + if (!companyId) { + console.error('companyId 不能为空'); + return; + } + + // 尝试获取公司详情,如果接口不存在,可能公司详情会包含在职位数据中 + $api.createRequest(`/app/company/${companyId}`).then((resData) => { + if (resData && resData.data) { + const data = resData.data; + companyInfo.value = { + ...companyInfo.value, + ...data, + companyName: data.name || data.companyName || data.company?.name || '', + scale: data.scale || data.company?.scale || '', + industry: data.industry || data.company?.industry || '', + description: data.description || data.companyIntroduction || data.introduction || data.company?.introduction || '', + isCollection: data.isCollection || false, + // 如果接口直接返回了职位列表,也设置进去 + jobInfoList: data.jobInfoList || data.jobs || data.list || companyInfo.value.jobInfoList || [] + }; + console.log('companyInfo',companyInfo.value); + } + // 获取在招职位列表 + getCompanyJobs(companyId); + }).catch((error) => { + console.error('获取公司详情失败:', error); + // 如果获取公司详情失败,尝试通过职位列表接口获取公司信息 + // 或者直接获取职位列表 + getCompanyJobs(companyId); + }); +} + +// 获取公司在招职位列表 +function getCompanyJobs(companyId) { + if (!companyId) { + return; + } + + // 使用正确的 API 路径:/app/company/job/{companyId} + $api.createRequest(`/app/company/job/${companyId}`, {}, 'GET').then((resData) => { + console.log('获取职位列表返回数据:', resData); + if (resData) { + // 优先检查 rows 字段(根据实际返回的数据结构) + if (resData.rows && Array.isArray(resData.rows)) { + companyInfo.value.jobInfoList = resData.rows; + } + // 如果返回的是数组 + else if (Array.isArray(resData)) { + companyInfo.value.jobInfoList = resData; + } + // 如果返回的是对象,包含列表字段 + else if (resData.data) { + if (Array.isArray(resData.data)) { + companyInfo.value.jobInfoList = resData.data; + } else if (resData.data.rows && Array.isArray(resData.data.rows)) { + companyInfo.value.jobInfoList = resData.data.rows; + } else if (resData.data.list && Array.isArray(resData.data.list)) { + companyInfo.value.jobInfoList = resData.data.list; + } else if (resData.data.jobInfoList && Array.isArray(resData.data.jobInfoList)) { + companyInfo.value.jobInfoList = resData.data.jobInfoList; + } else { + companyInfo.value.jobInfoList = []; + } + } else { + companyInfo.value.jobInfoList = []; + } + } else { + companyInfo.value.jobInfoList = []; + } + }).catch((error) => { + console.error('获取在招职位列表失败:', error); + companyInfo.value.jobInfoList = []; + }); +} + onLoad((options) => { - companyInfo.value = JSON.parse(options.job); - console.log(companyInfo.value, "companyInfo.value"); + console.log('options',options); + let companyId = null; + + // 优先从 options 中获取 companyId(小程序和 H5 都支持) + if (options && options.companyId) { + companyId = decodeURIComponent(options.companyId); + } + // 如果 options 中没有,尝试从 URL 解析(仅 H5 环境) + else { + // 使用 try-catch 包裹,避免在小程序环境中访问 window.location 报错 + try { + // #ifdef H5 + const params = parseQueryParams(); + companyId = params.companyId; + // #endif + } catch (e) { + console.warn('解析 URL 参数失败:', e); + } + } + + console.log('companyId', companyId); + + if (companyId) { + companyIdRef.value = companyId; + getCompanyDetail(companyId); + } else { + console.error('未获取到 companyId 参数'); + // 如果参数名是 job,尝试兼容旧的方式 + if (options && options.job) { + try { + const parsedData = JSON.parse(options.job); + if (parsedData.companyId) { + companyIdRef.value = parsedData.companyId; + getCompanyDetail(parsedData.companyId); + } else { + companyInfo.value = { ...companyInfo.value, ...parsedData }; + } + } catch (e) { + console.error('解析 job 参数失败:', e); + } + } + } +}); + +onShow(() => { + // 仅在 H5 环境中从 URL 获取参数(小程序环境中 onShow 不会传递 URL 参数) + // #ifdef H5 + try { + const params = parseQueryParams(); + const companyId = params.companyId; + + if (companyId && companyId !== companyIdRef.value) { + companyIdRef.value = companyId; + getCompanyDetail(companyId); + } + } catch (e) { + console.warn('onShow 中解析 URL 参数失败:', e); + } + // #endif }); function expand() { isExpanded.value = !isExpanded.value; } + +// 格式化薪资范围 +function formatSalary(minSalary, maxSalary) { + if (minSalary && maxSalary) { + return `${minSalary}-${maxSalary}`; + } else if (minSalary) { + return `${minSalary}起`; + } else if (maxSalary) { + return `最高${maxSalary}`; + } + return '面议'; +} + +// 截断文本,超过指定长度显示省略号 +function truncateText(text, maxLength) { + if (!text) return ''; + if (text.length <= maxLength) return text; + return text.substring(0, maxLength) + '...'; +} + \ No newline at end of file diff --git a/packageCa/job/index.vue b/packageCa/job/index.vue new file mode 100644 index 0000000..bf2caf4 --- /dev/null +++ b/packageCa/job/index.vue @@ -0,0 +1,566 @@ + + + + + \ No newline at end of file diff --git a/packageCa/job/jobList.json b/packageCa/job/jobList.json new file mode 100644 index 0000000..76e56d7 --- /dev/null +++ b/packageCa/job/jobList.json @@ -0,0 +1,284 @@ +[ + { + "Name": "党的机关、国家机关、群众团体和社会组织、企事业单位负责人", + "Code": 1, + "SubList": [{ + "Name": "中国共产党机关负责人", + "Code": "1-01" + }, { + "Name": "国家机关负责人", + "Code": "1-02" + }, { + "Name": "民主党派和工商联负责人", + "Code": "1-03" + }, { + "Name": "人民团体和群众团体、社会组织及其他成员组织负责人", + "Code": "1-04" + }, { + "Name": "基层群众自治组织负责人", + "Code": "1-05" + }, { + "Name": "企事业单位负责人", + "Code": "1-06" + }] + }, + { + "Name": "专业技术人员", + "Code": 2, + "SubList": [{ + "Name": "科学研究人员", + "Code": "2-01" + }, { + "Name": "工程技术人员", + "Code": "2-02" + }, { + "Name": "农业技术人员", + "Code": "2-03" + }, { + "Name": "飞机和船舶技术人员", + "Code": "2-04" + }, { + "Name": "卫生专业技术人员", + "Code": "2-05" + }, { + "Name": "经济和金融专业人员", + "Code": "2-06" + }, { + "Name": "监察、法律、社会和宗教专业人员", + "Code": "2-07" + }, { + "Name": "教学人员", + "Code": "2-08" + }, { + "Name": "文学艺术、体育专业人员", + "Code": "2-09" + }, { + "Name": "新闻出版、文化专业人员", + "Code": "2-10" + }, { + "Name": "其他专业技术人员", + "Code": "2-11" + }] + }, + { + "Name": "办事人员和有关人员", + "Code": 3, + "SubList": [{ + "Name": "行政办事及辅助人员", + "Code": "3-01" + }, { + "Name": "安全和消防及辅助人员", + "Code": "3-02" + }, { + "Name": "法律事务及辅助人员", + "Code": "3-03" + }, { + "Name": "其他办事人员和有关人员", + "Code": "3-04" + }] + }, + { + "Name": "社会生产服务和生活服务人员", + "Code": 4, + "SubList": [{ + "Name": "批发与零售服务人员", + "Code": "4-01" + }, { + "Name": "交通运输、仓储物流和邮政业服务人员", + "Code": "4-02" + }, { + "Name": "住宿和餐饮服务人员", + "Code": "4-03" + }, { + "Name": "信息传输、软件和信息技术服务人员", + "Code": "4-04" + }, { + "Name": "金融服务人员", + "Code": "4-05" + }, { + "Name": "房地产服务人员", + "Code": "4-06" + }, { + "Name": "租赁和商务服务人员", + "Code": "4-07" + }, { + "Name": "技术辅助服务人员", + "Code": "4-08" + }, { + "Name": "水利、环境和公共设施管理服务人员", + "Code": "4-09" + }, { + "Name": "居民服务人员", + "Code": "4-10" + }, { + "Name": "电力、燃气及水供应服务人员", + "Code": "4-11" + }, { + "Name": "修理及制作服务人员", + "Code": "4-12" + }, { + "Name": "文化和教育服务人员", + "Code": "4-13" + }, { + "Name": "健康、体育和休闲服务人员", + "Code": "4-14" + }, { + "Name": "其他社会生产服务和生活服务人员", + "Code": "4-15" + }] + }, + { + "Name": "农、林、牧、渔业生产及辅助人员", + "Code": 5, + "SubList": [{ + "Name": "农业生产人员", + "Code": "5-01" + }, { + "Name": "林业生产人员", + "Code": "5-02" + }, + { + "Name": "畜牧业生产人员", + "Code": "5-03" + }, + { + "Name": "渔业生产人员", + "Code": "5-04" + }, + { + "Name": "农、林、牧、渔业生产辅助人员", + "Code": "5-05" + }, { + "Name": "其他农、林、牧、渔业生产及辅助人员", + "Code": "5-06" + } + ] + }, + { + "Name": "生产制造及有关人员", + "Code": 6, + "SubList": [{ + "Name": "农副产品加工人员", + "Code": "6-01" + },{ + "Name": "食品、饮料生产加工人员", + "Code": "6-02" + },{ + "Name": "烟草及其制品加工人员", + "Code": "6-03" + },{ + "Name": "纺织、针织、印染人员", + "Code": "6-04" + },{ + "Name": "纺织品、服装和皮革、毛皮制品加工制作人员", + "Code": "6-05" + },{ + "Name": "木材加工、家具与木制品制作人员", + "Code": "6-06" + },{ + "Name": "纸及纸制品生产加工人员", + "Code": "6-07" + },{ + "Name": "印刷和记录媒介复制人员", + "Code": "6-08" + },{ + "Name": "文教、工美、体育和娱乐用品制造人员", + "Code": "6-09" + },{ + "Name": "石油加工和炼焦、煤化工生产人员", + "Code": "6-10" + },{ + "Name": "化学原料和化学制品制造人员", + "Code": "6-11" + },{ + "Name": "医药制造人员", + "Code": "6-12" + },{ + "Name": "化学纤维制造人员", + "Code": "6-13" + },{ + "Name": "橡胶和塑料制品制造人员", + "Code": "6-14" + },{ + "Name": "非金属矿物制品制造人员", + "Code": "6-15" + },{ + "Name": "采矿人员", + "Code": "6-16" + },{ + "Name": "金属冶炼和压延加工人员", + "Code": "6-17" + },{ + "Name": "机械制造基础加工人员", + "Code": "6-18" + },{ + "Name": "金属制品制造人员", + "Code": "6-19" + },{ + "Name": "通用设备制造人员", + "Code": "6-20" + },{ + "Name": "专用设备制造人员", + "Code": "6-21" + },{ + "Name": "汽车制造人员", + "Code": "6-22" + },{ + "Name": "铁路、船舶、航空设备制造人员", + "Code": "6-23" + },{ + "Name": "电气机械和器材制造人员", + "Code": "6-24" + },{ + "Name": "计算机、通信和其他电子设备制造人员", + "Code": "6-25" + },{ + "Name": "仪器仪表制造人员", + "Code": "6-26" + },{ + "Name": "再生资源综合利用人员", + "Code": "6-27" + },{ + "Name": "电力、热力、气体、水生产和输配人员", + "Code": "6-28" + },{ + "Name": "建筑施工人员", + "Code": "6-29" + },{ + "Name": "运输设备和通用工程机械操作人员及有关人员", + "Code": "6-30" + },{ + "Name": "生产辅助人员", + "Code": "6-31" + },{ + "Name": "其他生产制造及有关人员", + "Code": "6-32" + }] + }, + { + "Name": "军队人员", + "Code": 7, + "SubList": [{ + "Name": "军官 (警官)", + "Code": "7-01" + }, { + "Name": "军士 (警士)", + "Code": "7-02" + }, { + "Name": "义务兵", + "Code": "7-03" + }, { + "Name": "文职人员", + "Code": "7-04" + }] + }, + { + "Name": "不便分类的其他从业人员", + "Code": 8, + "SubList": [{ + "Name": "不便分类的其他从业人员", + "Code": "8-01" + }] + } +] + diff --git a/packageCa/job/midList.vue b/packageCa/job/midList.vue new file mode 100644 index 0000000..0db64c3 --- /dev/null +++ b/packageCa/job/midList.vue @@ -0,0 +1,275 @@ + + + + + + \ No newline at end of file diff --git a/packageCa/job/smallList.vue b/packageCa/job/smallList.vue new file mode 100644 index 0000000..f1dcb56 --- /dev/null +++ b/packageCa/job/smallList.vue @@ -0,0 +1,272 @@ + + + + + + \ No newline at end of file diff --git a/packageCa/pagesTest/customTestTitle.vue b/packageCa/pagesTest/customTestTitle.vue new file mode 100644 index 0000000..98f8ba5 --- /dev/null +++ b/packageCa/pagesTest/customTestTitle.vue @@ -0,0 +1,511 @@ + + + + + \ No newline at end of file diff --git a/packageCa/pagesTest/interestTestTitle.vue b/packageCa/pagesTest/interestTestTitle.vue new file mode 100644 index 0000000..0ee12ac --- /dev/null +++ b/packageCa/pagesTest/interestTestTitle.vue @@ -0,0 +1,503 @@ + + + \ No newline at end of file diff --git a/packageCa/pagesTest/personalTestTitle.vue b/packageCa/pagesTest/personalTestTitle.vue new file mode 100644 index 0000000..2648cc4 --- /dev/null +++ b/packageCa/pagesTest/personalTestTitle.vue @@ -0,0 +1,419 @@ + + + + + diff --git a/packageCa/pagesTest/testList.vue b/packageCa/pagesTest/testList.vue new file mode 100644 index 0000000..49d3fc2 --- /dev/null +++ b/packageCa/pagesTest/testList.vue @@ -0,0 +1,942 @@ + + + + + \ No newline at end of file diff --git a/packageCa/pagesTest/workValuesTestTitle.vue b/packageCa/pagesTest/workValuesTestTitle.vue new file mode 100644 index 0000000..1a0e6ff --- /dev/null +++ b/packageCa/pagesTest/workValuesTestTitle.vue @@ -0,0 +1,387 @@ + + + + + diff --git a/packageCa/search/search.vue b/packageCa/search/search.vue new file mode 100644 index 0000000..83f8958 --- /dev/null +++ b/packageCa/search/search.vue @@ -0,0 +1,649 @@ + + + + + diff --git a/packageCa/testReport/chartOpts.js b/packageCa/testReport/chartOpts.js new file mode 100644 index 0000000..c7bed36 --- /dev/null +++ b/packageCa/testReport/chartOpts.js @@ -0,0 +1,32 @@ +let opts = { + color: ["#1677ff"], + padding: [15,10,0,10], + enableScroll: false, + xAxis: { + disableGrid: true, + axisLineColor: "#EEEEEE", + }, + legend: { + show: false, + }, + yAxis: { + gridType: "dash", + dashLength: 2, + showTitle: true, + gridColor: "#EEEEEE", + data: [{ + max: 5, + min: 0, + axisLine: false, + title: "等级" + }] + }, + extra: { + line: { + type: "straight", + width: 3, + activeType: "hollow" + } + } +} +export default opts \ No newline at end of file diff --git a/packageCa/testReport/components/contrastBox.vue b/packageCa/testReport/components/contrastBox.vue new file mode 100644 index 0000000..8c42f56 --- /dev/null +++ b/packageCa/testReport/components/contrastBox.vue @@ -0,0 +1,693 @@ + + + + \ No newline at end of file diff --git a/packageCa/testReport/components/testHead.vue b/packageCa/testReport/components/testHead.vue new file mode 100644 index 0000000..6e302ac --- /dev/null +++ b/packageCa/testReport/components/testHead.vue @@ -0,0 +1,213 @@ + + + + + \ No newline at end of file diff --git a/packageCa/testReport/generalCareerTestReport.vue b/packageCa/testReport/generalCareerTestReport.vue new file mode 100644 index 0000000..f0a3387 --- /dev/null +++ b/packageCa/testReport/generalCareerTestReport.vue @@ -0,0 +1,767 @@ + + + + + \ No newline at end of file diff --git a/packageCa/testReport/interestTestReport.vue b/packageCa/testReport/interestTestReport.vue new file mode 100644 index 0000000..114aa4a --- /dev/null +++ b/packageCa/testReport/interestTestReport.vue @@ -0,0 +1,1243 @@ + + + + + \ No newline at end of file diff --git a/packageCa/testReport/multipleAbilityData.json b/packageCa/testReport/multipleAbilityData.json new file mode 100644 index 0000000..f22bb90 --- /dev/null +++ b/packageCa/testReport/multipleAbilityData.json @@ -0,0 +1,147 @@ +[ + { + "Name": "阅读理解", + "Desc": "阅读各类书籍文章。书写摘要。参加读书会讨论分享。将所读转换为简报、图画或影音。学好国文、英文。", + "Point": "我能从文章中了解其想表达的讯息或意涵,或能产生自己的观点。" + }, + { + "Name": "口语辨识", + "Desc": "练习组织笔记。观察别人发言、专心听讲。看无字幕影片写摘要。", + "Point": "我能听懂别人口语的讯息,并实时反应。" + }, + { + "Name": "口语表达", + "Desc": "掌握上台表达机会,观察别人讲话,参加演讲、辩论等活动,录像录音纪录增进表达技巧。", + "Point": "我能用口语清晰流畅的表达思想和情感。" + }, + { + "Name": "写作表达", + "Desc": "撰写文章并投稿。为课业成果多写心得反思。写手帐。参加作文或写作比赛。参加校刊社或写作社团。", + "Point": "我能写出文意通顺、逻辑清晰的文章。" + }, + { + "Name": "外语能力", + "Desc": "参加英语话剧或演讲比赛。阅读英文小说或看网络新闻。多听唱外国歌曲。用英文与同学交谈。参加交换学生。", + "Point": "我的英文能力听说读写都很好。" + }, + { + "Name": "计算能力", + "Desc": "学好数学、练习口算加减乘除、常常练习计算题。", + "Point": "我能快速的使用加减乘除运算出正确结果。" + }, + { + "Name": "逻辑推理", + "Desc": "学好数理化。讨论一个主题的定义、辩论对立、如何解释。撰写分析报告。", + "Point": "我能依据讯息或事情发展的趋势,归纳推理出合理的答案。" + }, + { + "Name": "数学推理", + "Desc": "学好数学与统计。尝试分析资料。", + "Point": "我能选择正确的数学方法或公式来解决问题。" + }, + { + "Name": "空间定向", + "Desc": "学好空间几何。观察实物或画立体图。了解图形的移动、分解与组合。平面与立体的转换。绘制学校小区地图。", + "Point": "我擅于观察空间方位,想象物体在不同方位的旋转样貌。" + }, + { + "Name": "机械推理", + "Desc": "学好物理。各种工程师都需要机械推理能力。浏览在线机械开放课程。修理脚踏车或小家电。参加铁道迷社团。", + "Point": "我能了解机械与电子设备的运作方式,且能组装、调整或修理。" + }, + { + "Name": "科学能力", + "Desc": "参与科展。参加科学营队或社团。关注科技发展。阅览科学网站或书籍。", + "Point": "我能运用科学规则和方法来解决问题。" + }, + { + "Name": "操作控制", + "Desc": "学会骑脚踏车、动手完成生活科技作品、遥控无人机、控制机器手臂、使用电子绘图板。", + "Point": "我的手臂稳定、敏捷,能控制机器或车辆到精确位置,且对信号快速反应。" + }, + { + "Name": "近观细察", + "Desc": "学习从顺序观察法、分步观察法、角度观察法去观察生活用品、科学实验,学会用书写或绘图来记录观察。", + "Point": "能够近距离看到细节。" + }, + { + "Name": "程序设计", + "Desc": "参加基础信息相关课程,学习程序语言。参加大学信息营队。参观信息展览。", + "Point": "我会撰写计算机程序来解决学习或工作上的需要。" + }, + { + "Name": "信息运用", + "Desc": "熟悉计算机软件操作,如文字处理和电子表格、影音剪辑、图像处理软件。参加信息检索竞赛。善用网络找数据。", + "Point": "我很能学习与使用新的软件或APP来解决问题。" + }, + { + "Name": "排序分类", + "Desc": "凡举科学实验、工程、会计财金、统计精算等专业,皆需要排序分类的能力。整理书籍讲义与考卷。", + "Point": "我能将数据或物品排列顺序,或将其分门别类。" + }, + { + "Name": "自然观察", + "Desc": "体验室外攀岩活动、参加童军社或是野外踏青社团。饲养昆虫或植物并记录。探访动物园、牧场或海洋博物馆。", + "Point": "我乐于欣赏自然现象,能分辨动植物差异,并探讨现象原因。" + }, + { + "Name": "养育照护", + "Desc": "参与呼吸急救课程。研究疾病传播的过程。观察与照顾小动物。学好生物课程。多关注营养保健信息。", + "Point": "我对需要照顾的人或小动物能提供妥善的照顾。" + }, + { + "Name": "助人服务", + "Desc": "参加慈善社团或活动。阅览与心理社会相关书籍或网站。参加服务性质志工。到餐饮业或休闲园区实习。", + "Point": "我会主动服务他人,帮助他们解决问题。" + }, + { + "Name": "说服推广", + "Desc": "参加辩论社或比赛。加入广播社练习推广。在社团练习组织、筹备、规划宣传等工作。练习撰写营销活动企划。", + "Point": "我善于说服他人采纳我的意见或理念。" + }, + { + "Name": "合作协调", + "Desc": "担任班级或社团干部。参与分工合作的团体任务。担任活动队长。练习分析问题。参加暑期实习生或志工。", + "Point": "我能掌握细节、依规则有系统地安排事情或分工,并完成任务。" + }, + { + "Name": "社会觉察", + "Desc": "走访社会服务机构或公益组织,如赡养中心、NGO机构。分析社会环境对人的影响。对社会时事发表自身观点。", + "Point": "我能观察出生活周边的变化、发生事情及其原因。" + }, + { + "Name": "教学培训", + "Desc": "协助同学解决学习困难,设计学习活动活动,担任课辅小老师,观察老师的教学方法。", + "Point": "我能观察出生活周边的变化、发生事情及其原因。" + }, + { + "Name": "美感鉴赏", + "Desc": "常与同学讨论作品,练习表达自己的想法,培养赏析能力。观看艺术相关专业的影片,多逛逛博物馆与画廊。", + "Point": "我能运用色彩、质感、和结构,来品鉴与沟通东西的质量。" + }, + { + "Name": "绘图设计", + "Desc": "提升素描能力,透过各种可素材或载体练习并完成素描、绘画、插画、摄影、影片、海报等。", + "Point": "我能运用素描色彩图样来表达我的风格意念。" + }, + { + "Name": "创作力", + "Desc": "累积作品量,阅读创意大师的创作生涯,多逛逛博物馆与画廊,观看艺术相关专业的影片。", + "Point": "能提出不寻常或聪明想法,创造方法解决问题。" + }, + { + "Name": "表演能力", + "Desc": "选修表演艺术课程。参加戏剧表演或社团。现场欣赏话剧演出。", + "Point": "我能在舞台或传播媒体上表演戏剧、歌唱或舞蹈。" + }, + { + "Name": "音乐能力", + "Desc": "加入学校的乐团或合唱团。时常听不同曲风的音乐。参加音乐表演或竞赛。多练习乐器演奏。多欣赏音乐表演。", + "Point": "我对音乐具有音感、节奏、表演或创作的能力。" + }, + { + "Name": "肢体协调", + "Desc": "培养运动的习惯。体验不同运动。参加运动或舞蹈社团。自主身体保养与维护。观看运动赛事。", + "Point": "我的身体强韧,有耐力,灵活,平衡感良好,协调性佳。" + } +] \ No newline at end of file diff --git a/packageCa/testReport/multipleAbilityTestReport.vue b/packageCa/testReport/multipleAbilityTestReport.vue new file mode 100644 index 0000000..54f773c --- /dev/null +++ b/packageCa/testReport/multipleAbilityTestReport.vue @@ -0,0 +1,855 @@ + + + + + \ No newline at end of file diff --git a/packageCa/testReport/personalTestReport.vue b/packageCa/testReport/personalTestReport.vue new file mode 100644 index 0000000..96bb980 --- /dev/null +++ b/packageCa/testReport/personalTestReport.vue @@ -0,0 +1,1145 @@ + + + + + \ No newline at end of file diff --git a/packageCa/testReport/workValuesTestReport.vue b/packageCa/testReport/workValuesTestReport.vue new file mode 100644 index 0000000..ca4bb34 --- /dev/null +++ b/packageCa/testReport/workValuesTestReport.vue @@ -0,0 +1,448 @@ + + + + + + \ No newline at end of file diff --git a/packageCa/userCenter/careerCompass.vue b/packageCa/userCenter/careerCompass.vue new file mode 100644 index 0000000..e6beb5c --- /dev/null +++ b/packageCa/userCenter/careerCompass.vue @@ -0,0 +1,365 @@ + + + + + \ No newline at end of file diff --git a/packageCa/userCenter/fillInInformation.vue b/packageCa/userCenter/fillInInformation.vue new file mode 100644 index 0000000..43690b3 --- /dev/null +++ b/packageCa/userCenter/fillInInformation.vue @@ -0,0 +1,563 @@ + + + + \ No newline at end of file diff --git a/packageCa/userCenter/learningPlan.vue b/packageCa/userCenter/learningPlan.vue new file mode 100644 index 0000000..0cbd520 --- /dev/null +++ b/packageCa/userCenter/learningPlan.vue @@ -0,0 +1,447 @@ + + + + + \ No newline at end of file diff --git a/packageCa/userCenter/personDocument.vue b/packageCa/userCenter/personDocument.vue new file mode 100644 index 0000000..ceb5c90 --- /dev/null +++ b/packageCa/userCenter/personDocument.vue @@ -0,0 +1,741 @@ + + + + + diff --git a/packageCa/userCenter/professionPath.vue b/packageCa/userCenter/professionPath.vue new file mode 100644 index 0000000..935428d --- /dev/null +++ b/packageCa/userCenter/professionPath.vue @@ -0,0 +1,759 @@ + + + + + \ No newline at end of file diff --git a/packageCa/userCenter/smartTarget.vue b/packageCa/userCenter/smartTarget.vue new file mode 100644 index 0000000..baccbea --- /dev/null +++ b/packageCa/userCenter/smartTarget.vue @@ -0,0 +1,658 @@ + + + + + \ No newline at end of file diff --git a/packageRc/api/needs/person.js b/packageRc/api/needs/person.js index 2297a97..52b8504 100644 --- a/packageRc/api/needs/person.js +++ b/packageRc/api/needs/person.js @@ -1,7 +1,7 @@ /* * @Date: 2025-10-31 11:06:15 - * @LastEditors: lip - * @LastEditTime: 2025-11-03 12:48:30 + * @LastEditors: shirlwang + * @LastEditTime: 2025-11-05 15:33:17 */ // 人员接口 // import { post, get } from '@/utilsRc/request' @@ -27,7 +27,7 @@ export function getPersonList(params) { export function addInvestigate(data) { return request({ // url: '//process/processInterview', - url: '//timelime/timelime', + url: '/timelime/timelime', method: 'post', data: data }) diff --git a/packageRc/api/personinfo/index.js b/packageRc/api/personinfo/index.js index 29af896..2aa1a9b 100644 --- a/packageRc/api/personinfo/index.js +++ b/packageRc/api/personinfo/index.js @@ -2,7 +2,7 @@ * @Descripttion: * @Author: lip * @Date: 2025-11-03 12:35:56 - * @LastEditors: lip + * @LastEditors: shirlwang */ // import { post, get } from '../../utils/request.js' import request from '@/utilsRc/request' @@ -28,14 +28,14 @@ export function personAlertList(params) { export function getJbrInfo() { return request({ method: 'get', - url: `system/center/user/selectHxjbr`, + url: `/system/center/user/selectHxjbr`, method: 'get' }) } export function getPersonBase() { return request({ method: 'get', - url: `system/center/user/selectHxjbr`, + url: `/system/center/user/selectHxjbr`, method: 'get' }) } diff --git a/packageRc/pages/daiban/addbangfu.vue b/packageRc/pages/daiban/addbangfu.vue index 452fdfc..12ab9c9 100644 --- a/packageRc/pages/daiban/addbangfu.vue +++ b/packageRc/pages/daiban/addbangfu.vue @@ -1,177 +1,153 @@ + + diff --git a/packageRc/pages/daiban/daiban.vue b/packageRc/pages/daiban/daiban.vue index c6ee16a..c231941 100644 --- a/packageRc/pages/daiban/daiban.vue +++ b/packageRc/pages/daiban/daiban.vue @@ -1,7 +1,7 @@ @@ -428,15 +508,15 @@ import { getPersonInfo } from "../../api/company/index.js"; // import { listJobService, serviceTraceability } from "@/api/needs/jobService"; import { listPersonDemand, delPersonDemand } from "../../api/needs/personDemand"; - // import { requirementCompletion } from "@/api/company"; + import { requirementCompletion } from "@/apiRc/company/index"; // import { listEntrepreneurshipService } from "@/api/needs/entrepreneurshipService"; // import { listTrainService, delTrainService } from "@/api/needs/trainService"; import { listJobType } from "../../api/jobType/index"; - // import ImageUpload from "@/packageRc/components/ImageUpload"; + import ImageUpload from "@/packageRc/components/ImageUpload"; export default { name: "serviceDetails", components: { - //ImageUpload, + ImageUpload, }, data() { @@ -554,6 +634,9 @@ export default { }, methods: { + closeopenDeal() { + this.$refs.openDeal.close(); + }, // 返回上一页 goBack() { uni.navigateBack(); @@ -613,20 +696,11 @@ export default { try { const url = `/packageRc/pages/daiban/addbangfu?id=${this.form?.userId || ''}&name=${this.form.name}`; + // const url = `/packageRc/pages/service/serviceDetail?id=${this.form?.userId || ''}&name=${this.form.name}`; console.log("导航URL:", url); uni.navigateTo({ url: url, - success: () => { - console.log("导航成功"); - }, - fail: (err) => { - console.error("导航失败:", err); - uni.showToast({ - title: '导航失败: ' + JSON.stringify(err), - icon: 'none' - }); - } }); } catch (error) { console.error("执行出错:", error); @@ -637,6 +711,9 @@ export default { } }, goNeedsDetail(item, needsType) { + // uni.navigateTo({ + // url: `/packageRc/pages/demand/demandail?id=${item.id}&type=${needsType}&showTab=1`, + // }); uni.navigateTo({ url: `/packageRc/pages/needs/needDetail?id=${item.id}&type=${needsType}&showTab=1`, }); @@ -665,14 +742,17 @@ export default { } } }, - confirmDate(e) { - this.showTime = false; - // 获取选中的日期 - const date = e.value; - // 使用 uView 的 uTime 方法格式化日期,包含时分秒 - const formattedDateTime = uni.$u.timeFormat(date, "yyyy-mm-dd hh:MM:ss"); - // 设置表单数据 - this.formData.actualSolveDate = formattedDateTime; + // confirmDate(e) { + // this.showTime = false; + // // 获取选中的日期 + // const date = e.value; + // // 使用 uView 的 uTime 方法格式化日期,包含时分秒 + // const formattedDateTime = uni.$u.timeFormat(date, "yyyy-mm-dd hh:MM:ss"); + // // 设置表单数据 + // this.formData.actualSolveDate = formattedDateTime; + // }, + change(e) { + this.formData.actualSolveDate = e }, removeRowData(data) { //确实要删除的提示 @@ -702,7 +782,8 @@ export default { }, goAddNeeds() { uni.navigateTo({ - url: `/packageRc/pages/demand/demandail?activeType=${1}&id=${this.form.userId}&name=${this.form.name}`, + url: `/packageRc/pages/needs/needDetail?userId=${this.form.userId}&type=1&name=${this.form.name}`, + // url: `/packageRc/pages/demand/demandail?activeType=${1}&id=${this.form.userId}&name=${this.form.name}`, success: function() { console.log('导航成功') @@ -741,12 +822,12 @@ export default { }, // 办结按钮 async finishJobRecommend(needsType) { + uni.showLoading(); try { // 先进行表单校验 await this.$refs.uForm.validate(); // 校验通过后再走后续逻辑 - this.$showLoading(); const url = "/manage/personDemand/demandDone"; if (!url) { throw new Error("无效的需求类型"); @@ -754,8 +835,8 @@ export default { const { code, msg } = await requirementCompletion(url, this.formData); if (code === 200) { - this.$u.toast('办结成功'); - this.openDeal = false; + uni.showToast({title: '办结成功', icon: 'none'}); + this.$refs.openDeal.close(); this.getListPersonDemand(); this.serviceTraceability(); } @@ -770,9 +851,9 @@ export default { } else { msg = '请检查必填项填写'; } - this.$u.toast(msg); + uni.showToast({title: msg, icon: 'none'}); } finally { - this.$hideLoading(); + uni.hideLoading(); } }, // 需求推荐/培训 @@ -802,19 +883,20 @@ export default { }, // 需求办结 requirementHandling(item, needsType) { - this.openDeal = true; - this.needsType = needsType; - this.formData = { - id: item.id, - currentStatus: "3", - userId: item.userId, - personStatus: item.personStatus || (this.dict.personStatusList[0] && this.dict.personStatusList[0].dictValue), - }; - console.log("item",item) - this.$nextTick(() => { - this.$forceUpdate(); - }); -}, + // this.openDeal = true; + this.$refs.openDeal.open(); + this.needsType = needsType; + this.formData = { + id: item.id, + currentStatus: "3", + userId: item.userId, + personStatus: item.personStatus || (this.dict.personStatusList[0] && this.dict.personStatusList[0].dictValue), + }; + console.log("item",item) + this.$nextTick(() => { + this.$forceUpdate(); + }); + }, onPersonStatusConfirm(e) { const item = e.value[0]; this.formData.personStatus = item.dictValue; diff --git a/packageRc/pages/demand/components/entrepreneurshipService.vue b/packageRc/pages/demand/components/entrepreneurshipService.vue index 9a64200..ff3767e 100644 --- a/packageRc/pages/demand/components/entrepreneurshipService.vue +++ b/packageRc/pages/demand/components/entrepreneurshipService.vue @@ -1,11 +1,11 @@