mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-24 18:23:05 +08:00
feat(knowledge): 新增知识库表单组件并优化相关功能- 新增知识库表单组件,用于创建和编辑知识库- 优化知识库列表和详情页面的样式和布局
- 添加新的 SCSS 文件以定义表单标签和单选框样式 - 修改按钮和输入框的样式,增加激活和焦点状态 - 更新 RenderDialog 组件,支持自定义宽度和销毁选项 -调整 RenderTable 组件,移除条纹样式
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<el-dialog :visible.sync="visible" :title="title" :append-to-body="appendToBody">
|
||||
<el-dialog :visible.sync="visible" :title="title" :append-to-body="appendToBody" :destroy-on-close="destroyOnClose" :width="width">
|
||||
<div class="render-dialog-body">
|
||||
<slot name="default"></slot>
|
||||
</div>
|
||||
@@ -18,10 +18,18 @@ export default {
|
||||
return {}
|
||||
},
|
||||
props: {
|
||||
width: {
|
||||
type: String,
|
||||
default: '30%'
|
||||
},
|
||||
appendToBody: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
destroyOnClose: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
visible: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
@sort-change="sortChange"
|
||||
ref="renderTable"
|
||||
:border="border"
|
||||
stripe
|
||||
:header-align="align"
|
||||
size="small"
|
||||
default-expand-all
|
||||
|
||||
Reference in New Issue
Block a user