Commit 3f2a4fa5 authored by cat's avatar cat

控制台

parent df861c22
...@@ -329,7 +329,7 @@ export default { ...@@ -329,7 +329,7 @@ export default {
this.dataList = [] this.dataList = []
this.sumUpdateList.forEach(item => { this.sumUpdateList.forEach(item => {
this.numList.push(item.sum) this.numList.push(item.sum)
this.dataList.push(item.updateDate) this.dataList.push(item.time)
}) })
this.updateRegistrationTime() this.updateRegistrationTime()
}) })
...@@ -371,8 +371,8 @@ export default { ...@@ -371,8 +371,8 @@ export default {
const renamedData = res.data.map(item => ({ const renamedData = res.data.map(item => ({
...item, ...item,
name: item.ptype === '1' ? '设备库' : (item.ptype === '2' ? '工序库' : item.ptype), name: item.ptype === '1' ? '设备库' : (item.ptype === '2' ? '工序库' : item.ptype),
value: item.sum, value: item.sum
})); }))
this.PtypeList = renamedData this.PtypeList = renamedData
this.updateVisitorData() this.updateVisitorData()
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment