index.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. import { httpApi } from '../../request/httpApi'
  2. export const ApprovalApi = (url, form) => httpApi({
  3. url: '/api/blade-business/' + url,
  4. method: 'post',
  5. data: form,
  6. })
  7. export const batchApproval = (form) => httpApi({
  8. url: '/api/blade-business/archiveFile/batchApproval',
  9. method: 'post',
  10. data: form,
  11. })
  12. //短信验证
  13. export const sendNotice = (form) => httpApi({
  14. url: '/api/blade-business/task/send-notice',
  15. method: 'post',
  16. params: form,
  17. })
  18. //短信过期时间
  19. export const saveSmsTimeout = (form) => httpApi({
  20. url: '/api/blade-business/task/save-sms-timeout',
  21. method: 'get',
  22. params: form,
  23. })
  24. //用户配置保存
  25. export const userConfigSave = (form) => httpApi({
  26. url: '/api/blade-business/defaultConfig/saveOrUpdate',
  27. method: 'post',
  28. data: form,
  29. })
  30. //用户配置详情
  31. export const userConfigInfo = (form) => httpApi({
  32. url: '/api/blade-business/defaultConfig/detail',
  33. method: 'get',
  34. params: form,
  35. })
  36. export const getReportNumber = (form) => httpApi({
  37. url: 'api/blade-business/task/query-batch-list-two',
  38. method: 'get',
  39. params: form,
  40. })
  41. //获取类型
  42. export const getDictionary = (form) => httpApi({
  43. url: '/api/blade-system/dict/dictionary',
  44. method: 'get',
  45. params: form,
  46. })
  47. //获取表单的下拉框测站点数据
  48. export const getDapSiteData = (form) => httpApi({
  49. url: '/api/blade-business/dap/site',
  50. method: 'get',
  51. params: form,
  52. })
  53. //检查当前合同段是否开启电签
  54. export const eVisaTaskCheck = (form) => httpApi({
  55. url: '/api/blade-business/eVisaTaskCheck/checkContractIsOpenEVisa',
  56. method: 'get',
  57. params: form,
  58. })
  59. //检查当前审批人是否存在证书
  60. export const checkFlowUserIsExistPfxFile = (form= {}) => httpApi({
  61. url: '/api/blade-business/eVisaTaskCheck/checkFlowUserIsExistPfxFile',
  62. method: 'get',
  63. params: form,
  64. })
  65. //获取符合条件的预设流程(三大填报页、日志列表的批量上报、首件列表的批量上报)
  66. export const queryFixedFlow = (form) => httpApi({
  67. url: '/api/blade-business/eVisaTaskCheck/queryFixedFlow',
  68. method: 'post',
  69. data: form,
  70. })
  71. //检查所选的流程环节处理人是否具有审批权限(三大填报页、日志列表的批量上报、首件列表的批量上报)
  72. export const checkFlowUser = (form) => httpApi({
  73. url: '/api/blade-business/eVisaTaskCheck/checkCustomFlowUserIsEVisaPermissions',
  74. method: 'post',
  75. data: form,
  76. })
  77. //资料查询页面
  78. export const checkFlowUserQuery = (form) => httpApi({
  79. url: '/api/blade-business/eVisaTaskCheck/batchCheckCustomFlowUserIsEVisaPermissions2',
  80. method: 'post',
  81. data: form,
  82. })
  83. //获取用户列表
  84. export const getContractUserList = (form) => httpApi({
  85. url: '/api/blade-manager/contractInfo/get-contract-userList',
  86. method: 'get',
  87. params: form,
  88. })
  89. //获取租户详情
  90. export const getTenantDetail = (id) => httpApi({
  91. url: '/api/blade-system/tenant/detail',
  92. method: 'get',
  93. params: {
  94. tenantId: id,
  95. },
  96. })
  97. //获取更新信息
  98. export const getVersionData = (form) => httpApi({
  99. url: '/api/blade-manager/appVersionDetail/getNewVersion',
  100. method: 'get',
  101. params: form
  102. })