lyn7568 2 years ago
parent
commit
827b9c347a
2 changed files with 7 additions and 3 deletions
  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
      addOrUpdateVisible: false,
81
      addOrUpdateVisible: false,
82
      imgVisible: false,
82
      imgVisible: false,
83
      imgUrl: '',
83
      imgUrl: '',
84
      meetingId: this.$route.params.id
84
      meetingId: 0
85
    };
85
    };
86
  },
86
  },
87
  components: {
87
  components: {
89
  },
89
  },
90
  activated() {
90
  activated() {
91
    this.getDataList();
91
    this.getDataList();
92
92
  },
93
  },
93
  methods: {
94
  methods: {
94
    // 获取数据列表
95
    // 获取数据列表
95
    getDataList() {
96
    getDataList() {
96
      this.dataListLoading = true;
97
      this.dataListLoading = true;
98
      this.meetingId = this.$route.params.id
97
      this.$http({
99
      this.$http({
98
        url: this.$http.adornUrl("/admin/meetingimages/list"),
100
        url: this.$http.adornUrl("/admin/meetingimages/list"),
99
        method: "get",
101
        method: "get",

+ 4 - 2
static/config/index.js

6
  window.SITE_CONFIG = {};
6
  window.SITE_CONFIG = {};
7
7
8
  // api接口请求地址
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
  // cdn地址 = 域名 + 版本号
14
  // cdn地址 = 域名 + 版本号
13
  window.SITE_CONFIG['domain'] = './'; // 域名
15
  window.SITE_CONFIG['domain'] = './'; // 域名