activiti.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /*
  2. * Copyright (c) 2018-2025, lengleng All rights reserved.
  3. *
  4. * Redistribution and use in source and binary forms, with or without
  5. * modification, are permitted provided that the following conditions are met:
  6. *
  7. * Redistributions of source code must retain the above copyright notice,
  8. * this list of conditions and the following disclaimer.
  9. * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * Neither the name of the pig4cloud.com developer nor the names of its
  13. * contributors may be used to endorse or promote products derived from
  14. * this software without specific prior written permission.
  15. * Author: lengleng (wangiegie@gmail.com)
  16. */
  17. export const tableOption = {
  18. border: true,
  19. index: true,
  20. indexLabel: '序号',
  21. stripe: true,
  22. menuAlign: 'center',
  23. menuWidth: 150,
  24. menuBtn: true,
  25. align: 'center',
  26. editBtn: false,
  27. delBtn: false,
  28. searchShow: false,
  29. labelWidth: 120,
  30. column: [{
  31. fixed: true,
  32. label: '模型ID',
  33. prop: 'id',
  34. editDisabled: true,
  35. addVisdiplay: false
  36. }, {
  37. fixed: true,
  38. label: '模型标识',
  39. prop: 'key',
  40. editDisabled: true
  41. }, {
  42. label: '流程分类',
  43. prop: 'category',
  44. search: true
  45. }, {
  46. label: '模型名称',
  47. prop: 'name'
  48. }, {
  49. label: '版本号',
  50. prop: 'version',
  51. editDisabled: true,
  52. addVisdiplay: false
  53. }, {
  54. width: 150,
  55. label: '创建时间',
  56. prop: 'createTime',
  57. type: 'datetime',
  58. format: 'yyyy-MM-dd HH:mm',
  59. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  60. editDisabled: true,
  61. addVisdiplay: false
  62. }, {
  63. width: 150,
  64. label: '最后更新时间',
  65. prop: 'lastUpdateTime',
  66. type: 'datetime',
  67. format: 'yyyy-MM-dd HH:mm',
  68. valueFormat: 'yyyy-MM-dd HH:mm:ss',
  69. editDisabled: true,
  70. addVisdiplay: false
  71. }, {
  72. label: '备注',
  73. prop: 'desc',
  74. editVisdiplay: false,
  75. hide: true
  76. }]
  77. }