| 12345678910111213141516171819202122232425262728293031 |
- import { defHttp } from '/@/utils/http/axios';
- import { setParams } from '/@/utils/index';
- enum Api {
- estimateWardList = '/biz/consumableEstimate/estimate/ward',
- estimateInWardList = '/biz/consumableEstimate/estimate/inWard',
- estimatePrint = '/biz/consumableEstimate/statistics/query',
- wardAndNumber = '/biz/consumableEstimate/wardAndNumber',
- }
- // 病区一级列表
- export const getestimateWardList = (params?: object) => {
- return defHttp.post({ url: Api.estimateWardList, params: setParams(params) });
- };
- // 病区内二级列表
- export const getestimateInWardList = (params?: object) => {
- return defHttp.post({ url: Api.estimateInWardList, params: setParams(params) });
- };
- // 病区内二级列表
- export const getWardAndNumber = () => {
- return defHttp.get({ url: Api.wardAndNumber });
- };
- /**
- * @description: 耗材统计单
- * @method: POST
- */
- export const estimatePrint = (params: object) => {
- return defHttp.post({ url: Api.estimatePrint, params: params });
- };
|