This commit is contained in:
changjinpeng
2022-03-08 17:44:17 +08:00
parent 27f5becebf
commit bcefa95305
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ export default {
params: { params: {
size: 6, size: 6,
current: this.current, current: this.current,
residentId: this.user.residentId, residentId: this.user.residentId ? this.user.residentId : '',
description: this.searchObj, description: this.searchObj,
applyIntegralType: this.value, applyIntegralType: this.value,
auditType: this.currentTab == '0' ? '' : this.currentTab == '1' ? '0' : this.currentTab == 2 ? '1' : '', auditType: this.currentTab == '0' ? '' : this.currentTab == '1' ? '0' : this.currentTab == 2 ? '1' : '',

View File

@@ -118,7 +118,6 @@ export default {
}) })
} }
this.flag = true
this.$instance this.$instance
.post(`/app/appvillagerintegraldeclare/addOrUpdate`, { .post(`/app/appvillagerintegraldeclare/addOrUpdate`, {
name: this.user.realName, name: this.user.realName,
@@ -132,6 +131,7 @@ export default {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('提交成功') this.$u.toast('提交成功')
uni.$emit('updateList') uni.$emit('updateList')
this.flag = true
setTimeout(() => { setTimeout(() => {
uni.navigateBack() uni.navigateBack()
}, 600) }, 600)