forked from github/dataease
feat(frontend):部分地方主题色修改;弹框选择数据集增加loading
This commit is contained in:
parent
b8a64a3fc5
commit
58299c74fb
@ -51,7 +51,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<!--scene-->
|
<!--scene-->
|
||||||
<el-col v-if="sceneMode">
|
<el-col v-if="sceneMode" v-loading="dsLoading">
|
||||||
<el-row class="title-css">
|
<el-row class="title-css">
|
||||||
<span class="title-text">
|
<span class="title-text">
|
||||||
{{ currGroup.name }}
|
{{ currGroup.name }}
|
||||||
@ -150,7 +150,8 @@ export default {
|
|||||||
tableForm: {
|
tableForm: {
|
||||||
name: '',
|
name: '',
|
||||||
sort: 'type asc,create_time desc,name asc'
|
sort: 'type asc,create_time desc,name asc'
|
||||||
}
|
},
|
||||||
|
dsLoading: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
@ -219,6 +220,7 @@ export default {
|
|||||||
tableTree() {
|
tableTree() {
|
||||||
this.tableData = []
|
this.tableData = []
|
||||||
if (this.currGroup) {
|
if (this.currGroup) {
|
||||||
|
this.dsLoading = true
|
||||||
post('/dataset/table/list', {
|
post('/dataset/table/list', {
|
||||||
sort: 'type asc,create_time desc,name asc',
|
sort: 'type asc,create_time desc,name asc',
|
||||||
sceneId: this.currGroup.id,
|
sceneId: this.currGroup.id,
|
||||||
@ -235,6 +237,9 @@ export default {
|
|||||||
this.$nextTick(function() {
|
this.$nextTick(function() {
|
||||||
this.unionDataChange()
|
this.unionDataChange()
|
||||||
})
|
})
|
||||||
|
this.dsLoading = false
|
||||||
|
}).catch(res => {
|
||||||
|
this.dsLoading = false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -169,7 +169,7 @@ export default {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
.span-number{
|
.span-number{
|
||||||
color: #f18126;
|
color: #0a7be0;
|
||||||
}
|
}
|
||||||
.table-count{
|
.table-count{
|
||||||
color: #606266;
|
color: #606266;
|
||||||
|
Loading…
Reference in New Issue
Block a user