diff --git a/src/pages/details/meetingDetail/index.vue b/src/pages/details/meetingDetail/index.vue index c82a17752..d8e296d28 100644 --- a/src/pages/details/meetingDetail/index.vue +++ b/src/pages/details/meetingDetail/index.vue @@ -105,6 +105,7 @@ 关 闭 + 数据获取中 @@ -124,6 +125,7 @@ export default { // 更新记录 relateDialog: false, relateNowList: [], + loading: false } }, created() { @@ -132,7 +134,7 @@ export default { methods: { getData () { const id = this.$route.params.id - this.$http._getData(this.url.getMeetingInfo, { meetingId: id }).then(res => { + this.$http._getData(this.url.getMeetingInfo, { meetingId: id }, { _this: this, loading: 'loading' }).then(res => { if (res.ok) { if (res.data.meetingTopicList && res.data.meetingTopicList.length > 0) { const activeNames = [] diff --git a/src/pages/details/policyTopicsDetail/index.vue b/src/pages/details/policyTopicsDetail/index.vue index a16af192f..8ed7b32b0 100644 --- a/src/pages/details/policyTopicsDetail/index.vue +++ b/src/pages/details/policyTopicsDetail/index.vue @@ -257,6 +257,7 @@ 关 闭 + 数据获取中 @@ -276,6 +277,7 @@ export default { // 更新记录 relateDialog: false, relateNowList: [], + loading: false } }, created() { @@ -284,7 +286,7 @@ export default { methods: { getData () { const id = this.$route.params.id - this.$http._getData(this.url.getLawsTopicInfo, { id }).then(res => { + this.$http._getData(this.url.getLawsTopicInfo, { id }, { _this: this, loading: 'loading' }).then(res => { if (res.ok) { const activeNames = [] res.data.meetingList.forEach((item, index) => { diff --git a/src/pages/details/regulatoryMaterialsDetail/index.vue b/src/pages/details/regulatoryMaterialsDetail/index.vue index 051c251d0..59473efb2 100644 --- a/src/pages/details/regulatoryMaterialsDetail/index.vue +++ b/src/pages/details/regulatoryMaterialsDetail/index.vue @@ -82,6 +82,7 @@ 关 闭 + 数据获取中 @@ -105,6 +106,7 @@ export default { // 更新记录 relateDialog: false, relateNowList: [], + loading: false, } }, created() { @@ -133,7 +135,7 @@ export default { getData () { const id = this.$route.params.id - this.$http._getData(this.url.getLawsInformationInfo, { id }).then(res => { + this.$http._getData(this.url.getLawsInformationInfo, { id }, { _this: this, loading: 'loading' }).then(res => { if (res.ok) { this.$set(this, 'form', res.data) }