123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- import { HcApi } from '../../request/index'
- export default {
- //获取当前合同段的划分树
- async queryWbsTreeData(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByContractIdAndType',
- method: 'get',
- params: form,
- }, msg)
- },
- //根据合同段ID获取所有填报人
- async getFileUser(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/getFileUserByContractId',
- method: 'get',
- params: form,
- }, msg)
- },
- //获取当前合同段下所有的上报批次
- async getReportNumber(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/getReportNumberByContractId',
- method: 'get',
- params: form,
- }, msg)
- },
- //获取流程状态分类和文件类型分类
- async getDictBizClassify(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/getDictBizClassifyByCode',
- method: 'get',
- params: form,
- }, msg)
- },
- //分页数据
- async getPageData(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/page',
- method: 'post',
- data: form,
- }, msg)
- },
- //批量废除
- async batchAbolish(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/batchAbolish',
- method: 'post',
- params: form,
- }, msg)
- },
- //批量下载
- async batchDownloadFileToZip(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/batchDownloadFileToZip',
- method: 'post',
- params: form,
- responseType: 'blob',
- }, msg)
- },
- //批量打印
- async batchPrint(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/batchPrint',
- method: 'post',
- params: form,
- }, msg)
- },
- //本地验签
- async localVerify(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/localVerify',
- method: 'post',
- params: form,
- }, msg)
- },
- //在线验签
- async onlineVerify(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/onlineVerify',
- method: 'post',
- params: form,
- }, msg)
- },
- //输入框查询合同段树
- async searchContractTree(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/informationWriteQuery/searchContractTree',
- method: 'get',
- params: form,
- }, msg)
- },
- //获取流程状态
- async getFirstTaskStatus(form, msg = true) {
- return HcApi({
- url: '/api/blade-business/task/query-task-type-status?typeOrStatus=first_task_status',
- method: 'get',
- params: form,
- }, msg)
- },
- }
|