diff --git a/project/sass/apps/AppSpecialPrison/components/List.vue b/project/sass/apps/AppSpecialPrison/components/List.vue index 630d8f7b..b8c1f96a 100644 --- a/project/sass/apps/AppSpecialPrison/components/List.vue +++ b/project/sass/apps/AppSpecialPrison/components/List.vue @@ -65,8 +65,8 @@ { prop: 'name', label: '姓名' }, { prop: 'idNumber', align: 'center', label: '身份证号' }, { prop: 'gender', align: 'center', label: '性别' }, - { prop: 'birthday', align: 'center', label: '出生日期' }, - { prop: 'age', align: 'center', label: '年龄', }, + { prop: 'birthday', align: 'center', label: '出生日期' }, + { prop: 'age', align: 'center', label: '年龄', }, { prop: 'phone', align: 'center', label: '联系方式' } ], tableData: [], @@ -103,6 +103,7 @@ let info = this.idCardNoUtil.getIdCardInfo(v.idNumber) v.birthday = info.birthday v.age = this.$calcAge(v.idNumber) + v.gender = info.gender return v })