From 5eaf46f45ece0287f8a2582931e089428a7cd12a Mon Sep 17 00:00:00 2001 From: chenhc <2369838784@qq.com> Date: Sat, 17 Aug 2024 16:22:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=8E=B0=E5=9C=BA=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/fieldOperation.vue | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/views/collect/fieldOperation.vue b/src/views/collect/fieldOperation.vue index 389dcf64..eb07b5c9 100644 --- a/src/views/collect/fieldOperation.vue +++ b/src/views/collect/fieldOperation.vue @@ -5,6 +5,19 @@ + + + + + + + + 搜索 + + + + + @@ -76,6 +89,13 @@ export default { name: 'fieldOperation', data() { return { + query:{ + key: '', + status: 1, + invCode: this.$store.getters.locInvCode, + page: 1, + limit: 200 + }, // 假设这是你的卡片数据 stationList: [] }; @@ -91,13 +111,7 @@ export default { window.open(url, '_blank'); }, getStationList() { - let param = { - status: 1, - invCode: this.$store.getters.locInvCode, - page: 1, - limit: 200 - } - listPage(param).then(res => { + listPage(this.query).then(res => { this.stationList = res.data?.list || [] }) },