编辑清单增加loading
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<!--标准法规库 - 标准法规国家地区清单 - 新增、编辑页-->
|
||||
<template>
|
||||
<div class="list-of-standards-and-regulations-details v-class">
|
||||
<loading :loading="boxLoading">数据获取中</loading>
|
||||
<!--基础信息-->
|
||||
<div class="basic-information">
|
||||
<el-divider content-position="left">基础信息</el-divider>
|
||||
@@ -822,6 +823,7 @@ export default {
|
||||
kccvppscn: ''
|
||||
},
|
||||
selectSearch: [],
|
||||
boxLoading: true,
|
||||
// 新增、编辑 基础信息字段
|
||||
sarAccessEO: {
|
||||
id: '',
|
||||
@@ -2364,6 +2366,11 @@ export default {
|
||||
computed: {
|
||||
...mapGetters(['getAccessStandardRegRow']),
|
||||
},
|
||||
mounted(){
|
||||
setTimeout(() => {
|
||||
this.boxLoading = false
|
||||
}, 2000)
|
||||
},
|
||||
created() {
|
||||
this.zqaId = this.$route.query.id;
|
||||
this.page = this.$route.query.page
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!--标准法规库 - 标准法规其他清单 - 新增、编辑页-->
|
||||
<template>
|
||||
<div class="list-of-standards-and-regulations-details v-class">
|
||||
<loading :loading="boxLoading">数据获取中</loading>
|
||||
<!--基础信息-->
|
||||
<div class="basic-information">
|
||||
<el-divider content-position="left">基础信息</el-divider>
|
||||
@@ -623,6 +624,7 @@ export default {
|
||||
textStatusMap: {},
|
||||
typeApplicableMap: {},
|
||||
selectSearch : [],
|
||||
boxLoading: true,
|
||||
// 新增、编辑 基础信息字段
|
||||
sarAccessEO: {
|
||||
id: '',
|
||||
@@ -2219,6 +2221,9 @@ export default {
|
||||
this.$refs['sarAccessForm'].resetFields()
|
||||
})
|
||||
}
|
||||
setTimeout(() => {
|
||||
this.boxLoading = false
|
||||
}, 2000)
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
next()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!--标准法规库 - 标准法规其他清单 - 新增、编辑页-->
|
||||
<template>
|
||||
<div class="list-of-standards-and-regulations-details v-class">
|
||||
<loading :loading="boxLoading">数据获取中</loading>
|
||||
<!--基础信息-->
|
||||
<div class="basic-information">
|
||||
<el-divider content-position="left">基础信息</el-divider>
|
||||
@@ -668,6 +669,7 @@ export default {
|
||||
return {
|
||||
textStatusMap: {},
|
||||
selectSearch: [],
|
||||
boxLoading: true,
|
||||
// 新增、编辑 基础信息字段
|
||||
sarAccessEO: {
|
||||
id: '',
|
||||
@@ -2149,6 +2151,9 @@ export default {
|
||||
this.$refs['sarAccessForm'].resetFields()
|
||||
})
|
||||
}
|
||||
setTimeout(() => {
|
||||
this.boxLoading = false
|
||||
}, 2000)
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
next()
|
||||
|
||||
Reference in New Issue
Block a user