@ -36,8 +36,8 @@
<% if (process.env.VUE_APP_NODE_ENV === 'dev') { %>
<script>
// window.SITE_CONFIG['apiURL'] = 'http://localhost:9094/epdc-api'
window.SITE_CONFIG['apiURL'] = 'http://47.104.92.53/epdc-api-sb'
</script>
window.SITE_CONFIG['apiURL'] = 'http://192.168.43.20:9094/epdc-api'
<% } %>
<!-- 集成测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>
@ -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,
@ -179,7 +179,7 @@ export default {
},
this.$http.get(`/events/item/${this.dataForm.id}`).then(({ data: res }) => {
this.$http.get(`/events/item/${this.dataForm.id}`).then(({ data: res })=> {