|
@@ -411,7 +411,7 @@ export default {
|
|
|
callback: (action) => {
|
|
callback: (action) => {
|
|
|
this.showTF(false)
|
|
this.showTF(false)
|
|
|
this.infoNumArr = []
|
|
this.infoNumArr = []
|
|
|
- this.saveData(this.personInfoData)
|
|
|
|
|
|
|
+ this.saveData(this.personInfoData, 'agree')
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
@@ -495,11 +495,11 @@ export default {
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
saveData(val, r) {
|
|
saveData(val, r) {
|
|
|
|
|
+ let that = this
|
|
|
setInfo(val).then(async (res) => {
|
|
setInfo(val).then(async (res) => {
|
|
|
- if (
|
|
|
|
|
- this.$attrs.params.attrs.flow * 1 === 3 &&
|
|
|
|
|
- this.btnType === 'agree'
|
|
|
|
|
- ) {
|
|
|
|
|
|
|
+ const flow = this.$attrs.params?.attrs?.flow * 1
|
|
|
|
|
+ const isAgreeAction = r === 'agree' || this.btnType === 'agree'
|
|
|
|
|
+ if (isAgreeAction && flow === 3) {
|
|
|
let photo = await this.createSnapshoot(this.userId)
|
|
let photo = await this.createSnapshoot(this.userId)
|
|
|
// 字段需要继续添加
|
|
// 字段需要继续添加
|
|
|
const addParams = {
|
|
const addParams = {
|