|
|
|
@ -531,7 +531,7 @@ export class CollectionToolsComponent implements OnInit {
|
|
|
|
|
if (data.items.length) { //查询到结果时
|
|
|
|
|
sessionStorage.setItem("buildingTypeId",data.items[0].buildingTypes[0].id || ''); //建筑类型
|
|
|
|
|
sessionStorage.setItem("companyId",data.items[0].id || ''); //单位ID
|
|
|
|
|
sessionStorage.setItem("planId",paramsData.planId || ''); //建筑类型
|
|
|
|
|
sessionStorage.setItem("planId",paramsData.planComponentId || ''); //建筑类型
|
|
|
|
|
resolve('success') |
|
|
|
|
} else { //未查询到结果时
|
|
|
|
|
reject('beDefeated') |
|
|
|
|