|
|
@ -181,7 +181,7 @@ export class WaitExamineerComponent implements OnInit { |
|
|
|
bianzhi = false |
|
|
|
bianzhi = false |
|
|
|
radioClick(e, item) { |
|
|
|
radioClick(e, item) { |
|
|
|
this.selectedItem = item |
|
|
|
this.selectedItem = item |
|
|
|
//console.log(item)
|
|
|
|
|
|
|
|
// console.log('当前选择的信息',JSON.parse(this.selectedItem.differentContent) )
|
|
|
|
// console.log('当前选择的信息',JSON.parse(this.selectedItem.differentContent) )
|
|
|
|
if (item.contentType == 11 && this.selectedItem.differentContent) { |
|
|
|
if (item.contentType == 11 && this.selectedItem.differentContent) { |
|
|
|
|
|
|
|
|
|
|
@ -242,9 +242,6 @@ export class WaitExamineerComponent implements OnInit { |
|
|
|
|
|
|
|
|
|
|
|
// console.log('功能分区', this.differentContentOfFunction)
|
|
|
|
// console.log('功能分区', this.differentContentOfFunction)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.showtype = -1 |
|
|
|
this.showtype = -1 |
|
|
|
this.organizationName = '' |
|
|
|
this.organizationName = '' |
|
|
|
this.itemid = item.itemId |
|
|
|
this.itemid = item.itemId |
|
|
@ -380,6 +377,7 @@ export class WaitExamineerComponent implements OnInit { |
|
|
|
planType |
|
|
|
planType |
|
|
|
twoOrthree |
|
|
|
twoOrthree |
|
|
|
handleData() { |
|
|
|
handleData() { |
|
|
|
|
|
|
|
|
|
|
|
this.compantData = { name: '', buildingTypes: [], address: '' } |
|
|
|
this.compantData = { name: '', buildingTypes: [], address: '' } |
|
|
|
this.planType = this.planData.planMode |
|
|
|
this.planType = this.planData.planMode |
|
|
|
let data = this.planData |
|
|
|
let data = this.planData |
|
|
@ -390,9 +388,7 @@ export class WaitExamineerComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.planData.planMode == 0) { //预案planMode=0时, 查看word
|
|
|
|
if (this.planData.planMode == 0) { //预案planMode=0时, 查看word
|
|
|
|
//this.lookWord()
|
|
|
|
//this.lookWord()
|
|
|
|
} else if (this.planData.planMode == 1) { //预案planMode=1时, 解析文档
|
|
|
|
} else if (this.planData.planMode == 1 || this.planData.planMode == 2) { //预案planMode=2时, 跳查看页面组件
|
|
|
|
|
|
|
|
|
|
|
|
} else if (this.planData.planMode == 2) { //预案planMode=2时, 跳查看页面组件
|
|
|
|
|
|
|
|
this.showtype = 2 |
|
|
|
this.showtype = 2 |
|
|
|
this.http.get(`/api/Plans/${data.companyId}`).subscribe((data: any) => { |
|
|
|
this.http.get(`/api/Plans/${data.companyId}`).subscribe((data: any) => { |
|
|
|
data && data.company ? this.compantData = data.company : null |
|
|
|
data && data.company ? this.compantData = data.company : null |
|
|
|