From 5eb2d516a23b2c3bc287fec3186ccba953365085 Mon Sep 17 00:00:00 2001
From: chenjingyu <1148019379@qq.com>
Date: Thu, 16 Dec 2021 11:35:45 +0800
Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=E4=BA=94=E7=BA=A7=E5=86=9C?=
=?UTF-8?q?=E6=9D=91=E9=A2=84=E6=A1=88=E4=B8=8A=E4=BC=A0=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../create-plan-online-five.component.html | 12 ++--
.../create-plan-online-five.component.ts | 2 +-
.../entry-plan-look.component.ts | 3 +-
src/app/tabbar/tabbar.component.html | 8 +--
src/app/tabbar/tabbar.component.ts | 56 +++++++++++--------
5 files changed, 45 insertions(+), 36 deletions(-)
diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html
index a02421d..4642e56 100644
--- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html
+++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.html
@@ -679,17 +679,17 @@
border: 0;
box-sizing: border-box;
padding: 0 5px;"> {{ i.name }}
- delete
-
+
+
-
delete
-
+

+
![]()
diff --git a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts
index 4ace18d..90442c8 100644
--- a/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts
+++ b/src/app/plan-management/create-plan-online-five/create-plan-online-five.component.ts
@@ -1799,7 +1799,7 @@ export class CreatePlanOnlineFiveComponent implements OnInit {
this.fileData.forEach((value,index,array) => {
if(value.groupName=='交通水源'||value.groupName=='重点图示'){
value.attribute.forEach(element => {
- if(element.imgArr!=undefined){
+ if(element.imgArr!=undefined&&element.imgArr.length>0){
element.imgArr[0]=element.imgArr[0].slice(25,element.imgArr[0].length)
}
diff --git a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
index 23d25ee..2727df6 100644
--- a/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
+++ b/src/app/plan-management/entry-plan-look/entry-plan-look.component.ts
@@ -614,7 +614,8 @@ export class EntryPlanLookComponent implements OnInit {
:(this.unitdata.unittype=='商市场'||this.unitdata.unittype=='医院'||this.unitdata.unittype=='学校'
||this.unitdata.unittype=='宾馆'||this.unitdata.unittype=='娱乐场所'||this.unitdata.unittype=='餐饮业'
||this.unitdata.unittype=='影剧院'||this.unitdata.unittype=='展览建筑'||this.unitdata.unittype=='养老院'
- ||this.unitdata.unittype=='会议中心')?4:this.unitdata.unittype=='储罐类'?'StorageTankFivePlan':this.unitdata.unittype=='化工生产'?'ChemicalProductionFivePlan':''
+ ||this.unitdata.unittype=='会议中心')?4:this.unitdata.unittype=='储罐类'?'StorageTankFivePlan'
+ :this.unitdata.unittype=='化工生产'?'ChemicalProductionFivePlan':this.unitdata.unittype=='农村'?'CountrysideFivePlan':''
let blob=[]
/*
调用下载接口获取文件流,并赋值给blob
diff --git a/src/app/tabbar/tabbar.component.html b/src/app/tabbar/tabbar.component.html
index 9774d50..fba1820 100644
--- a/src/app/tabbar/tabbar.component.html
+++ b/src/app/tabbar/tabbar.component.html
@@ -214,15 +214,15 @@
- 提交审核
- 撤销审核
+ 撤销审核 -->
- (
+
(审核通过)
{
+ this.contentVerify = data
+ sessionStorage.setItem('contentVerify',JSON.stringify(data))
+ },err=>{
+ const config = new MatSnackBarConfig();
+ config.verticalPosition = 'top';
+ config.duration = 3000
+ this.snackBar.open(err,'确定',config);
+ })
}
- this.http.post(`/api/ContentVerifies`,body).subscribe(data=>{
- this.contentVerify = data
- sessionStorage.setItem('contentVerify',JSON.stringify(data))
- },err=>{
+
+ }
+ //撤销单位审核
+ cancelAudit(){
+ let isTrue = confirm('您确定要撤销审核该条信息吗')
+ if(isTrue){
+ this.http.delete(`/api/ContentVerifies/${this.contentVerify.id}`).subscribe(data=>{
+ this.contentVerify = data
+ sessionStorage.setItem('contentVerify',JSON.stringify(data))
+ },
+ err=>{
const config = new MatSnackBarConfig();
config.verticalPosition = 'top';
config.duration = 3000
this.snackBar.open(err,'确定',config);
- })
- }
- //撤销单位审核
- cancelAudit(){
- this.http.delete(`/api/ContentVerifies/${this.contentVerify.id}`).subscribe(data=>{
- this.contentVerify = data
- sessionStorage.setItem('contentVerify',JSON.stringify(data))
- },
- err=>{
- const config = new MatSnackBarConfig();
- config.verticalPosition = 'top';
- config.duration = 3000
- this.snackBar.open(err,'确定',config);
- })
+ })
+ }
+
}
//初始化下载
downloadFile () {