|
@@ -49,47 +49,47 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="table-scroll">
|
|
|
- <vxe-table ref="xTable"
|
|
|
+ <vxe-table ref="xTable" :column-config="{resizable: true}" size="mini"
|
|
|
show-overflow class="img-table" max-height="100%" empty-text="没有更多数据了!" :loading="tabLoading"
|
|
|
:loading-config="{icon: 'vxe-icon-indicator roll', text: '任务处理中...'}" :row-config="{isHover: true}"
|
|
|
:edit-config="{trigger: 'click', mode: 'cell'}" :data="fileList" :scroll-y="{enabled: true}">
|
|
|
- <vxe-column type="seq" width="60" title="编号"></vxe-column>
|
|
|
- <vxe-column field="match" title="匹配词" width="100"></vxe-column>
|
|
|
+ <vxe-column type="seq" width="60" title="编号" align="center"></vxe-column>
|
|
|
+ <vxe-column field="match" title="匹配词" width="100" min-width="80" align="center"></vxe-column>
|
|
|
<vxe-column field="path" title="文件位置/名称"></vxe-column>
|
|
|
- <vxe-column field="status" title="操作" width="70" align="center">
|
|
|
+ <vxe-column field="status" title="操作" width="50" min-width="50" max-width="50" align="center">
|
|
|
<template #default="{ rowIndex }">
|
|
|
- <el-link icon="el-icon-s-release" type="warning" @click="delFile(rowIndex)" style="font-size: 13px;">忽略</el-link>
|
|
|
+ <el-link type="warning" @click="delFile(rowIndex)" style="font-size: 12px;">忽略</el-link>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
|
- <vxe-column field="status" title="状态" width="90" align="center">
|
|
|
+ <vxe-column field="status" title="状态" width="80" max-width="80" min-width="80" align="center">
|
|
|
<template #default="{ row }">
|
|
|
<template v-if="row.status == '1'">
|
|
|
- <i class="el-icon-info" style="font-size: 13px; color: #999;"></i>
|
|
|
- <span style="font-size: 13px;">待操作</span>
|
|
|
+ <!-- <i class="el-icon-info" style="font-size: 13px; color: #999;"></i> -->
|
|
|
+ <span style="font-size: 12px;">待操作</span>
|
|
|
</template>
|
|
|
<template v-if="row.status == '2'">
|
|
|
- <i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
|
|
|
- <span style="font-size: 13px;">复制成功</span>
|
|
|
+ <!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
|
|
|
+ <span style="font-size: 12px;color: #19be6b;">复制成功</span>
|
|
|
</template>
|
|
|
<template v-if="row.status == '3'">
|
|
|
- <i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
|
|
|
- <span style="font-size: 13px;">剪切成功</span>
|
|
|
+ <!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
|
|
|
+ <span style="font-size: 12px;color: #19be6b;">剪切成功</span>
|
|
|
</template>
|
|
|
<template v-if="row.status == '4'">
|
|
|
- <i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
|
|
|
- <span style="font-size: 13px;">删除成功</span>
|
|
|
+ <!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
|
|
|
+ <span style="font-size: 12px;color: #19be6b;">删除成功</span>
|
|
|
</template>
|
|
|
<template v-if="row.status == '5'">
|
|
|
- <i class="el-icon-success" style="font-size: 13px; color: #19be6b;"></i>
|
|
|
- <span style="font-size: 13px;">覆盖成功</span>
|
|
|
+ <!-- <i class="el-icon-success" style="font-size: 12px; color: #19be6b;"></i> -->
|
|
|
+ <span style="font-size: 12px;color: #19be6b;">覆盖成功</span>
|
|
|
</template>
|
|
|
<template v-if="row.status == '6'">
|
|
|
- <i class="el-icon-error" style="font-size: 13px; color: #ed4014;"></i>
|
|
|
- <span style="font-size: 13px;">处理失败</span>
|
|
|
+ <!-- <i class="el-icon-error" style="font-size: 12px; color: #ed4014;"></i> -->
|
|
|
+ <span style="font-size: 12px;color: #ed4014;">处理失败</span>
|
|
|
</template>
|
|
|
<template v-if="row.status == '7'">
|
|
|
- <i class="el-icon-error" style="font-size: 13px; color: #ed4014;"></i>
|
|
|
- <span style="font-size: 13px;">覆盖失败</span>
|
|
|
+ <!-- <i class="el-icon-error" style="font-size: 12px; color: #ed4014;"></i> -->
|
|
|
+ <span style="font-size: 12px;color: #ed4014;">覆盖失败</span>
|
|
|
</template>
|
|
|
</template>
|
|
|
</vxe-column>
|
|
@@ -799,4 +799,8 @@ export default {
|
|
|
height: 100%;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .vxe-cell{
|
|
|
+ padding: 0 2px !important;
|
|
|
+ }
|
|
|
</style>
|