|
@ -6,6 +6,7 @@ interface paramsType { |
|
|
//获取历史记录
|
|
|
//获取历史记录
|
|
|
export const getHistoryInfo = async (params: paramsType) => { |
|
|
export const getHistoryInfo = async (params: paramsType) => { |
|
|
try { |
|
|
try { |
|
|
|
|
|
console.log('getRecords=========',params) |
|
|
const res = await apiClient.post( |
|
|
const res = await apiClient.post( |
|
|
`/api/v1/app/reactionResult/getRecords?pageNum=${params.pageNum}&pageSize=${params.pageSize}`, |
|
|
`/api/v1/app/reactionResult/getRecords?pageNum=${params.pageNum}&pageSize=${params.pageSize}`, |
|
|
) |
|
|
) |
|
@ -19,6 +20,7 @@ export const getHistoryInfo = async (params: paramsType) => { |
|
|
|
|
|
|
|
|
export const deleteHistoryInfo = async (ids: string) => { |
|
|
export const deleteHistoryInfo = async (ids: string) => { |
|
|
try { |
|
|
try { |
|
|
|
|
|
console.log('deleteRecordByIds=========',ids) |
|
|
const res = await apiClient.post( |
|
|
const res = await apiClient.post( |
|
|
`/api/v1/app/reactionResult/deleteRecordByIds?ids=${ids}`, |
|
|
`/api/v1/app/reactionResult/deleteRecordByIds?ids=${ids}`, |
|
|
) |
|
|
) |
|
@ -31,6 +33,7 @@ export const deleteHistoryInfo = async (ids: string) => { |
|
|
//搜索
|
|
|
//搜索
|
|
|
export const searchHistoryInfo = async (search: string) => { |
|
|
export const searchHistoryInfo = async (search: string) => { |
|
|
try { |
|
|
try { |
|
|
|
|
|
console.log('searchRecord=========',search) |
|
|
const res = await apiClient.post( |
|
|
const res = await apiClient.post( |
|
|
'/api/v1/app/reactionResult/searchRecord', |
|
|
'/api/v1/app/reactionResult/searchRecord', |
|
|
{ search }, |
|
|
{ search }, |
|
@ -44,6 +47,7 @@ export const searchHistoryInfo = async (search: string) => { |
|
|
//打印
|
|
|
//打印
|
|
|
export const printHistoryInfo = async (ids: number[]) => { |
|
|
export const printHistoryInfo = async (ids: number[]) => { |
|
|
try { |
|
|
try { |
|
|
|
|
|
console.log('printfRecords=========',ids) |
|
|
const res = await apiClient.post( |
|
|
const res = await apiClient.post( |
|
|
`/api/v1/app/reactionResult/printfRecords`, |
|
|
`/api/v1/app/reactionResult/printfRecords`, |
|
|
{ ids }, |
|
|
{ ids }, |
|
@ -56,6 +60,7 @@ export const printHistoryInfo = async (ids: number[]) => { |
|
|
//导出LIS
|
|
|
//导出LIS
|
|
|
export const exportRecordsToLIS = async (ids: number[]) => { |
|
|
export const exportRecordsToLIS = async (ids: number[]) => { |
|
|
try { |
|
|
try { |
|
|
|
|
|
console.log('exportRecordsByLIS=========',ids) |
|
|
const res = await apiClient.post( |
|
|
const res = await apiClient.post( |
|
|
`/api/v1/app/reactionResult/exportRecordsByLIS`, |
|
|
`/api/v1/app/reactionResult/exportRecordsByLIS`, |
|
|
{ ids }, |
|
|
{ ids }, |
|
|