Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
TFMOM
TF-MOM-WEB
Commits
d71d66e0
Commit
d71d66e0
authored
Jun 27, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
看板界面周计划修改
parent
9bcad943
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
ExperimentKanban.vue
...eComponents/components/Visualization/ExperimentKanban.vue
+11
-3
No files found.
applications/dee-mes/src/privateComponents/components/Visualization/ExperimentKanban.vue
View file @
d71d66e0
...
@@ -2537,11 +2537,19 @@ export default {
...
@@ -2537,11 +2537,19 @@ export default {
completion
(
params
)
completion
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
.
message
.
includes
(
'成功'
))
{
if
(
res
.
message
.
includes
(
'成功'
))
{
const
actualData
=
res
.
items
[
'实际完成任务'
]
// 实际完工
// 实际完工
const
actual
=
res
.
items
[
'实际完成任务'
]
const
actual
=
Object
.
keys
(
actualData
).
sort
().
reduce
((
acc
,
key
)
=>
{
acc
[
key
]
=
actualData
[
key
]
return
acc
},
{})
// 计划完工
// 计划完工
const
plan
=
res
.
items
[
'计划完成任务'
]
const
planData
=
res
.
items
[
'计划完成任务'
]
const
optionTrendxAxisdata
=
res
.
items
[
'X轴'
]
const
plan
=
Object
.
keys
(
planData
).
sort
().
reduce
((
acc
,
key
)
=>
{
acc
[
key
]
=
planData
[
key
]
return
acc
},
{})
const
optionTrendxAxisdata
=
res
.
items
[
'X轴'
].
sort
()
const
formatActual
=
Object
.
values
(
actual
)
const
formatActual
=
Object
.
values
(
actual
)
const
formatPlan
=
Object
.
values
(
plan
)
const
formatPlan
=
Object
.
values
(
plan
)
optionTrend
.
xAxis
.
data
=
optionTrendxAxisdata
optionTrend
.
xAxis
.
data
=
optionTrendxAxisdata
...
...
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