|
@@ -63,7 +63,7 @@ import {onMounted, ref} from "vue";
|
|
|
import {getWindowSize} from "@/utils/window-size";
|
|
|
import {getAllWards} from "@/api/zhu-yuan-yi-sheng/resident-doctor";
|
|
|
import {queryGenerateYzList,generateYpOrZl} from "@/api/medical-advice/excute-item";
|
|
|
-import {ElTable} from "element-plus";
|
|
|
+import {ElTable,ElMessageBox} from "element-plus";
|
|
|
import { getFormatDatetime } from "@/utils/date";
|
|
|
const queryParam=ref({
|
|
|
wardCode:'',
|
|
@@ -116,7 +116,19 @@ const yzGenerate = (ypOrZlFlag:any)=>{
|
|
|
yzDate : queryParam.value.yzDate,
|
|
|
ypOrZlFlag : ypOrZlFlag,
|
|
|
zyActpatients :multipleSelection.value
|
|
|
- }).then((res:any)=>{})
|
|
|
+ }).then((res:any)=>{
|
|
|
+ // 警告信息
|
|
|
+ if(res.length > 0){
|
|
|
+ for (let i = 0; i < res.length; i++) {
|
|
|
+ ElMessageBox.alert(`${res[i]}`,'警告信息',{
|
|
|
+ type: 'error',
|
|
|
+ showCancelButton: false,
|
|
|
+ }).then(() => {})
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
</script>
|