From 1eb1522eb39f58603155302f072e2ead3045d2ef Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期二, 25 十一月 2025 09:57:49 +0800
Subject: [PATCH] 修改信息

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

diff --git a/ruoyi-ui/src/views/device/equipmentInfo.vue b/ruoyi-ui/src/views/device/equipmentInfo.vue
index 00020a0..be3f3f6 100644
--- a/ruoyi-ui/src/views/device/equipmentInfo.vue
+++ b/ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -2,7 +2,7 @@
   <div class="app-container" id="printable-content">
     <div class="form-header mt">
       <h1 style="font-size:21px;padding-top:30px;display: flex;justify-content: space-between;align-items: center;">
-        <span>瀹跺涵璁惧璇︽儏</span>
+        <span>璁惧璇︽儏</span>
         <div   style="display: flex; align-items: center;">
           <el-button size="mini" type="text"  @click="checkNote"  v-hasPermi="['person:information:memo']">
             <div class="form" ><el-icon  style="padding-right:110px;"></el-icon>
@@ -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">
@@ -310,15 +310,14 @@
       this.dsb = !jd
       this.isShow=true
     //  document.title = "淇敼瀹跺涵璁惧璇︾粏淇℃伅";
-      this.$route.meta.title = "淇敼瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+      this.$route.meta.title = "淇敼璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
     }
     else{
     //  document.title = "瀹跺涵璁惧璇︾粏淇℃伅";
-      this.$route.meta.title = "瀹跺涵璁惧璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
+      this.$route.meta.title = "瀹跺涵璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
       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.$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