tableHeader.tsx 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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: 'expiredTime',
  47. title: '期满时间',
  48. width: 160,
  49. sortable: true,
  50. formatter: 'formatDate',
  51. },
  52. { field: 'actualHandleOrgName', title: '接办部门', width: 140 },
  53. /*{
  54. field: 'currentStepAcceptTime',
  55. title: '接办时间',
  56. width: 160,
  57. sortable: true,
  58. formatter: 'formatDate',
  59. },*/
  60. {
  61. field: 'creationTime',
  62. title: '受理时间',
  63. width: 160,
  64. sortable: true,
  65. formatter: 'formatDate',
  66. },
  67. {
  68. field: 'filedTime',
  69. title: '办结时间',
  70. width: 160,
  71. sortable: true,
  72. formatter: 'formatDate',
  73. },
  74. { field: 'orgLevelOneName', 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: 80, 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: 'expiredTime',
  131. title: '期满时间',
  132. width: 160,
  133. sortable: true,
  134. formatter: 'formatDate',
  135. },
  136. { field: 'actualHandleOrgName', title: '接办部门', width: 140 },
  137. {
  138. field: 'currentStepAcceptTime',
  139. title: '接办时间',
  140. width: 160,
  141. sortable: true,
  142. formatter: 'formatDate',
  143. },
  144. {
  145. field: 'creationTime',
  146. title: '受理时间',
  147. width: 160,
  148. sortable: true,
  149. formatter: 'formatDate',
  150. },
  151. {
  152. field: 'filedTime',
  153. title: '办结时间',
  154. width: 160,
  155. sortable: true,
  156. formatter: 'formatDate',
  157. },
  158. { field: 'orgLevelOneName', title: '一级部门', width: 140 },
  159. { field: 'orgLevelTwoName', title: '二级部门', width: 140 },
  160. { field: 'acceptType', title: '受理类型', width: 110 },
  161. { field: 'counterSignTypeText', title: '是否会签', width: 110 },
  162. { field: 'sourceChannel', title: '来源渠道', width: 110 },
  163. { field: 'orderTag', title: '工单标签', width: 140 },
  164. { field: 'allDurationHour', title: '办理时长(小时)', width: 150 },
  165. { field: 'hotspotSpliceName', title: '热点全称', width: 150 },
  166. { field: 'hotspotName', title: '热点分类', width: 150 },
  167. { field: 'acceptorName', title: '受理人', width: 120 },
  168. { field: 'sensitiveText', title: '敏感词', width: 150 },
  169. { field: 'content', title: '受理内容', width: 200, visible: false },
  170. { field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
  171. { field: 'seatEvaluateTxt', title: '坐席满意度', width: 150 },
  172. { field: 'orgEvaluateValue', title: '部门满意度', width: 150 },
  173. { field: 'secondaryHandlingDurationWorkdayDayText', title: '重办时长', width: 150, visible: false },
  174. { title: '操作', width: 80, fixed: 'right', align: 'center', slots: { default: 'action' } },
  175. ];
  176. export const LZTableHeader = [
  177. { type: 'checkbox', width: 50, align: 'center' },
  178. {
  179. field: 'expiredStatusText',
  180. title: '状态',
  181. width: 60,
  182. align: 'center',
  183. slots: {
  184. default: ({ row }) => {
  185. return <span class={'overdue-status-' + row.expiredStatus} title={row.expiredStatusText}></span>;
  186. },
  187. },
  188. },
  189. {
  190. field: 'statusText',
  191. title: '工单状态',
  192. width: 110,
  193. slots: {
  194. default: 'statusText',
  195. },
  196. },
  197. {
  198. field: 'isUrgentText',
  199. title: '是否紧急',
  200. width: 90,
  201. slots: {
  202. default: ({ row }) => {
  203. return <span class="color-danger font-bold">{row.isUrgentText}</span>;
  204. },
  205. },
  206. },
  207. { field: 'remainingTime', title: '剩余办理时间', width: 110 },
  208. { field: 'sourceChannel', title: '来源渠道', width: 110 },
  209. { field: 'isProvinceText', title: '省/市工单', width: 90 },
  210. { field: 'no', title: '工单编码', width: 140 },
  211. {
  212. field: 'title',
  213. title: '工单标题',
  214. minWidth: 200,
  215. slots: { default: 'order_detail' },
  216. },
  217. {
  218. field: 'expiredTime',
  219. title: '期满时间',
  220. width: 160,
  221. sortable: true,
  222. formatter: 'formatDate',
  223. },
  224. { field: 'actualHandleOrgName', title: '接办部门', width: 140 },
  225. /*{
  226. field: 'currentStepAcceptTime',
  227. title: '接办时间',
  228. width: 160,
  229. sortable: true,
  230. formatter: 'formatDate',
  231. },*/
  232. {
  233. field: 'creationTime',
  234. title: '受理时间',
  235. width: 160,
  236. sortable: true,
  237. formatter: 'formatDate',
  238. },
  239. { field: 'acceptorName', title: '受理人', width: 120 },
  240. { field: 'fromName', title: '来电人姓名', width: 120 },
  241. { field: 'contact', title: '联系电话', width: 120 },
  242. { field: 'currentStepName', title: '当前节点', width: 120 },
  243. { field: 'acceptType', title: '受理类型', width: 110 },
  244. { field: 'actualStepAcceptText', title: '受理情况', width: 100 },
  245. {
  246. field: 'filedTime',
  247. title: '办结时间',
  248. width: 160,
  249. sortable: true,
  250. formatter: 'formatDate',
  251. },
  252. { field: 'orgLevelOneName', title: '一级部门', width: 140 },
  253. { field: 'orgLevelTwoName', title: '二级部门', width: 140 },
  254. { field: 'reTransactNum', title: '重办次数', width: 90 },
  255. { field: 'isSecretText', title: '是否保密', width: 100 },
  256. { field: 'counterSignTypeText', title: '是否会签', width: 110 },
  257. { field: 'orderTag', title: '工单标签', width: 140 },
  258. { field: 'allDurationHour', title: '办理时长(小时)', width: 150 },
  259. { field: 'sensitiveText', title: '敏感词', width: 150 },
  260. { field: 'content', title: '受理内容', width: 200, visible: false },
  261. { field: 'fileOpinion', title: '承办意见', width: 200, visible: false },
  262. { field: 'seatEvaluateTxt', title: '坐席满意度', width: 150 },
  263. { field: 'orgEvaluateValue', title: '部门满意度', width: 150 },
  264. { field: 'oneHotspotName', title: '一级热点', width: 150 },
  265. { field: 'twoHotspotName', title: '二级热点', width: 150 },
  266. { field: 'threeHotspotName', title: '三级热点', width: 150 },
  267. { field: 'fourHotspotName', title: '四级热点', width: 150 },
  268. { field: 'fiveHotspotName', title: '五级热点', width: 150 },
  269. { title: '操作', width: 80, fixed: 'right', align: 'center', slots: { default: 'action' } },
  270. ];