|
|
|
@ -2120,16 +2120,16 @@ export default { |
|
|
|
this.dragCol.forEach((e) => { |
|
|
|
this.jsonFields[e.label] = e.prop; |
|
|
|
}); |
|
|
|
let tableDatas = deepCopy(this.tableData) |
|
|
|
tableDatas.forEach(e => { |
|
|
|
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.isLock) e.isLock = e.isLock == 'Y' ? '锁住' : '' |
|
|
|
if (e.sexId) e.sexId = dddw(this.dict.sex, "id", e.sexId, "displayName") |
|
|
|
if (e.medicalPackageId !== this.dict.personOrgId && e.customerOrgId === this.dict.personOrgId) { |
|
|
|
e.groupPack = dddw(this.dict.medicalPackage, "id", e.medicalPackageId, "displayName") |
|
|
|
} else if (e.medicalPackageId !== this.dict.personOrgId && e.customerOrgId !== this.dict.personOrgId) { |
|
|
|
e.groupPack = dddw(this.dict.customerOrgGroupAll, "id", e.customerOrgGroupId, "displayName") |
|
|
|
let tableDatas=deepCopy(this.tableData) |
|
|
|
tableDatas.forEach(e=>{ |
|
|
|
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.isLock)e.isLock=e.isLock=='Y'?'锁住':'' |
|
|
|
if(e.sexId)e.sexId=dddw(this.dict.sex,"id",e.sexId,"displayName") |
|
|
|
if(e.medicalPackageId !== this.dict.personOrgId &&e.customerOrgId === this.dict.personOrgId){ |
|
|
|
e.groupPack=dddw(this.dict.medicalPackage,"id",e.medicalPackageId,"displayName") |
|
|
|
}else if(e.medicalPackageId !== this.dict.personOrgId &&e.customerOrgId !== this.dict.personOrgId){ |
|
|
|
e.groupPack=dddw(this.dict.customerOrgGroupAll,"id",e.customerOrgGroupId,"displayName") |
|
|
|
} |
|
|
|
if (e.nationId) e.nationId = dddw(this.dict.nation, "id", e.nationId, "displayName") |
|
|
|
if (e.idNo) e.idNo = e.idNo + '&' |
|
|
|
|