import { httpApi } from '../../request/httpApi' export const ApprovalApi = (url, form) => httpApi({ url: '/api/blade-business/' + url, method: 'post', data: form, }) export const batchApproval = (form) => httpApi({ url: '/api/blade-business/archiveFile/batchApproval', method: 'post', data: form, }) //短信验证 export const sendNotice = (form) => httpApi({ url: '/api/blade-business/task/send-notice', method: 'post', params: form, }) //短信过期时间 export const saveSmsTimeout = (form) => httpApi({ url: '/api/blade-business/task/save-sms-timeout', method: 'get', params: form, }) //用户配置保存 export const userConfigSave = (form) => httpApi({ url: '/api/blade-business/defaultConfig/saveOrUpdate', method: 'post', data: form, }) //用户配置详情 export const userConfigInfo = (form) => httpApi({ url: '/api/blade-business/defaultConfig/detail', method: 'get', params: form, }) export const getReportNumber = (form) => httpApi({ url: 'api/blade-business/task/query-batch-list-two', method: 'get', params: form, }) //获取类型 export const getDictionary = (form) => httpApi({ url: '/api/blade-system/dict/dictionary', method: 'get', params: form, }) //获取表单的下拉框测站点数据 export const getDapSiteData = (form) => httpApi({ url: '/api/blade-business/dap/site', method: 'get', params: form, }) //检查当前合同段是否开启电签 export const eVisaTaskCheck = (form) => httpApi({ url: '/api/blade-business/eVisaTaskCheck/checkContractIsOpenEVisa', method: 'get', params: form, }) //检查当前审批人是否存在证书 export const checkFlowUserIsExistPfxFile = (form= {}) => httpApi({ url: '/api/blade-business/eVisaTaskCheck/checkFlowUserIsExistPfxFile', method: 'get', params: form, }) //获取符合条件的预设流程(三大填报页、日志列表的批量上报、首件列表的批量上报) export const queryFixedFlow = (form) => httpApi({ url: '/api/blade-business/eVisaTaskCheck/queryFixedFlow', method: 'post', data: form, }) //检查所选的流程环节处理人是否具有审批权限(三大填报页、日志列表的批量上报、首件列表的批量上报) export const checkFlowUser = (form) => httpApi({ url: '/api/blade-business/eVisaTaskCheck/checkCustomFlowUserIsEVisaPermissions', method: 'post', data: form, }) //资料查询页面 export const checkFlowUserQuery = (form) => httpApi({ url: '/api/blade-business/eVisaTaskCheck/batchCheckCustomFlowUserIsEVisaPermissions2', method: 'post', data: form, }) //获取用户列表 export const getContractUserList = (form) => httpApi({ url: '/api/blade-manager/contractInfo/get-contract-userList', method: 'get', params: form, }) //获取租户详情 export const getTenantDetail = (id) => httpApi({ url: '/api/blade-system/tenant/detail', method: 'get', params: { tenantId: id, }, }) //获取更新信息 export const getVersionData = (form) => httpApi({ url: '/api/blade-manager/appVersionDetail/getNewVersion', method: 'get', params: form })