Browse Source

fix

master
drfelfel 1 year ago
parent
commit
1d76ed2342
3 changed files with 27 additions and 0 deletions
  1. +23
    -0
      src/routes/panel/dashboard/app/app.component.html
  2. +2
    -0
      src/routes/panel/dashboard/app/app.component.ts
  3. +2
    -0
      src/routes/panel/dashboard/material.ts

+ 23
- 0
src/routes/panel/dashboard/app/app.component.html View File

@ -16,6 +16,29 @@
</div>
<mat-expansion-panel expanded class="selector">
<mat-expansion-panel-header>
<mat-panel-title>
<mat-icon style="margin-left: 5px">search</mat-icon>
فیلتر ها
</mat-panel-title>
<mat-panel-description> فیلتر ها و جستجو </mat-panel-description>
</mat-expansion-panel-header>
<mat-form-field appearance="outline">
<mat-label>مقطع</mat-label>
<mat-select [(ngModel)]="grade" (selectionChange)="subscribe()">
<mat-option value="کاردانی"> کاردانی </mat-option>
<mat-option value="کارشناسی"> کارشناسی </mat-option>
</mat-select>
</mat-form-field>
<div class="flex-space"></div>
</mat-expansion-panel>
<section *ngIf="data.length > 0">
<div class="stats">

+ 2
- 0
src/routes/panel/dashboard/app/app.component.ts View File

@ -27,6 +27,7 @@ interface UniversityGroup {
export class AppComponent implements OnInit {
universityControl = new FormControl();
grade = "کاردانی"
univeristygroups: UniversityGroup[] = [
{
@ -107,6 +108,7 @@ export class AppComponent implements OnInit {
method: 'SUB',
data: {
grade:this.grade
}
}
}).then(res => {

+ 2
- 0
src/routes/panel/dashboard/material.ts View File

@ -12,6 +12,7 @@ import { MatSnackBarModule } from '@angular/material/snack-bar';
import { MatSelectModule } from '@angular/material/select';
import { MatStepperModule } from '@angular/material/stepper';
import { MatExpansionModule } from '@angular/material/expansion';
const modules = [
MatCardModule,
@ -19,6 +20,7 @@ const modules = [
MatFormFieldModule,
MatButtonModule,
MatProgressSpinnerModule,
MatExpansionModule,
MatToolbarModule,
MatIconModule,
MatDialogModule,

Loading…
Cancel
Save