|
@@ -79,7 +79,7 @@ function BlockLossManage() {
|
|
setCurrent(page)
|
|
setCurrent(page)
|
|
getBlockLossPage()
|
|
getBlockLossPage()
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
//返回
|
|
//返回
|
|
function cancel() {
|
|
function cancel() {
|
|
setVisible(false)
|
|
setVisible(false)
|
|
@@ -124,26 +124,34 @@ function BlockLossManage() {
|
|
{ title: '住院序号', dataIndex: 'behospitalCode', key: 'behospitalCode' },
|
|
{ title: '住院序号', dataIndex: 'behospitalCode', key: 'behospitalCode' },
|
|
{ title: '文书编号', dataIndex: 'recId', key: 'recId' },
|
|
{ title: '文书编号', dataIndex: 'recId', key: 'recId' },
|
|
{ title: '文书标题', dataIndex: 'recTitle', key: 'recTitle' },
|
|
{ title: '文书标题', dataIndex: 'recTitle', key: 'recTitle' },
|
|
- { title: '丢失原因', dataIndex: 'lossCause', key: 'lossCause' },
|
|
|
|
|
|
+ {
|
|
|
|
+ title: '丢失原因', dataIndex: 'lossCause', key: 'lossCause', render: (text, record) => {
|
|
|
|
+ return record.lossCause || '-';
|
|
|
|
+ }
|
|
|
|
+ },
|
|
{
|
|
{
|
|
title: '丢失类型', dataIndex: 'lossType', key: 'lossType', render: (text, record) => {
|
|
title: '丢失类型', dataIndex: 'lossType', key: 'lossType', render: (text, record) => {
|
|
- return (<span>{record.lossType == 0 ? '文书丢失' : record.lossType == 1 ? '病案首页丢失' : record.lossType == 2 ? '患者信息丢失' : ''}</span>);
|
|
|
|
|
|
+ return (<span>{record.lossType == 0 ? '文书丢失' : record.lossType == 1 ? '病案首页丢失' : record.lossType == 2 ? '患者信息丢失' : '-'}</span>);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '丢失途径', dataIndex: 'lossWay', key: 'lossWay', render: (text, record) => {
|
|
title: '丢失途径', dataIndex: 'lossWay', key: 'lossWay', render: (text, record) => {
|
|
- return (<span>{record.lossWay == 0 ? '外部丢失' : record.lossWay == 1 ? '内部丢失' : ''}</span>);
|
|
|
|
|
|
+ return (<span>{record.lossWay == 0 ? '外部丢失' : record.lossWay == 1 ? '内部丢失' : '-'}</span>);
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '更新时间', dataIndex: 'auditTime', key: 'auditTime', render: (text, record) => {
|
|
|
|
+ return record.auditTime || '-';
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- { title: '更新时间', dataIndex: 'auditTime', key: 'auditTime' },
|
|
|
|
{
|
|
{
|
|
title: '状态', key: 'status', render: (text, record) => {
|
|
title: '状态', key: 'status', render: (text, record) => {
|
|
- return (<span className={(record.status === '已恢复') ? 'Adopt' : 'Delete'}>{record.status == 0 ? '已丢失' : record.status == 1 ? '已恢复' : ''}</span>);
|
|
|
|
|
|
+ return (<span className={(record.status === '已恢复') ? 'Adopt' : 'Delete'}>{record.status == 0 ? '已丢失' : record.status == 1 ? '已恢复' : '-'}</span>);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '审核结果', key: 'isAudited', render: (text, record) => {
|
|
title: '审核结果', key: 'isAudited', render: (text, record) => {
|
|
- return (<span className={(record.isAudited === '0') ? 'delete' : (record.isAudited === '1') ? 'adopt' : 'disable'}>{record.isAudited == 0 ? '审核未通过' : record.isAudited == 1 ? '审核通过' : record.isAudited == 2 ? '未核查' : ''}</span>);
|
|
|
|
|
|
+ return (<span className={(record.isAudited === '0') ? 'delete' : (record.isAudited === '1') ? 'adopt' : 'disable'}>{record.isAudited == 0 ? '审核未通过' : record.isAudited == 1 ? '审核通过' : record.isAudited == 2 ? '未核查' : '-'}</span>);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -175,17 +183,17 @@ function BlockLossManage() {
|
|
</Col>
|
|
</Col>
|
|
<Col span={5} key={1}>
|
|
<Col span={5} key={1}>
|
|
<Form.Item label="住院序号" name="behospitalCode">
|
|
<Form.Item label="住院序号" name="behospitalCode">
|
|
- <Input placeholder="住院序号" autoComplete='off' maxLength='30'/>
|
|
|
|
|
|
+ <Input placeholder="住院序号" autoComplete='off' maxLength='30' />
|
|
</Form.Item>
|
|
</Form.Item>
|
|
</Col>
|
|
</Col>
|
|
<Col span={5} key={2}>
|
|
<Col span={5} key={2}>
|
|
<Form.Item label="文书编号" name="recId">
|
|
<Form.Item label="文书编号" name="recId">
|
|
- <Input placeholder="文书编号" autoComplete='off' maxLength='30'/>
|
|
|
|
|
|
+ <Input placeholder="文书编号" autoComplete='off' maxLength='30' />
|
|
</Form.Item>
|
|
</Form.Item>
|
|
</Col>
|
|
</Col>
|
|
<Col span={5} key={3}>
|
|
<Col span={5} key={3}>
|
|
<Form.Item label="文书标题" name="recTitle">
|
|
<Form.Item label="文书标题" name="recTitle">
|
|
- <Input placeholder="文书标题" autoComplete='off' maxLength='30'/>
|
|
|
|
|
|
+ <Input placeholder="文书标题" autoComplete='off' maxLength='30' />
|
|
</Form.Item>
|
|
</Form.Item>
|
|
</Col>
|
|
</Col>
|
|
<Col span={5} key={4}>
|
|
<Col span={5} key={4}>
|