feige
2024-11-10 5954aa0f9f982bba46843bf0dcc835f5efa2b667
ruoyi-ui/src/views/device/equipmentInfo.vue
@@ -440,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 = '是'