configData.js 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*
  2. * @Author: tengmingxue 1473375109@qq.com
  3. * @Date: 2023-08-28 21:12:52
  4. * @LastEditors: tengmingxue 1473375109@qq.com
  5. * @LastEditTime: 2023-09-16 15:00:15
  6. * @FilePath: \xld-gis-admin\src\views\dataAdmin\dataAdmin\configProcess\configData.js
  7. * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  8. */
  9. export const columns = [
  10. {
  11. title: '流程业务',
  12. dataIndex: 'serviceid',
  13. },
  14. {
  15. title: '启用状态',
  16. dataIndex: 'status',
  17. slots: { customRender: 'status' },
  18. },
  19. {
  20. title: '维护人',
  21. dataIndex: 'typename',
  22. },
  23. {
  24. title: '维护时间',
  25. dataIndex: 'publisher',
  26. slots: { customRender: 'pdate' },
  27. }
  28. ];
  29. export const searchFormSchema = [
  30. {
  31. field: 'status',
  32. label: '启动状态',
  33. component: 'Select',
  34. componentProps: {
  35. options:
  36. [
  37. { label: '启用', value: 1 },
  38. { label: '停用', value: 0 },
  39. ],
  40. },
  41. colProps: { span: 6 },
  42. },
  43. {
  44. field: 'processName',
  45. label: '流程名称',
  46. component: 'Input',
  47. colProps: { span: 6 },
  48. componentProps: {
  49. maxLength: 255,
  50. },
  51. },
  52. ]
  53. // 新增表单配置
  54. export const accountFormSchema = []
  55. // 新增表单配置
  56. export const accountFormSchema2 = []
  57. /**
  58. * 业务类型
  59. */
  60. export const busType = [
  61. { value: '0', label: '地图资源上传' },
  62. { value: '1', label: '场景资源上传' },
  63. { value: '2', label: '文件资源上传' },
  64. { value: '3', label: '组件资源上传' },
  65. { value: '4', label: '地图资源申请' },
  66. { value: '5', label: '场景资源申请' },
  67. { value: '6', label: '文件资源申请' },
  68. { value: '7', label: '组件资源申请' },
  69. ]
  70. /**
  71. * 流程步骤字段
  72. */
  73. export const stepColumns = [
  74. {
  75. title: '步骤序号',
  76. dataIndex: 'xh',
  77. width: '24%',
  78. align:'center',
  79. },
  80. {
  81. title: '步骤名称',
  82. dataIndex: 'name',
  83. width: '56%',
  84. align:'center',
  85. },
  86. {
  87. title: '操作',
  88. dataIndex: 'operation',
  89. width: '20%',
  90. align:'center',
  91. slots: { customRender: 'operation' },
  92. },
  93. ];