From 055e28b457334c4e8ef40e521fcddd7772d4b84d Mon Sep 17 00:00:00 2001 From: xf Date: Wed, 9 Jul 2025 17:18:00 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=A4=A7=E5=B1=8F=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/indexSun.vue | 8 ++++---- src/views/indexSun/threeNewL.vue | 6 +++++- src/views/indexSun/threeR.vue | 6 +++++- src/views/indexSun/twoL.vue | 5 +++++ src/views/indexSun/twoR.vue | 5 ++++- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/src/views/indexSun.vue b/src/views/indexSun.vue index 19cf3e6..aa31ee5 100644 --- a/src/views/indexSun.vue +++ b/src/views/indexSun.vue @@ -12,11 +12,11 @@
- +
- +
@@ -46,10 +46,10 @@ />
- +
- +
diff --git a/src/views/indexSun/threeNewL.vue b/src/views/indexSun/threeNewL.vue index 515dd8a..eca161d 100644 --- a/src/views/indexSun/threeNewL.vue +++ b/src/views/indexSun/threeNewL.vue @@ -41,6 +41,10 @@ type: Number, default: () => 0, }, + centerId: { + type: String, + default: () => '', + }, }); onMounted(() => { @@ -51,7 +55,7 @@ getList(); }); function getList() { - threeLApi({}) + threeLApi({ centerId: props.centerId }) .then((res: any) => { if (res.code == 200) { console.log(res.result); diff --git a/src/views/indexSun/threeR.vue b/src/views/indexSun/threeR.vue index 2c2bca5..adf1412 100644 --- a/src/views/indexSun/threeR.vue +++ b/src/views/indexSun/threeR.vue @@ -54,6 +54,10 @@ type: Number, default: () => 0, }, + centerId: { + type: String, + default: () => '', + }, }); watch(props, () => { @@ -65,7 +69,7 @@ }); function getList() { - threeRApi({}) + threeRApi({ centerId: props.centerId }) .then((res: any) => { if (res.code == 200) { scrollList.value = res.result; diff --git a/src/views/indexSun/twoL.vue b/src/views/indexSun/twoL.vue index 7cdee38..aa66031 100644 --- a/src/views/indexSun/twoL.vue +++ b/src/views/indexSun/twoL.vue @@ -49,6 +49,10 @@ type: Number, default: () => 0, }, + centerId: { + type: String, + default: () => '', + }, }); const chooseType = ref('0'); const selectValue = ref(''); @@ -96,6 +100,7 @@ twoLApi({ sex: chooseType.value, depart: selectValue.value, + centerId: props.centerId, }) .then((res: any) => { if (res.code == 200) { diff --git a/src/views/indexSun/twoR.vue b/src/views/indexSun/twoR.vue index 1eb1aac..fdc4d70 100644 --- a/src/views/indexSun/twoR.vue +++ b/src/views/indexSun/twoR.vue @@ -136,6 +136,9 @@ type: Number, default: () => 0, }, + centerId: { + type: String, + }, }); onMounted(() => { @@ -147,7 +150,7 @@ }); function getList() { - twoRApi({}) + twoRApi({ centerId: props.centerId }) .then((res: any) => { if (res.code == 200) { localStorage.removeItem('twoRList');