seimin hace 1 mes
padre
commit
3a77a244ca

+ 1 - 1
src/app/views/new-statistics/maintenance-statistics/consumable-statistics/consumable-statistics.component.html

@@ -45,7 +45,7 @@
45 45
   </thead>
46 46
   <tbody>
47 47
     <tr *ngFor="let data of listOfData">
48
-      <td>{{ data.consumableName }}({{ data.consumableCode }})</td>
48
+      <td>{{ data.consumableName }}<ng-container *ngIf="data.consumableCode">({{ data.consumableCode }})</ng-container></td>
49 49
       <td>{{ data.sum }}</td>
50 50
       <td>{{ data.consumableNum }}</td>
51 51
       <td>{{ data.consumablePrice }}</td>

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

@@ -50,7 +50,7 @@
50 50
   </thead>
51 51
   <tbody>
52 52
     <tr *ngFor="let data of listOfData">
53
-      <td>{{ data.deptName }}({{ data.deptCode }})</td>
53
+      <td>{{ data.deptName }}<ng-container *ngIf="data.deptCode">({{ data.deptCode }})</ng-container></td>
54 54
       <td>{{ data.sum }}</td>
55 55
       <td>{{ data.degreeCount }}</td>
56 56
       <td>{{ data.oneStar }}</td>

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

@@ -51,7 +51,7 @@
51 51
   </thead>
52 52
   <tbody>
53 53
     <tr *ngFor="let data of listOfData">
54
-      <td>{{ data.deptName }}({{ data.deptCode }})</td>
54
+      <td>{{ data.deptName }}<ng-container *ngIf="data.deptCode">({{ data.deptCode }})</ng-container></td>
55 55
       <td>{{ data.sum }}</td>
56 56
       <td>{{ data.avgResponseTime }}</td>
57 57
       <td>{{ data.avgResolvedTime }}</td>

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

@@ -46,7 +46,7 @@
46 46
   </thead>
47 47
   <tbody>
48 48
     <tr *ngFor="let data of listOfData">
49
-      <td>{{ data.deptName }}({{ data.deptCode }})</td>
49
+      <td>{{ data.deptName }}<ng-container *ngIf="data.deptCode">({{ data.deptCode }})</ng-container></td>
50 50
       <td>{{ data.sum }}</td>
51 51
       <td>{{ data.phoneCount }}</td>
52 52
       <td>{{ data.wechatCount }}</td>

+ 1 - 1
src/app/views/new-statistics/maintenance-statistics/user-statistics/user-statistics.component.html

@@ -49,7 +49,7 @@
49 49
   </thead>
50 50
   <tbody>
51 51
     <tr *ngFor="let data of listOfData">
52
-      <td>{{ data.userName }}({{ data.userAccount }})</td>
52
+      <td>{{ data.userName }}<ng-container *ngIf="data.userAccount">({{ data.userAccount }})</ng-container></td>
53 53
       <td>{{ data.sum }}</td>
54 54
       <td>{{ data.avgResponseTime }}</td>
55 55
       <td>{{ data.avgResolvedTime }}</td>