应用层PC端前端服务

officialSeal.js 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. import request from '@/utils/request'
  2. // 查询邮件列表
  3. export function deptIdentifyList(data) {
  4. return request({
  5. url: '/deptIdentify/list',
  6. method: 'get',
  7. params: data
  8. })
  9. }
  10. // 是否启用
  11. export function enableDept(data) {
  12. return request({
  13. url: '/deptIdentify/enableDept',
  14. method: 'post',
  15. data: data
  16. })
  17. }
  18. // 认证
  19. export function selectDeptIndefiUrl(data) {
  20. return request({
  21. url: 'deptIdentify/selectDeptIndefiUrl',
  22. method: 'post',
  23. data: data
  24. })
  25. }
  26. // 新增机构
  27. export function insert(data) {
  28. return request({
  29. url: '/deptIdentify/insert',
  30. method: 'post',
  31. data: data
  32. })
  33. }
  34. // 查询公章列表
  35. export function sealList(data) {
  36. return request({
  37. url: '/deptIdentify/sealList',
  38. method: 'get',
  39. params: data
  40. })
  41. }
  42. // 启用或者禁用公章
  43. export function updateSealLockStatus(data) {
  44. return request({
  45. url: '/deptIdentify/updateSealLockStatus',
  46. method: 'post',
  47. data: data
  48. })
  49. }
  50. // 删除未认证的数据
  51. export function deleteSeal(data) {
  52. return request({
  53. url: '/deptIdentify/delete',
  54. method: 'delete',
  55. params: data
  56. })
  57. }
  58. // 修改机构信息
  59. export function sealUpdate(data) {
  60. return request({
  61. url: '/deptIdentify/update',
  62. method: 'put',
  63. data: data
  64. })
  65. }
  66. // 新增模板
  67. export function insertTemplate(data) {
  68. return request({
  69. url: '/deptIdentify/insertTemplate',
  70. method: 'post',
  71. data: data
  72. })
  73. }
  74. // 修改模板
  75. export function updateTemplate(data) {
  76. return request({
  77. url: '/deptIdentify/updateTemplate',
  78. method: 'post',
  79. params: data
  80. })
  81. }
  82. // 删除模板
  83. export function deleteTemplate(data) {
  84. return request({
  85. url: '/deptIdentify/deleteTemplate',
  86. method: 'delete',
  87. params: data
  88. })
  89. }
  90. // 根据机构id查询模板
  91. export function getTemplate(data) {
  92. return request({
  93. url: '/deptIdentify/getTemplate',
  94. method: 'get',
  95. params: data
  96. })
  97. }
  98. // 查询机构下的经办人
  99. export function selectPostUserByDeptId(data) {
  100. return request({
  101. url: '/deptIdentify/selectPostUserByDeptId',
  102. method: 'get',
  103. params: data
  104. })
  105. }
  106. // 机构绑定经办人
  107. export function bindHandler(data) {
  108. return request({
  109. url: '/deptIdentify/bindHandler',
  110. method: 'get',
  111. params: data
  112. })
  113. }