Enhance job listing functionality and navigation styles
- Added education filter to job recommendation and listing APIs across multiple components. - Updated policy list page with custom navigation for H5 and improved layout. - Refactored policy detail handling to streamline error management and testing data injection.
This commit is contained in:
@@ -119,23 +119,24 @@ import { getPolicyDetail } from "@/packageRc/apiRc/policy";
|
||||
getPolicy(id) {
|
||||
getPolicyDetail({id}).then(res => {
|
||||
this.policyDetail = res.data
|
||||
}).catch(err => {
|
||||
// #ifdef H5 || APP-PLUS
|
||||
// 仅在测试环境下,注入大段文本验证排版
|
||||
this.policyDetail = {
|
||||
zcmc: '【条件编译测试】支持高校毕业生在本地创业就业的若干激励措施(接口失败模拟)',
|
||||
zcLevel: '省级重点',
|
||||
sourceUnit: '人社测试局',
|
||||
publishTime: '2026-03-10',
|
||||
viewNum: 9999,
|
||||
applicableObjects: '1. 本市户籍的高校毕业生;<br/>2. 创业青年群体。',
|
||||
policyExplanation: '本政策旨在吸引更多高素质人才留在本市发展。',
|
||||
applyCondition: '具有全日制本科及以上学历且毕业在5年内。',
|
||||
zczc: '最高50万元奖励,办公场地免租3年。',
|
||||
btbz: '本科5000元/月,硕士10000元/月,连续发放3年。',
|
||||
jbqd: '政务中心2楼窗口、线上小程序入口。'
|
||||
}
|
||||
// #endif
|
||||
// }).finally(err => {
|
||||
// console.log(342324)
|
||||
// // #ifdef H5 || APP-PLUS
|
||||
// // 仅在测试环境下,注入大段文本验证排版
|
||||
// this.policyDetail = {
|
||||
// zcmc: '【条件编译测试】支持高校毕业生在本地创业就业的若干激励措施(接口失败模拟)',
|
||||
// zcLevel: '省级重点',
|
||||
// sourceUnit: '人社测试局',
|
||||
// publishTime: '2026-03-10',
|
||||
// viewNum: 9999,
|
||||
// applicableObjects: '1. 本市户籍的高校毕业生;<br/>2. 创业青年群体。',
|
||||
// policyExplanation: '本政策旨在吸引更多高素质人才留在本市发展。',
|
||||
// applyCondition: '具有全日制本科及以上学历且毕业在5年内。',
|
||||
// zczc: '最高50万元奖励,办公场地免租3年。',
|
||||
// btbz: '本科5000元/月,硕士10000元/月,连续发放3年。',
|
||||
// jbqd: '政务中心2楼窗口、线上小程序入口。'
|
||||
// }
|
||||
// // #endif
|
||||
})
|
||||
},
|
||||
getDictLabel(value, list) {
|
||||
|
||||
Reference in New Issue
Block a user