forked from github/dataease
fix(系统设置): 滚动区域不对;操作项宽度缩小
This commit is contained in:
parent
a9bee350b5
commit
6468a74805
@ -104,7 +104,7 @@ export default {
|
||||
no_failed_file: '暂无失败文件',
|
||||
no_file: '暂无文件',
|
||||
no_task: '暂无任务',
|
||||
download_all: '下载全部',
|
||||
download_all: '全部下载',
|
||||
download: '下载'
|
||||
},
|
||||
driver: {
|
||||
|
@ -378,6 +378,7 @@ defineExpose({
|
||||
<el-table
|
||||
ref="multipleTable"
|
||||
:data="tableData"
|
||||
height="100%"
|
||||
style="width: 100%"
|
||||
@selection-change="handleSelectionChange"
|
||||
>
|
||||
@ -385,8 +386,8 @@ defineExpose({
|
||||
<el-table-column prop="fileName" :label="$t('driver.file_name')" width="332">
|
||||
<template #default="scope">
|
||||
<div class="name-excel">
|
||||
<el-icon>
|
||||
<Icon name="file-excel_colorful"></Icon>
|
||||
<el-icon style="font-size: 24px">
|
||||
<Icon name="icon_file-excel_colorful"></Icon>
|
||||
</el-icon>
|
||||
<div class="name-content">
|
||||
<div class="fileName">{{ scope.row.fileName }}</div>
|
||||
@ -421,18 +422,18 @@ defineExpose({
|
||||
<span>{{ timestampFormatDate(scope.row.exportTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column fixed="right" prop="operate" width="150" :label="$t('commons.operating')">
|
||||
<el-table-column fixed="right" prop="operate" width="90" :label="$t('commons.operating')">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-if="scope.row.exportStatus === 'SUCCESS'"
|
||||
text
|
||||
@click="downloadClick(scope.row)"
|
||||
>
|
||||
<div class="download-export">
|
||||
<template #icon>
|
||||
<el-icon>
|
||||
<Icon name="dv-preview-download"></Icon>
|
||||
</el-icon>
|
||||
</div>
|
||||
</template>
|
||||
</el-button>
|
||||
<el-tooltip effect="dark" content="重新导出" placement="top">
|
||||
<el-button v-if="scope.row.exportStatus === 'FAILED'" text @click="retry(scope.row)">
|
||||
@ -468,6 +469,9 @@ defineExpose({
|
||||
|
||||
<style lang="less">
|
||||
.de-export-excel {
|
||||
.ed-drawer__body {
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.ed-drawer__header {
|
||||
border-bottom: none;
|
||||
}
|
||||
@ -478,12 +482,9 @@ defineExpose({
|
||||
}
|
||||
}
|
||||
|
||||
.download-export {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.table-container {
|
||||
margin-top: 16px;
|
||||
height: calc(100vh - 190px);
|
||||
|
||||
.ed-table .cell {
|
||||
padding-left: 12px;
|
||||
|
Loading…
Reference in New Issue
Block a user