Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI推理平台
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lichunliang
AI推理平台
Commits
34a3675e
Commit
34a3675e
authored
Apr 22, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
线上启用停用状态更改
parent
c1e04c3f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
components.d.ts
src/typings/components.d.ts
+0
-1
pie-chart-pro.vue
src/views/home/modules/pie-chart-pro.vue
+4
-4
ring-chart.vue
src/views/home/modules/ring-chart.vue
+2
-2
No files found.
src/typings/components.d.ts
View file @
34a3675e
...
@@ -25,7 +25,6 @@ declare module 'vue' {
...
@@ -25,7 +25,6 @@ declare module 'vue' {
'
IconIc:baselinePlus
'
:
typeof
import
(
'
~icons/ic/baseline-plus
'
)[
'
default
'
]
'
IconIc:baselinePlus
'
:
typeof
import
(
'
~icons/ic/baseline-plus
'
)[
'
default
'
]
'
IconIc:baselinePowerSettingsNew
'
:
typeof
import
(
'
~icons/ic/baseline-power-settings-new
'
)[
'
default
'
]
'
IconIc:baselinePowerSettingsNew
'
:
typeof
import
(
'
~icons/ic/baseline-power-settings-new
'
)[
'
default
'
]
'
IconIc:baselineSearch
'
:
typeof
import
(
'
~icons/ic/baseline-search
'
)[
'
default
'
]
'
IconIc:baselineSearch
'
:
typeof
import
(
'
~icons/ic/baseline-search
'
)[
'
default
'
]
'
IconIc:baselineSlowMotionVideo
'
:
typeof
import
(
'
~icons/ic/baseline-slow-motion-video
'
)[
'
default
'
]
'
IconIc:outlineVideoCameraFront
'
:
typeof
import
(
'
~icons/ic/outline-video-camera-front
'
)[
'
default
'
]
'
IconIc:outlineVideoCameraFront
'
:
typeof
import
(
'
~icons/ic/outline-video-camera-front
'
)[
'
default
'
]
'
IconIc:roundFileUpload
'
:
typeof
import
(
'
~icons/ic/round-file-upload
'
)[
'
default
'
]
'
IconIc:roundFileUpload
'
:
typeof
import
(
'
~icons/ic/round-file-upload
'
)[
'
default
'
]
'
IconIc:roundTableView
'
:
typeof
import
(
'
~icons/ic/round-table-view
'
)[
'
default
'
]
'
IconIc:roundTableView
'
:
typeof
import
(
'
~icons/ic/round-table-view
'
)[
'
default
'
]
...
...
src/views/home/modules/pie-chart-pro.vue
View file @
34a3675e
...
@@ -15,12 +15,12 @@ const getCardData = async () => {
...
@@ -15,12 +15,12 @@ const getCardData = async () => {
updateOptions
((
opts
)
=>
{
updateOptions
((
opts
)
=>
{
opts
.
series
[
0
].
data
=
[
opts
.
series
[
0
].
data
=
[
{
{
name
:
`已启动
${
res
.
data
.
data
[
1
].
count
}
个`
,
name
:
`已启动
${
res
.
data
.
data
[
0
].
count
}
个`
,
value
:
res
.
data
.
data
[
1
].
count
,
value
:
res
.
data
.
data
[
0
].
count
,
},
},
{
{
name
:
`已停用
${
res
.
data
.
data
[
0
].
count
}
个`
,
name
:
`已停用
${
res
.
data
.
data
[
1
].
count
}
个`
,
value
:
res
.
data
.
data
[
0
].
count
,
value
:
res
.
data
.
data
[
1
].
count
,
},
},
];
];
return
opts
;
return
opts
;
...
...
src/views/home/modules/ring-chart.vue
View file @
34a3675e
...
@@ -113,8 +113,8 @@ const getCardData = async () => {
...
@@ -113,8 +113,8 @@ const getCardData = async () => {
if
(
res
.
data
.
code
===
200
)
{
if
(
res
.
data
.
code
===
200
)
{
updateOptions
((
opts
)
=>
{
updateOptions
((
opts
)
=>
{
opts
.
series
[
0
].
data
=
[
opts
.
series
[
0
].
data
=
[
{
name
:
`已启动`
,
value
:
res
.
data
.
data
[
1
].
count
},
{
name
:
`已启动`
,
value
:
res
.
data
.
data
[
0
].
count
},
{
name
:
`已停用`
,
value
:
res
.
data
.
data
[
0
].
count
},
{
name
:
`已停用`
,
value
:
res
.
data
.
data
[
1
].
count
},
];
];
return
opts
;
return
opts
;
});
});
...
...
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