Skip to content
目录

病人信息 - PatInfo

属性名说明类型默认值
jzkh就诊卡号,传入代表修改string-
cardInfo卡信息,用于刷卡建档ICardInfo-
showImportButton是否显示导入按钮booleanfalse
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