chenjingyu 4 years ago
parent
commit
6de15a9516
  1. 3
      src/app/canvas-share-data.service.ts
  2. 2
      src/app/key-unit/basicinfo/basicinfo.component.ts
  3. 19
      src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts

3
src/app/canvas-share-data.service.ts

@ -79,7 +79,8 @@ export class CanvasShareDataService {
['泡沫发生器', '泡沫发生器'],
['消防管网', '消防管网'],
['泡沫管网', '消防管网'],
['DCS控制室', 'DCS控制室']
['DCS控制室', 'DCS控制室'],
['消防控制室', '消防控制室'],
]);
/** * *

2
src/app/key-unit/basicinfo/basicinfo.component.ts

@ -931,7 +931,7 @@ export class BasicinfoComponent implements OnInit {
name: this.unitinfo.name,
usci: value.creditcode,
contacts: value.linkman,
phone: value.linkphone,
phone: String(value.linkphone),
address: value.unitaddress,
imageUrl: this.imgsrc,
location: this.markerPosition,

19
src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts

@ -1,5 +1,6 @@
import { HttpClient } from '@angular/common/http';
import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
selector: 'app-create-plan-online-five',
@ -8,12 +9,28 @@ import { Component, OnInit } from '@angular/core';
})
export class CreatePlanOnlineFiveComponent implements OnInit {
constructor(private http: HttpClient) { }
constructor(private http: HttpClient, private route: ActivatedRoute) { }
ngOnInit(): void {
this.getTemplateData()
}
//获得单位信息
getUnitData(){
// let paramsdata:any = {
// Name: this.route.snapshot.queryParams.unitId || '',
// }
// this.http.get("/api/Companies",{params:paramsdata}).subscribe((data:any)=>{
// this.allKeyUnitInfo = data
// data.items.forEach( (item,index) => {
// item.integrity = this.wanzhengduArr[index]
// })
// })
}
selectedItem:string = '封面'
clickTitleItem(item){
item == '封面' ? this.selectedItem = '封面' : this.selectedItem = item.groupName

Loading…
Cancel
Save