|
|
|
@ -75,7 +75,7 @@ export class OilUnloadingProcessListComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
isMisinformation: boolean = false//误报按钮的显隐
|
|
|
|
|
|
|
|
|
|
button=false |
|
|
|
|
button = false |
|
|
|
|
tableScrollHeight |
|
|
|
|
resizeListener |
|
|
|
|
ngOnInit(): void { |
|
|
|
@ -136,20 +136,20 @@ export class OilUnloadingProcessListComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
returnLastMenus(e) { |
|
|
|
|
let userMenu |
|
|
|
|
if(e){ |
|
|
|
|
if (e) { |
|
|
|
|
userMenu = JSON.parse(sessionStorage.getItem('userdataOfgasstation')).menus |
|
|
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
|
userMenu = JSON.parse(sessionStorage.getItem('userdata')).menus |
|
|
|
|
} |
|
|
|
|
for (let index = 0; index < userMenu.length; index++) { |
|
|
|
|
for (let k = 0; k < userMenu.length; k++) { |
|
|
|
|
if (userMenu[index].name=="卸油统计") { |
|
|
|
|
if(userMenu[index].id==userMenu[k].parentId){ |
|
|
|
|
if (userMenu[index].name == "卸油统计") { |
|
|
|
|
if (userMenu[index].id == userMenu[k].parentId) { |
|
|
|
|
this.button = true |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -746,24 +746,17 @@ export class OilUnloadingProcessListComponent implements OnInit {
|
|
|
|
|
} |
|
|
|
|
look(item) { |
|
|
|
|
|
|
|
|
|
// console.log(item)
|
|
|
|
|
console.log(item) |
|
|
|
|
let arr = [] |
|
|
|
|
let arr1 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '车辆进场' }); |
|
|
|
|
let arr2 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '设置卸油隔离区' }); |
|
|
|
|
let arr3 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '卸油连接静电接地' }); |
|
|
|
|
let arr4 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '卸油设置消防器材' }); |
|
|
|
|
let arr1 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '车辆进场' || item.nodeName == '油罐车进场' }); |
|
|
|
|
let arr2 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '设置卸油隔离区' || item.nodeName == '设置隔离区域' }); |
|
|
|
|
let arr3 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '卸油连接静电接地' || item.nodeName == '连接静电接地' }); |
|
|
|
|
let arr4 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '卸油设置消防器材' || item.nodeName == '放置消防器材' }); |
|
|
|
|
let arr5 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '连接卸油管' }); |
|
|
|
|
let arr6 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '卸油中无人监卸' }); |
|
|
|
|
let arr6 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '卸油中无人监卸' || item.nodeName == '全程监卸'}); |
|
|
|
|
let arr7 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '拆除卸油管' }); |
|
|
|
|
let arr8 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '车辆离场' || item.nodeName == '车辆离厂' || item.nodeName == '车辆出厂' }); |
|
|
|
|
// console.log(1, arr1)
|
|
|
|
|
// console.log(2, arr2)
|
|
|
|
|
// console.log(3, arr3)
|
|
|
|
|
// console.log(4, arr4)
|
|
|
|
|
// console.log(5, arr5)
|
|
|
|
|
// console.log(6, arr6)
|
|
|
|
|
// console.log(7, arr7)
|
|
|
|
|
// console.log(8, arr8)
|
|
|
|
|
let arr8 = item.oilUnloadingNodes.find((item) => { return item.nodeName == '车辆离场' || item.nodeName == '车辆离厂' || item.nodeName == '车辆出厂' || item.nodeName == '油罐车离场' }); |
|
|
|
|
|
|
|
|
|
arr = [arr1, arr2, arr3, arr4, arr5, arr6, arr7, arr8] |
|
|
|
|
console.log('卸油流程', arr) |
|
|
|
|
|
|
|
|
|