|
|
|
@ -2122,7 +2122,7 @@ export default { |
|
|
|
tableDatas.forEach((e, index) => { |
|
|
|
if (index) e.sn = index + 1 |
|
|
|
if (e.completeFlag) e.completeFlag = e.isAudit == "Y" ? "已审核" : dddw(this.dict.completeFlag, "id", e.completeFlag, "displayName") |
|
|
|
if (e.guidePrintTimes) e.guidePrintTimes = e.guidePrintTimes > 0 ? '打印' : '' |
|
|
|
if (e.guidePrintTimes.toString())e.guidePrintTimes = e.guidePrintTimes > 0 ? '打印' : '' |
|
|
|
if (e.isLock) e.isLock = e.isLock == 'Y' ? '锁住' : '' |
|
|
|
if (e.sexId) e.sexId = dddw(this.dict.sex, "id", e.sexId, "displayName") |
|
|
|
if(e.patientRegisterNo)e.patientRegisterNo='&'+e.patientRegisterNo |
|
|
|
@ -2149,7 +2149,8 @@ export default { |
|
|
|
if (e.qztlIsFj) e.qztlIsFj = e.qztlIsFj == "Y" ? "是" : "否" |
|
|
|
}) |
|
|
|
this.tableName = '人员登记列表' + moment(new Date()).format('yyyyMMDDHHmmss') + '.xls' |
|
|
|
return tableDatas; |
|
|
|
console.log(tableDatas) |
|
|
|
// return tableDatas; |
|
|
|
// const columns = this.$refs.info.getColumns(); // 获取列信息 |
|
|
|
// const data = this.$refs.info.getData(); // 获取数据 |
|
|
|
// console.log(columns) |
|
|
|
|