1.修改弹窗结构
This commit is contained in:
2024-10-28 17:53:23 +08:00
parent 68047001d1
commit af8fe6ca21
4 changed files with 145 additions and 77 deletions
@@ -90,6 +90,18 @@
import { Dropdown } from 'ant-design-vue';
const columns = [
{
title: '二级单位',
dataIndex: 'secondDepart',
key: 'secondDepart',
width: 120,
},
{
title: '三级单位',
dataIndex: 'thirdDepart',
key: 'secondDepart',
width: 120,
},
{
title: '姓名',
dataIndex: 'patientName',
@@ -100,38 +112,32 @@
title: '性别',
dataIndex: 'gender_dictText',
key: 'gender_dictText',
width: 80,
width: 45,
},
{
title: '年龄',
dataIndex: 'age',
key: 'age',
width: 80,
},
{
title: '二级单位',
dataIndex: 'secondDepart',
key: 'secondDepart',
width: 120,
width: 45,
},
{
title: '联系电话',
dataIndex: 'phone',
key: 'phone',
width: 120,
width: 110,
},
{
title: '病人MPDS类型',
dataIndex: 'mpdsCategoryId_dictText',
key: 'mpdsCategoryId_dictText',
width: 120,
width: 110,
},
{
title: '生命体征',
dataIndex: 'tz',
key: 'tz',
slot: 'tz',
width: 80,
width: 75,
},
{
title: '病情判断',
@@ -143,11 +149,13 @@
title: '到达现场时间',
dataIndex: 'arriveSceneTime',
key: 'arriveSceneTime',
width: 180,
},
{
title: '发病地点',
dataIndex: 'attackAddress',
key: 'attackAddress',
width: 220,
// customRender: ({ record }) => {
// if (record?.address) {
// return record?.address;
@@ -160,9 +168,9 @@
const { visible, closeDialog, openDialog } = useDialog({ title: '急救列表' });
function openDia() {
openDialog();
nextTick(() => {
registerTable.value?.getRecords();
});
// nextTick(() => {
// registerTable.value?.getRecords();
// });
}
const registerTable = ref();
defineExpose({