From 0106ad3bf1998d52bf825d9c831e3d91d76d8dc2 Mon Sep 17 00:00:00 2001 From: dd3s_206 Date: Fri, 15 May 2026 14:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF-=E5=9B=B0=E9=9A=BE?= =?UTF-8?q?=E5=B8=AE=E6=89=B6-=E5=B8=AE=E6=89=B6=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=EF=BC=9A=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=A1=B5=E5=9B=A0=E4=B8=BA=E2=80=98=E7=94=B3=E8=AF=B7=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E2=80=99=E5=9B=9E=E6=98=BE=E8=A7=A6=E5=8F=91=E5=AE=83?= =?UTF-8?q?=E7=9A=84change=E4=BA=8B=E4=BB=B6=E8=80=8C=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E8=BE=93=E5=85=A5=E6=A1=86=E7=9A=84=E5=80=BC?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../staffbenefit/difficulthelp/apply/index.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html index 24bb03b..15c9762 100644 --- a/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html +++ b/src/main/resources/views/platform/zhghh5/staffbenefit/difficulthelp/apply/index.html @@ -310,6 +310,7 @@ layout("/layouts/platform_h5.html"){ showDialog: false, isEditing: false, editingIndex: null, + echoingFormDataFlag: false, // 替他人申请相关 userSheetShow: false, @@ -496,12 +497,24 @@ layout("/layouts/platform_h5.html"){ findOne(id) { this.$axios.post('/platform/difficultHelp/mine/findOne', { id }).then(res => { if (res.code === 0) { - this.formData = res.data + this.echoingFormDataFlag = true + this.formData = Object.assign({ + familyList: [], + files: [] + }, res.data || {}) + this.$nextTick(() => { + setTimeout(() => { + this.echoingFormDataFlag = false + }) + }) } }) }, // 申请模式 modeChange(val) { + if (this.echoingFormDataFlag) { + return + } const user = this.$store.state.user if (val === "1") { this.$set(this.formData, 'userId', user.id)