完成流水明细查询前端实现并移除旧跳转入口
This commit is contained in:
@@ -83,29 +83,6 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="uploadUser" label="上传人" width="100"></el-table-column>
|
||||
<el-table-column label="操作" width="120" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button
|
||||
v-if="scope.row.fileStatus === 'parsed_success'"
|
||||
type="text"
|
||||
size="small"
|
||||
@click="handleViewFlow(scope.row)"
|
||||
>
|
||||
查看流水
|
||||
</el-button>
|
||||
<el-button
|
||||
v-if="scope.row.fileStatus === 'parsed_failed'"
|
||||
type="text"
|
||||
size="small"
|
||||
@click="handleViewError(scope.row)"
|
||||
>
|
||||
查看错误
|
||||
</el-button>
|
||||
<span v-if="scope.row.fileStatus === 'uploading' || scope.row.fileStatus === 'parsing'">
|
||||
-
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<el-pagination
|
||||
@@ -947,23 +924,6 @@ export default {
|
||||
this.loadFileList();
|
||||
},
|
||||
|
||||
/** 查看流水 */
|
||||
handleViewFlow(record) {
|
||||
this.$emit("menu-change", {
|
||||
key: "detail",
|
||||
route: "detail",
|
||||
params: { logId: record.logId },
|
||||
});
|
||||
},
|
||||
|
||||
/** 查看错误 */
|
||||
handleViewError(record) {
|
||||
this.$alert(record.errorMessage || "未知错误", "错误信息", {
|
||||
confirmButtonText: "确定",
|
||||
type: "error",
|
||||
});
|
||||
},
|
||||
|
||||
/** 状态文本映射 */
|
||||
getStatusText(status) {
|
||||
const map = {
|
||||
|
||||
Reference in New Issue
Block a user