From 30e3804dfa51a7103a9ddec1bc945802f3f2c98d Mon Sep 17 00:00:00 2001
From: lip <1040791966@qq.com>
Date: Wed, 14 Jan 2026 21:26:21 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=BF=E7=AD=96?=
=?UTF-8?q?=E4=BC=A0=E5=8F=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packageB/priority/recommend.vue | 1 -
packageRc/pages/index/index.vue | 8 +++-----
packageRc/pages/policy/policyList.vue | 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/packageB/priority/recommend.vue b/packageB/priority/recommend.vue
index d9fc6f7..a127a6d 100644
--- a/packageB/priority/recommend.vue
+++ b/packageB/priority/recommend.vue
@@ -93,7 +93,6 @@
{{ item.zcmc }}
- {{ item.zclx }}
{{ item.zcLevel }}
{{ item.sourceUnit }}
diff --git a/packageRc/pages/index/index.vue b/packageRc/pages/index/index.vue
index 6d9ff81..16d62f2 100644
--- a/packageRc/pages/index/index.vue
+++ b/packageRc/pages/index/index.vue
@@ -1,7 +1,7 @@
@@ -72,13 +72,11 @@
{{item.zcmc}}
- {{item.zclx}}
{{item.zcLevel}}
{{item.sourceUnit}}
发布日期:{{item.createTime}}
- 浏览数{{item.viewNum}}
@@ -92,7 +90,7 @@ 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
})
}
diff --git a/packageRc/pages/policy/policyList.vue b/packageRc/pages/policy/policyList.vue
index ebbaa68..85402e1 100644
--- a/packageRc/pages/policy/policyList.vue
+++ b/packageRc/pages/policy/policyList.vue
@@ -22,7 +22,6 @@
{{item.zcmc}}
- {{item.zclx}}
{{item.zcLevel}}
{{item.sourceUnit}}
@@ -162,6 +161,7 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
// 获取列表
async getList() {
this.loading = true;
+ this.queryParams.zclx ='1';
getPolicyList(this.queryParams).then((res) => {
this.gettedData(res)
});
From 0cfe2d544871d01823f6bedf312732769079fb20 Mon Sep 17 00:00:00 2001
From: lip <1040791966@qq.com>
Date: Wed, 14 Jan 2026 21:33:36 +0800
Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=AF=A5bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packageRc/pages/index/index.vue | 4 ++--
packageRc/pages/policy/policyList.vue | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/packageRc/pages/index/index.vue b/packageRc/pages/index/index.vue
index 16d62f2..6c8799c 100644
--- a/packageRc/pages/index/index.vue
+++ b/packageRc/pages/index/index.vue
@@ -1,7 +1,7 @@
@@ -96,7 +96,7 @@ function getPolicy() {
}
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}`)
diff --git a/packageRc/pages/policy/policyList.vue b/packageRc/pages/policy/policyList.vue
index 85402e1..64aba58 100644
--- a/packageRc/pages/policy/policyList.vue
+++ b/packageRc/pages/policy/policyList.vue
@@ -66,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();
},
@@ -85,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
@@ -161,7 +165,6 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
// 获取列表
async getList() {
this.loading = true;
- this.queryParams.zclx ='1';
getPolicyList(this.queryParams).then((res) => {
this.gettedData(res)
});