返回
This commit is contained in:
@@ -485,21 +485,25 @@ export default {
|
||||
|
||||
this.$http.post(urlList[this.form.userType], {...this.form}).then(res => {
|
||||
if(res.code == 0) {
|
||||
this.$u.toast('提交成功')
|
||||
this.$u.toast('信息保存成功')
|
||||
uni.$emit('specialPeopleList')
|
||||
setTimeout(() => {
|
||||
uni.navigateBack()
|
||||
}, 600)
|
||||
} else if(res.code == 1) {
|
||||
this.$u.toast('保存失败,信息未填写')
|
||||
} else {
|
||||
this.$confirm('是否放弃编辑当前信息').then(()=>{
|
||||
uni.navigateBack()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
areaSelect(e){
|
||||
// console.log(e);
|
||||
this.form.areaId = e
|
||||
},
|
||||
|
||||
selectClick(dictName, formName) {
|
||||
// console.log(dictName)
|
||||
this.selectList = this.$dict.getDict(dictName)
|
||||
this.selectName = formName
|
||||
this.showSelect = true
|
||||
|
||||
Reference in New Issue
Block a user