mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-21 05:26:44 +08:00
执业证字段值修改
This commit is contained in:
@@ -49,6 +49,7 @@ export default {
|
||||
list.push({ ...certificate })
|
||||
}
|
||||
for (let item of list) {
|
||||
item.certificate_type === '执业证' ? '1' : '2'
|
||||
item.flag = item.flag === '是' ? 'Y' : 'N'
|
||||
}
|
||||
console.dir(list)
|
||||
@@ -57,6 +58,20 @@ export default {
|
||||
certificate: list
|
||||
}
|
||||
const result = await saveCertificateInfo(params)
|
||||
if (result.result === '0') {
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: location.origin + '/#/agentEenter/approve/ApproveList',
|
||||
needRefresh: '1'
|
||||
},
|
||||
routerInfo: {
|
||||
path: '/agentEenter/approve/ApproveList'
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$toast(result.resultMessage)
|
||||
}
|
||||
console.dir(result)
|
||||
},
|
||||
async deleteCertificate(index) {
|
||||
|
||||
Reference in New Issue
Block a user