feat: 模型管理优化
This commit is contained in:
parent
8bc868becd
commit
16439d663a
@ -24,7 +24,7 @@ const settingRouter = {
|
||||
meta: {
|
||||
icon: 'app-template',
|
||||
iconActive: 'app-template-active',
|
||||
title: '模版管理',
|
||||
title: '模型管理',
|
||||
activeMenu: '/setting',
|
||||
parentPath: '/setting',
|
||||
parentName: 'setting'
|
||||
|
||||
@ -158,6 +158,13 @@ h4 {
|
||||
padding: calc(var(--app-base-px) * 3);
|
||||
}
|
||||
|
||||
.pt-0 {
|
||||
padding-top: 0;
|
||||
}
|
||||
.pb-0 {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.flex {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="application-list-container p-24">
|
||||
<div class="flex-between">
|
||||
<div class="application-list-container p-24" style="padding-top: 16px">
|
||||
<div class="flex-between mb-8">
|
||||
<h3>应用</h3>
|
||||
<el-input
|
||||
v-model="pageConfig.name"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="dataset-list-container p-24">
|
||||
<div class="flex-between">
|
||||
<div class="dataset-list-container p-24" style="padding-top: 16px">
|
||||
<div class="flex-between mb-8">
|
||||
<h3>数据集</h3>
|
||||
<el-input
|
||||
v-model="pageConfig.name"
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<LayoutContainer header="模版管理">
|
||||
<LayoutContainer header="模型管理">
|
||||
<div class="template-manage flex main-calc-height">
|
||||
<div class="template-manage__left p-8 border-r">
|
||||
<h4 class="p-16" style="padding-bottom: 8px">供应商</h4>
|
||||
@ -20,7 +20,8 @@
|
||||
</template>
|
||||
</common-list>
|
||||
</div>
|
||||
<div class="template-manage__right p-24" v-loading="list_model_loading">
|
||||
<div class="template-manage__right w-full" v-loading="list_model_loading">
|
||||
<div class="p-24 pb-0">
|
||||
<h4>{{ active_provider?.name }}</h4>
|
||||
<div class="flex-between mt-16 mb-16">
|
||||
<el-button type="primary" @click="openCreateModel(active_provider)">创建模型</el-button>
|
||||
@ -32,8 +33,10 @@
|
||||
class="w-240"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="model-list-height">
|
||||
<el-scrollbar>
|
||||
<div class="p-24 pt-0">
|
||||
<el-row v-if="model_split_list.length > 0" :gutter="15">
|
||||
<template v-for="(row, index) in model_split_list" :key="index">
|
||||
<el-col
|
||||
@ -52,6 +55,7 @@
|
||||
</template>
|
||||
</el-row>
|
||||
<el-empty description="暂无数据" v-else />
|
||||
</div>
|
||||
</el-scrollbar>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user