Browse Source

[修改]待审核和审核记录表格参数levle修改

zhuzhou
chenjingyu 4 years ago
parent
commit
9cf4b28f1c
  1. 10
      src/app/plan-audit/plan-record/plan-record.component.ts
  2. 4
      src/app/plan-audit/wait-examineer/wait-examineer.component.ts

10
src/app/plan-audit/plan-record/plan-record.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-12-25 10:19:31
* @LastEditors: sueRimn
* @LastEditTime: 2021-02-02 15:57:09
* @LastEditTime: 2021-02-06 10:15:00
*/
import { Component, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
@ -32,7 +32,7 @@ export class PlanRecordComponent implements OnInit {
{name:"大队",value:"4"},
{name:"中队",value:"8"}
]
this.PlanLevel=0
}
if(level == "1"){//如果是支队
this.preparelevels = [
@ -40,20 +40,20 @@ export class PlanRecordComponent implements OnInit {
{name:"大队",value:"2"},
{name:"中队",value:"3"}
]
this.PlanLevel=1
}
if(level == "2"){//如果是大队
this.preparelevels = [
{name:"大队",value:"4"},
{name:"中队",value:"8"}
]
this.PlanLevel=2
}
if(level == "3"){//如果是中队
this.preparelevels = [
{name:"中队",value:"8"}
]
this.PlanLevel=3
}
this.iframeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(this.src);
this.getAlltabledate()

4
src/app/plan-audit/wait-examineer/wait-examineer.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-12-25 16:13:50
* @LastEditors: sueRimn
* @LastEditTime: 2021-02-05 09:46:54
* @LastEditTime: 2021-02-06 10:12:26
*/
import { Component, Inject, OnInit } from '@angular/core';
import { FormControl } from '@angular/forms';
@ -117,7 +117,7 @@ export class WaitExamineerComponent implements OnInit {
let paramsdata:any = {
Operation:this.level||[],
ContentType:Number(this.projectlevel)||[],
Level:this.PlanLevel||[],
//Level:this.PlanLevel||[],
verifyState:[0,3]
}
this.http.get("/api/ContentVerifies",{params:paramsdata}).subscribe((data:any)=>{

Loading…
Cancel
Save