data.ts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. export type B2FromDataType = {
  2. siteArr: undefined | string[];
  3. isUploadScene: 1 | 0;
  4. province: string;
  5. city: string;
  6. region: string;
  7. searchKey: string;
  8. pmUser: string;
  9. auditStatus: "" | 0 | 1 | 2 | 3;
  10. pushStatus: "" | 0 | 2 | 3;
  11. jsonStatus: "" | 0 | 2 | 3;
  12. pageSize: number;
  13. pageNum: number;
  14. };
  15. export type B2FromDataArer = {
  16. siteArr: undefined | string[];
  17. province: string;
  18. city: string;
  19. };
  20. // 场景审核
  21. export const B1options1 = [
  22. {
  23. value: "",
  24. label: "全部",
  25. },
  26. {
  27. value: 0,
  28. label: "待审核",
  29. },
  30. {
  31. value: 1,
  32. label: "初审通过",
  33. },
  34. {
  35. value: 2,
  36. label: "审核通过",
  37. },
  38. {
  39. value: 3,
  40. label: "审核驳回",
  41. },
  42. ];
  43. // 审核状态数据转换
  44. export const B1options1Obj = {
  45. 0: "待审核",
  46. 1: "初审通过",
  47. 2: "审核通过",
  48. 3: "审核驳回",
  49. };
  50. // 推送状态状态数据转换
  51. export const B1options2Obj = {
  52. 0: "待推送",
  53. 2: "推送成功",
  54. 3: "推送失败",
  55. };
  56. // 场景推送:
  57. export const B1options2 = [
  58. {
  59. value: "",
  60. label: "全部",
  61. },
  62. {
  63. value: 0,
  64. label: "待推送",
  65. },
  66. {
  67. value: 2,
  68. label: "推送成功",
  69. },
  70. {
  71. value: 3,
  72. label: "推送失败",
  73. },
  74. ];
  75. // Json推送:
  76. export const B1options3 = [
  77. {
  78. value: "",
  79. label: "全部",
  80. },
  81. {
  82. value: 0,
  83. label: "待推送",
  84. },
  85. {
  86. value: 2,
  87. label: "推送成功",
  88. },
  89. {
  90. value: 3,
  91. label: "推送失败",
  92. },
  93. ];