执业证字段值修改

This commit is contained in:
mengxiaolong
2020-10-28 18:40:59 +08:00
parent be049804da
commit a060f3d682

View File

@@ -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) {