This commit is contained in:
francis_fh
2026-01-14 22:02:09 +08:00
3 changed files with 9 additions and 9 deletions

View File

@@ -93,7 +93,6 @@
{{ item.zcmc }}</view
>
<view class="infos">
<view v-if="item.zclx">{{ item.zclx }}</view>
<view v-if="item.zcLevel">{{ item.zcLevel }}</view>
<view v-if="item.sourceUnit">{{ item.sourceUnit }}</view>
</view>

View File

@@ -1,7 +1,7 @@
<!--
* @Date: 2025-10-16 15:15:47
* @LastEditors: shirlwang
* @LastEditTime: 2025-12-08 16:10:47
* @LastEditors: lip
* @LastEditTime: 2026-01-14 21:33:18
-->
<template>
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
@@ -72,13 +72,11 @@
<image src="../../../packageRc/static/zcLeft.png"/>
{{item.zcmc}}</view>
<view class="infos">
<view v-if="item.zclx">{{item.zclx}}</view>
<view v-if="item.zcLevel">{{item.zcLevel}}</view>
<view v-if="item.sourceUnit">{{item.sourceUnit}}</view>
</view>
<view class="bottom-line">
<view><uni-icons color="#A2A2A2" type="info" size="12"></uni-icons>发布日期:{{item.createTime}}</view>
<view>浏览数<text style="color: #6AA7E8">{{item.viewNum}}</text></view>
</view>
</view>
</view>
@@ -92,13 +90,13 @@ const { $api, navTo, vacanciesTo, formatTotal, config } = inject('globalFunction
import { getPolicyList } from '@/packageRc/apiRc/policy';
let policyList = ref([])
function getPolicy() {
getPolicyList({pageNum: 1, pageSize: 10}).then(res => {
getPolicyList({pageNum: 1, pageSize: 10,zclx:'1'}).then(res => {
policyList.value = res.rows
})
}
function toPolicyList() {
navTo(`/packageRc/pages/policy/policyList`)
navTo(`/packageRc/pages/policy/policyList?zclx=1`)
}
function toPolicyDetail(item) {
navTo(`/packageRc/pages/policy/policyDetail?id=${item.id}`)

View File

@@ -22,7 +22,6 @@
<image src="../../../packageRc/static/zcLeft.png"/>
{{item.zcmc}}</view>
<view class="infos">
<view v-if="item.zclx">{{item.zclx}}</view>
<view v-if="item.zcLevel">{{item.zcLevel}}</view>
<view v-if="item.sourceUnit">{{item.sourceUnit}}</view>
</view>
@@ -67,6 +66,10 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
onLoad() {
this.getCheckData()
},
onLoad(options) {
this.queryParams.zclx = options.zclx
this.getCheckData(options.zclx);
},
onShow() {
this.search();
},
@@ -86,7 +89,7 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
}
}
},
async getCheckData() {
async getCheckData(zclx) {
let workExperienceYears
await this.$getDict('qcjy_gznx').then(res => {
workExperienceYears = res.data