|
@@ -119,12 +119,12 @@
|
|
|
width="120"
|
|
|
></el-table-column>
|
|
|
|
|
|
- <el-table-column label="处理状态" width="120px">
|
|
|
+ <el-table-column label="切片分类" width="120px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState(scope.row.ingestionStatus) }}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="是否提取" width="120px">
|
|
|
+ <el-table-column label="图谱提取" width="120px">
|
|
|
<template slot-scope="scope">
|
|
|
{{ getState2(scope.row.extractionStatus) }}
|
|
|
</template>
|
|
@@ -373,13 +373,13 @@ export default {
|
|
|
} else if (item == "failed") {
|
|
|
return "失败";
|
|
|
} else if (item == "augmenting") {
|
|
|
- return "上传中";
|
|
|
+ return "切片中";
|
|
|
} else if (item == "pending") {
|
|
|
return "待处理";
|
|
|
} else if (item == "enriched") {
|
|
|
return "enriched";
|
|
|
} else if (!item) {
|
|
|
- return "上传中";
|
|
|
+ return "切片中";
|
|
|
} else {
|
|
|
return item;
|
|
|
}
|
|
@@ -552,7 +552,7 @@ export default {
|
|
|
console.log(res, formData);
|
|
|
const message = res.data.results && res.data.results.message;
|
|
|
const status = message === 'Document created and ingested successfully.' ? 'success' : 'failed';
|
|
|
- const msg = message === 'Document created and ingested successfully.' ? '上传成功' : '上传失败';
|
|
|
+ const msg = message === 'Document created and ingested successfully.' ? '切片成功' : '切片失败';
|
|
|
this.$message({
|
|
|
message: msg,
|
|
|
type: status == 'success' ? status : 'error'
|