From b7c54c3c2e17bf04c9767242dfe65bf5ac2fbc2e Mon Sep 17 00:00:00 2001
From: lip <1040791966@qq.com>
Date: Wed, 14 Jan 2026 22:23:48 +0800
Subject: [PATCH] =?UTF-8?q?zh=E6=94=BF=E7=AD=96=E5=88=86=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
packageRc/pages/policy/policyList.vue | 67 +--------------------------
1 file changed, 2 insertions(+), 65 deletions(-)
diff --git a/packageRc/pages/policy/policyList.vue b/packageRc/pages/policy/policyList.vue
index 64aba58..8b1aaed 100644
--- a/packageRc/pages/policy/policyList.vue
+++ b/packageRc/pages/policy/policyList.vue
@@ -6,16 +6,12 @@
-
共 {{ total }} 条
-
@@ -52,7 +48,6 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
},
data() {
return {
- checkData: [],
queryParams: {
pageNum: 1,
pageSize: 10,
@@ -63,12 +58,8 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
loading: false,
}
},
- onLoad() {
- this.getCheckData()
- },
onLoad(options) {
this.queryParams.zclx = options.zclx
- this.getCheckData(options.zclx);
},
onShow() {
this.search();
@@ -79,64 +70,10 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
url: `/packageRc/pages/policy/policyDetail?id=${item.id}`
})
},
- getDictLabel(value, list) {
- if (list) {
- let arr = list.filter(ele => ele.dictValue == value)
- if (arr.length) {
- return arr[0].dictLabel
- } else {
- return '--'
- }
- }
- },
- async getCheckData(zclx) {
- let workExperienceYears
- await this.$getDict('qcjy_gznx').then(res => {
- workExperienceYears = res.data
- })
- await this.$getDict('qcjy_xqlc').then(res => {
- this.currentStatusList = res.data;
- console.log(res.data)
- })
- this.checkData = [
- {
- name: "需求类型",
- type: "demandType",
- data: [{dictLabel: '求职需求', dictValue: '1'},{dictLabel: '创业需求', dictValue: '3'},{dictLabel: '培训需求', dictValue: '4'},{dictLabel: '其他需求', dictValue: '5'}],
- activeIndex: 0,
- },
- {
- name: "需求状态",
- type: "currentStatus",
- data: [{
- dictLabel: '全部',
- dictValue: ''
- }].concat(this.currentStatusList),
- activeIndex: 0,
- },
- // {
- // name: "工作经验",
- // type: "workExperienceYears",
- // data: [{dictLabel: '全部', dictValue: ''}].concat(workExperienceYears),
- // activeIndex: 0,
- // },
-
- ];
- },
- popupSearch(queryParams) {
- queryParams.forEach((item, index) => {
- if (item.data[item.activeIndex].dictLabel == "全部") {
- this.queryParams[item.type] = "";
- } else {
- this.queryParams[item.type] = item.data[item.activeIndex].dictValue;
- }
- });
- this.search()
- },
search() {
this.showMorePage = true;
this.queryParams.pageNum = 1;
- this.queryParams.pageSize = 10;
+ this.queryParams.pageSize = 20;
this.tableData = [];
this.total = 0;
this.getList();