tableHeader.tsx 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. export const YBTableHeader = [
  2. { type: 'checkbox', width: 50, align: 'center' },
  3. {
  4. field: 'expiredStatusText',
  5. title: '状态',
  6. width: 60,
  7. align: 'center',
  8. slots: {
  9. default: ({ row }) => {
  10. return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
  11. },
  12. },
  13. },
  14. { field: 'no', title: '工单编码', width: 140 },
  15. { field: 'isProvinceText', title: '省/市工单', width: 90 },
  16. { field: 'reTransactNum', title: '重办次数', width: 90 },
  17. {
  18. field: 'isUrgentText',
  19. title: '是否紧急',
  20. width: 90,
  21. slots: {
  22. default: ({ row }) => {
  23. return <span class="color-danger font-bold">{row.isUrgentText}</span>;
  24. },
  25. },
  26. },
  27. { field: 'sensitiveText', title: '敏感词', width: 150 },
  28. { field: 'isSecretText', title: '是否保密', width: 100 },
  29. { field: 'currentStepName', title: '当前节点', width: 120 },
  30. { field: 'actualStepAcceptText', title: '受理情况', width: 100 },
  31. {
  32. field: 'statusText',
  33. title: '工单状态',
  34. width: 110,
  35. slots: {
  36. default: 'statusText',
  37. },
  38. },
  39. {
  40. field: 'title',
  41. title: '工单标题',
  42. minWidth: 200,
  43. slots: { default: 'order_detail' },
  44. },
  45. {
  46. field: 'creationTime',
  47. title: '创建时间',
  48. width: 160,
  49. sortable: true,
  50. formatter: 'formatDate',
  51. },
  52. {
  53. field: 'startTime',
  54. title: '受理时间',
  55. width: 160,
  56. sortable: true,
  57. formatter: 'formatDate',
  58. },
  59. {
  60. field: 'expiredTime',
  61. title: '工单期满时间',
  62. width: 160,
  63. sortable: true,
  64. formatter: 'formatDate',
  65. },
  66. {
  67. field: 'filedTime',
  68. title: '办结时间',
  69. width: 160,
  70. sortable: true,
  71. formatter: 'formatDate',
  72. },
  73. { field: 'orgLevelOneName', title: '一级部门', width: 140 },
  74. { field: 'actualHandleOrgName', title: '接办部门', width: 140 },
  75. { field: 'acceptType', title: '受理类型', width: 110 },
  76. { field: 'counterSignTypeText', title: '是否会签', width: 110 },
  77. { field: 'sourceChannel', title: '来源渠道', width: 110 },
  78. { field: 'hotspotSpliceName', title: '热点全称', width: 150 },
  79. { field: 'hotspotName', title: '热点分类', width: 150 },
  80. { field: 'acceptorName', title: '受理人', width: 120 },
  81. { field: 'focusOnEventsName', title: '重点关注事件', width: 120 },
  82. { field: 'content', title: '受理内容', width: 200, visible: false },
  83. { field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
  84. { title: '操作', width: 140, fixed: 'right', align: 'center', slots: { default: 'action' } },
  85. ];
  86. export const ZGTableHeader = [
  87. { type: 'checkbox', width: 50, align: 'center' },
  88. {
  89. field: 'expiredStatusText',
  90. title: '状态',
  91. width: 60,
  92. align: 'center',
  93. slots: {
  94. default: ({ row }) => {
  95. return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
  96. },
  97. },
  98. },
  99. { field: 'no', title: '工单编码', width: 140 },
  100. { field: 'isProvinceText', title: '省/市工单', width: 90 },
  101. { field: 'reTransactNum', title: '重办次数', width: 90 },
  102. {
  103. field: 'isUrgentText',
  104. title: '是否紧急',
  105. width: 90,
  106. slots: {
  107. default: ({ row }) => {
  108. return <span class="color-danger font-bold">{row.isUrgentText}</span>;
  109. },
  110. },
  111. },
  112. { field: 'isSecretText', title: '是否保密', width: 100 },
  113. { field: 'currentStepName', title: '当前节点', width: 120 },
  114. { field: 'actualStepAcceptText', title: '受理情况', width: 100 },
  115. {
  116. field: 'statusText',
  117. title: '工单状态',
  118. width: 110,
  119. slots: {
  120. default: 'statusText',
  121. },
  122. },
  123. {
  124. field: 'title',
  125. title: '工单标题',
  126. minWidth: 200,
  127. slots: { default: 'order_detail' },
  128. },
  129. {
  130. field: 'startTime',
  131. title: '受理时间',
  132. width: 160,
  133. sortable: true,
  134. formatter: 'formatDate',
  135. },
  136. {
  137. field: 'expiredTime',
  138. title: '工单期满时间',
  139. width: 160,
  140. sortable: true,
  141. formatter: 'formatDate',
  142. },
  143. {
  144. field: 'filedTime',
  145. title: '办结时间',
  146. width: 160,
  147. sortable: true,
  148. formatter: 'formatDate',
  149. },
  150. { field: 'orgLevelOneName', title: '一级部门', width: 140 },
  151. { field: 'orgLevelTwoName', title: '二级部门', width: 140 },
  152. { field: 'actualHandleOrgName', title: '接办部门', width: 140 },
  153. { field: 'acceptType', title: '受理类型', width: 110 },
  154. { field: 'counterSignTypeText', title: '是否会签', width: 110 },
  155. { field: 'sourceChannel', title: '来源渠道', width: 110 },
  156. { field: 'orderTag', title: '工单标签', width: 140 },
  157. { field: 'allDurationHour', title: '办理时长(小时)', width: 150 },
  158. { field: 'hotspotSpliceName', title: '热点全称', width: 150 },
  159. { field: 'hotspotName', title: '热点分类', width: 150 },
  160. { field: 'acceptorName', title: '受理人', width: 120 },
  161. { field: 'sensitiveText', title: '敏感词', width: 150 },
  162. { field: 'content', title: '受理内容', width: 200, visible: false },
  163. { field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
  164. { field: 'seatEvaluateTxt', title: '坐席满意度', width: 150 },
  165. { field: 'orgEvaluateValue', title: '部门满意度', width: 150 },
  166. { title: '操作', width: 140, fixed: 'right', align: 'center', slots: { default: 'action' } },
  167. ];
  168. export const LZTableHeader = [
  169. { type: 'checkbox', width: 50, align: 'center' },
  170. {
  171. field: 'expiredStatusText',
  172. title: '状态',
  173. width: 60,
  174. align: 'center',
  175. slots: {
  176. default: ({ row }) => {
  177. return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
  178. },
  179. },
  180. },
  181. {
  182. field: 'statusText',
  183. title: '工单状态',
  184. width: 110,
  185. slots: {
  186. default: 'statusText',
  187. },
  188. },
  189. {
  190. field: 'isUrgentText',
  191. title: '是否紧急',
  192. width: 90,
  193. slots: {
  194. default: ({ row }) => {
  195. return <span class="color-danger font-bold">{row.isUrgentText}</span>;
  196. },
  197. },
  198. },
  199. { field: 'remainingTime', title: '剩余办理时间', width: 110 },
  200. { field: 'sourceChannel', title: '来源渠道', width: 110 },
  201. { field: 'isProvinceText', title: '省/市工单', width: 90 },
  202. { field: 'no', title: '工单编码', width: 140 },
  203. {
  204. field: 'title',
  205. title: '工单标题',
  206. minWidth: 200,
  207. slots: { default: 'order_detail' },
  208. },
  209. {
  210. field: 'startTime',
  211. title: '受理时间',
  212. width: 160,
  213. sortable: true,
  214. formatter: 'formatDate',
  215. },
  216. { field: 'acceptorName', title: '受理人', width: 120 },
  217. { field: 'currentStepName', title: '当前节点', width: 120 },
  218. { field: 'acceptType', title: '受理类型', width: 110 },
  219. { field: 'actualStepAcceptText', title: '受理情况', width: 100 },
  220. {
  221. field: 'expiredTime',
  222. title: '期满时间',
  223. width: 160,
  224. sortable: true,
  225. formatter: 'formatDate',
  226. },
  227. {
  228. field: 'filedTime',
  229. title: '办结时间',
  230. width: 160,
  231. sortable: true,
  232. formatter: 'formatDate',
  233. },
  234. { field: 'orgLevelOneName', title: '一级部门', width: 140 },
  235. { field: 'orgLevelTwoName', title: '二级部门', width: 140 },
  236. { field: 'actualHandleOrgName', title: '接办部门', width: 140 },
  237. { field: 'reTransactNum', title: '重办次数', width: 90 },
  238. { field: 'isSecretText', title: '是否保密', width: 100 },
  239. { field: 'counterSignTypeText', title: '是否会签', width: 110 },
  240. { field: 'orderTag', title: '工单标签', width: 140 },
  241. { field: 'allDurationHour', title: '办理时长(小时)', width: 150 },
  242. { field: 'hotspotSpliceName', title: '热点全称', width: 150 },
  243. { field: 'hotspotName', title: '热点分类', width: 150 },
  244. { field: 'sensitiveText', title: '敏感词', width: 150 },
  245. { field: 'content', title: '受理内容', width: 200, visible: false },
  246. { field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
  247. { field: 'seatEvaluateTxt', title: '坐席满意度', width: 150 },
  248. { field: 'orgEvaluateValue', title: '部门满意度', width: 150 },
  249. { title: '操作', width: 140, fixed: 'right', align: 'center', slots: { default: 'action' } },
  250. ];