소스 검색

自动生成提交

maotao 3 주 전
부모
커밋
b2c851454e

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

@@ -42,8 +42,8 @@
42
                     </nz-input-group>
42
                     </nz-input-group>
43
                   </nz-form-control>
43
                   </nz-form-control>
44
                 </nz-form-item>
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
               </div>
47
               </div>
48
 							<div class="value_2" *ngIf="activeDictionaryKey.key == 'alarm_urgency'">
48
 							<div class="value_2" *ngIf="activeDictionaryKey.key == 'alarm_urgency'">
49
 							  <nz-form-item>
49
 							  <nz-form-item>
@@ -53,8 +53,8 @@
53
 							      </nz-input-group>
53
 							      </nz-input-group>
54
 							    </nz-form-control>
54
 							    </nz-form-control>
55
 							  </nz-form-item>
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
 							</div>
58
 							</div>
59
             </div>
59
             </div>
60
           </form>
60
           </form>

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

@@ -209,7 +209,7 @@ export class ConfigurationDictionaryComponent implements OnInit {
209
       this.dictionaryList.forEach((obj, i) => {
209
       this.dictionaryList.forEach((obj, i) => {
210
         for (const key in obj) {
210
         for (const key in obj) {
211
           if(key !== 'id' && key !== 'system'){
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
               this.validateDictionaryForm.addControl(key + '_' + obj.id, new FormControl({value: obj[key], disabled: true}, [Validators.required]))
213
               this.validateDictionaryForm.addControl(key + '_' + obj.id, new FormControl({value: obj[key], disabled: true}, [Validators.required]))
214
             }else if(this.activeDictionaryKey.key === 'alarm_urgency'){
214
             }else if(this.activeDictionaryKey.key === 'alarm_urgency'){
215
               this.validateDictionaryForm.addControl(key + '_' + obj.id, new FormControl({value: obj[key], disabled: key === 'value' ? obj.system : false}, []))
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
   // 初始化新增form表单
100
   // 初始化新增form表单
92
   validateForm: FormGroup; //新增/编辑表单
101
   validateForm: FormGroup; //新增/编辑表单
93
   initWechatForm() {
102
   initWechatForm() {

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

@@ -12,7 +12,7 @@
12
     <div class="content">
12
     <div class="content">
13
       <!-- 血制品 -->
13
       <!-- 血制品 -->
14
       <nz-table *ngIf="type === 'blood'" class="hospitalTable" [nzData]="bloodList" nzSize="middle" [nzShowPagination]="false"
14
       <nz-table *ngIf="type === 'blood'" class="hospitalTable" [nzData]="bloodList" nzSize="middle" [nzShowPagination]="false"
15
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
15
+        [nzLoading]="hsLoading" >
16
         <thead>
16
         <thead>
17
           <tr class="thead">
17
           <tr class="thead">
18
             <th nzWidth="5%">序号</th>
18
             <th nzWidth="5%">序号</th>
@@ -42,7 +42,7 @@
42
       </nz-table>
42
       </nz-table>
43
       <!-- 新药品-一单一码 -->
43
       <!-- 新药品-一单一码 -->
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"
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
         <thead>
46
         <thead>
47
           <tr class="thead">
47
           <tr class="thead">
48
             <th nzWidth="5%">序号</th>
48
             <th nzWidth="5%">序号</th>
@@ -64,7 +64,7 @@
64
       </nz-table>
64
       </nz-table>
65
       <!-- 新药品-一单多码 -->
65
       <!-- 新药品-一单多码 -->
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"
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
         <thead>
68
         <thead>
69
           <tr class="thead">
69
           <tr class="thead">
70
             <th nzWidth="5%">序号</th>
70
             <th nzWidth="5%">序号</th>
@@ -179,7 +179,7 @@
179
       </nz-table>
179
       </nz-table>
180
       <!-- 科室检查率统计 -->
180
       <!-- 科室检查率统计 -->
181
       <nz-table *ngIf="type === 'deptInspectionRateStatistics' || type === 'deptInspectionStatistics'" class="hospitalTable" [nzData]="inspectionRateStatisticsList" nzSize="middle" [nzShowPagination]="false"
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
         <thead>
183
         <thead>
184
           <tr class="thead">
184
           <tr class="thead">
185
             <th nzWidth="4%">序号</th>
185
             <th nzWidth="4%">序号</th>
@@ -210,7 +210,7 @@
210
 
210
 
211
       <!-- 被服洗涤批次管理-查看视图-查看异常 -->
211
       <!-- 被服洗涤批次管理-查看视图-查看异常 -->
212
       <nz-table *ngIf="type === 'washingException'" class="hospitalTable" [nzData]="washingExceptionList" nzSize="middle" [nzShowPagination]="false"
212
       <nz-table *ngIf="type === 'washingException'" class="hospitalTable" [nzData]="washingExceptionList" nzSize="middle" [nzShowPagination]="false"
213
-        [nzLoading]="hsLoading" [nzScroll]="{ y: '500px' }">
213
+        [nzLoading]="hsLoading" >
214
         <thead>
214
         <thead>
215
           <tr class="thead">
215
           <tr class="thead">
216
             <th nzWidth="5%">序号</th>
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
   .hospitalTable {
32
   .hospitalTable {
33
     width: 100%;
33
     width: 100%;
34
-		height: calc(100vh - 360px);
34
+		height: calc(100vh - 280px);
35
 		overflow-y: auto;
35
 		overflow-y: auto;
36
     td {
36
     td {
37
       text-align: center !important;
37
       text-align: center !important;

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

@@ -128,12 +128,12 @@
128
 							<div>{{ data.productCode }}</div>
128
 							<div>{{ data.productCode }}</div>
129
 						</td>
129
 						</td>
130
 						<td>
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
 							<div>{{ data.aboType }}、{{ data.rhType }}</div>
132
 							<div>{{ data.aboType }}、{{ data.rhType }}</div>
133
 						</td>
133
 						</td>
134
 						<td>
134
 						<td>
135
 							<div>{{ data.patientName }}<span *ngIf="data.bedNum">({{ data.bedNum }})</span></div>
135
 							<div>{{ data.patientName }}<span *ngIf="data.bedNum">({{ data.bedNum }})</span></div>
136
-							<div>{{ data.patientCode }}</div>
136
+							<div>{{ data.patientNo }}</div>
137
 						</td>
137
 						</td>
138
 						<td>{{ data.dataCode || '无'}}</td>
138
 						<td>{{ data.dataCode || '无'}}</td>
139
 						<td>
139
 						<td>

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

@@ -272,7 +272,7 @@ export class BloodSearchComponent implements OnInit {
272
 		let data = {
272
 		let data = {
273
 			blood:{
273
 			blood:{
274
 				applyDept: this.validateAutoForm.value.applyDept,
274
 				applyDept: this.validateAutoForm.value.applyDept,
275
-				sendDept: this.validateAutoForm.value.applyDept,
275
+				sendDept: this.validateAutoForm.value.sendDept,
276
 				patientId: this.validateAutoForm.value.patientId || undefined,
276
 				patientId: this.validateAutoForm.value.patientId || undefined,
277
 				arriver: this.validateAutoForm.value.arriver || undefined,
277
 				arriver: this.validateAutoForm.value.arriver || undefined,
278
 				sendMsgType: this.validateAutoForm.value.sendMsgType || undefined
278
 				sendMsgType: this.validateAutoForm.value.sendMsgType || undefined
@@ -614,15 +614,17 @@ export class BloodSearchComponent implements OnInit {
614
 	// 全选
614
 	// 全选
615
 	isAllDisplayDataChecked = false; //当前页是否全选
615
 	isAllDisplayDataChecked = false; //当前页是否全选
616
 	checkAll(value: boolean): void {
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
 	  this.listOfData.forEach((item) => {
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
 	  this.refreshStatus();
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
     { id: 1, name: '检查类型', key: "inspect_check_item"},
21
     { id: 1, name: '检查类型', key: "inspect_check_item"},
22
 		{ id: 2, name: 'ABO血型', key: "abo_type"},
22
 		{ id: 2, name: 'ABO血型', key: "abo_type"},
23
 		{ id: 3, name: 'RH血型', key: "rh_type"},
23
 		{ id: 3, name: 'RH血型', key: "rh_type"},
24
-		{ id: 4, name: '单位', key: "blood_volume"},
24
+		{ id: 4, name: '单位', key: "blood_unit"},
25
 		{ id: 5, name: '血液类型', key: "blood_trans_type"},
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
 			patientId: [null, []],
306
 			patientId: [null, []],
307
 			examinationItemsId: [null, []],
307
 			examinationItemsId: [null, []],
308
 			amount: [1, [Validators.required]],
308
 			amount: [1, [Validators.required]],
309
-			urgent: ['0', []],
309
+			urgent: [null, []],
310
 			sendMsg: ['0', []],
310
 			sendMsg: ['0', []],
311
 		});
311
 		});
312
 	}
312
 	}