Commit 09a902da by sunchao

我的管理查询入参拿动态数据

parent 3fedd240
<div class="wrapper">
<div class="opt" style="margin-bottom: 10px;justify-content: flex-start;">
<select [(ngModel)]="mdDropOptionCode">
<select [(ngModel)]="mdDropOptionCode" (ngModelChange)="getCode($event)">
<option [value]="optItem.dropOptionCode" *ngFor="let optItem of optList">
{{optItem.dropOptionName}}
</option>
</select>
<select [(ngModel)]="year">
<select [(ngModel)]="year" (ngModelChange)="getCode($event)">
<option value="null">全部</option>
<option *ngFor="let yearItem of yearList">{{yearItem}}</option>
</select>
<select [(ngModel)]="month">
<select [(ngModel)]="month" (ngModelChange)="getCode($event)">
<option *ngFor="let monthItem of monthList">{{monthItem}}</option>
</select>
<!-- <div>
......
......@@ -60,17 +60,17 @@ export class MyManagementComponent implements OnInit {
})
}
selectOpt(){
getCode(event){
this.changeIsTeam(this.isTeam)
}
changeIsTeam(isTeam){
this.isTeam = isTeam;
const params = {
dateSpan:'2022-08-31 23:59:59',
practitionerId:25,
// practitionerId:JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerId'],
mdDropOptionCode:null
dateSpan:`${this.year}-${this.month}-31 23:59:59`,
// practitionerId:25,
practitionerId:JSON.parse(localStorage.getItem('lifeCustomerInfo'))['practitionerId'],
mdDropOptionCode:this.mdDropOptionCode
}
if(this.isTeam == 0){
this.myService.personalCompletionRate(params).subscribe((res)=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment