更改该bug

This commit is contained in:
lip
2026-01-14 21:33:36 +08:00
parent 30e3804dfa
commit 0cfe2d5448
2 changed files with 7 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Date: 2025-10-16 15:15:47
* @LastEditors: lip
* @LastEditTime: 2026-01-14 21:21:21
* @LastEditTime: 2026-01-14 21:33:18
-->
<template>
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
@@ -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}`)

View File

@@ -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)
});