diff --git a/openhis-ui-vue3/src/api/techStation/index.js b/openhis-ui-vue3/src/api/techStation/index.js new file mode 100644 index 000000000..4673a70c5 --- /dev/null +++ b/openhis-ui-vue3/src/api/techStation/index.js @@ -0,0 +1,71 @@ +import request from '@/utils/request' + +// ========== 医技执行 ========== + +// 查询待执行列表 +export function listExecuteOrders(query) { + return request({ + url: '/tech-station/execute/list', + method: 'get', + params: query + }) +} + +// 执行确认(检查) +export function executeExamOrder(applyNo) { + return request({ + url: '/tech-station/execute/exam/' + applyNo, + method: 'put' + }) +} + +// 执行确认(检验) +export function executeLabOrder(applyNo) { + return request({ + url: '/tech-station/execute/lab/' + applyNo, + method: 'put' + }) +} + +// ========== 医技退费审批 ========== + +// 查询待退费审批列表 +export function listRefundApproveOrders(query) { + return request({ + url: '/tech-station/refund-approve/list', + method: 'get', + params: query + }) +} + +// 退费审批通过(检查) +export function approveExamRefund(applyNo) { + return request({ + url: '/tech-station/refund-approve/approve/exam/' + applyNo, + method: 'put' + }) +} + +// 退费审批驳回(检查) +export function rejectExamRefund(applyNo) { + return request({ + url: '/tech-station/refund-approve/reject/exam/' + applyNo, + method: 'put' + }) +} + +// 退费审批通过(检验) +export function approveLabRefund(applyNo) { + return request({ + url: '/tech-station/refund-approve/approve/lab/' + applyNo, + method: 'put' + }) +} + +// 退费审批驳回(检验) +export function rejectLabRefund(applyNo) { + return request({ + url: '/tech-station/refund-approve/reject/lab/' + applyNo, + method: 'put' + }) +} \ No newline at end of file diff --git a/openhis-ui-vue3/src/components/VxeTableCompat/index.vue b/openhis-ui-vue3/src/components/VxeTableCompat/index.vue new file mode 100644 index 000000000..0d92b8b04 --- /dev/null +++ b/openhis-ui-vue3/src/components/VxeTableCompat/index.vue @@ -0,0 +1,76 @@ + \ No newline at end of file diff --git a/openhis-ui-vue3/vitest.config.ts b/openhis-ui-vue3/vitest.config.ts new file mode 100644 index 000000000..8d63c2989 --- /dev/null +++ b/openhis-ui-vue3/vitest.config.ts @@ -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}'], + }, +}) \ No newline at end of file