From 832d865d0b5b58910e7d8e514194d70daf19f99c Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 24 May 2024 09:13:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E6=9B=B4=E6=96=B0=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/home/index.vue | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/views/modules/home/index.vue b/src/views/modules/home/index.vue index 3adc2d98b..844f56cc4 100644 --- a/src/views/modules/home/index.vue +++ b/src/views/modules/home/index.vue @@ -503,7 +503,16 @@ export default { this.$router.push({ path: obj[item.category], }); - } + } else if(item.msgType == "sys_version_upgrade_publish"){ + let { targetId } = item + this.$router.push({ path: `notice-version`, query: { version_id: targetId } }); + this.$store.state.contentTabs = this.$store.state.contentTabs.map(item => { + if (item.name === "notice-version") { + return { ...item }; + } + return item; + }); + } this.getNoticeData() }, From 33038cd013b389a4146035007b902647b453a348 Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Fri, 24 May 2024 10:54:40 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=85=B1=E6=80=A7=E9=9C=80=E6=B1=82?= =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/communityService/gxxq/addForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/modules/communityService/gxxq/addForm.vue b/src/views/modules/communityService/gxxq/addForm.vue index 99c1fdca6..a9975b7a3 100644 --- a/src/views/modules/communityService/gxxq/addForm.vue +++ b/src/views/modules/communityService/gxxq/addForm.vue @@ -431,7 +431,7 @@ export default { this.newFormData.serviceTimeEnd = data.assignInfo.serviceTimeEnd; this.newFormData.serverOrgType = data.assignInfo.serverOrgType; this.newFormData.serverOrgId = data.assignInfo.serverOrgId; - this.newFormData.noticeApproches = data.assignInfo.noticeApproches; + this.newFormData.noticeApproches = data.assignInfo.noticeApproches || []; for (let i in data.assignInfo.serviceScopeList) { this.newFormData.serviceScopeList.push(