提交 1f8f5511 authored 作者: 王鹏飞's avatar 王鹏飞

fix: 增加证件类型

上级 db394e99
...@@ -417,7 +417,7 @@ export default { ...@@ -417,7 +417,7 @@ export default {
attachments() { attachments() {
const attachments = this.material.attachments || [] const attachments = this.material.attachments || []
if (this.isManager && !this.hasButton) { if (this.isManager && !this.hasButton) {
const list = ['ID_CARD_BACK', 'ID_CARD_FRONT'] const list = ['ID_CARD_BACK', 'ID_CARD_FRONT', 'HK_ID_CARD', 'PASSPORT', 'OTHER_ID_CARD_PHOTO']
return attachments.filter(item => list.includes(item.file_type_id)) return attachments.filter(item => list.includes(item.file_type_id))
} }
return attachments return attachments
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论