From cce123c769d271ba5b005ba07cde21d6012a1fb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cyansj=E2=80=9D?= Date: Wed, 15 Jan 2025 09:41:11 +0800 Subject: [PATCH] =?UTF-8?q?gx:=E6=96=B0=E5=A2=9E=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/view/sy_map.vue | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index 7ac593b..1b01a6a 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -1080,6 +1080,10 @@ const onMechanism = () => { }); }; dialogModelConfig.show = true; + } else { + ElMessage.warning({ + message: res.message, + }); } }); }; @@ -1106,6 +1110,10 @@ const onProcess = () => { ); }; dialogModelConfig.show = true; + } else { + ElMessage.warning({ + message: res.message, + }); } }); }; @@ -1131,6 +1139,10 @@ const onWork = () => { ); }; dialogModelConfig.show = true; + } else { + ElMessage.warning({ + message: res.message, + }); } }); }; @@ -3794,6 +3806,10 @@ const getSharedTeacher = () => { if (res.code == 200) { tableType.data = res.data; pagination.total = res.data.length; + } else { + ElMessage.warning({ + message: res.message, + }); } }); }; @@ -3811,6 +3827,10 @@ const getSharedCanteen = () => { if (res.code == 200) { tableType.data = res.data; pagination.total = res.count; + } else { + ElMessage.warning({ + message: res.message, + }); } }); };