This commit is contained in:
wangweidong 2025-12-08 10:35:18 +08:00
parent 04fce9951c
commit bccf5fe28c
2 changed files with 7 additions and 11 deletions

View File

@ -71,7 +71,7 @@
pageNo:1,
pageSize:10,
nuId:uni.getStorageSync('nuId'),
elderId:uni.getStorageSync('NUall').id,
elderId:uni.getStorageSync('NUall').elderId,
wlParamInfo:'',
categoryId:'',
typeId:'',

View File

@ -113,7 +113,7 @@
thlist()
})
const submit = () => {
wuliao();
cardcon(tharrlist.value[cardindex.value], cardindex.value);
nextTick(() => {
subshow.value = true;
})
@ -124,8 +124,7 @@
subshow.value = false;
th(tharrlist.value[cardindex.value],cardindex.value)
setTimeout(() => {
wuliao();
thlist();
cardcon(tharrlist.value[cardindex.value], cardindex.value);
}, 200)
} else {
uni.showToast({
@ -188,7 +187,6 @@
status.value = res.result.total == tharrlist.value.length ? 'nomore' : 'loadmore';
if (form.pageNo == 1) {
cardcon(tharrlist.value[cardindex.value], cardindex.value);
wuliao();
}
})
}
@ -229,8 +227,8 @@
title: '提交成功'
})
setTimeout(() => {
wuliao();
thlist();
th(tharrlist.value[cardindex.value],cardindex.value);
cardcon(tharrlist.value[cardindex.value], cardindex.value);
}, 800)
} else {
uni.showToast({
@ -252,8 +250,7 @@
let obj = { pkId: tharrlist.value[cardindex.value].id }
removeAll(obj).then(res => {
if (res.success) {
wuliao();
thlist();
cardcon(tharrlist.value[cardindex.value], cardindex.value);
} else {
uni.showToast({
icon: 'none',
@ -274,8 +271,7 @@
}
removeWl(obj).then(res => {
if (res.success) {
wuliao();
thlist();
cardcon(tharrlist.value[cardindex.value], cardindex.value);
tanshow.value = false;
} else {
uni.showToast({