seimin преди 3 седмици
родител
ревизия
492dfc40f0

+ 1 - 1
src/app/components/configurationCenter/configuration-specimen/configuration-specimen.component.ts

@@ -651,7 +651,7 @@ export class ConfigurationSpecimenComponent implements OnInit {
651 651
             this.deptList = this.configs.spePackageDeptList || [];
652 652
             this.spePackageTubeIds = this.configs.spePackageTubeIds ? this.configs.spePackageTubeIds.split(',').map(v => +v) : [];
653 653
             this.spePackageInventoryTypes = this.spePackageInventoryTypes.map(v => ({...v, checked: (this.configs.spePackageInventoryTypes || '').split(',').includes(v.value.toString())}));
654
-            this.spePackageCreateOrder[0].checked = true;
654
+            this.spePackageCreateOrder[0].checked = this.configs.spePackageCreateOrder == 1;
655 655
             this.spePackageCodeSize = this.configs.spePackageCodeSize || undefined;
656 656
 					}
657 657
         }

+ 1 - 1
src/app/share/dialog-delete/dialog-delete.component.less

@@ -12,7 +12,7 @@
12 12
 
13 13
   .modalBody {
14 14
     width: 350px;
15
-    height: 220px;
15
+    min-height: 220px;
16 16
     background: #fff;
17 17
     border-radius: 8px;
18 18
     padding: 8px 16px;

+ 4 - 6
src/app/share/specimen-package-list-modal/specimen-package-list-modal.component.html

@@ -22,13 +22,12 @@
22 22
           <tr class="thead">
23 23
             <th nzWidth="13%">包号</th>
24 24
             <th nzWidth="6%">打包人</th>
25
-            <th nzWidth="12%">打包时间</th>
26
-            <th nzWidth="9%">申请单数</th>
25
+            <th nzWidth="15%">打包时间</th>
27 26
             <th nzWidth="6%">标本数</th>
28 27
             <th nzWidth="6%">配送人</th>
29
-            <th nzWidth="12%">配送时间</th>
28
+            <th nzWidth="15%">配送时间</th>
30 29
             <th nzWidth="6%">接收人</th>
31
-            <th nzWidth="12%">接收时间</th>
30
+            <th nzWidth="15%">接收时间</th>
32 31
             <th nzWidth="8%">状态</th>
33 32
             <th nzWidth="10%">操作</th>
34 33
           </tr>
@@ -38,7 +37,6 @@
38 37
             <td>{{ data.packCode }}</td>
39 38
             <td>{{ data.packUserDTO?.name }}</td>
40 39
             <td>{{ data.packTime | date: 'yyyy-MM-dd HH:mm'}}</td>
41
-            <td>{{ data.pathologyFormNum }}</td>
42 40
             <td>{{ data.specimenNum }}</td>
43 41
             <td>{{ data.deliveryUserDTO?.name }}</td>
44 42
             <td>{{ data.deliveryTime | date: 'yyyy-MM-dd HH:mm'}}</td>
@@ -47,7 +45,7 @@
47 45
             <td>{{ data.status?.name }}</td>
48 46
             <td>
49 47
               <div class="coop">
50
-                <span (click)="printPackageByConfig(data)">补打</span>
48
+                <span (click)="printPackageByConfig(data)" *ngIf="data.status.value !== '0'">补打</span>
51 49
                 <span (click)="toSpecimenPackage(data)" *ngIf="data.status.value === '0' || data.status.value === '1'">修改</span>
52 50
               </div>
53 51
             </td>

+ 2 - 2
src/app/views/batch-specimen/batch-specimen.component.ts

@@ -94,8 +94,8 @@ export class BatchSpecimenComponent implements OnInit, AfterViewInit {
94 94
       deptId: this.deptDTO.id,
95 95
     };
96 96
 
97
-    if(this.route.snapshot.paramMap.get("id")){
98
-      postData.packageId = +this.route.snapshot.paramMap.get("id");
97
+    if(this.route.snapshot.queryParams.id){
98
+      postData.packageId = +this.route.snapshot.queryParams.id;
99 99
     }
100 100
 
101 101
     this.mainService