Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
12d12d5c
Commit
12d12d5c
authored
Dec 15, 2025
by
wusiyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 类型错误
parent
a8577607
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
src/views/Dashboard.vue
+3
-5
No files found.
src/views/Dashboard.vue
View file @
12d12d5c
...
...
@@ -483,7 +483,7 @@
v-model=
"chartTimes1"
size=
"small"
class=
"chart-controls"
@
change=
"
(v) => getchartTimes(v
, 'ORDER_TREND')"
@
change=
"
getchartTimes($event
, 'ORDER_TREND')"
>
<el-radio-button
v-for=
"time in timeOptions"
...
...
@@ -501,7 +501,7 @@
v-model=
"chartTimes2"
size=
"small"
class=
"chart-controls"
@
change=
"
(v) => getchartTimes(v
, 'SHIPMENT_TREND')"
@
change=
"
getchartTimes($event
, 'SHIPMENT_TREND')"
>
<el-radio-button
v-for=
"time in timeOptions"
...
...
@@ -518,7 +518,7 @@
v-model=
"chartTimes3"
size=
"small"
class=
"chart-controls"
@
change=
"
(v) => getchartTimes(v
, 'OVERTIME_SHIPMENT_TREND')"
@
change=
"
getchartTimes($event
, 'OVERTIME_SHIPMENT_TREND')"
>
<el-radio-button
v-for=
"time in timeOptions"
...
...
@@ -641,7 +641,6 @@ const chartConfig3 = ref({
// 创建图表配置的函数
const
createChartOption
=
(
config
:
typeof
chartConfig1
)
=>
{
console
.
log
(
677
,
config
.
value
)
const
data
=
config
.
value
return
{
title
:
{
...
...
@@ -816,7 +815,6 @@ const getchartTimes = async (v: string, type: string) => {
timeUnit
:
v
,
trendType
:
type
,
})
console
.
log
(
data
)
if
(
type
==
'ORDER_TREND'
)
{
updateOrderTrendChart
(
data
,
v
)
chartInstances
[
0
]?.
setOption
(
createChartOption
(
chartConfig1
))
...
...
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