点名提交提示
This commit is contained in:
parent
efa4bb3732
commit
e923a8056d
@ -160,16 +160,14 @@ const tjDm = debounce(async () => {
|
||||
xsList: dmXsList,
|
||||
ptJsList: dmJsList
|
||||
};
|
||||
console.log('提交数据:', dmData);
|
||||
// return;
|
||||
uni.showLoading({
|
||||
title: '提交中...',
|
||||
mask: true
|
||||
});
|
||||
// 提交点名数据
|
||||
const response = await submitJcDmDataApi(dmData);
|
||||
uni.hideLoading();
|
||||
if (response.result) {
|
||||
uni.showToast({
|
||||
title: '提交成功',
|
||||
icon: 'success'
|
||||
})
|
||||
|
||||
// 重置表单
|
||||
curNj.value = null
|
||||
curBj.value = null
|
||||
@ -177,7 +175,6 @@ const tjDm = debounce(async () => {
|
||||
photoList: [],
|
||||
videoList: []
|
||||
};
|
||||
|
||||
// 返回上一页
|
||||
uni.navigateBack()
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user