Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
02683b18
Commit
02683b18
authored
Dec 01, 2023
by
W_Y
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/project9-8' into project9-8
parents
10ccb924
a2482156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
control.vue
src/views/controlPlatform/control.vue
+6
-6
No files found.
src/views/controlPlatform/control.vue
View file @
02683b18
...
...
@@ -329,7 +329,7 @@ export default {
this
.
dataList
=
[]
this
.
sumUpdateList
.
forEach
(
item
=>
{
this
.
numList
.
push
(
item
.
sum
)
this
.
dataList
.
push
(
item
.
updateDat
e
)
this
.
dataList
.
push
(
item
.
tim
e
)
})
this
.
updateRegistrationTime
()
})
...
...
@@ -347,7 +347,7 @@ export default {
this
.
updateChartsLeaveMessage
()
})
},
// 饼图
// 饼图
1
getPtypeList
()
{
findCountIdByPtype
().
then
(
res
=>
{
this
.
PtypeList
=
[]
...
...
@@ -371,16 +371,16 @@ export default {
const
renamedData
=
res
.
data
.
map
(
item
=>
({
...
item
,
name
:
item
.
ptype
===
'1'
?
'设备库'
:
(
item
.
ptype
===
'2'
?
'工序库'
:
item
.
ptype
),
value
:
item
.
sum
,
}))
;
value
:
item
.
sum
}))
this
.
PtypeList
=
renamedData
this
.
updateVisitorData
()
})
},
// 饼图
// 饼图
2
getUpdateList
()
{
findCountIdByPtype1CreateDate
().
then
(
res
=>
{
console
.
log
(
'---res---'
,
res
)
console
.
log
(
'---res---'
,
res
)
// this.PtypeList=[]
// const renamedData = res.data.map(item => ({
// ...item,
...
...
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