|
|
@ -4,7 +4,7 @@ |
|
|
|
* @Author: sueRimn |
|
|
|
* @Author: sueRimn |
|
|
|
* @Date: 2021-06-16 13:56:54 |
|
|
|
* @Date: 2021-06-16 13:56:54 |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditors: sueRimn |
|
|
|
* @LastEditTime: 2021-08-12 09:43:10 |
|
|
|
* @LastEditTime: 2021-08-12 14:14:20 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
import { HttpClient } from '@angular/common/http'; |
|
|
|
import { Component, Inject, OnInit, Renderer2, ViewChild, Input } from '@angular/core'; |
|
|
|
import { Component, Inject, OnInit, Renderer2, ViewChild, Input } from '@angular/core'; |
|
|
@ -247,6 +247,8 @@ export class CreatePlanOnlineFiveComponent implements OnInit { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.js='' |
|
|
|
|
|
|
|
this.zdysearch='' |
|
|
|
this.selectedItem = item.groupName |
|
|
|
this.selectedItem = item.groupName |
|
|
|
if (this.selectedItem == '重点图示') { |
|
|
|
if (this.selectedItem == '重点图示') { |
|
|
|
this.getAllBuildings() |
|
|
|
this.getAllBuildings() |
|
|
@ -839,7 +841,13 @@ export class CreatePlanOnlineFiveComponent implements OnInit { |
|
|
|
this.http.get("/api/PlanComponents/WebText",{params:paramsdata}).subscribe((data:any)=>{ |
|
|
|
this.http.get("/api/PlanComponents/WebText",{params:paramsdata}).subscribe((data:any)=>{ |
|
|
|
this.yinruData=null |
|
|
|
this.yinruData=null |
|
|
|
this.yinruData=data |
|
|
|
this.yinruData=data |
|
|
|
console.log(this.yinruData) |
|
|
|
if(this.yinruData.items.length==0){ |
|
|
|
|
|
|
|
const config = new MatSnackBarConfig(); |
|
|
|
|
|
|
|
config.verticalPosition = 'top'; |
|
|
|
|
|
|
|
config.duration = 3000 |
|
|
|
|
|
|
|
this.snackBar.open('暂无数据', '确定', config); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
//console.log(this.yinruData)
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
//可引入预案点击事件
|
|
|
|
//可引入预案点击事件
|
|
|
@ -1190,7 +1198,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit { |
|
|
|
//提交
|
|
|
|
//提交
|
|
|
|
async submit() { |
|
|
|
async submit() { |
|
|
|
await this.yinRu(0) |
|
|
|
await this.yinRu(0) |
|
|
|
console.log('提交信息', this.planTemplateData) |
|
|
|
//console.log('提交信息', this.planTemplateData)
|
|
|
|
let body = { |
|
|
|
let body = { |
|
|
|
webTextData: JSON.stringify(this.planTemplateData), |
|
|
|
webTextData: JSON.stringify(this.planTemplateData), |
|
|
|
webTextStatistics:this.yinJson |
|
|
|
webTextStatistics:this.yinJson |
|
|
|