From da653a858a5f431b55687b7083e1c56c05017b39 Mon Sep 17 00:00:00 2001
From: yujiacong <1016029365@qq.com>
Date: Fri, 26 Sep 2025 20:00:42 +0800
Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E4=BC=9A=E9=87=91=E5=B8=81=E6=B5=81?=
=?UTF-8?q?=E6=B0=B4=20-=20=E5=A2=9E=E5=8A=A0=E5=88=86=E5=8C=BA=E9=80=89?=
=?UTF-8?q?=E6=8B=A9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/nobleman/GoldWater.vue | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)
diff --git a/src/views/nobleman/GoldWater.vue b/src/views/nobleman/GoldWater.vue
index 55fa4c9..1853cd9 100644
--- a/src/views/nobleman/GoldWater.vue
+++ b/src/views/nobleman/GoldWater.vue
@@ -21,6 +21,11 @@
+
国家
@@ -158,12 +163,17 @@ import {
incomeExportFamilys,
getlistByPartitionId
} from "@/api/nobleman/nobleman";
+import PartitionSelect from "@/views/common/partitionSelect.vue";
+
// @ts-ignore
import { dateFormat } from "@/utils/system-helper";
// @ts-ignore
import { ElMessage } from "element-plus";
export default {
name: "GoldWater",
+ components: {
+ PartitionSelect
+ },
data () {
return {
loading: false,
@@ -172,7 +182,7 @@ export default {
time: this.calculateLastSevenDays(),
id: "",
nick: "",
- partitionId: 2,
+ partitionId: undefined,
inquireonInfos: [
// { desc: "英语区", id: 1 },
// { desc: "阿拉伯区", id: 2 },
@@ -198,9 +208,20 @@ export default {
},
created () {
this.getData();
- this.getlistByPartitionId()
+ // this.getlistByPartitionId()
},
methods: {
+ getlistByPartition (e) {
+ console.log(e)
+ if (e) {
+ this.inquire.partitionId = e;
+ }
+ getlistByPartitionId({ partitionId: this.inquire.partitionId, containAll: true }).then((res) => {
+ if (res.code == 200) {
+ this.inquire.inquireonInfos = res.data;
+ }
+ });
+ },
getlistByPartitionId () {
getlistByPartitionId({ partitionId: 1, containAll: true }).then((res) => {
if (res.code == 200) {