feat(api): 添加医技工作站接口和服务组件
- 新增 techStation 模块 API 接口文件,包含医技执行和退费审批功能 - 实现检查和检验项目的执行确认接口 - 提供退费审批的通过和驳回接口支持 - 添加 VxeTable 兼容层组件,统一表格事件参数格式 - 集成 Vitest 测试配置,设置 jsdom 环境和全局变量
This commit is contained in:
18
openhis-ui-vue3/vitest.config.ts
Normal file
18
openhis-ui-vue3/vitest.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from 'vitest/config'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import path from 'path'
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': path.resolve(__dirname, './'),
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'jsdom',
|
||||
include: ['src/**/*.{test,spec}.{js,ts}'],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user