seimin 1 ヶ月 前
コミット
4085a47886

+ 3 - 3
src/app/views/new-statistics/distribution-inspection-statistics/department-business-statistics/department-business-statistics.component.html

@@ -5,7 +5,7 @@
5 5
       <nz-range-picker [(ngModel)]="dateRange" [nzAllowClear]="false" (ngModelChange)="changeDate($event)" (nzOnCalendarChange)="onCalendarChangeDate($event)">
6 6
       </nz-range-picker>
7 7
     </div>
8
-		
8
+
9 9
 		<div class="searchDataItem">
10 10
 		  <span class="label">科室</span>:
11 11
 		  <nz-select class="selectItem" [nzDropdownMatchSelectWidth]="false" nzAllowClear nzPlaceHolder="请选择科室" [(ngModel)]="deptId" nzServerSearch nzShowSearch (nzOnSearch)="changeInp($event)">
@@ -34,8 +34,8 @@
34 34
   <nz-table class="table" [ngStyle]="{ width: widthValue + 'px' }" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl" [nzWidthConfig]="widthConfig" nzBordered>
35 35
     <thead (nzSortChange)="sort($event)" nzSingleSort>
36 36
       <tr>
37
-				<th rowspan="2" *ngIf="parent==1">父级科室(编码)</th>
38
-        <th rowspan="2">科室(编码)</th>
37
+				<th rowspan="2" *ngIf="parent==1" nzShowSort nzSortKey="parentOrders" [(nzSort)]="sortCurrent.parentOrders">父级科室(编码)</th>
38
+        <th rowspan="2" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室(编码)</th>
39 39
         <th rowspan="2" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
40 40
         <th rowspan="2" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">积分总和</th>
41 41
         <th rowspan="2" nzShowSort nzSortKey="totalPrice" [(nzSort)]="sortCurrent.totalPrice">总费用</th>

+ 2 - 2
src/app/views/new-statistics/distribution-inspection-statistics/department-quality-control-statistics/department-quality-control-statistics.component.html

@@ -34,8 +34,8 @@
34 34
 <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
35 35
   <thead (nzSortChange)="sort($event)" nzSingleSort>
36 36
     <tr>
37
-			<th nzWidth="9%" *ngIf="parent==1">父级科室(编码)</th>
38
-      <th nzWidth="9%">科室(编码)</th>
37
+			<th nzWidth="9%" *ngIf="parent==1" nzShowSort nzSortKey="parentOrders" [(nzSort)]="sortCurrent.parentOrders">父级科室(编码)</th>
38
+      <th nzWidth="9%" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室(编码)</th>
39 39
       <th nzWidth="9%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
40 40
       <th nzWidth="9%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
41 41
       <th nzWidth="9%" nzShowSort nzSortKey="totalPrice" [(nzSort)]="sortCurrent.totalPrice">总费用</th>

+ 1 - 1
src/app/views/new-statistics/distribution-inspection-statistics/distribution-department-evaluate-statistics/distribution-department-evaluate-statistics.component.html

@@ -33,7 +33,7 @@
33 33
 <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
34 34
   <thead (nzSortChange)="sort($event)" nzSingleSort>
35 35
     <tr>
36
-      <th nzWidth="12%">科室(编码)</th>
36
+      <th nzWidth="12%" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室(编码)</th>
37 37
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
38 38
       <th nzWidth="11%" nzShowSort nzSortKey="evaCount" [(nzSort)]="sortCurrent.evaCount">评价总工单数</th>
39 39
       <th nzWidth="11%" nzShowSort nzSortKey="eva1" [(nzSort)]="sortCurrent.eva1">一星评价数</th>

+ 2 - 2
src/app/views/new-statistics/distribution-inspection-statistics/distribution-department-source-statistics/distribution-department-source-statistics.component.html

@@ -34,8 +34,8 @@
34 34
 <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
35 35
   <thead (nzSortChange)="sort($event)" nzSingleSort>
36 36
     <tr>
37
-			<th nzWidth="20%" *ngIf="parent==1">父级科室(编码)</th>
38
-      <th nzWidth="20%">科室(编码)</th>
37
+			<th nzWidth="20%" *ngIf="parent==1" nzShowSort nzSortKey="parentOrders" [(nzSort)]="sortCurrent.parentOrders">父级科室(编码)</th>
38
+      <th nzWidth="20%" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室(编码)</th>
39 39
       <th nzWidth="15%" nzShowSort nzSortKey="service" [(nzSort)]="sortCurrent.service">服务台建单数</th>
40 40
       <th nzWidth="15%" nzShowSort nzSortKey="nurse" [(nzSort)]="sortCurrent.nurse">护士端建单数</th>
41 41
       <th nzWidth="15%" nzShowSort nzSortKey="system" [(nzSort)]="sortCurrent.system">系统自动建单数</th>

+ 2 - 2
src/app/views/new-statistics/maintenance-statistics/department-evaluate-statistics/department-evaluate-statistics.component.html

@@ -37,8 +37,8 @@
37 37
 <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
38 38
   <thead (nzSortChange)="sort($event)" nzSingleSort>
39 39
     <tr>
40
-			<th nzWidth="9%" *ngIf="parent==1">父级科室(编码)</th>
41
-      <th nzWidth="10%">科室名称(编码)</th>
40
+			<th nzWidth="9%" *ngIf="parent==1" nzShowSort nzSortKey="parentOrders" [(nzSort)]="sortCurrent.parentOrders">父级科室(编码)</th>
41
+      <th nzWidth="10%" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室名称(编码)</th>
42 42
       <th nzWidth="10%" nzShowSort nzSortKey="sum" [(nzSort)]="sortCurrent.sum">工单总数</th>
43 43
       <th nzWidth="10%" nzShowSort nzSortKey="degreeCount" [(nzSort)]="sortCurrent.degreeCount">评价工单数</th>
44 44
       <th nzWidth="10%" nzShowSort nzSortKey="oneStar" [(nzSort)]="sortCurrent.oneStar">一星</th>

+ 2 - 2
src/app/views/new-statistics/maintenance-statistics/department-incident-statistics/department-incident-statistics.component.html

@@ -37,8 +37,8 @@
37 37
 <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
38 38
   <thead (nzSortChange)="sort($event)" nzSingleSort>
39 39
     <tr>
40
-			<th nzWidth="9%" *ngIf="parent==1">父级科室(编码)</th>
41
-      <th nzWidth="10%">科室名称(编码)</th>
40
+			<th nzWidth="9%" *ngIf="parent==1" nzShowSort nzSortKey="parentOrders" [(nzSort)]="sortCurrent.parentOrders">父级科室(编码)</th>
41
+      <th nzWidth="10%" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室名称(编码)</th>
42 42
       <th nzWidth="9%" nzShowSort nzSortKey="sum" [(nzSort)]="sortCurrent.sum">工单总数</th>
43 43
       <th nzWidth="9%" nzShowSort nzSortKey="avgResponseTime" [(nzSort)]="sortCurrent.avgResponseTime">平均接单时长</th>
44 44
       <th nzWidth="9%" nzShowSort nzSortKey="avgResolvedTime" [(nzSort)]="sortCurrent.avgResolvedTime">平均解决时长</th>

+ 2 - 2
src/app/views/new-statistics/maintenance-statistics/department-source-statistics/department-source-statistics.component.html

@@ -37,8 +37,8 @@
37 37
 <nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
38 38
   <thead (nzSortChange)="sort($event)" nzSingleSort>
39 39
     <tr>
40
-			<th nzWidth="10%" *ngIf="parent==1">父级科室(编码)</th>
41
-      <th nzWidth="20%">科室名称(编码)</th>
40
+			<th nzWidth="10%" *ngIf="parent==1" nzShowSort nzSortKey="parentOrders" [(nzSort)]="sortCurrent.parentOrders">父级科室(编码)</th>
41
+      <th nzWidth="20%" nzShowSort nzSortKey="orders" [(nzSort)]="sortCurrent.orders">科室名称(编码)</th>
42 42
       <th nzWidth="16%" nzShowSort nzSortKey="sum" [(nzSort)]="sortCurrent.sum">工单总数</th>
43 43
       <th nzWidth="16%" nzShowSort nzSortKey="phoneCount" [(nzSort)]="sortCurrent.phoneCount">电话报修数</th>
44 44
       <th nzWidth="16%" nzShowSort nzSortKey="wechatCount" [(nzSort)]="sortCurrent.wechatCount">微信报修数</th>

+ 11 - 1
src/app/views/office-management/office-management.component.html

@@ -59,6 +59,7 @@
59 59
           <tr class="thead">
60 60
             <th nzWidth="5%" nzShowCheckbox [(nzChecked)]="isAllDisplayDataChecked"
61 61
               (nzCheckedChange)="checkAll($event)"></th>
62
+            <th nzWidth="5%">排序号</th>
62 63
             <th nzWidth="10%">科室名称</th>
63 64
             <th nzWidth="10%">父级科室名称</th>
64 65
             <th nzWidth="10%">别名</th>
@@ -67,12 +68,13 @@
67 68
             <th nzWidth="10%">科室类型</th>
68 69
             <th nzWidth="10%">交接类型</th>
69 70
             <th nzWidth="10%">科室位置</th>
70
-            <th nzWidth="15%">操作</th>
71
+            <th nzWidth="10%">操作</th>
71 72
           </tr>
72 73
         </thead>
73 74
         <tbody>
74 75
           <tr *ngFor="let data of listOfData" (click)="selectedListData(data.id)">
75 76
             <td nzShowCheckbox [(nzChecked)]="mapOfCheckedId[data.id]" (nzCheckedChange)="refreshStatus()"></td>
77
+            <td>{{ data.orders }}</td>
76 78
             <td>{{ data.dept||'无' }}</td>
77 79
             <td>{{ data.parent?data.parent.dept:'无' }}</td>
78 80
             <td>{{ data.deptalias||'无' }}</td>
@@ -113,6 +115,14 @@
113 115
       <overlay-scrollbars #osComponentRef1 class="content">
114 116
         <form nz-form [formGroup]="validateForm" class="addForm" (ngSubmit)="submitForm()">
115 117
           <nz-form-item>
118
+            <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="orders">排序号</nz-form-label>
119
+            <nz-form-control nzErrorTip="请填写排序号!">
120
+              <nz-input-group>
121
+                <nz-input-number class="w100" formControlName="orders" nzPlaceHolder="请输入排序号" [nzMin]="0" [nzStep]="1" [nzPrecision]="0"></nz-input-number>
122
+              </nz-input-group>
123
+            </nz-form-control>
124
+          </nz-form-item>
125
+          <nz-form-item>
116 126
             <nz-form-label [nzSm]="6" [nzXs]="24" nzFor="parentOfficeName">父级科室</nz-form-label>
117 127
             <nz-form-control nzErrorTip="请填写父级科室!">
118 128
               <nz-select nzAllowClear [nzDropdownMatchSelectWidth]="false" formControlName="parentOfficeName" nzShowSearch

+ 3 - 0
src/app/views/office-management/office-management.component.ts

@@ -435,6 +435,7 @@ export class OfficeManagementComponent implements OnInit {
435 435
     this.startTime2Hourdis = () => [];
436 436
     this.startTime2Mindis = () => [];
437 437
     this.validateForm = this.fb.group({
438
+      orders: [null],
438 439
       parentOfficeName: [null],
439 440
       officeName: [null, [Validators.required]],
440 441
       deptalias: [null],
@@ -532,6 +533,7 @@ export class OfficeManagementComponent implements OnInit {
532 533
     let deptsPhone = this.deptPhones.map((item) => item.phone).join();
533 534
     let data: any = {
534 535
       department: {
536
+        orders: that.validateForm.value.orders || undefined,
535 537
         dept: that.validateForm.value.officeName,
536 538
         deptalias: that.validateForm.value.deptalias,
537 539
         hospital: { id: that.add ? that.tool.getCurrentHospital().id : that.hospital },
@@ -653,6 +655,7 @@ export class OfficeManagementComponent implements OnInit {
653 655
         }
654 656
       });
655 657
     }
658
+    this.validateForm.controls.orders.setValue(data.orders);
656 659
     this.validateForm.controls.officeName.setValue(data.dept);
657 660
     this.validateForm.controls.deptalias.setValue(data.deptalias);
658 661
     this.validateForm.controls.officeNo.setValue(data.pcode);