Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
17a1efd4
authored
Jun 25, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改tab排序
parent
065812be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
22 deletions
+21
-22
src/layout/user-layout.vue
+1
-1
src/views/computingResource/resourceList.vue
+20
-21
No files found.
src/layout/user-layout.vue
View file @
17a1efd4
...
...
@@ -19,12 +19,12 @@
<el-sub-menu
index=
"computingResource"
>
<template
#
title
>
计算资源
</
template
>
<el-menu-item
:index=
"'/computingResource/resourceList?type='+999"
>
大模型词元(Token)服务
</el-menu-item>
<el-menu-item
v-for=
"item in computilityMenuData"
:index=
"'/computingResource/resourceList?type='+item.id"
>
{{ item.name }}
</el-menu-item>
<el-menu-item
:index=
"'/computingResource/resourceList?type='+999"
>
AI token
</el-menu-item>
</el-sub-menu>
<el-menu-item
index=
"/industryApplications/index"
>
解决方案
</el-menu-item>
...
...
src/views/computingResource/resourceList.vue
View file @
17a1efd4
...
...
@@ -42,6 +42,26 @@
<svg-icon
v-show=
"showVersion === 1"
color=
"#2E77E3"
icon-class=
"table"
/>
</div>
<el-tabs
v-model=
"tabActive"
@
tab-change=
"tabChange"
>
<el-tab-pane
label=
"大模型词元(Token)服务"
:name=
"999"
>
<!-- 标签筛选 -->
<div
v-if=
"allTags.length > 0"
class=
"tag-filter"
>
<span
class=
"tag-filter-label"
>
标签筛选:
</span>
<el-checkbox-group
v-model=
"selectedTags"
size=
"small"
>
<el-checkbox
v-for=
"tag in allTags"
:key=
"tag"
:label=
"tag"
border
>
{{
tag
}}
</el-checkbox>
</el-checkbox-group>
<el-button
v-if=
"selectedTags.length > 0"
link
type=
"primary"
size=
"small"
@
click=
"selectedTags = []"
>
清空筛选
</el-button>
</div>
<div
class=
"model-list"
>
<model-card
v-for=
"m in filteredModels"
:key=
"m.modelName"
:model=
"m"
@
click=
"openModelDetail(m)"
/>
</div>
</el-tab-pane>
<el-tab-pane
v-for=
"productType in productTypes"
:key=
"productType.id"
...
...
@@ -151,27 +171,6 @@
</div>
</el-tab-pane>
<el-tab-pane
label=
"AI token"
:name=
"999"
>
<!-- 标签筛选 -->
<div
v-if=
"allTags.length > 0"
class=
"tag-filter"
>
<span
class=
"tag-filter-label"
>
标签筛选:
</span>
<el-checkbox-group
v-model=
"selectedTags"
size=
"small"
>
<el-checkbox
v-for=
"tag in allTags"
:key=
"tag"
:label=
"tag"
border
>
{{ tag }}
</el-checkbox>
</el-checkbox-group>
<el-button
v-if=
"selectedTags.length > 0"
link
type=
"primary"
size=
"small"
@
click=
"selectedTags = []"
>
清空筛选
</el-button>
</div>
<div
class=
"model-list"
>
<model-card
v-for=
"m in filteredModels"
:key=
"m.modelName"
:model=
"m"
@
click=
"openModelDetail(m)"
/>
</div>
</el-tab-pane>
</el-tabs>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment