Browse Source

工单详情页BUG修改

seimin 3 years ago
parent
commit
612ef89d96

+ 1 - 1
src/app/share/detail-drug/detail-drug.component.html

@@ -35,7 +35,7 @@
35 35
               <p>{{step.operationName}}</p>
36 36
               <p>{{step.record.length>=1?(step.record[0].operationTime|date:'MM-dd HH:mm'):''}}</p>
37 37
               <p *ngIf="step.record&&step.record.length&&step.record[0].dept"><span
38
-                  *ngFor="let dept of step.record">{{dept.dept}},</span></p>
38
+                  *ngFor="let dept of step.record">{{!showCoop&&deptDisplay==2?dept.deptalias:dept.dept}},</span></p>
39 39
               <p *ngIf="step.record&&step.record.length">{{filterTime(step.record)?'耗时'+filterTime(step.record):''}}</p>
40 40
             </div>
41 41
             <div class="line"></div>

+ 3 - 0
src/app/share/detail-others/detail-others.component.html

@@ -31,6 +31,9 @@
31 31
                 [ngClass]="{'icon_transport':true, 'transport-icon_liucheng':true,'green':(step.record&&step.record[0]&&step.record[0].operationTime)}"></i>
32 32
               <p>{{step.operationName}}</p>
33 33
               <p>{{step.record.length>=1?(step.record[0].operationTime|date:'MM-dd HH:mm'):''}}</p>
34
+              <p *ngIf="step.record[0]&&step.record[0].dept">
35
+                <span *ngFor="let dept of step.record">{{!showCoop&&deptDisplay==2?dept.deptalias:dept.dept}},</span>
36
+              </p>
34 37
               <p *ngIf="i!=0&&step.record&&step.record.length">耗时{{filterTime(step.record)}}</p>
35 38
             </div>
36 39
             <div class="line"></div>

+ 1 - 1
src/app/share/detail-patients/detail-patients.component.html

@@ -42,7 +42,7 @@
42 42
                 <p>{{step.operationName}}</p>
43 43
                 <p>{{step.record.length>=1?(step.record[0].operationTime|date:'MM-dd HH:mm'):''}}</p>
44 44
                 <p *ngIf="step.record[0]&&step.record[0].dept">
45
-                  <span *ngFor="let dept of step.record">{{dept.dept}},</span>
45
+                  <span *ngFor="let dept of step.record">{{!showCoop&&deptDisplay==2?dept.deptalias:dept.dept}},</span>
46 46
                 </p>
47 47
                 <p *ngIf="i!=0&&step.record&&step.record.length">耗时{{filterTime(step.record)}}</p>
48 48
               </div>

+ 1 - 1
src/app/share/detail-sample/detail-sample.component.html

@@ -36,7 +36,7 @@
36 36
               <p>{{step.operationName}}</p>
37 37
               <p>{{step.record.length>=1?(step.record[0].operationTime|date:'MM-dd HH:mm'):''}}</p>
38 38
               <p *ngIf="step.record[0]&&step.record[0].dept">
39
-                <span *ngFor="let dept of step.record">{{dept.dept}},</span>
39
+                <span *ngFor="let dept of step.record">{{!showCoop&&deptDisplay==2?dept.deptalias:dept.dept}},</span>
40 40
               </p>
41 41
               <p *ngIf="i!=0&&step.record&&step.record.length">耗时{{filterTime(step.record)}}</p>
42 42
             </div>