Browse Source

[完善]预案类型查询更改为多类型查询

dev
邵佳豪 4 years ago
parent
commit
4948a6bbe1
  1. 10
      src/app/plan-management/entry-plan/entry-plan.component.html
  2. 8
      src/app/plan-management/entry-plan/entry-plan.component.ts

10
src/app/plan-management/entry-plan/entry-plan.component.html

@ -52,11 +52,11 @@
<div class="queryField">
<label style="margin-right: 10px;">预案类型:</label>
<mat-form-field>
<mat-select name="reservePlanType" [(ngModel)]="reservePlanType" placeholder='请选择预案类型'>
<mat-option value="8">卡片预案</mat-option>
<mat-option value="1">二维预案</mat-option>
<mat-option value="2">三维预案</mat-option>
<mat-option value="4">其他预案</mat-option>
<mat-select name="reservePlanType" [(ngModel)]="reservePlanType" placeholder='请选择预案类型' [multiple]="true">
<mat-option value=8>卡片预案</mat-option>
<mat-option value=1>二维预案</mat-option>
<mat-option value=2>三维预案</mat-option>
<mat-option value=4>其他预案</mat-option>
</mat-select>
</mat-form-field>
</div>

8
src/app/plan-management/entry-plan/entry-plan.component.ts

@ -283,16 +283,20 @@ export class EntryPlanComponent implements OnInit {
closediv(){
this.isorganizationbox = false
}
allPlanInfo:any //存储所有预案信息
//获得所有预案信息
getAllPlanInfo(){
let reservePlanType
this.reservePlanType ? reservePlanType = JSON.parse(JSON.stringify(this.reservePlanType)) : reservePlanType = ''
if(this.reservePlanType && this.reservePlanType.length != 0){
reservePlanType = eval(this.reservePlanType.join("|"))
}
let paramsdata:any = {
CompanyName: this.companyName || '',
OrganizationId: this.jsId || '',
HasChildrenOrganization:this.jscheck || '',
BuildingTypeId: this.unittype || '',
PlanType: this.reservePlanType || '',
PlanType: reservePlanType || '',
AuditStatus: this.toExamine || '',
PlanLevel: this.preparelevel || '',
HasChildrenPlanLevel: this.plcheck || '',

Loading…
Cancel
Save