From c052e707e769d2b54046e4e6f2b29c77cad0de47 Mon Sep 17 00:00:00 2001 From: SHAOJIAHAO <55341701@qq.com> Date: Tue, 23 Feb 2021 09:21:03 +0800 Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=AE=8C=E5=96=84=E5=BB=BA?= =?UTF-8?q?=E7=AD=91=E7=B1=BB=E5=9E=8B=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/ui/basicinfo/basicinfo.component.html | 4 ++-- src/app/ui/basicinfo/basicinfo.component.ts | 24 +++++++++---------- 2 files changed, 13 insertions(+), 15 deletions(-) diff --git a/src/app/ui/basicinfo/basicinfo.component.html b/src/app/ui/basicinfo/basicinfo.component.html index 01c6fd4..0810239 100644 --- a/src/app/ui/basicinfo/basicinfo.component.html +++ b/src/app/ui/basicinfo/basicinfo.component.html @@ -402,7 +402,7 @@ - 罐区编号* + 储罐编号* - 罐区编号* + 储罐编号* { @@ -1658,7 +1656,7 @@ export class BasicinfoComponent implements OnInit { }) } } - if(item.buildtype == "石油化工类"){ + if(item.buildtype.indexOf('化工') != -1 || item.buildtype.indexOf('储罐') != -1){ let buildType = item.buildtype let bodyObj = _.cloneDeep(item) delete bodyObj.name @@ -2532,7 +2530,7 @@ export class BasicinfoComponent implements OnInit { this.snackBar.open('请检查输入数据是否有误','确定',config); }) } - if(item.buildtype == "加油站"){ + if(item.buildtype.indexOf('加油') != -1){ let buildType = item.buildtype let bodyObj = _.cloneDeep(item) delete bodyObj.name @@ -2855,7 +2853,7 @@ export class BasicinfoComponent implements OnInit { this.snackBar.open('请检查输入数据是否有误','确定',config); }) } - if(item.buildtype == "地铁类"){ + if(item.buildtype.indexOf('地铁') != -1){ let newObj = _.cloneDeep(item) delete newObj.username delete newObj.name