|
|
|
@ -1187,6 +1187,7 @@ export class CreateTestScoreComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
//将筛选出来的数据变为服务器提交数据
|
|
|
|
|
let paperDataInfo = [] |
|
|
|
|
console.log(111,copyDatas) |
|
|
|
|
copyDatas.forEach((item,key) =>{ |
|
|
|
|
paperDataInfo[key] = {} |
|
|
|
|
paperDataInfo[key].id = null |
|
|
|
@ -1203,6 +1204,12 @@ export class CreateTestScoreComponent implements OnInit {
|
|
|
|
|
paperDataInfo[key].facilityData = item.fireFacNodes ? JSON.stringify(item.fireFacNodes) : '[]' |
|
|
|
|
paperDataInfo[key].facilityScore = item.fireFacScore, |
|
|
|
|
paperDataInfo[key].originalData = JSON.stringify(this.unitId[key]) |
|
|
|
|
//赋值单项分
|
|
|
|
|
paperDataInfo[key].basicInfoItemScore = item.basicInfoItemScore |
|
|
|
|
paperDataInfo[key].adjoinItemScore = item.aroundItemScore |
|
|
|
|
paperDataInfo[key].importLocationItemScore = item.keySiteItemScore |
|
|
|
|
paperDataInfo[key].functionalDivisionItemSocre = item.funDivItemScore |
|
|
|
|
paperDataInfo[key].facilityItemScore = item.fireFacItemScore |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
//判断是否存在总分填写后没有勾选 或者勾选了没有填写总分的情况
|
|
|
|
|