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, pageNo:1,
pageSize:10, pageSize:10,
nuId:uni.getStorageSync('nuId'), nuId:uni.getStorageSync('nuId'),
elderId:uni.getStorageSync('NUall').id, elderId:uni.getStorageSync('NUall').elderId,
wlParamInfo:'', wlParamInfo:'',
categoryId:'', categoryId:'',
typeId:'', typeId:'',

View File

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