refactor(views): 修改知识文件详情页面布局

-调整了多个组件的输入框、按钮等元素的样式- 优化了部分布局结构,提高了可读性和易用性- 统一了表单样式和表格样式
- 调整了面包屑和标签页的样式
This commit is contained in:
du.meimei
2025-04-17 16:10:41 +08:00
parent 17613ea2c4
commit eb3be6ba57
5 changed files with 125 additions and 100 deletions

View File

@@ -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() {},