diff --git a/public/index.html b/public/index.html index 7b4bf0fe..be3474fd 100644 --- a/public/index.html +++ b/public/index.html @@ -36,8 +36,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> + window.SITE_CONFIG['apiURL'] = 'http://192.168.43.20:9094/epdc-api' + <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %> diff --git a/src/views/modules/events/item-reject-deal-detail-view.vue b/src/views/modules/events/item-reject-deal-detail-view.vue index c96d9613..94143761 100644 --- a/src/views/modules/events/item-reject-deal-detail-view.vue +++ b/src/views/modules/events/item-reject-deal-detail-view.vue @@ -922,11 +922,12 @@ export default { // 获取信息 getInfo () { this.$http - .get(`/events/item/${this.dataForm.id}`) + .get(`/events/item/reject/${this.dataForm.id}`) .then(({ data: res }) => { if (res.code !== 0) { return this.$message.error(res.msg) } + console.log(res.data) this.timeloading = false this.dataForm = { ...this.dataForm, diff --git a/src/views/modules/events/item-reject-deal-detail.vue b/src/views/modules/events/item-reject-deal-detail.vue index 17dcef96..7181650e 100644 --- a/src/views/modules/events/item-reject-deal-detail.vue +++ b/src/views/modules/events/item-reject-deal-detail.vue @@ -179,7 +179,7 @@ export default { }, // 获取信息 getInfo () { - this.$http.get(`/events/item/${this.dataForm.id}`).then(({ data: res }) => { + this.$http.get(`/events/item/${this.dataForm.id}`).then(({ data: res })=> { if (res.code !== 0) { return this.$message.error(res.msg) }