Commit fb5ebec6 authored by 李苏's avatar 李苏 💬

调整

parent 5ecd6d79
......@@ -582,6 +582,7 @@
},
data() {
return {
fxgkListSx:['加油站','采矿作业区','第一选矿车间','第二焙烧车间','质量计量控制中心'],
yhpcKsrq: '',
yhpcJsrq: '',
lzglKsrq:'',
......@@ -809,7 +810,15 @@
params[this.menusItems[this.active]['type']] = this.menusItems[this.active]['id']
Object.keys(params).includes('gsId') && (delete params.gsId)
this.$post('aqgl/homepage/fxgk', params).then(res => {
this.fxgkList = res.data.records || []
let fxgkMap=new Map()
res.data.records.forEach(item=>{
fxgkMap.set(item.dwmc,item)
})
this.fxgkList=[]
this.fxgkListSx.forEach(key=>{
this.fxgkList.push(fxgkMap.get(key))
})
})
},
......
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