From b849886a6e1004c32cee00c2ee4e15f9d848f061 Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期六, 19 四月 2025 22:06:27 +0800
Subject: [PATCH] 修改

---
 ruoyi-ui/src/views/device/equipmentInfo.vue |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index d2f2101..742076f 100644
--- a/ruoyi-ui/src/views/device/equipmentInfo.vue
+++ b/ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -440,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.$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://www.bendudu.com/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