lyn7568 2 ans auparavant
Parent
commit
827b9c347a
2 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. 3 1
      src/views/modules/admin/meetingimages.vue
  2. 4 2
      static/config/index.js

+ 3 - 1
src/views/modules/admin/meetingimages.vue

@ -81,7 +81,7 @@ export default {
81 81
      addOrUpdateVisible: false,
82 82
      imgVisible: false,
83 83
      imgUrl: '',
84
      meetingId: this.$route.params.id
84
      meetingId: 0
85 85
    };
86 86
  },
87 87
  components: {
@ -89,11 +89,13 @@ export default {
89 89
  },
90 90
  activated() {
91 91
    this.getDataList();
92
92 93
  },
93 94
  methods: {
94 95
    // 获取数据列表
95 96
    getDataList() {
96 97
      this.dataListLoading = true;
98
      this.meetingId = this.$route.params.id
97 99
      this.$http({
98 100
        url: this.$http.adornUrl("/admin/meetingimages/list"),
99 101
        method: "get",

+ 4 - 2
static/config/index.js

@ -6,8 +6,10 @@
6 6
  window.SITE_CONFIG = {};
7 7
8 8
  // api接口请求地址
9
  window.SITE_CONFIG['baseUrl'] = 'http://192.168.3.233:8002/fyhs-meeting';
10
  window.SITE_CONFIG['img'] = 'http://192.168.3.233';
9
  window.SITE_CONFIG['baseUrl'] = 'http://192.168.2.251:8002/fyhs-meeting';
10
  window.SITE_CONFIG['img'] = 'http://192.168.2.251:89';
11
  // window.SITE_CONFIG['baseUrl'] = 'http://meeting.ecorr.org.cn/fyhs-meeting';
12
  // window.SITE_CONFIG['img'] = 'http://meeting.ecorr.org.cn';
11 13
12 14
  // cdn地址 = 域名 + 版本号
13 15
  window.SITE_CONFIG['domain'] = './'; // 域名