chore: 补充 Bug#704 迁移脚本 + 前端类型定义

This commit is contained in:
2026-06-10 09:13:05 +08:00
parent 8c42cf11b5
commit 5f00dab7ad
6 changed files with 89 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
export function listOrderExecuteRecord(params: any): Promise<any>
export function getOrderClosedLoopStatus(orderId: string | number): Promise<any>
export function getOrderStatistics(): Promise<any>
export function executeOrder(data: any): Promise<any>
export function completeOrder(data: any): Promise<any>
export function cancelOrder(data: any): Promise<any>
export function getClosedLoopStatistics(params?: any): Promise<any>

View File

@@ -0,0 +1,12 @@
export function auditPrescription(data: any): Promise<any>
export function batchAudit(data: any): Promise<any>
export function getAuditStatistics(): Promise<any>
export function getAuditTrend(startDate?: any): Promise<any>
export function getAuditLog(encounterId: string | number): Promise<any>
export function checkInteraction(data: any): Promise<any>
export function listInteractionRules(params: any): Promise<any>
export function addInteractionRule(data: any): Promise<any>
export function updateInteractionRule(data: any): Promise<any>
export function delInteractionRule(id: any): Promise<any>
export function listDosageRules(params: any): Promise<any>
export function checkDosage(drugCode: string, dosage: string, population: string): Promise<any>

6
healthlink-his-ui/src/env.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
/// <reference types="vite/client" />
declare module '*.vue' {
import type { DefineComponent } from 'vue'
const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, any>
export default component
}

View File

@@ -0,0 +1,14 @@
export interface IInPatient {
feeType?: string;
sexName?: string;
age?: string;
visitCode?: string;
patientName?: string;
patientId?: string;
encounterId?: string;
inpatientCode?: string;
patCode?: string;
phone?: string;
conditionNames?: string;
[key: string]: any;
}

2
healthlink-his-ui/src/utils/dict.d.ts vendored Normal file
View File

@@ -0,0 +1,2 @@
import { Ref } from 'vue'
export function useDict(...args: string[]): Record<string, Ref<any[]>>