单应用项目,可以创建很多独立工具类页面 ,不用登录 初始化的页面
zhangchen
2025-07-17 4309aff05caa2d11bfe8ee765e1dfd8580ee8666
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
34
35
export interface ConsumablesCollection {
  抗凝剂: string[];
  护理包: string[];
  滤过器: string[];
  穿刺针: string[];
  管路: string[];
  透析器: string[];
  透析模式: string[];
}
 
export interface DeviceData {
  devicdeNo: string | number;
  patientName: string;
  consumablesCollection: ConsumablesCollection;
}
 
export const defaultconsumablesCollection = (): ConsumablesCollection => {
  return {
    抗凝剂: [],
    护理包: [],
    滤过器: [],
    穿刺针: [],
    管路: [],
    透析器: [],
    透析模式: [],
  };
};
 
export const defaultDeviceData = (): DeviceData => {
  return {
    devicdeNo: "",
    patientName: "",
    consumablesCollection: defaultconsumablesCollection(),
  };
};