|
|
@ -18,17 +18,17 @@ |
|
|
|
<div class="source"><img src="@/assets/img/data2.png" alt=""> 数据来源:{{dataSource}}</div> |
|
|
|
<div class="source"><img src="@/assets/img/data2.png" alt=""> 数据来源:{{dataSource}}</div> |
|
|
|
<div class="page-content"> |
|
|
|
<div class="page-content"> |
|
|
|
<el-table :data="listData" class="table" ref="table" stripe header-align="center" row-key="id" highlight-current-row @current-change="previewCurrentChange"> |
|
|
|
<el-table :data="listData" class="table" ref="table" stripe header-align="center" row-key="id" highlight-current-row @current-change="previewCurrentChange"> |
|
|
|
<el-table-column type="index" width="100" label="序号" align="center"></el-table-column> |
|
|
|
<el-table-column type="index" width="60" label="序号" align="center"></el-table-column> |
|
|
|
<el-table-column prop="showName" label="数据表名称" min-width="300" align="center" :show-overflow-tooltip="true"></el-table-column> |
|
|
|
<el-table-column prop="showName" label="数据表名称" min-width="220" align="center" :show-overflow-tooltip="true"></el-table-column> |
|
|
|
<el-table-column prop="dataTotal" label="数据总量" width="90" align="center"></el-table-column> |
|
|
|
<el-table-column prop="dataTotal" label="数据总量" width="90" align="center"></el-table-column> |
|
|
|
<el-table-column prop="timeRange" label="起止时间" width="220" align="center"></el-table-column> |
|
|
|
<el-table-column prop="timeRange" label="起止时间" width="175" align="center"></el-table-column> |
|
|
|
<el-table-column prop="dataSize" label="数据大小" width="90" align="center"> |
|
|
|
<el-table-column prop="dataSize" label="数据大小" width="90" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
{{scope.row.dataSize}}M |
|
|
|
{{scope.row.dataSize}}M |
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="updateTime" label="更新时间" width="170" align="center"></el-table-column> |
|
|
|
<el-table-column prop="updateTime" label="更新时间" width="155" align="center"></el-table-column> |
|
|
|
<el-table-column label="操作" width="200" align="center"> |
|
|
|
<el-table-column label="操作" width="100" align="center"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-button type="text" @click="preview(scope.row)" v-auth>预览</el-button> |
|
|
|
<el-button type="text" @click="preview(scope.row)" v-auth>预览</el-button> |
|
|
|
<el-button type="text" @click="download(scope.row)" v-auth>下载</el-button> |
|
|
|
<el-button type="text" @click="download(scope.row)" v-auth>下载</el-button> |
|
|
@ -487,7 +487,8 @@ export default { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
padding-bottom: 20px !important; |
|
|
|
padding-bottom: 20px !important; |
|
|
|
/deep/.left{ |
|
|
|
/deep/.left{ |
|
|
|
height: calc(100vh - 166px); |
|
|
|
width: 239px; |
|
|
|
|
|
|
|
height: calc(100vh - 190px); |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 20px; |
|
|
|
overflow: auto; |
|
|
|
overflow: auto; |
|
|
|
&::-webkit-scrollbar { |
|
|
|
&::-webkit-scrollbar { |
|
|
@ -553,8 +554,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.right{ |
|
|
|
.right{ |
|
|
|
flex: 1; |
|
|
|
width: calc(100% - 260px); |
|
|
|
max-width: calc(100% - 220px); |
|
|
|
|
|
|
|
.page{ |
|
|
|
.page{ |
|
|
|
margin-bottom: 20px; |
|
|
|
margin-bottom: 20px; |
|
|
|
.source { |
|
|
|
.source { |
|
|
|