From 7c33a1164d3019feb3ad9e4844b3d364e5c6eb44 Mon Sep 17 00:00:00 2001 From: feige <791364011@qq.com> Date: 星期日, 17 十一月 2024 11:31:45 +0800 Subject: [PATCH] Merge branch 'master' of http://47.93.189.255:8099/r/zhangshi_app_web --- ruoyi-ui/src/views/device/equipmentInfo.vue | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue index 350c7d4..f2c606e 100644 --- a/ruoyi-ui/src/views/device/equipmentInfo.vue +++ b/ruoyi-ui/src/views/device/equipmentInfo.vue @@ -318,7 +318,6 @@ this.btn = false; this.isShow=false } - let _this = this if (id) { this.loading = true; @@ -441,12 +440,29 @@ if (this.formData.id != undefined) { updateEquipment(this.formData).then(response => { this.$modal.msgSuccess("淇敼鎴愬姛"); + console.log(this.$route) + // this.$tab.closePage({ path: "/familymodel/zfDevice" }) + + + //this.$tab.closePage({ path: "/familymodel/zfDevice" }) + + + // + // localtion.reload() + //alert(25) + // window.location.url="https://localhost:80/familymodel/zfDevice" // this.open = false; if(this.formData.status==1) this.formData.status = '鏄�' else this.formData.status = '鍚�' this.btn=false + this.$router.replace({ title:"ZfDevice",path: "/familymodel/zfDevice"}); + // 鍦ㄤ笅涓�涓簨浠跺惊鐜腑鍒锋柊椤甸潰 + this.$nextTick(() => { + window.location.reload(); + }); + //this.$router.push("/familymodel/zfDevice"); }); } else { this.$modal.msgSuccess("淇敼澶辫触"); -- Gitblit v1.9.1