Browse Source

更新cai单处理按钮reject

epdc-admin-dangqun
fengyu 3 years ago
parent
commit
50810afb25
  1. 4
      public/index.html
  2. 3
      src/views/modules/events/item-reject-deal-detail-view.vue
  3. 2
      src/views/modules/events/item-reject-deal-detail.vue

4
public/index.html

@ -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'
</script>
<% } %>
<!-- 集成测试环境 -->
<% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %>

3
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,

2
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)
}

Loading…
Cancel
Save