Bläddra i källkod

增加患者标识

seimin 3 veckor sedan
förälder
incheckning
e0f5580a57

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

@@ -43,14 +43,14 @@ export class ConfigurationSpecimenComponent implements OnInit {
43 43
   spePackageUrgents:any[] = [{label: '急标', value: 1}, {label: '普标', value: 0}];//自动关联急标普标急标
44 44
   spePackageTubeIds:any[] = [];// 自动关联试管类型
45 45
   spePackageTubeList:any[] = [];// 自动关联试管类型列表
46
-  spePackageInventoryTypes:any[] = [{label: '患者', value: 1, disabled: true, checked: true}, {label: '试管', value: 2}];//清点方式
46
+  spePackageInventoryTypes:any[] = [{label: '患者', value: 1}, {label: '试管', value: 2}];//清点方式
47 47
   spePackageCreateOrder:any = [{ label:'是否开启', value: 0 }];//生成配送工单
48 48
   spePackageCodeSize:any = undefined;//条码打印尺寸
49 49
 	// 是否允许转派
50 50
 	handoverOrder:any[] = [
51 51
 	  {label:'是否开启',value: 0}
52 52
 	];
53
-	
53
+
54 54
   // 工单模式
55 55
   spePackageModelList:any[] = [
56 56
     { label: '一单一包', value: 1 },
@@ -151,7 +151,7 @@ export class ConfigurationSpecimenComponent implements OnInit {
151 151
 	speStartCollectShowConfig:any[] = [
152 152
 	  {label:'是否开启',value: 0}
153 153
 	];
154
-	
154
+
155 155
 	// 速冻标本数量控制
156 156
 	pathologyFrozenSpecimenNum:any = '0';
157 157
 

+ 13 - 3
src/app/views/patient-search/patient-search.component.html

@@ -75,22 +75,24 @@
75 75
           <tr class="thead">
76 76
             <th nzWidth="8%">患者类别</th>
77 77
             <th nzWidth="8%">患者姓名</th>
78
+            <th nzWidth="8%">患者标识</th>
78 79
             <th nzWidth="8%">住院号</th>
79 80
             <th nzWidth="8%">条码号</th>
80 81
             <th nzWidth="8%">床号</th>
81
-            <th nzWidth="10%">院区</th>
82
-            <th nzWidth="10%">当前科室</th>
82
+            <th nzWidth="8%">院区</th>
83
+            <th nzWidth="8%">当前科室</th>
83 84
             <th nzWidth="8%">护理等级</th>
84 85
             <th nzWidth="8%">病情级别</th>
85 86
             <th nzWidth="8%">年龄</th>
86 87
             <th nzWidth="8%">性别</th>
87
-            <th nzWidth="8%">操作</th>
88
+            <th nzWidth="7%">操作</th>
88 89
           </tr>
89 90
         </thead>
90 91
         <tbody>
91 92
           <tr *ngFor="let data of listOfData;let i = index">
92 93
             <td>{{ data.patientType?.name }}</td>
93 94
             <td>{{ data.patientName }}</td>
95
+            <td>{{ data.patientCode }}</td>
94 96
             <td>{{ data.residenceNo }}</td>
95 97
             <td>{{ data.barCode }}</td>
96 98
             <td>{{ data.bedNum }}</td>
@@ -149,6 +151,14 @@
149 151
           </nz-form-control>
150 152
         </nz-form-item>
151 153
         <nz-form-item>
154
+          <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="patientCode">患者标识</nz-form-label>
155
+          <nz-form-control nzErrorTip="请填写患者标识!">
156
+            <nz-input-group>
157
+              <input type="text" nz-input formControlName="patientCode" placeholder="请填写患者标识" />
158
+            </nz-input-group>
159
+          </nz-form-control>
160
+        </nz-form-item>
161
+        <nz-form-item>
152 162
           <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="residenceNo">住院号</nz-form-label>
153 163
           <nz-form-control nzErrorTip="请填写住院号!">
154 164
             <nz-input-group>

+ 4 - 0
src/app/views/patient-search/patient-search.component.ts

@@ -209,6 +209,7 @@ export class PatientSearchComponent implements OnInit {
209 209
       patientName: ['', [Validators.required]],
210 210
 			gender: [null],
211 211
 			age: [undefined],
212
+			patientCode: ['', [Validators.required]],
212 213
 			residenceNo: ['', [Validators.required]],
213 214
 			barCode: ['', [Validators.required]],
214 215
 			bedNum: [''],
@@ -238,6 +239,7 @@ export class PatientSearchComponent implements OnInit {
238 239
             id: this.validateForm.value.gender
239 240
           },
240 241
           age: this.validateForm.value.age,
242
+          patientCode: this.validateForm.value.patientCode,
241 243
           residenceNo: this.validateForm.value.residenceNo,
242 244
           barCode: this.validateForm.value.barCode,
243 245
           bedNum: this.validateForm.value.bedNum,
@@ -265,6 +267,7 @@ export class PatientSearchComponent implements OnInit {
265 267
             id: this.validateForm.value.gender
266 268
           },
267 269
           age: this.validateForm.value.age,
270
+          patientCode: this.validateForm.value.patientCode,
268 271
           residenceNo: this.validateForm.value.residenceNo,
269 272
           barCode: this.validateForm.value.barCode,
270 273
           bedNum: this.validateForm.value.bedNum,
@@ -326,6 +329,7 @@ export class PatientSearchComponent implements OnInit {
326 329
       this.validateForm.controls.gender.setValue(null);
327 330
     }
328 331
     this.validateForm.controls.age.setValue(data.age);
332
+    this.validateForm.controls.patientCode.setValue(data.patientCode);
329 333
     this.validateForm.controls.residenceNo.setValue(data.residenceNo);
330 334
     this.validateForm.controls.barCode.setValue(data.barCode);
331 335
     this.validateForm.controls.bedNum.setValue(data.bedNum);