增加请假的提示

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.jzId = getUser.jzId; // ID
} }
params.flag = 2; params.flag = 2;
console.log('提交参数:', params); uni.showLoading({ title: "提交中..." });
jzAddXsQjApi(params).then(() => { await jzAddXsQjApi(params).then(() => {
showToast({ title: "提交成功", icon: "success" }); showToast({ title: "提交成功", icon: "success" });
uni.reLaunch({ uni.reLaunch({
url: "/pages/base/home/index" url: "/pages/base/home/index"
}); });
}); });
uni.hideLoading();
}; };
</script> </script>