优化向量模型展示
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

优化向量模型展示
This commit is contained in:
wangdan-fit2cloud 2024-07-25 02:14:01 -07:00 committed by GitHub
commit a5e5d10174
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 20 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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)

View File

@ -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"

View File

@ -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

View File

@ -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