mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
优化向量模型展示
优化向量模型展示
This commit is contained in:
commit
a5e5d10174
|
|
@ -88,12 +88,18 @@
|
|||
:value="item.id"
|
||||
class="flex-between"
|
||||
>
|
||||
<div class="flex">
|
||||
<div class="flex align-center">
|
||||
<span
|
||||
v-html="relatedObject(providerOptions, label, 'provider')?.icon"
|
||||
class="model-icon mr-8"
|
||||
></span>
|
||||
<span>{{ item.name }}</span>
|
||||
<el-tag
|
||||
v-if="item.permission_type === 'PUBLIC'"
|
||||
type="info"
|
||||
class="info-tag ml-8"
|
||||
>公用
|
||||
</el-tag>
|
||||
</div>
|
||||
<el-icon class="check-icon" v-if="item.id === applicationForm.model_id"
|
||||
><Check
|
||||
|
|
|
|||
|
|
@ -47,12 +47,13 @@
|
|||
:value="item.id"
|
||||
class="flex-between"
|
||||
>
|
||||
<div class="flex">
|
||||
<div class="flex align-center">
|
||||
<span
|
||||
v-html="relatedObject(providerOptions, label, 'provider')?.icon"
|
||||
class="model-icon mr-8"
|
||||
></span>
|
||||
<span>{{ item.name }}</span>
|
||||
<el-tag v-if="item.permission_type === 'PUBLIC'" type="info" class="info-tag ml-8">公用</el-tag>
|
||||
</div>
|
||||
<el-icon class="check-icon" v-if="item.id === form.embedding_mode_id"
|
||||
><Check
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
</el-button>
|
||||
</span>
|
||||
</p>
|
||||
<el-scrollbar height="345px">
|
||||
<el-scrollbar height="500px">
|
||||
<div class="p-24" style="padding-top: 16px">
|
||||
<el-input
|
||||
v-if="isAddProblem"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
</template>
|
||||
<script setup lang="ts">
|
||||
import { cloneDeep } from 'lodash'
|
||||
import { defineProps, ref, computed } from 'vue'
|
||||
import { ref, computed } from 'vue'
|
||||
import EditParagraphDialog from './EditParagraphDialog.vue'
|
||||
import { MsgConfirm } from '@/utils/message'
|
||||
const page_size = ref<number>(20)
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</span>
|
||||
</p>
|
||||
<div v-loading="loading">
|
||||
<el-scrollbar height="345px">
|
||||
<el-scrollbar height="500px">
|
||||
<div class="p-24" style="padding-top: 16px">
|
||||
<el-select
|
||||
v-if="isAddProblem"
|
||||
|
|
|
|||
|
|
@ -47,12 +47,15 @@
|
|||
:value="item.id"
|
||||
class="flex-between"
|
||||
>
|
||||
<div class="flex">
|
||||
<div class="flex align-center">
|
||||
<span
|
||||
v-html="relatedObject(providerOptions, label, 'provider')?.icon"
|
||||
class="model-icon mr-8"
|
||||
></span>
|
||||
<span>{{ item.name }}</span>
|
||||
<el-tag v-if="item.permission_type === 'PUBLIC'" type="info" class="info-tag ml-8"
|
||||
>公用
|
||||
</el-tag>
|
||||
</div>
|
||||
<el-icon class="check-icon" v-if="item.id === chat_data.model_id"
|
||||
><Check
|
||||
|
|
|
|||
|
|
@ -47,12 +47,15 @@
|
|||
:value="item.id"
|
||||
class="flex-between"
|
||||
>
|
||||
<div class="flex">
|
||||
<div class="flex align-center">
|
||||
<span
|
||||
v-html="relatedObject(providerOptions, label, 'provider')?.icon"
|
||||
class="model-icon mr-8"
|
||||
></span>
|
||||
<span>{{ item.name }}</span>
|
||||
<el-tag v-if="item.permission_type === 'PUBLIC'" type="info" class="info-tag ml-8"
|
||||
>公用
|
||||
</el-tag>
|
||||
</div>
|
||||
<el-icon class="check-icon" v-if="item.id === form_data.model_id"
|
||||
><Check
|
||||
|
|
|
|||
Loading…
Reference in New Issue