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