sfzy.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. import request from "../utils/request"
  2. // let baseApi = ""
  3. let baseApi = "/new"
  4. // 获取税局电话号码
  5. export function getMenu(data) {
  6. return request({
  7. url: "/machine" + baseApi + "/sfzy/getMenu",
  8. data: data,
  9. method: "get"
  10. })
  11. }
  12. // 获取税局电话号码
  13. export function selectTel(data) {
  14. return request({
  15. url: "/machine" + baseApi + "/sfzy/selectTel",
  16. data: data,
  17. method: "post",
  18. header: {
  19. 'content-type': 'application/x-www-form-urlencoded'
  20. }
  21. })
  22. }
  23. // 在线调节日志
  24. export function sfzyDhtjLog(data) {
  25. return request({
  26. url: "/machine" + baseApi + "/sfzy/sfzyDhtjLog",
  27. data: data,
  28. method: "post"
  29. })
  30. }
  31. // 获取税费争议预约日期
  32. export function getFuture7Day(data) {
  33. return request({
  34. url: "/machine" + baseApi + "/sfzy/getFuture7Day",
  35. data: data,
  36. method: "get"
  37. })
  38. }
  39. // 获取税费争议预约时间段
  40. export function getYysjByRq(data) {
  41. return request({
  42. url: "/machine" + baseApi + "/sfzy/getYysjByBsfwtdm",
  43. data: data,
  44. method: "get"
  45. })
  46. }
  47. // 税费争议预约
  48. export function reserve(data) {
  49. return request({
  50. url: "/machine" + baseApi + "/sfzy/reserve",
  51. data: data,
  52. method: "post"
  53. })
  54. }
  55. // 税费争议取消预约
  56. export function canalReserve(data) {
  57. return request({
  58. url: "/machine" + baseApi + "/sfzy/canalReserve",
  59. data: data,
  60. method: "post",
  61. header: {
  62. 'content-type': 'application/x-www-form-urlencoded'
  63. }
  64. })
  65. }
  66. // 税费争议记录
  67. export function getYytjjl(data) {
  68. return request({
  69. url: "/machine" + baseApi + "/sfzy/getYytjjl",
  70. data: data,
  71. method: "get"
  72. })
  73. }