|
|
@ -53,7 +53,8 @@ export default { |
|
|
id: '', |
|
|
id: '', |
|
|
issueId: '', |
|
|
issueId: '', |
|
|
eventContent: '' |
|
|
eventContent: '' |
|
|
} |
|
|
}, |
|
|
|
|
|
eventId: '' |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
mounted () { |
|
|
mounted () { |
|
|
@ -65,12 +66,36 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
backToUserRelationList () { |
|
|
backToUserRelationList () { |
|
|
this.$emit('refreshDataList') |
|
|
this.$emit('refreshDataList') |
|
|
this.$parent.selectComponent = 'EventssummaryList' |
|
|
this.$parent.selectComponent = 'IssuessummaryList' |
|
|
this.$router.push({ path: '/user-eventssummaryroute' }) |
|
|
this.$router.push({ path: '/events-eventssummaryroute', query: { eventId: this.eventId } }) |
|
|
}, |
|
|
}, |
|
|
getItemsInfo () { |
|
|
getDataList () { |
|
|
this.$parent.selectComponent = 'ItemssummaryList' |
|
|
this.dataListLoading = true |
|
|
this.$router.push({ path: '/user-eventssummaryroute.vue', query: { issueId: this.$route.query.id } }) |
|
|
this.$http.get( |
|
|
|
|
|
this.mixinViewModuleOptions.getDataListURL, |
|
|
|
|
|
{ |
|
|
|
|
|
params: { |
|
|
|
|
|
order: this.order, |
|
|
|
|
|
orderField: this.orderField, |
|
|
|
|
|
page: this.mixinViewModuleOptions.getDataListIsPage ? this.page : null, |
|
|
|
|
|
limit: this.mixinViewModuleOptions.getDataListIsPage ? this.limit : null, |
|
|
|
|
|
...this.dataForm |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
).then(({ data: res }) => { |
|
|
|
|
|
this.dataListLoading = false |
|
|
|
|
|
this.radio = 0 |
|
|
|
|
|
if (res.code !== 0) { |
|
|
|
|
|
this.dataList = [] |
|
|
|
|
|
this.total = 0 |
|
|
|
|
|
return this.$message.error(res.msg) |
|
|
|
|
|
} |
|
|
|
|
|
this.dataList = res.data.list |
|
|
|
|
|
this.total = this.mixinViewModuleOptions.getDataListIsPage ? res.data.total : 0 |
|
|
|
|
|
this.eventId = res.data.list[0].eventId |
|
|
|
|
|
}).catch(() => { |
|
|
|
|
|
this.dataListLoading = false |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|