增加请假的提示

This commit is contained in:
ywyonui 2025-07-07 11:54:13 +08:00
parent 690bafe916
commit 3a7711b0f0

View File

@ -191,13 +191,14 @@ const submit = async () => {
params.jzId = getUser.jzId; // ID
}
params.flag = 2;
console.log('提交参数:', params);
jzAddXsQjApi(params).then(() => {
uni.showLoading({ title: "提交中..." });
await jzAddXsQjApi(params).then(() => {
showToast({ title: "提交成功", icon: "success" });
uni.reLaunch({
url: "/pages/base/home/index"
});
});
uni.hideLoading();
};
</script>