From 70b24a3d28f55bfe72c0ddf3246d5af7a69fc623 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期三, 08 二月 2023 18:20:47 +0800
Subject: [PATCH] 资源管理,角色管理,权限管理,权限管理,运维监控主题切换界面优化

---
 src/views/PackageTwo/WareInspection.vue |   36 +++++++-----------------------------
 1 files changed, 7 insertions(+), 29 deletions(-)

diff --git a/src/views/PackageTwo/WareInspection.vue b/src/views/PackageTwo/WareInspection.vue
index e89b3cf..3cad44b 100644
--- a/src/views/PackageTwo/WareInspection.vue
+++ b/src/views/PackageTwo/WareInspection.vue
@@ -39,36 +39,14 @@
   },
   methods: {
     langreash(res) {
-      if (this.url == '') return
-      this.reportUrl = ''
-      if (res == true) {
-        if (this.url.indexOf('theme=white') != -1) {
-          this.url = this.url.replace('theme=white', 'theme=dark');
-        }
-      } else if (res == false) {
-        if (this.url.indexOf('theme=dark') != -1) {
-          this.url = this.url.replace('theme=dark', 'theme=white');
-        }
-      }
-      this.reportUrl = this.url;
-      this.$store.state.reporturl = this.url;
-      this.$router.push('/QualityInspection')
+
+       this.$router.push('/QualityInspection')
+
     },
     refreash(res) {
-      if (this.url == '') return
-      this.reportUrl = ''
-      if (res == true) {
-        if (this.url.indexOf('lang=en') != -1) {
-          this.url = this.url.replace('lang=en', 'lang=zh');
-        }
-      } else if (res == false) {
-        if (this.url.indexOf('lang=zh') != -1) {
-          this.url = this.url.replace('lang=zh', 'lang=en');
-        }
-      }
-      this.reportUrl = this.url;
-      this.$store.state.reporturl = this.url;
-      this.$router.push('/QualityInspection')
+
+     this.$router.push('/QualityInspection')
+    
     },
     showChangeIfream(res) {
       if (this.$store.state.themeflag == true) {
@@ -102,7 +80,7 @@
       this.$store.state.reporturl = res;
       this.reportUrl = res;
       this.url = res
-      // console.log("2", this.reportUrl)
+      console.log("2", this.reportUrl)
     }
   },
   mounted() {

--
Gitblit v1.9.3