import resquest from '@/utils/request'
|
|
|
export function pageInsReport(params) {
|
return resquest({
|
url: '/insReport/pageInsReport',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function inReport(data) {
|
return resquest({
|
url: '/insReport/inReport',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function upAll(data) {
|
return resquest({
|
url: '/insReport/upAll',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function getLaboratoryByReportId(params) {
|
return resquest({
|
url: '/insReport/getLaboratoryByReportId',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function withdraw(data) {
|
return resquest({
|
url: '/insReport/withdraw',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function updateApproveConfig(data) {
|
return resquest({
|
url: '/approveConfig/updateApproveConfig',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function getUserList(params) {
|
return resquest({
|
url: '/performanceShift/getUserList',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function getApproveConfigList(params) {
|
return resquest({
|
url: '/approveConfig/getApproveConfigList',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function batchApprovalReport(data) {
|
return resquest({
|
url: '/insReport/batchApprovalReport',
|
method: 'post',
|
data: data
|
})
|
}
|
|
export function downAll(params) {
|
return resquest({
|
url: '/insReport/downAll',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function getBatchApprovalProgress(params) {
|
return resquest({
|
url: '/insReport/getBatchApprovalProgress',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function getReportCountInfo(params) {
|
return resquest({
|
url: '/insReport/getReportCountInfo',
|
method: 'get',
|
params: params
|
})
|
}
|
|
export function upReportUrl(data) {
|
return resquest({
|
url: '/insReport/upReportUrl',
|
method: 'post',
|
params: data
|
})
|
}
|
|
export function examineReport(data) {
|
return resquest({
|
url: '/insReport/examineReport',
|
method: 'post',
|
params: data
|
})
|
}
|
|
export function ratifyReport(data) {
|
return resquest({
|
url: '/insReport/ratifyReport',
|
method: 'post',
|
params: data
|
})
|
}
|
|
export function writeReport(data) {
|
return resquest({
|
url: '/insReport/writeReport',
|
method: 'post',
|
params: data
|
})
|
}
|
|
|
export function downLoad(params) {
|
return resquest({
|
url: '/file/attachmentType/downLoad',
|
method: 'get',
|
params: params,
|
responseType: 'blob'
|
})
|
}
|
|
export function getReportInfo(params) {
|
return resquest({
|
url: '/file/attachmentType/getMIME',
|
method: 'get',
|
params: params
|
})
|
}
|
|
|
export function getURL(params) {
|
return resquest({
|
url: '/file/attachmentType/getURL',
|
method: 'get',
|
params: params
|
})
|
}
|
|
|
export function downReport(params) {
|
return resquest({
|
url: '/insReport/downReport',
|
method: 'get',
|
params: params,
|
responseType: 'blob'
|
})
|
}
|