Browse Source

增加患者标识

seimin 3 weeks ago
parent
commit
e0f5580a57

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

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

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

@@ -75,22 +75,24 @@
75
           <tr class="thead">
75
           <tr class="thead">
76
             <th nzWidth="8%">患者类别</th>
76
             <th nzWidth="8%">患者类别</th>
77
             <th nzWidth="8%">患者姓名</th>
77
             <th nzWidth="8%">患者姓名</th>
78
+            <th nzWidth="8%">患者标识</th>
78
             <th nzWidth="8%">住院号</th>
79
             <th nzWidth="8%">住院号</th>
79
             <th nzWidth="8%">条码号</th>
80
             <th nzWidth="8%">条码号</th>
80
             <th nzWidth="8%">床号</th>
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
             <th nzWidth="8%">护理等级</th>
84
             <th nzWidth="8%">护理等级</th>
84
             <th nzWidth="8%">病情级别</th>
85
             <th nzWidth="8%">病情级别</th>
85
             <th nzWidth="8%">年龄</th>
86
             <th nzWidth="8%">年龄</th>
86
             <th nzWidth="8%">性别</th>
87
             <th nzWidth="8%">性别</th>
87
-            <th nzWidth="8%">操作</th>
88
+            <th nzWidth="7%">操作</th>
88
           </tr>
89
           </tr>
89
         </thead>
90
         </thead>
90
         <tbody>
91
         <tbody>
91
           <tr *ngFor="let data of listOfData;let i = index">
92
           <tr *ngFor="let data of listOfData;let i = index">
92
             <td>{{ data.patientType?.name }}</td>
93
             <td>{{ data.patientType?.name }}</td>
93
             <td>{{ data.patientName }}</td>
94
             <td>{{ data.patientName }}</td>
95
+            <td>{{ data.patientCode }}</td>
94
             <td>{{ data.residenceNo }}</td>
96
             <td>{{ data.residenceNo }}</td>
95
             <td>{{ data.barCode }}</td>
97
             <td>{{ data.barCode }}</td>
96
             <td>{{ data.bedNum }}</td>
98
             <td>{{ data.bedNum }}</td>
@@ -149,6 +151,14 @@
149
           </nz-form-control>
151
           </nz-form-control>
150
         </nz-form-item>
152
         </nz-form-item>
151
         <nz-form-item>
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
           <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="residenceNo">住院号</nz-form-label>
162
           <nz-form-label [nzSm]="6" [nzXs]="24" nzRequired nzFor="residenceNo">住院号</nz-form-label>
153
           <nz-form-control nzErrorTip="请填写住院号!">
163
           <nz-form-control nzErrorTip="请填写住院号!">
154
             <nz-input-group>
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
       patientName: ['', [Validators.required]],
209
       patientName: ['', [Validators.required]],
210
 			gender: [null],
210
 			gender: [null],
211
 			age: [undefined],
211
 			age: [undefined],
212
+			patientCode: ['', [Validators.required]],
212
 			residenceNo: ['', [Validators.required]],
213
 			residenceNo: ['', [Validators.required]],
213
 			barCode: ['', [Validators.required]],
214
 			barCode: ['', [Validators.required]],
214
 			bedNum: [''],
215
 			bedNum: [''],
@@ -238,6 +239,7 @@ export class PatientSearchComponent implements OnInit {
238
             id: this.validateForm.value.gender
239
             id: this.validateForm.value.gender
239
           },
240
           },
240
           age: this.validateForm.value.age,
241
           age: this.validateForm.value.age,
242
+          patientCode: this.validateForm.value.patientCode,
241
           residenceNo: this.validateForm.value.residenceNo,
243
           residenceNo: this.validateForm.value.residenceNo,
242
           barCode: this.validateForm.value.barCode,
244
           barCode: this.validateForm.value.barCode,
243
           bedNum: this.validateForm.value.bedNum,
245
           bedNum: this.validateForm.value.bedNum,
@@ -265,6 +267,7 @@ export class PatientSearchComponent implements OnInit {
265
             id: this.validateForm.value.gender
267
             id: this.validateForm.value.gender
266
           },
268
           },
267
           age: this.validateForm.value.age,
269
           age: this.validateForm.value.age,
270
+          patientCode: this.validateForm.value.patientCode,
268
           residenceNo: this.validateForm.value.residenceNo,
271
           residenceNo: this.validateForm.value.residenceNo,
269
           barCode: this.validateForm.value.barCode,
272
           barCode: this.validateForm.value.barCode,
270
           bedNum: this.validateForm.value.bedNum,
273
           bedNum: this.validateForm.value.bedNum,
@@ -326,6 +329,7 @@ export class PatientSearchComponent implements OnInit {
326
       this.validateForm.controls.gender.setValue(null);
329
       this.validateForm.controls.gender.setValue(null);
327
     }
330
     }
328
     this.validateForm.controls.age.setValue(data.age);
331
     this.validateForm.controls.age.setValue(data.age);
332
+    this.validateForm.controls.patientCode.setValue(data.patientCode);
329
     this.validateForm.controls.residenceNo.setValue(data.residenceNo);
333
     this.validateForm.controls.residenceNo.setValue(data.residenceNo);
330
     this.validateForm.controls.barCode.setValue(data.barCode);
334
     this.validateForm.controls.barCode.setValue(data.barCode);
331
     this.validateForm.controls.bedNum.setValue(data.bedNum);
335
     this.validateForm.controls.bedNum.setValue(data.bedNum);