Browse Source

自动生成提交

maotao 3 weeks ago
parent
commit
b2c851454e

+ 4 - 4
src/app/components/configurationCenter/configuration-dictionary/configuration-dictionary.component.html

@@ -42,8 +42,8 @@
42 42
                     </nz-input-group>
43 43
                   </nz-form-control>
44 44
                 </nz-form-item>
45
-                <i class="icon_transport transport-tag27fuben ml8" (click)="addField(i)" *ngIf="!(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree') && activeDictionaryKey.key != 'alarm_urgency'"></i>
46
-                <i class="icon_transport transport-shanchu1 ml8" *ngIf="dictionaryList.length > 1 && !data.system && !(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree') && activeDictionaryKey.key != 'alarm_urgency'" (click)="removeField(data, i)"></i>
45
+                <i class="icon_transport transport-tag27fuben ml8" (click)="addField(i)" *ngIf="!(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree' || this.activeDictionaryKey.key === 'abo_type' || this.activeDictionaryKey.key === 'rh_type' || this.activeDictionaryKey.key === 'blood_unit' || this.activeDictionaryKey.key === 'blood_trans_type') && activeDictionaryKey.key != 'alarm_urgency'"></i>
46
+                <i class="icon_transport transport-shanchu1 ml8" *ngIf="dictionaryList.length > 1 && !data.system && !(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree' || this.activeDictionaryKey.key === 'abo_type' || this.activeDictionaryKey.key === 'rh_type' || this.activeDictionaryKey.key === 'blood_unit' || this.activeDictionaryKey.key === 'blood_trans_type') && activeDictionaryKey.key != 'alarm_urgency'" (click)="removeField(data, i)"></i>
47 47
               </div>
48 48
 							<div class="value_2" *ngIf="activeDictionaryKey.key == 'alarm_urgency'">
49 49
 							  <nz-form-item>
@@ -53,8 +53,8 @@
53 53
 							      </nz-input-group>
54 54
 							    </nz-form-control>
55 55
 							  </nz-form-item>
56
-							  <i class="icon_transport transport-tag27fuben ml8" (click)="addField(i)" *ngIf="!(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree') && activeDictionaryKey.key == 'alarm_urgency'"></i>
57
-							  <i class="icon_transport transport-shanchu1 ml8" *ngIf="dictionaryList.length > 1 && !data.system && !(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree') && activeDictionaryKey.key == 'alarm_urgency'" (click)="removeField(data, i)"></i>
56
+							  <i class="icon_transport transport-tag27fuben ml8" (click)="addField(i)" *ngIf="!(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree' || this.activeDictionaryKey.key === 'abo_type' || this.activeDictionaryKey.key === 'rh_type' || this.activeDictionaryKey.key === 'blood_unit' || this.activeDictionaryKey.key === 'blood_trans_type') && activeDictionaryKey.key == 'alarm_urgency'"></i>
57
+							  <i class="icon_transport transport-shanchu1 ml8" *ngIf="dictionaryList.length > 1 && !data.system && !(activeDictionaryKey.key === 'incident_status' || activeDictionaryKey.key === 'incident_degree' || this.activeDictionaryKey.key === 'abo_type' || this.activeDictionaryKey.key === 'rh_type' || this.activeDictionaryKey.key === 'blood_unit' || this.activeDictionaryKey.key === 'blood_trans_type') && activeDictionaryKey.key == 'alarm_urgency'" (click)="removeField(data, i)"></i>
58 58
 							</div>
59 59
             </div>
60 60
           </form>

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

@@ -209,7 +209,7 @@ export class ConfigurationDictionaryComponent implements OnInit {
209 209
       this.dictionaryList.forEach((obj, i) => {
210 210
         for (const key in obj) {
211 211
           if(key !== 'id' && key !== 'system'){
212
-            if(this.activeDictionaryKey.key === 'incident_status' || this.activeDictionaryKey.key === 'incident_degree'){
212
+            if(this.activeDictionaryKey.key === 'incident_status' || this.activeDictionaryKey.key === 'incident_degree' || this.activeDictionaryKey.key === 'abo_type' || this.activeDictionaryKey.key === 'rh_type' || this.activeDictionaryKey.key === 'blood_unit' || this.activeDictionaryKey.key === 'blood_trans_type'){
213 213
               this.validateDictionaryForm.addControl(key + '_' + obj.id, new FormControl({value: obj[key], disabled: true}, [Validators.required]))
214 214
             }else if(this.activeDictionaryKey.key === 'alarm_urgency'){
215 215
               this.validateDictionaryForm.addControl(key + '_' + obj.id, new FormControl({value: obj[key], disabled: key === 'value' ? obj.system : false}, []))

+ 9 - 0
src/app/components/configurationCenter/configuration-specimen/configuration-checkout-project/configuration-checkout-project.component.ts

@@ -87,7 +87,16 @@ export class ConfigurationCheckoutProjectComponent implements OnInit {
87 87
         }
88 88
       });
89 89
   }
90
+	
91
+	// 隐藏删除框
92
+	hideDelModal() {
93
+	  this.delModal = false;
94
+	}
95
+	// 确认删除
96
+	confirmDel() {
90 97
 
98
+	}
99
+	
91 100
   // 初始化新增form表单
92 101
   validateForm: FormGroup; //新增/编辑表单
93 102
   initWechatForm() {

+ 5 - 5
src/app/share/businessData-detail-modal/businessData-detail-modal.component.html

@@ -12,7 +12,7 @@
12 12
     <div class="content">
13 13
       <!-- 血制品 -->
14 14
       <nz-table *ngIf="type === 'blood'" class="hospitalTable" [nzData]="bloodList" nzSize="middle" [nzShowPagination]="false"
15
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
15
+        [nzLoading]="hsLoading" >
16 16
         <thead>
17 17
           <tr class="thead">
18 18
             <th nzWidth="5%">序号</th>
@@ -42,7 +42,7 @@
42 42
       </nz-table>
43 43
       <!-- 新药品-一单一码 -->
44 44
       <nz-table *ngIf="configs.showDrugsBagDetails === 1 && configs.drugsModel === 1 && (type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal')" class="hospitalTable" [nzData]="drugsBugSingleList" nzSize="middle" [nzShowPagination]="false"
45
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
45
+        [nzLoading]="hsLoading" >
46 46
         <thead>
47 47
           <tr class="thead">
48 48
             <th nzWidth="5%">序号</th>
@@ -64,7 +64,7 @@
64 64
       </nz-table>
65 65
       <!-- 新药品-一单多码 -->
66 66
       <nz-table *ngIf="configs.drugsModel === 2 && (type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal')" class="hospitalTable" [nzData]="drugsBugMultipleList" nzSize="middle" [nzShowPagination]="false"
67
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
67
+        [nzLoading]="hsLoading" >
68 68
         <thead>
69 69
           <tr class="thead">
70 70
             <th nzWidth="5%">序号</th>
@@ -179,7 +179,7 @@
179 179
       </nz-table>
180 180
       <!-- 科室检查率统计 -->
181 181
       <nz-table *ngIf="type === 'deptInspectionRateStatistics' || type === 'deptInspectionStatistics'" class="hospitalTable" [nzData]="inspectionRateStatisticsList" nzSize="middle" [nzShowPagination]="false"
182
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
182
+        [nzLoading]="hsLoading" >
183 183
         <thead>
184 184
           <tr class="thead">
185 185
             <th nzWidth="4%">序号</th>
@@ -210,7 +210,7 @@
210 210
 
211 211
       <!-- 被服洗涤批次管理-查看视图-查看异常 -->
212 212
       <nz-table *ngIf="type === 'washingException'" class="hospitalTable" [nzData]="washingExceptionList" nzSize="middle" [nzShowPagination]="false"
213
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
213
+        [nzLoading]="hsLoading" >
214 214
         <thead>
215 215
           <tr class="thead">
216 216
             <th nzWidth="5%">序号</th>

+ 1 - 1
src/app/share/businessData-detail-modal/businessData-detail-modal.component.less

@@ -31,7 +31,7 @@
31 31
   }
32 32
   .hospitalTable {
33 33
     width: 100%;
34
-		height: calc(100vh - 360px);
34
+		height: calc(100vh - 280px);
35 35
 		overflow-y: auto;
36 36
     td {
37 37
       text-align: center !important;

+ 2 - 2
src/app/views/blood-search/blood-search.component.html

@@ -128,12 +128,12 @@
128 128
 							<div>{{ data.productCode }}</div>
129 129
 						</td>
130 130
 						<td>
131
-							<div>{{ data.type ? data.type.name : "无" }}、{{data.volume ? (ttconfig_sign_type4 ? data.volume + data.unit : data.volume + 'ML') : '无'}}</div>
131
+							<div>{{ data.type ? data.type.name : "无" }}、{{data.volume}}{{data.unit}}</div>
132 132
 							<div>{{ data.aboType }}、{{ data.rhType }}</div>
133 133
 						</td>
134 134
 						<td>
135 135
 							<div>{{ data.patientName }}<span *ngIf="data.bedNum">({{ data.bedNum }})</span></div>
136
-							<div>{{ data.patientCode }}</div>
136
+							<div>{{ data.patientNo }}</div>
137 137
 						</td>
138 138
 						<td>{{ data.dataCode || '无'}}</td>
139 139
 						<td>

+ 11 - 9
src/app/views/blood-search/blood-search.component.ts

@@ -272,7 +272,7 @@ export class BloodSearchComponent implements OnInit {
272 272
 		let data = {
273 273
 			blood:{
274 274
 				applyDept: this.validateAutoForm.value.applyDept,
275
-				sendDept: this.validateAutoForm.value.applyDept,
275
+				sendDept: this.validateAutoForm.value.sendDept,
276 276
 				patientId: this.validateAutoForm.value.patientId || undefined,
277 277
 				arriver: this.validateAutoForm.value.arriver || undefined,
278 278
 				sendMsgType: this.validateAutoForm.value.sendMsgType || undefined
@@ -614,15 +614,17 @@ export class BloodSearchComponent implements OnInit {
614 614
 	// 全选
615 615
 	isAllDisplayDataChecked = false; //当前页是否全选
616 616
 	checkAll(value: boolean): void {
617
-		let isConformTo = this.listOfData.some(
618
-		  (item) => item.state.value==1 || item.state.value==4 || item.state.value=='cx'
619
-		)
620
-		if(isConformTo){
621
-			this.msg.error('只有“发血、病房接收”状态才能被选择')
622
-			return
623
-		}
617
+		// let isConformTo = this.listOfData.some(
618
+		//   (item) => item.state.value==1 || item.state.value==4 || item.state.value=='cx'
619
+		// )
620
+		// if(isConformTo){
621
+		// 	this.msg.error('只有“发血、病房接收”状态才能被选择')
622
+		// 	return
623
+		// }
624 624
 	  this.listOfData.forEach((item) => {
625
-			this.mapOfCheckedId[item.id] = value
625
+			if(item.state.value!=1 && item.state.value!=4 && item.state.value!='cx'){
626
+				this.mapOfCheckedId[item.id] = value
627
+			}
626 628
 		});
627 629
 	  this.refreshStatus();
628 630
 	}

+ 1 - 1
src/app/views/page-config/page-config.component.ts

@@ -21,7 +21,7 @@ export class PageConfigComponent implements OnInit, AfterViewInit {
21 21
     { id: 1, name: '检查类型', key: "inspect_check_item"},
22 22
 		{ id: 2, name: 'ABO血型', key: "abo_type"},
23 23
 		{ id: 3, name: 'RH血型', key: "rh_type"},
24
-		{ id: 4, name: '单位', key: "blood_volume"},
24
+		{ id: 4, name: '单位', key: "blood_unit"},
25 25
 		{ id: 5, name: '血液类型', key: "blood_trans_type"},
26 26
   ]
27 27
 

+ 1 - 1
src/app/views/specimen-search/specimen-search.component.ts

@@ -306,7 +306,7 @@ export class SpecimenSearchComponent implements OnInit {
306 306
 			patientId: [null, []],
307 307
 			examinationItemsId: [null, []],
308 308
 			amount: [1, [Validators.required]],
309
-			urgent: ['0', []],
309
+			urgent: [null, []],
310 310
 			sendMsg: ['0', []],
311 311
 		});
312 312
 	}