更改该bug
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
* @Date: 2025-10-16 15:15:47
|
* @Date: 2025-10-16 15:15:47
|
||||||
* @LastEditors: lip
|
* @LastEditors: lip
|
||||||
* @LastEditTime: 2026-01-14 21:21:21
|
* @LastEditTime: 2026-01-14 21:33:18
|
||||||
-->
|
-->
|
||||||
<template>
|
<template>
|
||||||
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
|
<!-- @scroll="handleScroll" @scrolltolower="scrollBottom" -->
|
||||||
@@ -96,7 +96,7 @@ function getPolicy() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function toPolicyList() {
|
function toPolicyList() {
|
||||||
navTo(`/packageRc/pages/policy/policyList`)
|
navTo(`/packageRc/pages/policy/policyList?zclx=1`)
|
||||||
}
|
}
|
||||||
function toPolicyDetail(item) {
|
function toPolicyDetail(item) {
|
||||||
navTo(`/packageRc/pages/policy/policyDetail?id=${item.id}`)
|
navTo(`/packageRc/pages/policy/policyDetail?id=${item.id}`)
|
||||||
|
|||||||
@@ -66,6 +66,10 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
|
|||||||
onLoad() {
|
onLoad() {
|
||||||
this.getCheckData()
|
this.getCheckData()
|
||||||
},
|
},
|
||||||
|
onLoad(options) {
|
||||||
|
this.queryParams.zclx = options.zclx
|
||||||
|
this.getCheckData(options.zclx);
|
||||||
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.search();
|
this.search();
|
||||||
},
|
},
|
||||||
@@ -85,7 +89,7 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async getCheckData() {
|
async getCheckData(zclx) {
|
||||||
let workExperienceYears
|
let workExperienceYears
|
||||||
await this.$getDict('qcjy_gznx').then(res => {
|
await this.$getDict('qcjy_gznx').then(res => {
|
||||||
workExperienceYears = res.data
|
workExperienceYears = res.data
|
||||||
@@ -161,7 +165,6 @@ import { getPolicyList } from "@/packageRc/apiRc/policy";
|
|||||||
// 获取列表
|
// 获取列表
|
||||||
async getList() {
|
async getList() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.queryParams.zclx ='1';
|
|
||||||
getPolicyList(this.queryParams).then((res) => {
|
getPolicyList(this.queryParams).then((res) => {
|
||||||
this.gettedData(res)
|
this.gettedData(res)
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user