管道基础大数据平台系统开发-【前端】-新系統界面
surprise
2024-02-05 c215c89ecda16e4d32593f3e942fe871898071e9
代码提交
已修改3个文件
15 ■■■■■ 文件已修改
public/config/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/navMenu.vue 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/PackageTwo/WareInspection.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/config/config.js
@@ -1,4 +1,4 @@
var isLocal = false;
var isLocal = true;
var is_production = false; // 是否为生产环境
src/components/navMenu.vue
@@ -267,7 +267,6 @@
      }
    },
    setLiClick(res, index) {
      this.changeSelectStyle = index;
      sessionStorage.setItem('changeSelectStyle', index)
      sessionStorage.removeItem('hanleselectmochaitmo')
@@ -275,10 +274,9 @@
      // this.signInsertOpLog(this.listMenu[index].cnName, res.cnName)
      setTimeout(() => {
        this.changeliSelect = res.cnName;
        sessionStorage.setItem('changeliSelect', res.cnName)
        if (res.url.indexOf('http') != -1) {
        if (res.url.indexOf('{fmeHost}') != -1) {
          this.$store.reporturl = res.url;
          sessionStorage.setItem('iframehttpurl', this.$store.reporturl)
          this.$router.push('/QualityInspection');
@@ -441,8 +439,8 @@
        };
        Window.ws = null;
      }
      if (index.indexOf('http') != -1) {
debugger
      if (index.indexOf('{fmeHost}') != -1) {
        this.$router.push('/databaseMonitoring');
        this.$store.commit('getIframe', index);
      } else if (isNaN(Number(index))) {
src/views/PackageTwo/WareInspection.vue
@@ -56,8 +56,6 @@
    },
    showChangeIfream(res) {
      //
      console.log(res)
      if (this.$store.state.themeflag == true) {
        if (res.indexOf('theme=white') != -1) {
          res = res.replace('theme=white', 'theme=dark');
@@ -77,11 +75,12 @@
          res = res.replace('lang=zh', 'lang=en');
        }
      }
      if (res.indexOf('{fmeHost}') != -1) {
        res = res.replace('{fmeHost}', fmeHost)
      }
      console.log("2", this.reportUrl)
      if (res.indexOf('token=') != -1) {
        res = res + getToken();
      }