EduTextbook.js 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304
  1. export const EduTextbook = {
  2. "className": "EduTextbook",
  3. "fields": {
  4. "status": {
  5. /*状态
  6. 101:待完善资料
  7. 102:可提交状态
  8. 103:已提交至高校管理员
  9. 200:已提交遴选中
  10. 201:公示中
  11. 300:退回
  12. 400:已报送
  13. */
  14. "type": "String",
  15. "required": false
  16. },
  17. "childrens":{//指向所有分册
  18. "type": "String",
  19. "required": false
  20. },
  21. "user": {
  22. "type": "Pointer",
  23. "targetClass":"_User",
  24. "required": false
  25. },
  26. "department": { //所属流程
  27. "type": "Pointer",
  28. "targetClass":"Department",
  29. "required": false
  30. },
  31. "render": { //是否提交
  32. "type": "Boolean",
  33. "required": false
  34. },
  35. "recommend": { //是否推荐
  36. "type": "Boolean",
  37. "required": false
  38. },
  39. "complete": { //是否填写完整
  40. "type": "Boolean",
  41. "required": false
  42. },
  43. "isDeleted": {
  44. "type": "Boolean",
  45. "required": false
  46. },
  47. "discard": { //删除至回收站
  48. "type": "Boolean",
  49. "required": false
  50. },
  51. "title": {
  52. "type": "String",
  53. "required": false
  54. },
  55. "ISBN": {
  56. "type": "String",
  57. "required": false
  58. },
  59. "author": {
  60. "type": "String",
  61. "required": false
  62. },
  63. "unit": {
  64. "type": "String",
  65. "required": false
  66. },
  67. "type": {
  68. "type": "String",
  69. "required": false
  70. },
  71. "typeNumber": {//全册次数
  72. "type": "Number",
  73. "required": false
  74. },
  75. "majorPoniter": {
  76. "type": "String",
  77. "required": false
  78. },
  79. "lang": {
  80. "type": "String",
  81. "required": false
  82. },
  83. "authors": {
  84. "type": "String",
  85. "required": false
  86. },
  87. "editor": {
  88. "type": "String",
  89. "required": false
  90. },
  91. // "approval": {//是否为重点立项教材
  92. // "type": "Boolean",
  93. // "required": false
  94. // },
  95. "approval": {//是否为重点立项教材
  96. "type": "String",
  97. "required": false
  98. },
  99. "edition": {
  100. "type": "String",
  101. "required": false
  102. },
  103. "editionFirst": {
  104. "type": "Date",
  105. "required": false
  106. },
  107. "carrierShape": {
  108. "type": "String",
  109. "required": false
  110. },
  111. "editionDate": {
  112. "type": "Date",
  113. "required": false
  114. },
  115. "editionNumber": {//出版版次
  116. "type": "Number",
  117. "required": false
  118. },
  119. "printDate": {
  120. "type": "Date",
  121. "required": false
  122. },
  123. "printNumber": {
  124. "type": "Number",
  125. "required": false
  126. },
  127. "printSum": {
  128. "type": "Number",
  129. "required": false
  130. },
  131. "importantProject": {//重点项目
  132. "type": "Array",
  133. "required": false
  134. },
  135. "importantProjectOther": {//重点项目-其他
  136. "type": "String",
  137. "required": false
  138. },
  139. "copyright": {
  140. "type": "Array",
  141. "required": false
  142. },
  143. "CIP": {
  144. "type": "Array",
  145. "required": false
  146. },
  147. // "major": {
  148. // "type": "Object",
  149. // "required": false
  150. // },
  151. 'majors':{//适用专业代码(六位)及名称
  152. "type":'Number',
  153. "required": false
  154. },
  155. "period": {
  156. "type": "Number",
  157. "required": false
  158. },
  159. "lessons": {
  160. "type": "Array",
  161. "required": false
  162. },
  163. "characteristic": {
  164. "type": "Array",
  165. "required": false
  166. },
  167. "authorList": {
  168. "type": "Array",
  169. "required": false
  170. },
  171. "authorDetails": {
  172. "type": "String",
  173. "required": false
  174. },
  175. "achievementOptions": {
  176. "type": "Array",
  177. "required": false
  178. },
  179. "courses": {
  180. "type": "Array",
  181. "required": false
  182. },
  183. "innovateExplain": {
  184. "type": "String",
  185. "required": false
  186. },
  187. "influence": {
  188. "type": "String",
  189. "required": false
  190. },
  191. "textbookFiles": {
  192. "type": "Array",
  193. "required": false
  194. },
  195. "links": {
  196. "type": "Array",
  197. "required": false
  198. },
  199. "opinions": {
  200. "type": "Array",
  201. "required": false
  202. },
  203. "selfResults": {
  204. "type": "Object",
  205. "required": false
  206. },
  207. "expertOpinion": {
  208. "type": "Object",
  209. "required": false
  210. },
  211. "evidence": {
  212. "type": "Object",
  213. "required": false
  214. },
  215. "moreMaterial": {
  216. "type": "Array",
  217. "required": false
  218. },
  219. "authorSign": {
  220. "type": "Array",
  221. "required": false
  222. },
  223. "unitMaterial": {
  224. "type": "Object",
  225. "required": false
  226. },
  227. "accept": {//填写承诺书
  228. "type": "String",
  229. "required": false
  230. },
  231. "approvedImgUrl":{//重点立项教材获批截图
  232. "type":'String',
  233. "required": false
  234. },
  235. "eduProcess": {//所属流程
  236. "type": "Pointer",
  237. "targetClass":"EduProcess",
  238. "required": false
  239. },
  240. "code":{//编号
  241. "type":'String',
  242. "required": false
  243. },
  244. 'editionUnit':{
  245. "type":'String',
  246. "required": false
  247. },
  248. 'copyrightImgUrl':{
  249. "type":'String',
  250. "required": false
  251. },
  252. 'CIPImgurl':{
  253. "type":'String',
  254. "required": false
  255. },
  256. 'examine':{//作者政治审核表
  257. "type":'Array',
  258. "required": false
  259. },
  260. 'cipProveFile':{//cip相关截图
  261. "type":'Array',
  262. "required": false
  263. },
  264. 'inviteUnit':{//推荐单位
  265. "type":'Array',
  266. "required": false
  267. },
  268. 'unitType':{//推荐单位类型
  269. "type":'Array',
  270. "required": false
  271. },
  272. 'score':{//平均分
  273. "type":'Number',
  274. "required": false
  275. },
  276. },
  277. "classLevelPermissions": {
  278. "find": {
  279. "*": true
  280. },
  281. "get": {
  282. "*": true
  283. },
  284. "count": {
  285. "*": true
  286. },
  287. "create": {
  288. "*": true
  289. },
  290. "update": {
  291. "*": true
  292. },
  293. "delete": {
  294. "*": true
  295. },
  296. "addField": {
  297. "*": true
  298. },
  299. "protectedFields": {
  300. "*": []
  301. }
  302. }
  303. }
  304. module.exports.EduTextbook = EduTextbook