targetTables.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. import type { TableColumnProps } from '@/types/basic-table';
  2. export const EVALUATION_TARGET_TABLE_COLUMNS: TableColumnProps[] = [
  3. {
  4. label: '考核表名称',
  5. prop: 'evaluationTableName',
  6. align: 'left',
  7. minWidth: '150px',
  8. },
  9. {
  10. label: '状态',
  11. prop: 'status',
  12. slot: 'status',
  13. align: 'center',
  14. minWidth: '120px',
  15. },
  16. {
  17. label: '下发部门',
  18. prop: 'issueDepartment',
  19. align: 'left',
  20. minWidth: '120px',
  21. },
  22. {
  23. label: '部门负责人',
  24. prop: 'departmentLeader',
  25. align: 'left',
  26. minWidth: '120px',
  27. },
  28. {
  29. label: '联系方式',
  30. prop: 'contactPhone',
  31. align: 'left',
  32. minWidth: '120px',
  33. },
  34. {
  35. label: '考核文档',
  36. prop: 'evaluationDocument',
  37. slot: 'evaluationDocument',
  38. align: 'left',
  39. minWidth: '150px',
  40. },
  41. {
  42. label: '计划完成时间',
  43. prop: 'plannedCompletionTime',
  44. align: 'left',
  45. minWidth: '150px',
  46. },
  47. {
  48. label: '操作',
  49. // prop: 'action',
  50. slot: 'action',
  51. fixed: 'right',
  52. minWidth: '300px',
  53. align: 'left',
  54. },
  55. ];
  56. // 先进集体排名表格列
  57. export const EVALUATION_ADVANCED_GROUP_TABLE_COLUMNS: TableColumnProps[] = [
  58. {
  59. label: '编号',
  60. type: 'index',
  61. align: 'center',
  62. width: '80px',
  63. },
  64. {
  65. label: '部门名称',
  66. prop: 'departmentName',
  67. align: 'left',
  68. minWidth: '150px',
  69. },
  70. {
  71. label: '是否先进集体',
  72. prop: 'isAdvancedGroup',
  73. slot: 'isAdvancedGroup',
  74. align: 'center',
  75. minWidth: '120px',
  76. },
  77. {
  78. label: '部门排序',
  79. prop: 'departmentSort',
  80. align: 'center',
  81. minWidth: '120px',
  82. },
  83. {
  84. label: '部门负责人',
  85. prop: 'departmentLeader',
  86. align: 'left',
  87. minWidth: '140px',
  88. },
  89. {
  90. label: '基础分',
  91. prop: 'baseScore',
  92. align: 'center',
  93. minWidth: '100px',
  94. },
  95. {
  96. label: '总分数',
  97. prop: 'reviewSum',
  98. align: 'center',
  99. minWidth: '100px',
  100. },
  101. {
  102. label: '加分项分数',
  103. prop: 'addSum',
  104. align: 'center',
  105. minWidth: '120px',
  106. },
  107. {
  108. label: '减分项分数',
  109. prop: 'subSum',
  110. align: 'center',
  111. minWidth: '120px',
  112. },
  113. {
  114. label: '操作',
  115. slot: 'action',
  116. fixed: 'right',
  117. minWidth: '100px',
  118. align: 'left',
  119. },
  120. ];
  121. // 先进个人信息表格列(部门端)
  122. export const EVALUATION_ADVANCED_PERSON_TABLE_COLUMNS: TableColumnProps[] = [
  123. {
  124. label: '员工工号',
  125. prop: 'employeeCode',
  126. align: 'left',
  127. minWidth: '120px',
  128. },
  129. {
  130. label: '员工姓名',
  131. prop: 'employeeName',
  132. align: 'left',
  133. minWidth: '120px',
  134. },
  135. {
  136. label: '员工联系方式',
  137. prop: 'employeeContact',
  138. align: 'left',
  139. minWidth: '140px',
  140. },
  141. {
  142. label: '所属部门',
  143. prop: 'deptName',
  144. align: 'left',
  145. minWidth: '150px',
  146. },
  147. {
  148. label: '部门负责人',
  149. prop: 'departmentLeader',
  150. align: 'left',
  151. minWidth: '140px',
  152. },
  153. {
  154. label: '先进个人描述',
  155. prop: 'remark',
  156. align: 'left',
  157. minWidth: '160px',
  158. },
  159. {
  160. label: '上报日期',
  161. prop: 'reportDate',
  162. align: 'left',
  163. minWidth: '150px',
  164. },
  165. {
  166. label: '操作',
  167. slot: 'action',
  168. fixed: 'right',
  169. minWidth: '150px',
  170. align: 'left',
  171. },
  172. ];