You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

116 regels
2.7 KiB

  1. export default {
  2. TemplatePinspeakwordsList: {
  3. border: true,
  4. index: false,
  5. height: 572,
  6. indexLabel: "序号",
  7. stripe: true,
  8. menuAlign: "center",
  9. menuWidth: 146,
  10. menu: true,
  11. align: "center",
  12. refreshBtn: false,
  13. searchSize: "mini",
  14. searchMenuSpan: 9,
  15. delBtn: false,
  16. addBtn: false,
  17. editBtn: false,
  18. viewBtn: false,
  19. size: "small",
  20. column: [
  21. {
  22. label: "项目名称",
  23. prop: "houseName",
  24. },
  25. {
  26. label: "状态",
  27. prop: "status",
  28. width: "150px",
  29. formatter: (data) => {
  30. if(data.status == 0) return '启用'
  31. if(data.status == 1) return '停用'
  32. }
  33. },
  34. {
  35. label: "大类个数",
  36. prop: "count",
  37. width: "90px"
  38. },
  39. {
  40. label: "创建时间",
  41. prop: "createTime",
  42. },
  43. ]
  44. },
  45. TemplateWrongword: {
  46. border: true,
  47. index: true,
  48. height: 572,
  49. indexLabel: "序号",
  50. stripe: true,
  51. menuAlign: "center",
  52. menuWidth: 146,
  53. menu: true,
  54. align: "center",
  55. refreshBtn: false,
  56. searchSize: "mini",
  57. searchMenuSpan: 9,
  58. delBtn: false,
  59. addBtn: false,
  60. editBtn: false,
  61. viewBtn: false,
  62. size: "small",
  63. column: [
  64. {
  65. label: "正确词",
  66. prop: "correctWord",
  67. },
  68. {
  69. label: "错误词",
  70. prop: "wrongWord",
  71. },
  72. {
  73. label: "创建时间",
  74. prop: "createTime",
  75. },
  76. ]
  77. },
  78. TemplateTaboo: {
  79. border: true,
  80. index: false,
  81. height: 572,
  82. indexLabel: "序号",
  83. stripe: true,
  84. menuAlign: "center",
  85. menuWidth: 146,
  86. menu: true,
  87. align: "center",
  88. refreshBtn: false,
  89. searchSize: "mini",
  90. searchMenuSpan: 9,
  91. delBtn: false,
  92. addBtn: false,
  93. editBtn: false,
  94. viewBtn: false,
  95. size: "small",
  96. column: [
  97. {
  98. label: '敏感词',
  99. prop: "words"
  100. },
  101. {
  102. label: "项目名称",
  103. prop: "houseName",
  104. },
  105. {
  106. label: "创建时间",
  107. prop: "createDate",
  108. },
  109. {
  110. label: "修改时间",
  111. prop: "updateDate",
  112. },
  113. ]
  114. }
  115. }