import { HcApi } from '../../request/index' export default { //获取当前合同段的划分树 // async queryWbsTreeData(form) { // return HcApi({ // url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByContractIdAndType', // method: 'get', // params: form, // }) // }, async queryWbsTreeData(form) { return HcApi({ url: '/api/blade-user/wbs/lazyQueryContractWbsTree', method: 'get', params: form, }) }, //根据合同段ID获取所有填报人 async getFileUser(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/getFileUserByContractId', method: 'get', params: form, }) }, //搜索获取树 async getTreeNodeByQueryValueAndContractId(form) { return HcApi({ url: '/api/blade-manager/contractInfo/getTreeNodeByQueryValueAndContractId', method: 'get', params: form, }) }, //获取当前合同段下所有的上报批次 // async getReportNumber(form) { // return HcApi({ // url: '/api/blade-business/informationWriteQuery/getReportNumberByContractId', // method: 'get', // params: form // }) // }, async getReportNumber(form) { return HcApi({ url: 'api/blade-business/task/query-batch-list-two', method: 'get', params: form, }) }, //获取流程状态分类和文件类型分类 async getDictBizClassify(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/getDictBizClassifyByCode', method: 'get', params: form, }) }, //分页数据 async getPageData(form) { return HcApi({ //url: '/api/blade-business/informationWriteQuery/page', url: '/api/blade-user/wbs/informationWriteQuery/page', method: 'post', data: form, }) }, //批量废除 async batchAbolish(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/batchAbolish', method: 'post', params: form, }) }, //批量下载 async batchDownloadFileToZip(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/batchDownloadFileToZip', method: 'post', params: form, responseType: 'blob', }) }, async downloadNeiYe(form) { return HcApi({ url: '/api/blade-business/neiYeController/downloadNeiYe', method: 'post', data: form, responseType: 'blob', }) }, //批量打印 async batchPrint(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/batchPrint', method: 'post', params: form, }) }, //本地验签 async localVerify(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/localVerify', method: 'post', params: form, responseType: 'blob', }) }, //在线验签 async onlineVerify(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/onlineVerify', method: 'post', params: form, }) }, //输入框查询合同段树 async searchContractTree(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/searchContractTree', method: 'get', params: form, }) }, //获取合同段树所有数据 async getTreeall(form) { return HcApi({ url: '/api/blade-manager/contractInfo/tree-all', method: 'get', params: form, }) }, //获取监理合同段树所有数据 async getTreeallJl(form) { return HcApi({ url: '/api/blade-manager/contractInfo/tree-all-jl', method: 'get', params: form, }) }, //获取流程状态 async getFirstTaskStatus(form) { return HcApi({ url: '/api/blade-business/task/query-task-type-status?typeOrStatus=first_task_status', method: 'get', params: form, }) }, //一键重签 async reSigningEVisa(form) { return HcApi({ url: '/api/blade-business/task/reSigningEVisa', method: 'post', data: form, }) }, async reSigningEVisaStatus0(form) { return HcApi({ url: '/api/blade-business/task/reSigningEVisaStatus0', method: 'post', data: form, }) }, //重置文件题名 //预览文件题名接口 //文件题名确认修改接口 async flushQueryName(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/flushQueryName', method: 'post', data: form, }) }, async previewNodeName(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/previewNodeName', method: 'post', data: form, }) }, async getNameRuleList(form) { return HcApi({ url: '/api/blade-business/informationWriteQuery/getNameRuleList', method: 'post', data: form, }) }, }