DataConfig.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * @Author: Liugh
  3. * @Date: 2021-05-25 14:09:24
  4. * @LastEditTime: 2021-05-27 17:14:10
  5. * @LastEditors: Do not edit
  6. * @FilePath: \auth-web\src\pages\log-manage\DataConfig.js
  7. * @Description:
  8. */
  9. const earlyWarningPlanTable = [
  10. {
  11. label: "鉴权预警方案名称",
  12. prop: "name"
  13. },
  14. {
  15. label: "创建时间",
  16. prop: "createTime",
  17. timestamp: "YYYY-MM-DD"
  18. },
  19. {
  20. label: "修改时间",
  21. prop: "updateTime",
  22. timestamp: "YYYY-MM-DD"
  23. },
  24. {
  25. label: "预警数量",
  26. prop: "number"
  27. },
  28. {
  29. label: "方案状态",
  30. // custom: true, // 如果需要自定义请加上这个属性,插槽名称为prop
  31. prop: "state",
  32. enum: "ProgrammeStateEnum"
  33. }
  34. ];
  35. const earlyWarningPlanTableInfo = [
  36. { label: "方案名称", value: "name", span: 24 },
  37. { label: "方案状态", value: "state", span: 24, enum: "ProgrammeStateEnum" },
  38. { label: "创建时间", value: "createTime", span: 12, isTime: true },
  39. { label: "修改时间", value: "updateTime", span: 12, isTime: true },
  40. { label: "预警规则", value: "ruleContent", span: 24 },
  41. { label: "规则说明", value: "ruleExplain", span: 24 },
  42. { label: "预警信息", value: "warningMsg", span: 24 }
  43. ];
  44. const authActionCountTable = [
  45. {
  46. label: "鉴权类型",
  47. prop: "name"
  48. },
  49. {
  50. label: "鉴权成功次数",
  51. prop: "createTime"
  52. },
  53. {
  54. label: "鉴权失败次数",
  55. prop: "updateTime"
  56. },
  57. {
  58. label: "鉴权总次数",
  59. prop: "number"
  60. }
  61. ];
  62. export { earlyWarningPlanTable, earlyWarningPlanTableInfo, authActionCountTable };