|
@@ -45,6 +45,35 @@ export class BloodSearchComponent implements OnInit {
|
45
|
45
|
getHospital() {
|
46
|
46
|
this.hosId = this.tool.getCurrentHospital().id;
|
47
|
47
|
this.getList(1);
|
|
48
|
+ this.getBloodProductsConfig();
|
|
49
|
+ }
|
|
50
|
+ // 血制品页面控制
|
|
51
|
+ bloodProductsConfig:any = {};
|
|
52
|
+ ttconfig_sign_type4:boolean = false;
|
|
53
|
+ getBloodProductsConfig(){
|
|
54
|
+ let postData = {
|
|
55
|
+ "idx": 0,
|
|
56
|
+ "sum": 10,
|
|
57
|
+ "taskTypeConfig": {
|
|
58
|
+ "taskTypeDTO": {
|
|
59
|
+ "hosId": {
|
|
60
|
+ "id": this.hosId
|
|
61
|
+ },
|
|
62
|
+ "ordinaryField": {
|
|
63
|
+ "key": "ordinary_field",
|
|
64
|
+ "value": "blood"
|
|
65
|
+ }
|
|
66
|
+ }
|
|
67
|
+ }
|
|
68
|
+ };
|
|
69
|
+ this.mainService
|
|
70
|
+ .getFetchDataList("simple/data", "taskTypeConfig", postData)
|
|
71
|
+ .subscribe((result) => {
|
|
72
|
+ if (result.status == 200) {
|
|
73
|
+ this.bloodProductsConfig = result.list[0] || {};
|
|
74
|
+ this.ttconfig_sign_type4 = this.bloodProductsConfig.signTypeList.some(v => v.value == 4);
|
|
75
|
+ }
|
|
76
|
+ });
|
48
|
77
|
}
|
49
|
78
|
// 查看标本历史记录
|
50
|
79
|
historyPromptModalShow = false; //标本历史记录弹窗开关
|