EduProcess.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. export const EduProcess = {
  2. "className": "EduProcess",
  3. "fields": {
  4. "eduCollection": { //指向报送合集
  5. "type": "Pointer",
  6. "targetClass": "EduCollection",
  7. "required": false
  8. },
  9. "branch": { //类别
  10. "type": "Pointer",
  11. "targetClass": "Department",
  12. "required": false
  13. },
  14. "department": { //部门/单位
  15. "type": "Pointer",
  16. "targetClass": "Department",
  17. "required": false
  18. },
  19. // "profileSubmitteds": {//流程管理员
  20. // "type": "Array",
  21. // "required": false
  22. // },
  23. "profileSubmitted": {//流程管理员
  24. "type": "Pointer",
  25. "targetClass":"Profile",
  26. "required": false
  27. },
  28. "name": {//流程名称
  29. "type": "String",
  30. "required": false
  31. },
  32. "num": {//报送名额
  33. "type": "Number",
  34. "required": false
  35. },
  36. "code": {//流程唯一标识
  37. "type": "String",
  38. "required": false
  39. },
  40. "startDate": {//开始时间
  41. "type": "Date",
  42. "required": false
  43. },
  44. "deadline": {//截止时间
  45. "type": "Date",
  46. "required": false
  47. },
  48. /**@状态
  49. * 100:暂停
  50. * 200:已开始
  51. * 201:评审中
  52. * 300:已公示
  53. * 400:已提交(完成)
  54. */
  55. "status": {
  56. "type": "String",
  57. "required": false
  58. },
  59. "releaseDate": {//公示时间
  60. "type": "Date",
  61. "required": false
  62. },
  63. },
  64. "classLevelPermissions": {
  65. "find": {
  66. "*": true
  67. },
  68. "get": {
  69. "*": true
  70. },
  71. "count": {
  72. "*": true
  73. },
  74. "create": {
  75. "*": true
  76. },
  77. "update": {
  78. "*": true
  79. },
  80. "delete": {
  81. "*": true
  82. },
  83. "addField": {
  84. "*": true
  85. },
  86. "protectedFields": {
  87. "*": []
  88. }
  89. }
  90. }
  91. module.exports.EduProcess = EduProcess