fix:基础设施-申请报错

This commit is contained in:
guoyue 2022-09-29 09:24:02 +08:00
parent a7da8b013e
commit a7d7431c75
1 changed files with 6 additions and 4 deletions

View File

@ -359,7 +359,7 @@ export default {
ids.push(item.id) ids.push(item.id)
} }
} else { } else {
infrastructureConfirm(item) infrastructureConfirm(item, falgNum, sxt)
} }
}) })
}) })
@ -421,7 +421,7 @@ export default {
ids.push(item.id) ids.push(item.id)
} }
} else { } else {
infrastructureConfirm(item) infrastructureConfirm(item, falgNum, sxt)
} }
}) })
}) })
@ -476,12 +476,14 @@ export default {
} }
// -- // --
const infrastructureConfirm = (item) => { const infrastructureConfirm = (item, falgNum, sxt) => {
let obj = {} let obj = {}
Object.assign(obj, formName) Object.assign(obj, formName)
console.log('摄像头===============>', obj, item) console.log('摄像头===============>', obj, item)
obj.system = [] obj.system = []
item.note1 = JSON.parse(item.note1) if(item.note1 && typeof item.note1 == 'string') {
item.note1 = JSON.parse(item.note1)
}
item.note1.map((sxt) => { item.note1.map((sxt) => {
let _itemData = { let _itemData = {
resourceId: sxt.idtCameraChannel + '', resourceId: sxt.idtCameraChannel + '',