fix: 页面loading 效果

This commit is contained in:
taojinlong 2021-07-29 14:50:30 +08:00
parent d02199f44b
commit bfc646d3a3
4 changed files with 3 additions and 5 deletions

View File

@ -75,7 +75,6 @@ export default {
},
methods: {
search(condition, e) {
console.log(condition)
if (condition) {
this.condition = condition
}

View File

@ -1,6 +1,6 @@
<template>
<el-col>
<el-row style="margin-top: 10px;">
<el-row style="margin-top: 10px;" v-loading="$store.getters.loadingMap[$store.getters.currentPath]">
<complex-table :data="data" :columns="columns" local-key="datasetTask" :transCondition="transCondition" :search-config="searchConfig" :pagination-config="paginationConfig" @select="select" @search="search" @sort-change="sortChange">
<template #toolbar>
<el-button icon="el-icon-circle-plus-outline" @click="selectDataset">{{ $t('dataset.task.create') }}</el-button>

View File

@ -1,6 +1,6 @@
<template>
<el-col>
<el-row style="margin-top: 10px;">
<el-row style="margin-top: 10px;" v-loading="$store.getters.loadingMap[$store.getters.currentPath]">
<complex-table :data="data" :columns="columns" local-key="datasetTaskRecord" :search-config="searchConfig" :transCondition="transCondition" :pagination-config="paginationConfig" @select="select" @search="search" @sort-change="sortChange">
<el-table-column prop="name" :label="$t('dataset.task_name')">
<template slot-scope="scope">
@ -122,7 +122,6 @@ export default {
computed: {
},
created() {
console.log(this.param)
if (this.param !== null && this.param.taskId) {
this.matchLogId = this.param.logId || this.matchLogId
this.transCondition['dataset_table_task.id'] = {

View File

@ -1,5 +1,5 @@
<template>
<layout-content v-loading="$store.getters.loadingMap[$store.getters.currentPath]">
<layout-content>
<el-row style="height: 100%;width: 100%;">
<el-tabs v-model="tabActive" @tab-click="changeTab">