|
@@ -64,6 +64,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
64
|
64
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
65
|
65
|
showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
66
|
66
|
showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
|
67
|
+ drugsBagSendMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
|
67
|
68
|
autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
|
68
|
69
|
autoCreateState: undefined // 药品自动建单状态
|
69
|
70
|
}
|
|
@@ -86,6 +87,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
86
|
87
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
87
|
88
|
showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
88
|
89
|
showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
|
90
|
+ drugsBagSendMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
|
89
|
91
|
autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
|
90
|
92
|
autoCreateState: undefined // 药品自动建单状态
|
91
|
93
|
}
|
|
@@ -108,6 +110,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
108
|
110
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
109
|
111
|
showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
110
|
112
|
showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
|
113
|
+ drugsBagSendMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
|
111
|
114
|
autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
|
112
|
115
|
autoCreateState: undefined // 药品自动建单状态
|
113
|
116
|
}
|
|
@@ -130,6 +133,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
130
|
133
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
131
|
134
|
showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
132
|
135
|
showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
|
136
|
+ drugsBagSendMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
|
133
|
137
|
autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
|
134
|
138
|
autoCreateState: undefined // 药品自动建单状态
|
135
|
139
|
}
|
|
@@ -152,13 +156,14 @@ export class ConfigurationDrugComponent implements OnInit {
|
152
|
156
|
drugsEndPhoto: [{ label:'是否开启', value: 0 }],//终点科室支持拍照留存
|
153
|
157
|
showDrugsBagTypeCount: [{ label:'是否开启', value: 0 }],//是否显示药品数、种类数
|
154
|
158
|
showDrugsBagDetails: [{ label:'是否开启', value: 0 }],//是否支持查看药品详情信息
|
|
159
|
+ drugsBagSendMergeOrder: [{ label:'是否开启', value: 0 }],//待送达合并工单
|
155
|
160
|
autoCreate: [{ label:'是否开启', value: 0 }], // 是否自动建单
|
156
|
161
|
autoCreateState: undefined // 药品自动建单状态
|
157
|
162
|
}
|
158
|
163
|
},
|
159
|
164
|
];
|
160
|
|
-
|
161
|
|
-
|
|
165
|
+
|
|
166
|
+
|
162
|
167
|
// 获取药品状态
|
163
|
168
|
drugStateData:any = []
|
164
|
169
|
getDrugState(){
|
|
@@ -166,7 +171,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
166
|
171
|
this.drugStateData = data
|
167
|
172
|
});
|
168
|
173
|
}
|
169
|
|
-
|
|
174
|
+
|
170
|
175
|
// 点击数据字典key
|
171
|
176
|
activeDictionary:any;
|
172
|
177
|
clickDictionaryKey(item){
|
|
@@ -238,6 +243,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
238
|
243
|
showPatientInfo: this.activeDictionary.postData.showPatientInfo[0].checked ? 1 : 0,
|
239
|
244
|
showDrugsBagTypeCount: this.activeDictionary.postData.showDrugsBagTypeCount[0].checked ? 1 : 0,
|
240
|
245
|
showDrugsBagDetails: this.activeDictionary.postData.showDrugsBagDetails[0].checked ? 1 : 0,
|
|
246
|
+ drugsBagSendMergeOrder: this.activeDictionary.postData.drugsBagSendMergeOrder[0].checked ? 1 : 0,
|
241
|
247
|
autoCreate: this.activeDictionary.postData.autoCreate[0].checked ? 1 : 0,
|
242
|
248
|
autoCreateState:{
|
243
|
249
|
id:this.activeDictionary.postData.autoCreateState || undefined
|
|
@@ -339,6 +345,7 @@ export class ConfigurationDrugComponent implements OnInit {
|
339
|
345
|
this.activeDictionary.postData.showPatientInfo[0].checked = this.configs.showPatientInfo == 1;
|
340
|
346
|
this.activeDictionary.postData.showDrugsBagTypeCount[0].checked = this.configs.showDrugsBagTypeCount == 1;
|
341
|
347
|
this.activeDictionary.postData.showDrugsBagDetails[0].checked = this.configs.showDrugsBagDetails == 1;
|
|
348
|
+ this.activeDictionary.postData.drugsBagSendMergeOrder[0].checked = this.configs.drugsBagSendMergeOrder == 1;
|
342
|
349
|
this.activeDictionary.postData.autoCreate[0].checked = this.configs.autoCreate == 1;
|
343
|
350
|
this.activeDictionary.postData.autoCreateState = this.configs.autoCreateState && this.configs.autoCreateState.id || undefined;
|
344
|
351
|
}
|