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 |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index 350c7d4..147e1f9 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,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