|
@@ -135,19 +135,18 @@ defineExpose<UseDialogType.Expose>({
|
|
|
});
|
|
|
}
|
|
|
if (orderData.length > 0) {
|
|
|
- console.log(prompt);
|
|
|
sendPrompt({
|
|
|
patNo: huanZheXinXi.value.inpatientNo,
|
|
|
times: huanZheXinXi.value.admissTimes,
|
|
|
list: prompt,
|
|
|
});
|
|
|
- // await insertTemplateOrder({
|
|
|
- // inpatientNo: huanZheXinXi.value.inpatientNo,
|
|
|
- // admissTimes: huanZheXinXi.value.admissTimes,
|
|
|
- // list: orderData,
|
|
|
- // }).then(() => {
|
|
|
- // jsQueryYzData();
|
|
|
- // });
|
|
|
+ await insertTemplateOrder({
|
|
|
+ inpatientNo: huanZheXinXi.value.inpatientNo,
|
|
|
+ admissTimes: huanZheXinXi.value.admissTimes,
|
|
|
+ list: orderData,
|
|
|
+ }).then(() => {
|
|
|
+ jsQueryYzData();
|
|
|
+ });
|
|
|
}
|
|
|
},
|
|
|
});
|