feat:
This commit is contained in:
parent
9daa8beb11
commit
47d2ed655c
@ -18,7 +18,7 @@
|
|||||||
<el-form-item label="引用分段">
|
<el-form-item label="引用分段">
|
||||||
<template v-for="(item, index) in detail.paragraph_list" :key="index">
|
<template v-for="(item, index) in detail.paragraph_list" :key="index">
|
||||||
<CardBox
|
<CardBox
|
||||||
shadow="none"
|
shadow="never"
|
||||||
:title="item.title || '-'"
|
:title="item.title || '-'"
|
||||||
class="paragraph-source-card cursor mb-8"
|
class="paragraph-source-card cursor mb-8"
|
||||||
:class="item.is_active ? '' : 'disabled'"
|
:class="item.is_active ? '' : 'disabled'"
|
||||||
|
|||||||
@ -69,14 +69,21 @@
|
|||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
<div class="border-t" style="padding: 8px 11px; min-width: 200px">
|
<div class="border-t" style="padding: 8px 11px; min-width: 200px">
|
||||||
<template v-if="isApplication">
|
<template v-if="isApplication">
|
||||||
<el-button link @click="router.push({ path: '/application/create' })">
|
<div
|
||||||
<el-icon class="mr-4"><Plus /></el-icon> 创建应用
|
class="w-full text-left cursor"
|
||||||
</el-button>
|
@click="router.push({ path: '/application/create' })"
|
||||||
|
>
|
||||||
|
<el-button link>
|
||||||
|
<el-icon class="mr-4"><Plus /></el-icon> 创建应用
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="isDataset">
|
<template v-else-if="isDataset">
|
||||||
<el-button link @click="router.push({ path: '/dataset/create' })">
|
<div class="w-full text-left cursor" @click="router.push({ path: '/dataset/create' })">
|
||||||
<el-icon class="mr-4"><Plus /></el-icon> 创建知识库
|
<el-button link>
|
||||||
</el-button>
|
<el-icon class="mr-4"><Plus /></el-icon> 创建知识库
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -200,6 +200,9 @@ h4 {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-left {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
.text-center {
|
.text-center {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -16,6 +16,11 @@
|
|||||||
background: var(--app-text-color-light-1);
|
background: var(--app-text-color-light-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
&:focus {
|
||||||
|
color: var(--el-button-text-color);
|
||||||
|
background-color: var(--el-button-bg-color);
|
||||||
|
border-color: var(--el-button-border-color);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.el-avatar {
|
.el-avatar {
|
||||||
--el-avatar-bg-color: var(--el-color-primary);
|
--el-avatar-bg-color: var(--el-color-primary);
|
||||||
@ -55,6 +60,10 @@
|
|||||||
.el-message-box__header {
|
.el-message-box__header {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
.el-message-box__title {
|
||||||
|
word-break: break-all;
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-message-box__content {
|
.el-message-box__content {
|
||||||
|
|||||||
@ -82,9 +82,11 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-option-group>
|
</el-option-group>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button type="primary" link @click="openCreateModel">
|
<div class="w-full text-left cursor" @click="openCreateModel()">
|
||||||
<el-icon class="mr-4"><Plus /></el-icon> 添加模型
|
<el-button type="primary" link>
|
||||||
</el-button>
|
<el-icon class="mr-4"><Plus /></el-icon> 添加模型
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user