From f2f61d351a4c2f8c50e14f5485de3df2b31dfdf1 Mon Sep 17 00:00:00 2001 From: "@jyuhsin" <729757837@qq.com> Date: Thu, 25 Sep 2025 21:58:03 +0800 Subject: [PATCH] commit --- .../zhghh5/activity/family/apply/index.html | 12 ++++++++++++ .../zhghh5/activity/trainSignUp/apply/index.html | 15 +++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/src/main/resources/views/platform/zhghh5/activity/family/apply/index.html b/src/main/resources/views/platform/zhghh5/activity/family/apply/index.html index a777ec53..f55587cf 100644 --- a/src/main/resources/views/platform/zhghh5/activity/family/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/activity/family/apply/index.html @@ -136,6 +136,8 @@ layout("/layouts/platform_h5.html"){ ], infoVisible: false, infoRow: {}, + + id: GetQueryString('id') } }, methods: { @@ -151,8 +153,18 @@ layout("/layouts/platform_h5.html"){ } this.$pjaxReplace('/platform/family/apply/list/h5?id=' + row.id) }, + fetchOne() { + this.$axios.post('/platform/family/manage/findOne', {id: this.id}).then((res) => { + if(res.code === 0) { + this.onApply(res.data) + } + }) + }, onReady() { this.doSearch() + if(this.id) { + this.fetchOne() + } }, doSearch() { this.$nextTick(() => { diff --git a/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html b/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html index 39d1dd94..fc55d449 100644 --- a/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/activity/trainSignUp/apply/index.html @@ -116,6 +116,8 @@ layout("/layouts/platform_h5.html"){ ], infoVisible: false, infoRow: {}, + + id: GetQueryString('id') } }, methods: { @@ -131,8 +133,18 @@ layout("/layouts/platform_h5.html"){ } this.$pjaxReplace('/platform/trainSignUp/apply/list/h5?id=' + row.id) }, + fetchOne() { + this.$axios.post('/platform/trainSignUp/manage/findOne', {id: this.id}).then((res) => { + if(res.code === 0) { + this.onApply(res.data) + } + }) + }, onReady() { this.doSearch() + if(this.id) { + this.fetchOne() + } }, doSearch() { this.$nextTick(() => { @@ -142,6 +154,9 @@ layout("/layouts/platform_h5.html"){ }) } }, + mounted() { + + } })