wujingjing
2025-01-06 b9fa2c53e0fb86718d976ee825102e43f3825a26
大模型管理修改
已修改2个文件
14 ■■■■ 文件已修改
src/views/project/yw/systemManage/llmMgr/LLMMgr.vue 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/yw/systemManage/metricMgr/MetricMgr.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/project/yw/systemManage/llmMgr/LLMMgr.vue
@@ -42,11 +42,10 @@
                            <template #default="scope" v-if="item.type === 'expand'">
                                <div class="ml-16 mt-2">
                                    <el-table border :data="scope.row.connectList" style="width: 100%">
                                        <el-table-column prop="title" width="200" label="标题" fixed="left" show-overflow-tooltip />
                                        <el-table-column prop="model" width="200" label="模型编号" fixed="left" show-overflow-tooltip />
                                        <el-table-column prop="title" label="模型名称" fixed="left" show-overflow-tooltip />
                                        <el-table-column prop="class" label="类" show-overflow-tooltip />
                                        <el-table-column label="操作" width="55" fixed="right">
                                        <!-- <el-table-column label="操作" width="55" fixed="right">
                                            <template #default="scope">
                                                <div class="space-x-3 items-center flex">
                                                    <el-tooltip effect="dark" content="查看配置" placement="top">
@@ -57,7 +56,7 @@
                                                    </el-tooltip>
                                                </div>
                                            </template>
                                        </el-table-column>
                                        </el-table-column> -->
                                    </el-table>
                                </div>
                            </template>
@@ -135,7 +134,7 @@
const columnList = ref<TableCol[]>([
    { type: 'expand', label: '', width: 55, fixed: 'left' },
    { type: 'index', label: '序号', width: 55, fixed: 'left', align: 'center' },
    { prop: 'title', label: '标题', fixed: 'left' },
    { prop: 'title', label: '服务商名称', fixed: 'left' },
    { prop: 'operate', label: '操作', width: 55, fixed: 'right' },
]);
@@ -153,6 +152,7 @@
            ...res.values[key1],
            connectList: Object.keys(res.values[key1].connects || {}).map((key2) => {
                return {
                    model: res.values[key1].connects[key2]?.config?.model ?? '',
                    id: key2,
                    ...res.values[key1].connects[key2],
                };
src/views/project/yw/systemManage/metricMgr/MetricMgr.vue
@@ -76,7 +76,7 @@
                    <el-table-column prop="metrics_group" label="主题域" width="130" show-overflow-tooltip>
                        <template #default="scope">
                            {{ themeDomainMap[scope.row.metrics_group].group_name }}
                            {{ themeDomainMap[scope.row.metrics_group]?.group_name }}
                        </template>
                    </el-table-column>
                    <el-table-column prop="metrics_unit" label="单位" width="70" show-overflow-tooltip> </el-table-column>