style(button): 优化按钮样式和布局

- 调整了多个组件中的按钮样式,包括禁用状态的样式
- 优化了按钮的排列和间距
- 统一了按钮的样式类和属性
- 移除了部分冗余的代码
This commit is contained in:
陈昱达
2025-05-14 15:36:34 +08:00
parent 2c9ac917fe
commit 6d86c3e447
6 changed files with 83 additions and 75 deletions

View File

@@ -62,6 +62,7 @@
size="medium"
icon="el-icon-plus"
class="primary-button"
disbaled
@click="jumpAddKnowledge"
>上传知识
</el-button>
@@ -91,7 +92,7 @@
</el-button>
<el-button
type="primary"
icon="el-icon-edit-outline"
icon="el-icon-help"
size="medium"
class="line-button"
@click="handleMetaData"
@@ -699,8 +700,8 @@ export default {
on: {
click: () => this.deleteKnowledge(params.row)
}
},
'删除'
}
// '删除'
),
// h(
// 'el-button',
@@ -725,15 +726,15 @@ export default {
props: {
type: 'primary',
size: 'mini',
icon: 'el-icon-tickets',
icon: 'el-icon-help',
title: '添加元数据',
disabled: params.row.documentStatus !== 1
},
on: {
click: () => this.handleAddMetadata(params.row)
}
},
'标注元数据'
}
// '标注元数据'
),
params.row.optStatus < 4
? h(
@@ -743,14 +744,14 @@ export default {
props: {
type: 'primary',
size: 'mini',
icon: 'el-icon-tickets',
title: '添加元数据'
icon: 'el-icon-video-play',
title: '继续处理'
},
on: {
click: () => this.jumpToUpload(params)
}
},
'文件拆分处理'
}
// '文件拆分处理'
)
: ''
])