BUG 28294
This commit is contained in:
@@ -393,7 +393,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
submit() {
|
submit() {
|
||||||
let isValid = true,form = JSON.parse(JSON.stringify(this.formData))
|
let isValid = true, form = JSON.parse(JSON.stringify(this.formData))
|
||||||
this.formDataList.map((item) => {
|
this.formDataList.map((item) => {
|
||||||
item?.map((items) => {
|
item?.map((items) => {
|
||||||
if (items.type == 'checkbox') { //多选
|
if (items.type == 'checkbox') { //多选
|
||||||
@@ -439,14 +439,12 @@ export default {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$u.toast('提交成功')
|
this.$u.toast('提交成功')
|
||||||
setTimeout(() => {
|
uni.navigateBack({
|
||||||
uni.navigateBack({
|
success: () => {
|
||||||
success: () => {
|
uni.$emit("selectType")
|
||||||
uni.$emit("selectType")
|
}
|
||||||
}
|
})
|
||||||
})
|
} else this.$u.toast(res?.msg || "提交失败,请联系管理员")
|
||||||
}, 600)
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSelectResident(resident, item) {
|
handleSelectResident(resident, item) {
|
||||||
|
|||||||
Reference in New Issue
Block a user