|
@@ -72,6 +72,7 @@
|
|
|
<div v-show="fileType == 1" class="f_box_file_list" v-loading.body="isLoading">
|
|
|
<div class="list_file_box">
|
|
|
<el-table :data="fileArray" border style="width: 100%; cursor: pointer;"
|
|
|
+ max-height="800px"
|
|
|
@selection-change="handleSelectionChange" ref="myTable" :row-key="row => row.id" @row-click="checkFile">
|
|
|
<template #empty>
|
|
|
<div class="customC">
|
|
@@ -81,30 +82,34 @@
|
|
|
<div style="height: 50px;line-height: 40px;">{{ lang.noDataContent }}</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-table-column type="selection" width="50px" :reserve-selection="true"></el-table-column>
|
|
|
- <el-table-column prop="name" :label=lang.fileName show-overflow-tooltip min-width="15"></el-table-column>
|
|
|
+ <el-table-column type="selection" width="50px" :reserve-selection="true" fixed></el-table-column>
|
|
|
+ <el-table-column prop="name" :label=lang.fileName show-overflow-tooltip min-width="150px"></el-table-column>
|
|
|
<el-table-column prop="folderName" :label=lang.folderBelongs show-overflow-tooltip
|
|
|
- min-width="20"></el-table-column>
|
|
|
- <el-table-column prop="username" :label=lang.owner show-overflow-tooltip width="120"></el-table-column>
|
|
|
+ min-width="150px"></el-table-column>
|
|
|
+ <el-table-column prop="username" :label=lang.owner show-overflow-tooltip width="100px"></el-table-column>
|
|
|
|
|
|
- <el-table-column :label=lang.sliceClassification width="120px">
|
|
|
+ <el-table-column :label=lang.sliceClassification width="100px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState(scope.row.ingestionStatus) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label=lang.graphExtraction width="120px">
|
|
|
+ <el-table-column :label=lang.graphExtraction width="100px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState2(scope.row.extractionStatus) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column :label=lang.fileType show-overflow-tooltip width="120">
|
|
|
+ <el-table-column :label=lang.fileType show-overflow-tooltip width="100px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.documentType ? scope.row.documentType : "-" }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column label="公开状态" show-overflow-tooltip width="80px"></el-table-column> -->
|
|
|
- <el-table-column prop="time" :label=lang.uploadTime show-overflow-tooltip min-width="20"></el-table-column>
|
|
|
- <el-table-column :label=lang.operate width="100px">
|
|
|
+ <el-table-column prop="time" :label="lang.uploadTime" show-overflow-tooltip width="100px">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ {{ scope.row.time }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column :label=lang.operate width="100px" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<el-popover placement="bottom-end" trigger="hover" visible-arrow popper-class="custom-popover"
|
|
|
width="100px">
|
|
@@ -183,8 +188,18 @@
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
- <el-pagination class="pageBox" style="margin-top: 10px" layout="total, prev, pager, next" :page-size="limit"
|
|
|
- :total="total" @current-change="handleCurrentChange">
|
|
|
+ <el-pagination class="pageBox" style="margin-top: 10px" layout="total, prev, pager, next, slot" :page-size="limit"
|
|
|
+ :total="total" @current-change="handleCurrentChange"
|
|
|
+ :page-sizes="[10, 20, 50, 100]"
|
|
|
+ >
|
|
|
+ <el-select v-model="limit" @change="handleSizeChange" class="file_mySelect">
|
|
|
+ <el-option
|
|
|
+ v-for="item in [10, 20, 50, 100]"
|
|
|
+ :key="item"
|
|
|
+ :label="item"
|
|
|
+ :value="item"
|
|
|
+ ></el-option>
|
|
|
+ </el-select>
|
|
|
</el-pagination>
|
|
|
<div v-if="proVisible" class="mask">
|
|
|
<div class="progressBox">
|
|
@@ -366,6 +381,10 @@ export default {
|
|
|
this.page = val;
|
|
|
this.getData();
|
|
|
},
|
|
|
+ handleSizeChange(val){
|
|
|
+ this.limit = val
|
|
|
+ this.getData()
|
|
|
+ },
|
|
|
getData() {
|
|
|
this.isLoading = true;
|
|
|
let params = {
|
|
@@ -1256,7 +1275,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.list_file_box>>>.el-table__header-wrapper {
|
|
|
- margin-bottom: 10px !important;
|
|
|
+ /* margin-bottom: 10px !important; */
|
|
|
}
|
|
|
|
|
|
.list_file_box>>>.el-table__row {
|