|
@@ -108,6 +108,15 @@
|
|
|
<div class="row">
|
|
|
<div class="wrapper">
|
|
|
|
|
|
+ <div class="col-12">
|
|
|
+ <h2>حاله الطلب : {{statusName == 'pending' ? 'تحت الإجراء'
|
|
|
+ : statusName == 'accepted' ? 'مقبول'
|
|
|
+ : statusName == 'replayed_opinion' ? 'رأي القسم'
|
|
|
+ : statusName == 'refused' ? 'مرفوض'
|
|
|
+ : statusName == 'canceled' ? 'ملغي'
|
|
|
+ : statusName == 'asked_for_opinion' ? 'طلب رأي القسم' : 'لايوجد '}}</h2>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
<div class="form-group">
|
|
|
<label style="float:right">نوع الطلب <span class="spanReqired-w">*</span></label>
|
|
@@ -187,8 +196,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!-- <h2 class="departmentHeading-w">أختر الأقسام <span>(قم بإختيار قسم كحد أدني)</span></h2> -->
|
|
|
- <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
+ <!-- <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
<div class="form-group">
|
|
|
<label for="department1" style="float:right;">القسم الأول</label>
|
|
|
<select class="form-control selectStyle-w" id="department1" name="department1" (input)="changeDepartment($event , 1)" [(ngModel)]="formData.department1" [disabled]="disabledInput">
|
|
@@ -214,7 +222,7 @@
|
|
|
<option [value]="2003">حذف</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -229,15 +237,16 @@
|
|
|
|
|
|
<div class="wrapper" *ngIf="files.length > 0">
|
|
|
|
|
|
- <div class="col-12">
|
|
|
+ <!-- <div class="col-12">
|
|
|
<button type="button" class="btn btn-default" (click)="plusImage()" style="margin:20px 0; float:right;">إضافه مرفق</button>
|
|
|
- </div>
|
|
|
+ </div> -->
|
|
|
|
|
|
<table class="table table-bordered">
|
|
|
<thead class="headBackground-w">
|
|
|
<tr>
|
|
|
<th> إسم المرفق</th>
|
|
|
<th>رفع املف ( بصيغه pdf )</th>
|
|
|
+ <th>عرض الملف</th>
|
|
|
<th>حذف</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -249,6 +258,7 @@
|
|
|
<label for="file{{i}}" class="iconUpload-w"><i class="fas fa-upload"></i></label>
|
|
|
<span class="fileName-w">{{file.nameFile}}</span>
|
|
|
</td>
|
|
|
+ <td><a href="{{authSer.pathImg + file.nameFile}}" target="_blank"><i class="fas fa-download"></i></a></td>
|
|
|
<td><button type="button" class="btn btn-danger form-control deleteRow-w" (click)="onDeleteRow(i)" [disabled]="disabledInput">حذف</button></td>
|
|
|
</tr>
|
|
|
</tbody>
|
|
@@ -259,51 +269,46 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12" style="margin: 20px 0;">
|
|
|
- <div class="row">
|
|
|
- <div class="wrapper">
|
|
|
-
|
|
|
- <div class="askForOpinion-w" *ngIf="!isConfirmedStatus">
|
|
|
- <div class="col-12 col-md-12">
|
|
|
- <div class="form-group">
|
|
|
- <label style="float:right; margin: 20px;"> رأي القسم </label>
|
|
|
- <quill-editor id="description" name="actionOpinionForm" [(ngModel)]="actionOpinionForm.department_opinion" required>
|
|
|
- </quill-editor>
|
|
|
- </div>
|
|
|
+ <div class="row">
|
|
|
+ <div class="wrapper">
|
|
|
+
|
|
|
+ <div class="askForOpinion-w" *ngIf="!isConfirmedStatus">
|
|
|
+ <div class="col-12 col-md-12">
|
|
|
+ <div class="form-group">
|
|
|
+ <label style="float:right; margin: 20px;"> رأي القسم </label>
|
|
|
+ <quill-editor id="description" name="actionOpinionForm" [(ngModel)]="actionOpinionForm.department_opinion" required>
|
|
|
+ </quill-editor>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div class="confirmed-w" *ngIf="isConfirmedStatus">
|
|
|
- <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
- <div class="form-group">
|
|
|
- <label for="startDate" style="float:right" >تاريخ البدايه</label>
|
|
|
- <div *ngIf='bindingDateSplitStart && typeMode'>
|
|
|
- <app-higri-date (onDatePicked)="getDate($event, 'start')" [myDate]="bindingDateSplitStart"></app-higri-date>
|
|
|
- </div>
|
|
|
- <!-- <div *ngIf='!typeMode'>
|
|
|
- <app-higri-date (onDatePicked)="getDate($event, 'start')" ></app-higri-date>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="confirmed-w" *ngIf="isConfirmedStatus">
|
|
|
+ <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="startDate" style="float:right" >تاريخ البدايه</label>
|
|
|
+ <div *ngIf='bindingDateSplitStart && typeMode'>
|
|
|
+ <app-higri-date (onDatePicked)="getDate($event, 'start')" [myDate]="bindingDateSplitStart"></app-higri-date>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
- <div class="form-group">
|
|
|
- <label for="endDate" style="float:right" >تاريخ الإنتهاء</label>
|
|
|
- <div *ngIf='bindingDateSplitEnd && typeMode'>
|
|
|
- <app-end-higri-date (onDatePicked)="getDate($event, 'end')" [myEndDate]="bindingDateSplitEnd"> </app-end-higri-date>
|
|
|
- </div>
|
|
|
- <!-- <div *ngIf='!typeMode'>
|
|
|
- <app-end-higri-date (onDatePicked)="getDate($event, 'end')" ></app-end-higri-date>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
+ <div class="form-group">
|
|
|
+ <label for="endDate" style="float:right" >تاريخ الإنتهاء</label>
|
|
|
+ <div *ngIf='bindingDateSplitEnd && typeMode'>
|
|
|
+ <app-end-higri-date (onDatePicked)="getDate($event, 'end')" [myEndDate]="bindingDateSplitEnd"> </app-end-higri-date>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
- <button class="btn btn-success" type="button" (click)="beginTrainning()" style="width: 100%; margin-top:30px;">بدء التدريب</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
-
|
|
|
+ <div class="col-12 col-sm-12 col-md-4 col-lg-4">
|
|
|
+ <button class="btn btn-success" type="button" (click)="beginTrainning()" style="width: 100%; margin-top:30px;">بدء التدريب</button>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12">
|