|
@@ -61,6 +61,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
61
|
61
|
showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
|
62
|
62
|
drugsEndManual: undefined,//终点科室手动填写
|
63
|
63
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
|
64
|
+ showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
|
65
|
+ showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
64
|
66
|
}
|
65
|
67
|
},
|
66
|
68
|
{
|
|
@@ -79,6 +81,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
79
|
81
|
showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
|
80
|
82
|
drugsEndManual: undefined,//终点科室手动填写
|
81
|
83
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
|
84
|
+ showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
|
85
|
+ showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
82
|
86
|
}
|
83
|
87
|
},
|
84
|
88
|
{
|
|
@@ -97,6 +101,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
97
|
101
|
showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
|
98
|
102
|
drugsEndManual: undefined,//终点科室手动填写
|
99
|
103
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
|
104
|
+ showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
|
105
|
+ showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
100
|
106
|
}
|
101
|
107
|
},
|
102
|
108
|
{
|
|
@@ -115,6 +121,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
115
|
121
|
showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
|
116
|
122
|
drugsEndManual: undefined,//终点科室手动填写
|
117
|
123
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
|
124
|
+ showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
|
125
|
+ showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
118
|
126
|
}
|
119
|
127
|
},
|
120
|
128
|
{
|
|
@@ -133,6 +141,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
133
|
141
|
showPatientInfo: [{ label:'是否开启', value: 0 }],//药单显示患者
|
134
|
142
|
drugsEndManual: undefined,//终点科室手动填写
|
135
|
143
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
|
144
|
+ showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
|
145
|
+ showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
136
|
146
|
}
|
137
|
147
|
},
|
138
|
148
|
];
|
|
@@ -206,6 +216,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
206
|
216
|
drugsEndManual: this.activeDictionary.postData.drugsEndManual ? { id: this.activeDictionary.postData.drugsEndManual } : undefined,
|
207
|
217
|
drugsEndPhoto: this.activeDictionary.postData.drugsEndPhoto[0].checked ? 1 : 0,
|
208
|
218
|
showPatientInfo: this.activeDictionary.postData.showPatientInfo[0].checked ? 1 : 0,
|
|
219
|
+ showDrugsBagTypeCount: this.activeDictionary.postData.showDrugsBagTypeCount[0].checked ? 1 : 0,
|
|
220
|
+ showDrugsBagDetails: this.activeDictionary.postData.showDrugsBagDetails[0].checked ? 1 : 0,
|
209
|
221
|
};
|
210
|
222
|
this.btnLoading = true;
|
211
|
223
|
this.mainService
|
|
@@ -301,6 +313,8 @@ export class ConfigurationDrugComponent implements OnInit {
|
301
|
313
|
this.activeDictionary.postData.drugsEndManual = this.configs.drugsEndManual ? this.configs.drugsEndManual.id : undefined;
|
302
|
314
|
this.activeDictionary.postData.drugsEndPhoto[0].checked = this.configs.drugsEndPhoto == 1;
|
303
|
315
|
this.activeDictionary.postData.showPatientInfo[0].checked = this.configs.showPatientInfo == 1;
|
|
316
|
+ this.activeDictionary.postData.showDrugsBagTypeCount[0].checked = this.configs.showDrugsBagTypeCount == 1;
|
|
317
|
+ this.activeDictionary.postData.showDrugsBagDetails[0].checked = this.configs.showDrugsBagDetails == 1;
|
304
|
318
|
}
|
305
|
319
|
});
|
306
|
320
|
}
|