Просмотр исходного кода

Merge branch 'develop' of http://git.dashitech.com/seimin/zy-pc into develop

seimin месяцев назад: 4
Родитель
Сommit
0477f9635b
11 измененных файлов с 58 добавлено и 39 удалено
  1. 2 1
      src/app/views/new-statistics/distribution-inspection-statistics/date-business-statistics/date-business-statistics.component.ts
  2. 3 3
      src/app/views/new-statistics/distribution-inspection-statistics/date-quality-control-statistics/date-quality-control-statistics.component.html
  3. 2 2
      src/app/views/new-statistics/distribution-inspection-statistics/department-business-statistics/department-business-statistics.component.html
  4. 2 1
      src/app/views/new-statistics/distribution-inspection-statistics/department-business-statistics/department-business-statistics.component.ts
  5. 5 5
      src/app/views/new-statistics/distribution-inspection-statistics/department-quality-control-statistics/department-quality-control-statistics.component.html
  6. 2 2
      src/app/views/new-statistics/distribution-inspection-statistics/distribution-department-evaluate-statistics/distribution-department-evaluate-statistics.component.html
  7. 2 2
      src/app/views/new-statistics/distribution-inspection-statistics/distribution-department-source-statistics/distribution-department-source-statistics.component.html
  8. 2 2
      src/app/views/new-statistics/distribution-inspection-statistics/user-business-statistics/user-business-statistics.component.html
  9. 3 2
      src/app/views/new-statistics/distribution-inspection-statistics/user-business-statistics/user-business-statistics.component.ts
  10. 5 5
      src/app/views/new-statistics/distribution-inspection-statistics/user-quality-control-statistics/user-quality-control-statistics.component.html
  11. 30 14
      src/app/views/new-statistics/maintenance-statistics/synthesize-statistics/synthesize-statistics.component.ts

+ 2 - 1
src/app/views/new-statistics/distribution-inspection-statistics/date-business-statistics/date-business-statistics.component.ts

@@ -101,7 +101,8 @@ export class DateBusinessStatisticsComponent implements OnInit, AfterViewInit {
101
   getList(num?: number, field?: string, sort?: string) {
101
   getList(num?: number, field?: string, sort?: string) {
102
     this.mainService.getDictionary('list', 'statistics_date_type').subscribe((data) => {
102
     this.mainService.getDictionary('list', 'statistics_date_type').subscribe((data) => {
103
       let dictionaryList = data || [];
103
       let dictionaryList = data || [];
104
-      dictionaryList.push({id: 0, name: '其他', value: 'dateOther'});
104
+      let flag = dictionaryList.some((item) => item.value === 'dateOther');
105
+      !flag && dictionaryList.push({id: 0, name: '其他', value: 'dateOther'});
105
       this.dictionaryList = dictionaryList;
106
       this.dictionaryList = dictionaryList;
106
       this.widthConfig = new Array(this.dictionaryList.length * 2 + 3).fill('100px');
107
       this.widthConfig = new Array(this.dictionaryList.length * 2 + 3).fill('100px');
107
       if (num !== undefined) {
108
       if (num !== undefined) {

+ 3 - 3
src/app/views/new-statistics/distribution-inspection-statistics/date-quality-control-statistics/date-quality-control-statistics.component.html

@@ -38,7 +38,7 @@
38
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
38
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
39
       <th nzWidth="11%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
39
       <th nzWidth="11%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
40
       <th nzWidth="11%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
40
       <th nzWidth="11%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
41
-      <th nzWidth="11%" nzShowSort nzSortKey="arrive_time_num" [(nzSort)]="sortCurrent.arrive_time_num">平均送达时间</th>
41
+      <th nzWidth="11%" nzShowSort nzSortKey="execution_time_num" [(nzSort)]="sortCurrent.execution_time_num">平均送达时间</th>
42
       <th nzWidth="11%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
42
       <th nzWidth="11%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
43
       <th nzWidth="11%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
43
       <th nzWidth="11%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
44
       <th nzWidth="11%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
44
       <th nzWidth="11%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
@@ -51,7 +51,7 @@
51
       <td>{{ data.totalCount }}</td>
51
       <td>{{ data.totalCount }}</td>
52
       <td>{{ data.totalGrade }}</td>
52
       <td>{{ data.totalGrade }}</td>
53
       <td>{{ data.response_time_num }}</td>
53
       <td>{{ data.response_time_num }}</td>
54
-      <td>{{ data.arrive_time_num }}</td>
54
+      <td>{{ data.execution_time_num }}</td>
55
       <td>{{ data.aveper }}</td>
55
       <td>{{ data.aveper }}</td>
56
       <td>{{ data.total_time }}</td>
56
       <td>{{ data.total_time }}</td>
57
       <td>{{ data.five_count }}</td>
57
       <td>{{ data.five_count }}</td>
@@ -65,7 +65,7 @@
65
         <td style="width: 11%">{{ data.totalCount }}</td>
65
         <td style="width: 11%">{{ data.totalCount }}</td>
66
         <td style="width: 11%">{{ data.totalGrade }}</td>
66
         <td style="width: 11%">{{ data.totalGrade }}</td>
67
         <td style="width: 11%">{{ data.response_time_num }}</td>
67
         <td style="width: 11%">{{ data.response_time_num }}</td>
68
-        <td style="width: 11%">{{ data.arrive_time_num }}</td>
68
+        <td style="width: 11%">{{ data.execution_time_num }}</td>
69
         <td style="width: 11%">{{ data.aveper }}</td>
69
         <td style="width: 11%">{{ data.aveper }}</td>
70
         <td style="width: 11%">{{ data.total_time }}</td>
70
         <td style="width: 11%">{{ data.total_time }}</td>
71
         <td style="width: 11%">{{ data.five_count }}</td>
71
         <td style="width: 11%">{{ data.five_count }}</td>

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

@@ -46,7 +46,7 @@
46
     </thead>
46
     </thead>
47
     <tbody>
47
     <tbody>
48
       <tr *ngFor="let data of listOfData">
48
       <tr *ngFor="let data of listOfData">
49
-        <td class="width150">{{ data.name }}<ng-container *ngIf="data.code">({{ data.code }})</ng-container></td>
49
+        <td class="width150">{{ data.name }}</td>
50
         <td>{{ data.totalCount }}</td>
50
         <td>{{ data.totalCount }}</td>
51
         <td>{{ data.totalGrade }}</td>
51
         <td>{{ data.totalGrade }}</td>
52
         <ng-container *ngFor="let dictionary of dictionaryList">
52
         <ng-container *ngFor="let dictionary of dictionaryList">
@@ -58,7 +58,7 @@
58
     <ng-template #footerTpl>
58
     <ng-template #footerTpl>
59
       <table class="footTable">
59
       <table class="footTable">
60
         <tr *ngFor="let data of listOfDataEnd">
60
         <tr *ngFor="let data of listOfDataEnd">
61
-          <td class="width150">{{ data.code }}</td>
61
+          <td class="width150">{{ data.name }}</td>
62
           <td>{{ data.totalCount }}</td>
62
           <td>{{ data.totalCount }}</td>
63
           <td>{{ data.totalGrade }}</td>
63
           <td>{{ data.totalGrade }}</td>
64
           <ng-container *ngFor="let dictionary of dictionaryList">
64
           <ng-container *ngFor="let dictionary of dictionaryList">

+ 2 - 1
src/app/views/new-statistics/distribution-inspection-statistics/department-business-statistics/department-business-statistics.component.ts

@@ -111,7 +111,8 @@ export class DepartmentBusinessStatisticsComponent implements OnInit, AfterViewI
111
   getList(num?: number, field?: string, sort?: string) {
111
   getList(num?: number, field?: string, sort?: string) {
112
     this.mainService.getDictionary('list', 'statistics_date_type').subscribe((data) => {
112
     this.mainService.getDictionary('list', 'statistics_date_type').subscribe((data) => {
113
       let dictionaryList = data || [];
113
       let dictionaryList = data || [];
114
-      dictionaryList.push({id: 0, name: '其他', value: 'dateOther'});
114
+      let flag = dictionaryList.some((item) => item.value === 'dateOther');
115
+      !flag && dictionaryList.push({id: 0, name: '其他', value: 'dateOther'});
115
       this.dictionaryList = dictionaryList;
116
       this.dictionaryList = dictionaryList;
116
       this.widthConfig = new Array(this.dictionaryList.length * 2 + 3).fill('100px').map((v, i) => { return i == 0 ? '150px' : '100px' });;
117
       this.widthConfig = new Array(this.dictionaryList.length * 2 + 3).fill('100px').map((v, i) => { return i == 0 ? '150px' : '100px' });;
117
       if (num !== undefined) {
118
       if (num !== undefined) {

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

@@ -37,7 +37,7 @@
37
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
37
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
38
       <th nzWidth="11%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
38
       <th nzWidth="11%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
39
       <th nzWidth="11%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
39
       <th nzWidth="11%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
40
-      <th nzWidth="11%" nzShowSort nzSortKey="arrive_time_num" [(nzSort)]="sortCurrent.arrive_time_num">平均送达时间</th>
40
+      <th nzWidth="11%" nzShowSort nzSortKey="execution_time_num" [(nzSort)]="sortCurrent.execution_time_num">平均送达时间</th>
41
       <th nzWidth="11%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
41
       <th nzWidth="11%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
42
       <th nzWidth="11%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
42
       <th nzWidth="11%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
43
       <th nzWidth="11%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
43
       <th nzWidth="11%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
@@ -46,11 +46,11 @@
46
   </thead>
46
   </thead>
47
   <tbody>
47
   <tbody>
48
     <tr *ngFor="let data of listOfData">
48
     <tr *ngFor="let data of listOfData">
49
-      <td>{{ data.name }}<ng-container *ngIf="data.code">({{ data.code }})</ng-container></td>
49
+      <td>{{ data.name }}</td>
50
       <td>{{ data.totalCount }}</td>
50
       <td>{{ data.totalCount }}</td>
51
       <td>{{ data.totalGrade }}</td>
51
       <td>{{ data.totalGrade }}</td>
52
       <td>{{ data.response_time_num }}</td>
52
       <td>{{ data.response_time_num }}</td>
53
-      <td>{{ data.arrive_time_num }}</td>
53
+      <td>{{ data.execution_time_num }}</td>
54
       <td>{{ data.aveper }}</td>
54
       <td>{{ data.aveper }}</td>
55
       <td>{{ data.total_time }}</td>
55
       <td>{{ data.total_time }}</td>
56
       <td>{{ data.five_count }}</td>
56
       <td>{{ data.five_count }}</td>
@@ -60,11 +60,11 @@
60
   <ng-template #footerTpl>
60
   <ng-template #footerTpl>
61
     <table class="footTable">
61
     <table class="footTable">
62
       <tr *ngFor="let data of listOfDataEnd">
62
       <tr *ngFor="let data of listOfDataEnd">
63
-        <td style="width: 12%">{{ data.code }}</td>
63
+        <td style="width: 12%">{{ data.name }}</td>
64
         <td style="width: 11%">{{ data.totalCount }}</td>
64
         <td style="width: 11%">{{ data.totalCount }}</td>
65
         <td style="width: 11%">{{ data.totalGrade }}</td>
65
         <td style="width: 11%">{{ data.totalGrade }}</td>
66
         <td style="width: 11%">{{ data.response_time_num }}</td>
66
         <td style="width: 11%">{{ data.response_time_num }}</td>
67
-        <td style="width: 11%">{{ data.arrive_time_num }}</td>
67
+        <td style="width: 11%">{{ data.execution_time_num }}</td>
68
         <td style="width: 11%">{{ data.aveper }}</td>
68
         <td style="width: 11%">{{ data.aveper }}</td>
69
         <td style="width: 11%">{{ data.total_time }}</td>
69
         <td style="width: 11%">{{ data.total_time }}</td>
70
         <td style="width: 11%">{{ data.five_count }}</td>
70
         <td style="width: 11%">{{ data.five_count }}</td>

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

@@ -46,7 +46,7 @@
46
   </thead>
46
   </thead>
47
   <tbody>
47
   <tbody>
48
     <tr *ngFor="let data of listOfData">
48
     <tr *ngFor="let data of listOfData">
49
-      <td>{{ data.name }}<ng-container *ngIf="data.code">({{ data.code }})</ng-container></td>
49
+      <td>{{ data.name }}</td>
50
       <td>{{ data.totalCount }}</td>
50
       <td>{{ data.totalCount }}</td>
51
       <td>{{ data.evaCount }}</td>
51
       <td>{{ data.evaCount }}</td>
52
       <td>{{ data.eva1 }}</td>
52
       <td>{{ data.eva1 }}</td>
@@ -60,7 +60,7 @@
60
   <ng-template #footerTpl>
60
   <ng-template #footerTpl>
61
     <table class="footTable">
61
     <table class="footTable">
62
       <tr *ngFor="let data of listOfDataEnd">
62
       <tr *ngFor="let data of listOfDataEnd">
63
-        <td style="width: 12%">{{ data.code }}</td>
63
+        <td style="width: 12%">{{ data.name }}</td>
64
         <td style="width: 11%">{{ data.totalCount }}</td>
64
         <td style="width: 11%">{{ data.totalCount }}</td>
65
         <td style="width: 11%">{{ data.evaCount }}</td>
65
         <td style="width: 11%">{{ data.evaCount }}</td>
66
         <td style="width: 11%">{{ data.eva1 }}</td>
66
         <td style="width: 11%">{{ data.eva1 }}</td>

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

@@ -42,7 +42,7 @@
42
   </thead>
42
   </thead>
43
   <tbody>
43
   <tbody>
44
     <tr *ngFor="let data of listOfData">
44
     <tr *ngFor="let data of listOfData">
45
-      <td>{{ data.name }}<ng-container *ngIf="data.code">({{ data.code }})</ng-container></td>
45
+      <td>{{ data.name }}</td>
46
       <td>{{ data.service }}</td>
46
       <td>{{ data.service }}</td>
47
       <td>{{ data.nurse }}</td>
47
       <td>{{ data.nurse }}</td>
48
       <td>{{ data.system }}</td>
48
       <td>{{ data.system }}</td>
@@ -52,7 +52,7 @@
52
   <ng-template #footerTpl>
52
   <ng-template #footerTpl>
53
     <table class="footTable">
53
     <table class="footTable">
54
       <tr *ngFor="let data of listOfDataEnd">
54
       <tr *ngFor="let data of listOfDataEnd">
55
-        <td style="width: 20%">{{ data.code }}</td>
55
+        <td style="width: 20%">{{ data.name }}</td>
56
         <td style="width: 20%">{{ data.service }}</td>
56
         <td style="width: 20%">{{ data.service }}</td>
57
         <td style="width: 20%">{{ data.nurse }}</td>
57
         <td style="width: 20%">{{ data.nurse }}</td>
58
         <td style="width: 20%">{{ data.system }}</td>
58
         <td style="width: 20%">{{ data.system }}</td>

+ 2 - 2
src/app/views/new-statistics/distribution-inspection-statistics/user-business-statistics/user-business-statistics.component.html

@@ -46,7 +46,7 @@
46
     </thead>
46
     </thead>
47
     <tbody>
47
     <tbody>
48
       <tr *ngFor="let data of listOfData">
48
       <tr *ngFor="let data of listOfData">
49
-        <td class="width150">{{ data.name }}<ng-container *ngIf="data.account">({{ data.account }})</ng-container></td>
49
+        <td class="width150">{{ data.name }}</td>
50
         <td>{{ data.totalCount }}</td>
50
         <td>{{ data.totalCount }}</td>
51
         <td>{{ data.totalGrade }}</td>
51
         <td>{{ data.totalGrade }}</td>
52
         <ng-container *ngFor="let dictionary of dictionaryList">
52
         <ng-container *ngFor="let dictionary of dictionaryList">
@@ -58,7 +58,7 @@
58
     <ng-template #footerTpl>
58
     <ng-template #footerTpl>
59
       <table class="footTable">
59
       <table class="footTable">
60
         <tr *ngFor="let data of listOfDataEnd">
60
         <tr *ngFor="let data of listOfDataEnd">
61
-          <td class="width150">{{ data.account }}</td>
61
+          <td class="width150">{{ data.name }}</td>
62
           <td>{{ data.totalCount }}</td>
62
           <td>{{ data.totalCount }}</td>
63
           <td>{{ data.totalGrade }}</td>
63
           <td>{{ data.totalGrade }}</td>
64
           <ng-container *ngFor="let dictionary of dictionaryList">
64
           <ng-container *ngFor="let dictionary of dictionaryList">

+ 3 - 2
src/app/views/new-statistics/distribution-inspection-statistics/user-business-statistics/user-business-statistics.component.ts

@@ -111,7 +111,8 @@ export class UserBusinessStatisticsComponent implements OnInit, AfterViewInit {
111
   getList(num?: number, field?: string, sort?: string) {
111
   getList(num?: number, field?: string, sort?: string) {
112
     this.mainService.getDictionary('list', 'statistics_date_type').subscribe((data) => {
112
     this.mainService.getDictionary('list', 'statistics_date_type').subscribe((data) => {
113
       let dictionaryList = data || [];
113
       let dictionaryList = data || [];
114
-      dictionaryList.push({id: 0, name: '其他', value: 'dateOther'});
114
+      let flag = dictionaryList.some((item) => item.value === 'dateOther');
115
+      !flag && dictionaryList.push({id: 0, name: '其他', value: 'dateOther'});
115
       this.dictionaryList = dictionaryList;
116
       this.dictionaryList = dictionaryList;
116
       this.widthConfig = new Array(this.dictionaryList.length * 2 + 3).fill('100px').map((v, i) => { return i == 0 ? '150px' : '100px' });
117
       this.widthConfig = new Array(this.dictionaryList.length * 2 + 3).fill('100px').map((v, i) => { return i == 0 ? '150px' : '100px' });
117
       if (num !== undefined) {
118
       if (num !== undefined) {
@@ -191,7 +192,7 @@ export class UserBusinessStatisticsComponent implements OnInit, AfterViewInit {
191
       postData.sort = `${this.sortCurrentKey} ${this.sortCurrentValue === "ascend" ? `asc` : `desc`}`
192
       postData.sort = `${this.sortCurrentKey} ${this.sortCurrentValue === "ascend" ? `asc` : `desc`}`
192
     }
193
     }
193
     this.mainService
194
     this.mainService
194
-      .postExportCustom("itsm/export", "userTransOrder", postData)
195
+      .postExportCustom("itsm/exportMergeTitle", "userTransOrder", postData)
195
       .subscribe((data) => {
196
       .subscribe((data) => {
196
         this.message.remove(this.excelExportLoading);
197
         this.message.remove(this.excelExportLoading);
197
         this.excelExportLoading = false;
198
         this.excelExportLoading = false;

+ 5 - 5
src/app/views/new-statistics/distribution-inspection-statistics/user-quality-control-statistics/user-quality-control-statistics.component.html

@@ -35,7 +35,7 @@
35
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
35
       <th nzWidth="11%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
36
       <th nzWidth="11%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
36
       <th nzWidth="11%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
37
       <th nzWidth="11%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
37
       <th nzWidth="11%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
38
-      <th nzWidth="11%" nzShowSort nzSortKey="arrive_time_num" [(nzSort)]="sortCurrent.arrive_time_num">平均送达时间</th>
38
+      <th nzWidth="11%" nzShowSort nzSortKey="execution_time_num" [(nzSort)]="sortCurrent.execution_time_num">平均送达时间</th>
39
       <th nzWidth="11%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
39
       <th nzWidth="11%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
40
       <th nzWidth="11%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
40
       <th nzWidth="11%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
41
       <th nzWidth="11%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
41
       <th nzWidth="11%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
@@ -44,11 +44,11 @@
44
   </thead>
44
   </thead>
45
   <tbody>
45
   <tbody>
46
     <tr *ngFor="let data of listOfData">
46
     <tr *ngFor="let data of listOfData">
47
-      <td>{{ data.name }}<ng-container *ngIf="data.account">({{ data.account }})</ng-container></td>
47
+      <td>{{ data.name }}</td>
48
       <td>{{ data.totalCount }}</td>
48
       <td>{{ data.totalCount }}</td>
49
       <td>{{ data.totalGrade }}</td>
49
       <td>{{ data.totalGrade }}</td>
50
       <td>{{ data.response_time_num }}</td>
50
       <td>{{ data.response_time_num }}</td>
51
-      <td>{{ data.arrive_time_num }}</td>
51
+      <td>{{ data.execution_time_num }}</td>
52
       <td>{{ data.aveper }}</td>
52
       <td>{{ data.aveper }}</td>
53
       <td>{{ data.total_time }}</td>
53
       <td>{{ data.total_time }}</td>
54
       <td>{{ data.five_count }}</td>
54
       <td>{{ data.five_count }}</td>
@@ -58,11 +58,11 @@
58
   <ng-template #footerTpl>
58
   <ng-template #footerTpl>
59
     <table class="footTable">
59
     <table class="footTable">
60
       <tr *ngFor="let data of listOfDataEnd">
60
       <tr *ngFor="let data of listOfDataEnd">
61
-        <td style="width: 12%">{{ data.account }}</td>
61
+        <td style="width: 12%">{{ data.name }}</td>
62
         <td style="width: 11%">{{ data.totalCount }}</td>
62
         <td style="width: 11%">{{ data.totalCount }}</td>
63
         <td style="width: 11%">{{ data.totalGrade }}</td>
63
         <td style="width: 11%">{{ data.totalGrade }}</td>
64
         <td style="width: 11%">{{ data.response_time_num }}</td>
64
         <td style="width: 11%">{{ data.response_time_num }}</td>
65
-        <td style="width: 11%">{{ data.arrive_time_num }}</td>
65
+        <td style="width: 11%">{{ data.execution_time_num }}</td>
66
         <td style="width: 11%">{{ data.aveper }}</td>
66
         <td style="width: 11%">{{ data.aveper }}</td>
67
         <td style="width: 11%">{{ data.total_time }}</td>
67
         <td style="width: 11%">{{ data.total_time }}</td>
68
         <td style="width: 11%">{{ data.five_count }}</td>
68
         <td style="width: 11%">{{ data.five_count }}</td>

+ 30 - 14
src/app/views/new-statistics/maintenance-statistics/synthesize-statistics/synthesize-statistics.component.ts

@@ -172,12 +172,13 @@ export class SynthesizeStatisticsComponent implements OnInit {
172
 					      type: 'shadow'
172
 					      type: 'shadow'
173
 					    }
173
 					    }
174
 					  },
174
 					  },
175
-					  grid: {
176
-					    left: '3%',
177
-					    right: '4%',
178
-					    bottom: '3%',
179
-					    containLabel: true
180
-					  },
175
+						grid: {
176
+							top: '10%',
177
+							left: '3%',  // grid布局设置适当调整避免X轴文字只能部分显示
178
+							right: '3%', // grid布局设置适当调整避免X轴文字只能部分显示
179
+							bottom: '6%',
180
+							containLabel: true
181
+						},
181
 					  xAxis: [
182
 					  xAxis: [
182
 					    {
183
 					    {
183
 					      type: 'category',
184
 					      type: 'category',
@@ -185,7 +186,14 @@ export class SynthesizeStatisticsComponent implements OnInit {
185
 					      axisTick: {
186
 					      axisTick: {
186
 									show:false,
187
 									show:false,
187
 					        alignWithLabel: true
188
 					        alignWithLabel: true
188
-					      }
189
+					      },
190
+								axisLabel: {
191
+									show: true, // 是否显示刻度标签,默认显示
192
+									interval: 0, // 坐标轴刻度标签的显示间隔,在类目轴中有效;默认会采用标签不重叠的策略间隔显示标签;可以设置成0强制显示所有标签;如果设置为1,表示『隔一个标签显示一个标签』,如果值为2,表示隔两个标签显示一个标签,以此类推。
193
+									rotate: 0, // 刻度标签旋转的角度,在类目轴的类目标签显示不下的时候可以通过旋转防止标签之间重叠;旋转的角度从-90度到90度
194
+									inside: false, // 刻度标签是否朝内,默认朝外
195
+									margin: 6, // 刻度标签与轴线之间的距离
196
+								}
189
 					    }
197
 					    }
190
 					  ],
198
 					  ],
191
 					  yAxis: [
199
 					  yAxis: [
@@ -242,12 +250,13 @@ export class SynthesizeStatisticsComponent implements OnInit {
242
 		    	      type: 'shadow'
250
 		    	      type: 'shadow'
243
 		    	    }
251
 		    	    }
244
 		    	  },
252
 		    	  },
245
-		    	  grid: {
246
-		    	    left: '3%',
247
-		    	    right: '4%',
248
-		    	    bottom: '3%',
249
-		    	    containLabel: true
250
-		    	  },
253
+						grid: {
254
+							top: '10%',
255
+							left: '3%',  // grid布局设置适当调整避免X轴文字只能部分显示
256
+							right: '3%', // grid布局设置适当调整避免X轴文字只能部分显示
257
+							bottom: '6%',
258
+							containLabel: true
259
+						},
251
 		    	  xAxis: [
260
 		    	  xAxis: [
252
 		    	    {
261
 		    	    {
253
 		    	      type: 'category',
262
 		    	      type: 'category',
@@ -255,7 +264,14 @@ export class SynthesizeStatisticsComponent implements OnInit {
255
 		    	      axisTick: {
264
 		    	      axisTick: {
256
 		    	  			show:false,
265
 		    	  			show:false,
257
 		    	        alignWithLabel: true
266
 		    	        alignWithLabel: true
258
-		    	      }
267
+		    	      },
268
+								axisLabel: {
269
+									show: true, // 是否显示刻度标签,默认显示
270
+									interval: 0, // 坐标轴刻度标签的显示间隔,在类目轴中有效;默认会采用标签不重叠的策略间隔显示标签;可以设置成0强制显示所有标签;如果设置为1,表示『隔一个标签显示一个标签』,如果值为2,表示隔两个标签显示一个标签,以此类推。
271
+									rotate: 0, // 刻度标签旋转的角度,在类目轴的类目标签显示不下的时候可以通过旋转防止标签之间重叠;旋转的角度从-90度到90度
272
+									inside: false, // 刻度标签是否朝内,默认朝外
273
+									margin: 6, // 刻度标签与轴线之间的距离
274
+								}
259
 		    	    }
275
 		    	    }
260
 		    	  ],
276
 		    	  ],
261
 		    	  yAxis: [
277
 		    	  yAxis: [