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, + }); } }); };