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