BUG 29490

This commit is contained in:
aixianling
2022-05-06 18:57:58 +08:00
parent e20c51c7be
commit 5ff3678971
3 changed files with 441 additions and 469 deletions

View File

@@ -404,7 +404,6 @@ export default {
this.isEdit = false
this.getDetail()
}
},
onShow() {
document.title = '新增人员'
@@ -476,14 +475,14 @@ export default {
this.$u.toast(this.isEdit ? '信息保存成功' : '信息提交成功')
uni.$emit('specialPeopleList')
setTimeout(() => {
uni.navigateBack()
uni.navigateBack({})
}, 600)
this.isEdit = !this.isEdit
} else if (res.code == 1) {
this.$u.toast('保存失败,信息未填写')
} else {
this.$confirm('是否放弃编辑当前信息').then(() => {
uni.navigateBack()
uni.navigateBack({})
})
}
})