diff --git a/src/views/applicationManagement/employRecord/index.vue b/src/views/applicationManagement/employRecord/index.vue index d890d6b..539c5a3 100644 --- a/src/views/applicationManagement/employRecord/index.vue +++ b/src/views/applicationManagement/employRecord/index.vue @@ -123,7 +123,7 @@ export default { { prop: 'taCode', key: '审批单号' }, { prop: 'insuredName', key: '被保险人名称' }, { prop: 'orgName', key: '归属机构' }, - { prop: 'insureEndDate', key: '保险期限' }, + { prop: 'insurePeriod', key: '保险期限' }, { prop: 'taLatestSubmitDate', key: '提交时间' }, { key: '操作', @@ -226,6 +226,12 @@ export default { const content = response.content.content || {} this.tableData = content.list || [] this.tableConfig.total = content.total || 0 + this.tableData.map(v => { + v.insurePeriod = + v.insureStartDate.substring(0, 10) + + ' - ' + + v.insureEndDate.substring(0, 10) + }) } }) .catch(error => {