|
@@ -3,6 +3,7 @@ const editFunc: Map<string, (editor: any, patInfo: any) => void> = new Map();
|
|
|
const emrEditorMounted = (code: string, editor: any, patInfo: any) => {
|
|
|
if (!editFunc.has(code)) return
|
|
|
try {
|
|
|
+ // @ts-ignore
|
|
|
editFunc.get(code)(editor, patInfo)
|
|
|
} catch (e) {
|
|
|
console.error('emrEditorMounted 出错', e)
|
|
@@ -41,7 +42,7 @@ interface SelfFundedConsentForm {
|
|
|
remark: string;
|
|
|
}
|
|
|
|
|
|
-const yibaozifeixiangmutongyishu = (editor, patInfo) => {
|
|
|
+const yibaozifeixiangmutongyishu = (editor: { getNodes: (arg0: string) => { target: any; }[]; }, patInfo: any) => {
|
|
|
const component = editor.getNodes('费用表格')[0].target
|
|
|
let temp: {
|
|
|
dataIndex: string,
|