From 3910b79b0549b583387ff96ef5a21a2ad5313631 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 15 十一月 2024 10:43:02 +0800 Subject: [PATCH] 修改了相关bug --- ruoyi-ui/src/views/device/equipmentInfo.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue index 00020a0..147e1f9 100644 --- a/ruoyi-ui/src/views/device/equipmentInfo.vue +++ b/ruoyi-ui/src/views/device/equipmentInfo.vue @@ -146,7 +146,7 @@ ></video> <img v-else class="el-upload-list__item-thumbnail" - src="../../assets/401_images/401.gif" + src="../../assets/images/deviceLis.png" alt="" style="width: 147px; height: 147px" fit="cover"> @@ -318,7 +318,6 @@ this.btn = false; this.isShow=false } - let _this = this if (id) { this.loading = true; @@ -441,6 +440,15 @@ if (this.formData.id != undefined) { updateEquipment(this.formData).then(response => { this.$modal.msgSuccess("淇敼鎴愬姛"); + console.log(this.$route) + this.$tab.closePage({ path: "/familymodel/zfDevice" }) + // this.$store.dispatch("tagsView/delView",{ path: "/familymodel/zfDevice" }); //鍏抽棴褰撳墠椤� + //this.$store.dispatch('tagsView/addView', { title:"ZfDevice",path: "/familymodel/zfDevice" }) + //this.$store.dispatch('tagsView/addIframeView', { title:"ZfDevice",ZfDevicepath: "/familymodel/zfDevice" }) + // this.$tab.refreshPage({ path: "/familymodel/zfDevice" }); + // this.$router.replace({ path: "/familymodel/zfDevice?cache=true" }); + // this.$router.push("/familymodel/zfDevice"); + window.location.url="https://localhost:80/familymodel/zfDevice" // this.open = false; if(this.formData.status==1) this.formData.status = '鏄�' -- Gitblit v1.9.1