mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-24 02:03:00 +08:00
refactor(views): 修改知识文件详情页面布局
-调整了多个组件的输入框、按钮等元素的样式- 优化了部分布局结构,提高了可读性和易用性- 统一了表单样式和表格样式 - 调整了面包屑和标签页的样式
This commit is contained in:
@@ -2,14 +2,7 @@
|
||||
<div style="height: 100%;">
|
||||
<div class="mv10 mh20 text-right" v-if="isEdit">
|
||||
<!-- 重试按钮 -->
|
||||
<el-button
|
||||
type=""
|
||||
size="medium"
|
||||
@click="retryMiner"
|
||||
:disabled="finishedMiner"
|
||||
style="margin-right: 10px;"
|
||||
plain
|
||||
>重试</el-button>
|
||||
<el-button type="" size="medium" @click="retryMiner" :disabled="finishedMiner" style="margin-right: 10px;" plain>重试</el-button>
|
||||
<!-- 保存并处理按钮 -->
|
||||
<el-button type="primary" size="medium" @click="saveMarkDown" :disabled="finishedMiner">保存并处理</el-button>
|
||||
</div>
|
||||
@@ -302,16 +295,18 @@ export default {
|
||||
},
|
||||
// 重试方法
|
||||
retryMiner() {
|
||||
minerURetry({ documentId: this.documentId }).then(res => {
|
||||
this.$message({
|
||||
message: '正在重新预处理',
|
||||
type: 'success'
|
||||
});
|
||||
this.finishedMiner = true;
|
||||
this.getMinerUStatus(); // 重新查询状态
|
||||
}).catch(() => {
|
||||
this.$message.error('重试操作失败');
|
||||
});
|
||||
minerURetry({ documentId: this.documentId })
|
||||
.then(res => {
|
||||
this.$message({
|
||||
message: '正在重新预处理',
|
||||
type: 'success'
|
||||
})
|
||||
this.finishedMiner = true
|
||||
this.getMinerUStatus() // 重新查询状态
|
||||
})
|
||||
.catch(() => {
|
||||
this.$message.error('重试操作失败')
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {},
|
||||
|
||||
Reference in New Issue
Block a user