feat: 内外部会议、政策课题、政策法规资料详情-添加loading
This commit is contained in:
@@ -105,6 +105,7 @@
|
|||||||
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<loading :loading="loading">数据获取中</loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -124,6 +125,7 @@ export default {
|
|||||||
// 更新记录
|
// 更新记录
|
||||||
relateDialog: false,
|
relateDialog: false,
|
||||||
relateNowList: [],
|
relateNowList: [],
|
||||||
|
loading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -132,7 +134,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getData () {
|
getData () {
|
||||||
const id = this.$route.params.id
|
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.ok) {
|
||||||
if (res.data.meetingTopicList && res.data.meetingTopicList.length > 0) {
|
if (res.data.meetingTopicList && res.data.meetingTopicList.length > 0) {
|
||||||
const activeNames = []
|
const activeNames = []
|
||||||
|
|||||||
@@ -257,6 +257,7 @@
|
|||||||
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<loading :loading="loading">数据获取中</loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -276,6 +277,7 @@ export default {
|
|||||||
// 更新记录
|
// 更新记录
|
||||||
relateDialog: false,
|
relateDialog: false,
|
||||||
relateNowList: [],
|
relateNowList: [],
|
||||||
|
loading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -284,7 +286,7 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getData () {
|
getData () {
|
||||||
const id = this.$route.params.id
|
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) {
|
if (res.ok) {
|
||||||
const activeNames = []
|
const activeNames = []
|
||||||
res.data.meetingList.forEach((item, index) => {
|
res.data.meetingList.forEach((item, index) => {
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
<el-button type="primary" @click="relateDialogClose()">关 闭</el-button>
|
||||||
</span>
|
</span>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<loading :loading="loading">数据获取中</loading>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -105,6 +106,7 @@ export default {
|
|||||||
// 更新记录
|
// 更新记录
|
||||||
relateDialog: false,
|
relateDialog: false,
|
||||||
relateNowList: [],
|
relateNowList: [],
|
||||||
|
loading: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
@@ -133,7 +135,7 @@ export default {
|
|||||||
|
|
||||||
getData () {
|
getData () {
|
||||||
const id = this.$route.params.id
|
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) {
|
if (res.ok) {
|
||||||
this.$set(this, 'form', res.data)
|
this.$set(this, 'form', res.data)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user