提交 f9a9848f authored 作者: taojinlong's avatar taojinlong

fix: 页面loading 效果

上级 194e7f81
......@@ -75,7 +75,6 @@ export default {
},
methods: {
search(condition, e) {
console.log(condition)
if (condition) {
this.condition = condition
}
......
<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>
......
<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'] = {
......
<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">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论