You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/**
|
|
|
|
|
* 无处罚证明申请主表 api 封装
|
|
|
|
|
*
|
|
|
|
|
* @Author: wzh
|
|
|
|
|
* @Date: 2026-01-07 21:36:44
|
|
|
|
|
* @Copyright 1.0
|
|
|
|
|
*/
|
|
|
|
|
import axios from 'axios';
|
|
|
|
|
import { postRequest, getRequest, getDownload } from '/@/lib/axios';
|
|
|
|
|
|
|
|
|
|
export const penaltyApplyApi = {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 分页查询 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
queryPage : (param) => {
|
|
|
|
|
return postRequest('/penaltyApply/queryPage', param);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 增加 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
add: (param) => {
|
|
|
|
|
return postRequest('/penaltyApply/add', param);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 修改 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
update: (param) => {
|
|
|
|
|
return postRequest('/penaltyApply/update', param);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 删除 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
delete: (id) => {
|
|
|
|
|
return getRequest(`/penaltyApply/delete/${id}`);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 批量删除 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
batchDelete: (idList) => {
|
|
|
|
|
return postRequest('/penaltyApply/batchDelete', idList);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 无处罚证明下载 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
exportWordCertificate: (id) => {
|
|
|
|
|
return getDownload(`/wordCertificate/export/${id}`);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 预览无处罚证明 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 审核 @author wzh
|
|
|
|
|
*/
|
|
|
|
|
review: (param) => {
|
|
|
|
|
return postRequest('/penaltyApply/review', param);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
};
|