|
@@ -841,7 +841,7 @@ export default {
|
|
|
this.$refs.menuTree.setCurrentKey(null)
|
|
|
}
|
|
|
if(type==='refresh') {
|
|
|
- this.$refs.valueUl.scrollTop = 0;
|
|
|
+ this.$refs.valueUl&&(this.$refs.valueUl.scrollTop = 0);
|
|
|
}
|
|
|
this.$nextTick(()=>{
|
|
|
const _node = this.$refs.menuTree.getNode(this.select_node)
|
|
@@ -1232,7 +1232,7 @@ export default {
|
|
|
if(this.selected_edbid) {
|
|
|
this.loading = this.$loading({
|
|
|
lock: true,
|
|
|
- target:'.main-right',
|
|
|
+ target:'.detail',
|
|
|
text: '刷新数据中...',
|
|
|
spinner: 'el-icon-loading',
|
|
|
background: 'rgba(255, 255, 255, 0.8)'
|
|
@@ -1728,10 +1728,18 @@ export default {
|
|
|
/* 基础指标刷新 */
|
|
|
refreshBaseHandler() {
|
|
|
this.refreshLoading = true;
|
|
|
+ this.loading = this.$loading({
|
|
|
+ lock: true,
|
|
|
+ target:'.detail',
|
|
|
+ text: '刷新数据中...',
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
+ background: 'rgba(255, 255, 255, 0.8)'
|
|
|
+ });
|
|
|
dataBaseInterface.refreshBaseTarget({
|
|
|
EdbInfoId: Number(this.selected_edbid)
|
|
|
}).then(res => {
|
|
|
this.refreshLoading = false;
|
|
|
+ this.loading&&this.loading.close()
|
|
|
if(res.Ret !== 200) return;
|
|
|
this.$message.success(res.Msg);
|
|
|
this.initDataStatus();
|