管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2023-01-03 af82b864cc73fe5a26db483d2633bc337a9e1e0e
1
已修改2个文件
10 ■■■■ 文件已修改
public/config/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/PackageTwo/WareInspection.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/config/config.js
@@ -35,7 +35,7 @@
  // sdk许可
  licenseServer: 'http://' + ipConfig + '/LFServer',
  // 服务地址
  baseURL: 'http://183.162.245.49:8888/',
  // baseURL: 'http://183.162.245.49:8888/',
  //
  positionBtn: [],
};
src/views/PackageTwo/WareInspection.vue
@@ -11,6 +11,7 @@
</template>
<script>
import { getToken } from "@/utils/auth";
export default {
  data() {
    return {
@@ -19,13 +20,18 @@
  },
  methods: {
    showChangeIfream(res) {
      if (res.indexOf('token=') != -1) {
        res = res + getToken();
      }
      this.$store.state.reporturl = res;
      this.reportUrl = res;
      // console.log("2", this.reportUrl)
    }
  },
  mounted() {
    this.reportUrl = this.$store.reporturl;
    this.showChangeIfream(this.$store.reporturl)
    // console.log("1", this.reportUrl)
    this.$bus.$on('changeNaveUrl', (res) => {
      this.showChangeIfream(res)