增加请假的提示
This commit is contained in:
parent
690bafe916
commit
3a7711b0f0
@ -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>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user