病人信息 - PatInfo
| 属性名 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| jzkh | 就诊卡号,传入代表修改 | string | - |
| cardInfo | 卡信息,用于刷卡建档 | ICardInfo | - |
| showImportButton | 是否显示导入按钮 | boolean | false |
| sfzhm | 身份证号码 - 传入则回自动填入 | string | - |
使用示例
tsx
import { defineComponent } from "vue";
import PatInfo from "@/core/busiComponents/PatInfo";
import { ElButton } from "element-plus";
import { useLdTsxDialog } from "~/src/core/model/hooks";
export default defineComponent({
setup() {
const dialog = useLdTsxDialog(
() => (
<>
<PatInfo></PatInfo>
</>
),
{
title: "个人信息补录",
keepMaxHeight: true,
width: "90vw",
}
);
return () => (
<>
<ElButton
onClick={() => {
dialog.getControl().open();
}}
>
打开信息补录
</ElButton>
</>
);
},
});
import { defineComponent } from "vue";
import PatInfo from "@/core/busiComponents/PatInfo";
import { ElButton } from "element-plus";
import { useLdTsxDialog } from "~/src/core/model/hooks";
export default defineComponent({
setup() {
const dialog = useLdTsxDialog(
() => (
<>
<PatInfo></PatInfo>
</>
),
{
title: "个人信息补录",
keepMaxHeight: true,
width: "90vw",
}
);
return () => (
<>
<ElButton
onClick={() => {
dialog.getControl().open();
}}
>
打开信息补录
</ElButton>
</>
);
},
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33