|
@@ -74,7 +74,7 @@
|
|
|
<el-button style="background: #F56C6C;" type="danger" size="small" v-if="checkArray.length" @click="batchDelete"
|
|
|
>{{lang.delete}}</el-button
|
|
|
>
|
|
|
- <span v-if="checkArray.length" style="margin-left: 12px;color: #b0b0b0;font-size: 14px;flex-shrink:0;line-height: 35px;">{{lang.selectedFiles}} {{checkArray.length}} {{lang.piece}}</span>
|
|
|
+ <span v-if="checkArray.length" style="margin-left: 12px;color: #b0b0b0;font-size: 14px;flex-shrink:0;line-height: 35px;">{{ lang.x_items_selected.replace("${x}",checkArray.length) }}</span>
|
|
|
|
|
|
</div>
|
|
|
</div>
|
|
@@ -120,7 +120,7 @@
|
|
|
show-overflow-tooltip
|
|
|
width="120"
|
|
|
></el-table-column>
|
|
|
-
|
|
|
+
|
|
|
<el-table-column :label=lang.sliceClassification width="120px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState(scope.row.ingestionStatus) }}
|
|
@@ -155,7 +155,7 @@
|
|
|
>
|
|
|
<div class="BtnHP">
|
|
|
<div class="BtnHPDel1">
|
|
|
-
|
|
|
+
|
|
|
<!-- <el-button
|
|
|
type="text"
|
|
|
size="small"
|
|
@@ -163,15 +163,15 @@
|
|
|
:disabled="scope.row.ingestionStatus == 'failed'"
|
|
|
>提取</el-button
|
|
|
> -->
|
|
|
- <div class="btnBh"
|
|
|
+ <div class="btnBh"
|
|
|
@click="extractFile(scope.row)"
|
|
|
@mouseover="isHover = true"
|
|
|
:disabled="scope.row.ingestionStatus == 'failed'"
|
|
|
@mouseleave="isHover = false"
|
|
|
v-if="scope.row.userid == userid">
|
|
|
- <img
|
|
|
+ <img
|
|
|
style="width: 14px;"
|
|
|
- :src="isHover ? tqList2 : tqList"
|
|
|
+ :src="isHover ? tqList2 : tqList"
|
|
|
alt="">
|
|
|
<span :class="isHover ? 'lookHp2' : 'lookHp1'">{{lang.extract}}</span>
|
|
|
</div>
|
|
@@ -183,23 +183,23 @@
|
|
|
>查看</el-button
|
|
|
> -->
|
|
|
|
|
|
- <div class="btnBh"
|
|
|
+ <div class="btnBh"
|
|
|
@click="checkFile(scope.row)"
|
|
|
@mouseover="isHover2 = true"
|
|
|
:disabled="scope.row.ingestionStatus == 'failed'"
|
|
|
@mouseleave="isHover2 = false">
|
|
|
- <img
|
|
|
- :src="isHover2 ? look2 : look1"
|
|
|
+ <img
|
|
|
+ :src="isHover2 ? look2 : look1"
|
|
|
alt="">
|
|
|
<span :class="isHover2 ? 'lookHp2' : 'lookHp1'">{{lang.view}}</span>
|
|
|
</div>
|
|
|
- <div class="btnBh"
|
|
|
+ <div class="btnBh"
|
|
|
@click="downloadFile(scope.row)"
|
|
|
@mouseover="isHover3 = true"
|
|
|
:disabled="scope.row.ingestionStatus == 'failed'"
|
|
|
@mouseleave="isHover3 = false">
|
|
|
- <img
|
|
|
- :src="isHover3 ? download2 : download"
|
|
|
+ <img
|
|
|
+ :src="isHover3 ? download2 : download"
|
|
|
alt="">
|
|
|
<span :class="isHover3 ? 'lookHp2' : 'lookHp1'">{{lang.download}}</span>
|
|
|
</div>
|
|
@@ -213,7 +213,7 @@
|
|
|
@click="deleteFile(scope.row.id, scope.row.documentid)"
|
|
|
>删除</el-button
|
|
|
> -->
|
|
|
- <div class="btnBh2"
|
|
|
+ <div class="btnBh2"
|
|
|
@click="deleteFile(scope.row.id, scope.row.documentid)"
|
|
|
v-if="scope.row.userid == userid">
|
|
|
<img src="../../../assets/listdel.svg" alt="">
|
|
@@ -607,7 +607,7 @@ export default {
|
|
|
};
|
|
|
const res2 = await this.ajax.post(this.$store.state.api + "addFile", [
|
|
|
params
|
|
|
- ]);
|
|
|
+ ]);
|
|
|
} catch (err) {
|
|
|
console.error(err);
|
|
|
this.$message.error(this.lang.uploadFail);
|
|
@@ -696,7 +696,7 @@ export default {
|
|
|
|
|
|
extractFile(row) {
|
|
|
if (row.ingestionStatus != "success") return this.$message.info(this.lang.fileUploadFail)
|
|
|
-
|
|
|
+
|
|
|
let params = {
|
|
|
documentid: row.documentid
|
|
|
};
|