gx:新增提示

This commit is contained in:
闫世杰 2025-01-15 09:41:11 +08:00
parent 3691b92de0
commit cce123c769
1 changed files with 20 additions and 0 deletions

View File

@ -1080,6 +1080,10 @@ const onMechanism = () => {
}); });
}; };
dialogModelConfig.show = true; dialogModelConfig.show = true;
} else {
ElMessage.warning({
message: res.message,
});
} }
}); });
}; };
@ -1106,6 +1110,10 @@ const onProcess = () => {
); );
}; };
dialogModelConfig.show = true; dialogModelConfig.show = true;
} else {
ElMessage.warning({
message: res.message,
});
} }
}); });
}; };
@ -1131,6 +1139,10 @@ const onWork = () => {
); );
}; };
dialogModelConfig.show = true; dialogModelConfig.show = true;
} else {
ElMessage.warning({
message: res.message,
});
} }
}); });
}; };
@ -3794,6 +3806,10 @@ const getSharedTeacher = () => {
if (res.code == 200) { if (res.code == 200) {
tableType.data = res.data; tableType.data = res.data;
pagination.total = res.data.length; pagination.total = res.data.length;
} else {
ElMessage.warning({
message: res.message,
});
} }
}); });
}; };
@ -3811,6 +3827,10 @@ const getSharedCanteen = () => {
if (res.code == 200) { if (res.code == 200) {
tableType.data = res.data; tableType.data = res.data;
pagination.total = res.count; pagination.total = res.count;
} else {
ElMessage.warning({
message: res.message,
});
} }
}); });
}; };