feat: 内外部会议、政策课题、政策法规资料详情-添加loading
This commit is contained in:
@@ -105,6 +105,7 @@
|
||||
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<loading :loading="loading">数据获取中</loading>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
@@ -257,6 +257,7 @@
|
||||
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<loading :loading="loading">数据获取中</loading>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
||||
</span>
|
||||
</el-dialog>
|
||||
<loading :loading="loading">数据获取中</loading>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user