rails_org 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (484) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +30 -0
  3. data/Rakefile +20 -0
  4. data/app/controllers/me/base_controller.rb +4 -0
  5. data/app/controllers/me/home_controller.rb +9 -0
  6. data/app/controllers/me_controller.rb +4 -0
  7. data/app/controllers/org/admin/authorized_tokens_controller.rb +48 -0
  8. data/app/controllers/org/admin/base_controller.rb +4 -0
  9. data/app/controllers/org/admin/current_organ_controller.rb +43 -0
  10. data/app/controllers/org/admin/department_grants_controller.rb +44 -0
  11. data/app/controllers/org/admin/departments_controller.rb +92 -0
  12. data/app/controllers/org/admin/home_controller.rb +8 -0
  13. data/app/controllers/org/admin/job_descriptions_controller.rb +49 -0
  14. data/app/controllers/org/admin/job_titles_controller.rb +69 -0
  15. data/app/controllers/org/admin/job_transfers_controller.rb +88 -0
  16. data/app/controllers/org/admin/member_departments_controller.rb +82 -0
  17. data/app/controllers/org/admin/members_controller.rb +129 -0
  18. data/app/controllers/org/admin/organ_domains_controller.rb +61 -0
  19. data/app/controllers/org/admin/organs_controller.rb +57 -0
  20. data/app/controllers/org/admin/resign_reasons_controller.rb +19 -0
  21. data/app/controllers/org/admin/resigns_controller.rb +103 -0
  22. data/app/controllers/org/admin/super_job_titles_controller.rb +70 -0
  23. data/app/controllers/org/admin/supports_controller.rb +93 -0
  24. data/app/controllers/org/admin/tutorials_controller.rb +74 -0
  25. data/app/controllers/org/base_controller.rb +4 -0
  26. data/app/controllers/org/board/base_controller.rb +4 -0
  27. data/app/controllers/org/board/members_controller.rb +61 -0
  28. data/app/controllers/org/board/organs_controller.rb +78 -0
  29. data/app/controllers/org/controller/application.rb +84 -0
  30. data/app/controllers/org/controller/me.rb +25 -0
  31. data/app/controllers/org/controller/our.rb +12 -0
  32. data/app/controllers/org/layout/me.rb +16 -0
  33. data/app/controllers/org/layout/panel.rb +16 -0
  34. data/app/controllers/org/me/base_controller.rb +4 -0
  35. data/app/controllers/org/me/departments_controller.rb +78 -0
  36. data/app/controllers/org/me/job_transfers_controller.rb +62 -0
  37. data/app/controllers/org/me/members_controller.rb +37 -0
  38. data/app/controllers/org/me/orders_controller.rb +66 -0
  39. data/app/controllers/org/me/resigns_controller.rb +53 -0
  40. data/app/controllers/org/me/tutorials_controller.rb +76 -0
  41. data/app/controllers/org/members_controller.rb +48 -0
  42. data/app/controllers/org/organs_controller.rb +30 -0
  43. data/app/controllers/org/panel/base_controller.rb +4 -0
  44. data/app/controllers/org/panel/organ_domains_controller.rb +5 -0
  45. data/app/controllers/org/panel/organs_controller.rb +40 -0
  46. data/app/mailers/org/attendance_mailer.rb +17 -0
  47. data/app/mailers/org/exam_mailer.rb +26 -0
  48. data/app/mailers/org/lesson_mailer.rb +15 -0
  49. data/app/mailers/org/lesson_member_mailer.rb +25 -0
  50. data/app/models/org/account.rb +8 -0
  51. data/app/models/org/application_record.rb +5 -0
  52. data/app/models/org/department.rb +6 -0
  53. data/app/models/org/department_grant.rb +5 -0
  54. data/app/models/org/department_hierarchy.rb +5 -0
  55. data/app/models/org/job_description.rb +5 -0
  56. data/app/models/org/job_title.rb +6 -0
  57. data/app/models/org/job_transfer.rb +5 -0
  58. data/app/models/org/member.rb +7 -0
  59. data/app/models/org/member_department.rb +6 -0
  60. data/app/models/org/model/account.rb +11 -0
  61. data/app/models/org/model/department.rb +67 -0
  62. data/app/models/org/model/department_grant.rb +13 -0
  63. data/app/models/org/model/department_hierarchy.rb +10 -0
  64. data/app/models/org/model/job_description.rb +18 -0
  65. data/app/models/org/model/job_title.rb +54 -0
  66. data/app/models/org/model/job_transfer.rb +108 -0
  67. data/app/models/org/model/member.rb +142 -0
  68. data/app/models/org/model/member_department.rb +66 -0
  69. data/app/models/org/model/organ.rb +62 -0
  70. data/app/models/org/model/organ_domain.rb +44 -0
  71. data/app/models/org/model/organ_handle.rb +15 -0
  72. data/app/models/org/model/resign.rb +66 -0
  73. data/app/models/org/model/resign_reason.rb +17 -0
  74. data/app/models/org/model/resign_reference.rb +11 -0
  75. data/app/models/org/model/super_job_title.rb +25 -0
  76. data/app/models/org/model/support.rb +19 -0
  77. data/app/models/org/model/tutorial.rb +64 -0
  78. data/app/models/org/model/user.rb +30 -0
  79. data/app/models/org/organ.rb +7 -0
  80. data/app/models/org/organ_domain.rb +5 -0
  81. data/app/models/org/organ_handle.rb +5 -0
  82. data/app/models/org/resign.rb +5 -0
  83. data/app/models/org/resign_reason.rb +5 -0
  84. data/app/models/org/resign_reference.rb +5 -0
  85. data/app/models/org/super_job_title.rb +6 -0
  86. data/app/models/org/support.rb +5 -0
  87. data/app/models/org/tutorial.rb +5 -0
  88. data/app/models/org.rb +11 -0
  89. data/app/views/admin/_department_navbar.html.erb +6 -0
  90. data/app/views/admin/_nav_show.erb +17 -0
  91. data/app/views/admin/_nav_with_login.html.erb +37 -0
  92. data/app/views/admin/_org_nav.html.erb +16 -0
  93. data/app/views/admin/_right_menu.html.erb +17 -0
  94. data/app/views/application/_org_navbar.html.erb +19 -0
  95. data/app/views/application/require_member.html.erb +4 -0
  96. data/app/views/application/require_member.js.erb +2 -0
  97. data/app/views/application/require_member.json.jbuilder +1 -0
  98. data/app/views/application/require_organ.html.erb +4 -0
  99. data/app/views/application/require_organ.js.erb +2 -0
  100. data/app/views/application/require_organ.json.jbuilder +1 -0
  101. data/app/views/layouts/me.html+phone.erb +12 -0
  102. data/app/views/layouts/me.html.erb +17 -0
  103. data/app/views/me/_nav_with_login.html.erb +3 -0
  104. data/app/views/me/_org_nav.html.erb +13 -0
  105. data/app/views/me/_right_menu.html.erb +23 -0
  106. data/app/views/me/home/index.html.erb +17 -0
  107. data/app/views/me/update.turbo_stream.erb +3 -0
  108. data/app/views/org/admin/authorized_tokens/_breadcrumb.html.erb +6 -0
  109. data/app/views/org/admin/authorized_tokens/_button.html.erb +0 -0
  110. data/app/views/org/admin/authorized_tokens/_edit_form.html.erb +4 -0
  111. data/app/views/org/admin/authorized_tokens/_filter_form.html.erb +9 -0
  112. data/app/views/org/admin/authorized_tokens/_form.html.erb +4 -0
  113. data/app/views/org/admin/authorized_tokens/_index_tbody.html.erb +18 -0
  114. data/app/views/org/admin/authorized_tokens/_index_thead.html.erb +6 -0
  115. data/app/views/org/admin/authorized_tokens/_new_form.html.erb +4 -0
  116. data/app/views/org/admin/authorized_tokens/_show_table.html.erb +20 -0
  117. data/app/views/org/admin/authorized_tokens/index.html.erb +3 -0
  118. data/app/views/org/admin/base/_nav.html.erb +3 -0
  119. data/app/views/org/admin/current_organ/_edit_form.html.erb +11 -0
  120. data/app/views/org/admin/current_organ/_edit_x_form.html.erb +5 -0
  121. data/app/views/org/admin/current_organ/_show_table.html.erb +16 -0
  122. data/app/views/org/admin/current_organ/show.html.erb +1 -0
  123. data/app/views/org/admin/department_grants/_add.html.erb +3 -0
  124. data/app/views/org/admin/department_grants/_index.html.erb +29 -0
  125. data/app/views/org/admin/department_grants/_new.html.erb +6 -0
  126. data/app/views/org/admin/department_grants/index.js.erb +7 -0
  127. data/app/views/org/admin/departments/_department.json.jbuilder +6 -0
  128. data/app/views/org/admin/departments/_department_form.html.erb +8 -0
  129. data/app/views/org/admin/departments/_department_support.html.erb +26 -0
  130. data/app/views/org/admin/departments/_edit_form.html.erb +4 -0
  131. data/app/views/org/admin/departments/_filter_form.html.erb +9 -0
  132. data/app/views/org/admin/departments/_filter_table.html.erb +11 -0
  133. data/app/views/org/admin/departments/_form.html.erb +23 -0
  134. data/app/views/org/admin/departments/_index_tbody.html.erb +29 -0
  135. data/app/views/org/admin/departments/_index_thead.html.erb +14 -0
  136. data/app/views/org/admin/departments/_index_tr.html.erb +23 -0
  137. data/app/views/org/admin/departments/_member.html.erb +28 -0
  138. data/app/views/org/admin/departments/_menu.html.erb +12 -0
  139. data/app/views/org/admin/departments/_new_form.html.erb +4 -0
  140. data/app/views/org/admin/departments/_show/_breadcrumb.html.erb +9 -0
  141. data/app/views/org/admin/departments/_show/_thead.html.erb +9 -0
  142. data/app/views/org/admin/departments/_show.json.jbuilder +1 -0
  143. data/app/views/org/admin/departments/index.html.erb +14 -0
  144. data/app/views/org/admin/departments/index.json.jbuilder +1 -0
  145. data/app/views/org/admin/departments/need.html.erb +12 -0
  146. data/app/views/org/admin/departments/show.html.erb +25 -0
  147. data/app/views/org/admin/departments/supports.html.erb +28 -0
  148. data/app/views/org/admin/home/index.html.erb +0 -0
  149. data/app/views/org/admin/job_descriptions/_edit_form.html.erb +4 -0
  150. data/app/views/org/admin/job_descriptions/_filter_form.html.erb +7 -0
  151. data/app/views/org/admin/job_descriptions/_form.html.erb +8 -0
  152. data/app/views/org/admin/job_descriptions/_index_tbody.html.erb +7 -0
  153. data/app/views/org/admin/job_descriptions/_index_thead.html.erb +8 -0
  154. data/app/views/org/admin/job_descriptions/_new_form.html.erb +4 -0
  155. data/app/views/org/admin/job_titles/_breadcrumb.html.erb +7 -0
  156. data/app/views/org/admin/job_titles/_edit_form.html.erb +4 -0
  157. data/app/views/org/admin/job_titles/_form.html.erb +3 -0
  158. data/app/views/org/admin/job_titles/_index_thead.html.erb +9 -0
  159. data/app/views/org/admin/job_titles/_job_titles.html.erb +49 -0
  160. data/app/views/org/admin/job_titles/_new_form.html.erb +4 -0
  161. data/app/views/org/admin/job_titles/_show_table.html.erb +12 -0
  162. data/app/views/org/admin/job_titles/_super_job_titles.html.erb +14 -0
  163. data/app/views/org/admin/job_titles/create_department.turbo_stream.erb +3 -0
  164. data/app/views/org/admin/job_titles/index.html.erb +4 -0
  165. data/app/views/org/admin/job_transfers/_edit_form.html.erb +4 -0
  166. data/app/views/org/admin/job_transfers/_filter_table.html.erb +11 -0
  167. data/app/views/org/admin/job_transfers/_form.html.erb +7 -0
  168. data/app/views/org/admin/job_transfers/_index_thead.html.erb +6 -0
  169. data/app/views/org/admin/job_transfers/_list.html.erb +29 -0
  170. data/app/views/org/admin/job_transfers/_new_form.html.erb +4 -0
  171. data/app/views/org/admin/job_transfers/index.html.erb +3 -0
  172. data/app/views/org/admin/job_transfers/my.html.erb +7 -0
  173. data/app/views/org/admin/job_transfers/show.html.erb +54 -0
  174. data/app/views/org/admin/member_departments/_edit_form.html.erb +3 -0
  175. data/app/views/org/admin/member_departments/_filter_form.html.erb +8 -0
  176. data/app/views/org/admin/member_departments/_form.html.erb +4 -0
  177. data/app/views/org/admin/member_departments/_job_title_options.html.erb +10 -0
  178. data/app/views/org/admin/member_departments/_new_form.html.erb +3 -0
  179. data/app/views/org/admin/member_departments/_organ_options.html.erb +1 -0
  180. data/app/views/org/admin/member_departments/_show_table.html.erb +20 -0
  181. data/app/views/org/admin/member_departments/_super_job_title_options.html.erb +10 -0
  182. data/app/views/org/admin/member_departments/index.html.erb +38 -0
  183. data/app/views/org/admin/member_departments/options.js.erb +4 -0
  184. data/app/views/org/admin/member_departments/show.html.erb +7 -0
  185. data/app/views/org/admin/members/_button.html.erb +6 -0
  186. data/app/views/org/admin/members/_edit/_breadcrumb.html.erb +12 -0
  187. data/app/views/org/admin/members/_edit_form.html.erb +4 -0
  188. data/app/views/org/admin/members/_edit_table.html.erb +3 -0
  189. data/app/views/org/admin/members/_filter_form.html.erb +10 -0
  190. data/app/views/org/admin/members/_filter_table.html.erb +9 -0
  191. data/app/views/org/admin/members/_form.html.erb +9 -0
  192. data/app/views/org/admin/members/_index_tbody.html.erb +24 -0
  193. data/app/views/org/admin/members/_index_thead.html.erb +7 -0
  194. data/app/views/org/admin/members/_index_tr.html.erb +22 -0
  195. data/app/views/org/admin/members/_item_field.html.erb +3 -0
  196. data/app/views/org/admin/members/_item_form.html.erb +27 -0
  197. data/app/views/org/admin/members/_member.json.jbuilder +5 -0
  198. data/app/views/org/admin/members/_menu.html.erb +11 -0
  199. data/app/views/org/admin/members/_new/_breadcrumb.html.erb +6 -0
  200. data/app/views/org/admin/members/_new_form.html.erb +4 -0
  201. data/app/views/org/admin/members/_outer_options.html.erb +4 -0
  202. data/app/views/org/admin/members/_profile/_show_table.html.erb +38 -0
  203. data/app/views/org/admin/members/_profile_form.html.erb +17 -0
  204. data/app/views/org/admin/members/_show/_breadcrumb.html.erb +6 -0
  205. data/app/views/org/admin/members/_show.json.jbuilder +1 -0
  206. data/app/views/org/admin/members/_show_table.html.erb +54 -0
  207. data/app/views/org/admin/members/edit_profile.html.erb +1 -0
  208. data/app/views/org/admin/members/index.html.erb +5 -0
  209. data/app/views/org/admin/members/index.json.jbuilder +1 -0
  210. data/app/views/org/admin/members/options.turbo_stream.erb +7 -0
  211. data/app/views/org/admin/members/profile.html.erb +16 -0
  212. data/app/views/org/admin/members/super_options.js.erb +15 -0
  213. data/app/views/org/admin/organ_domains/_breadcrumb.html.erb +6 -0
  214. data/app/views/org/admin/organ_domains/_edit_form.html.erb +4 -0
  215. data/app/views/org/admin/organ_domains/_filter_form.html.erb +9 -0
  216. data/app/views/org/admin/organ_domains/_form.html.erb +5 -0
  217. data/app/views/org/admin/organ_domains/_index_tbody.html.erb +12 -0
  218. data/app/views/org/admin/organ_domains/_index_thead.html.erb +8 -0
  219. data/app/views/org/admin/organ_domains/_new_form.html.erb +4 -0
  220. data/app/views/org/admin/organ_domains/_show_table.html.erb +20 -0
  221. data/app/views/org/admin/organ_domains/index.html.erb +5 -0
  222. data/app/views/org/admin/organs/_edit_form.html.erb +6 -0
  223. data/app/views/org/admin/organs/_filter_form.html.erb +9 -0
  224. data/app/views/org/admin/organs/_form.html.erb +6 -0
  225. data/app/views/org/admin/organs/_index_tbody.html.erb +17 -0
  226. data/app/views/org/admin/organs/_index_thead.html.erb +9 -0
  227. data/app/views/org/admin/organs/_index_tr.html.erb +22 -0
  228. data/app/views/org/admin/organs/_new_form.html.erb +8 -0
  229. data/app/views/org/admin/organs/_organ.json.jbuilder +7 -0
  230. data/app/views/org/admin/organs/_show.json.jbuilder +1 -0
  231. data/app/views/org/admin/organs/_show_table.html.erb +16 -0
  232. data/app/views/org/admin/organs/index.html.erb +4 -0
  233. data/app/views/org/admin/organs/index.json.jbuilder +1 -0
  234. data/app/views/org/admin/organs/show.json.jbuilder +1 -0
  235. data/app/views/org/admin/resign_reasons/_edit_form.html.erb +4 -0
  236. data/app/views/org/admin/resign_reasons/_filter_form.html.erb +7 -0
  237. data/app/views/org/admin/resign_reasons/_form.html.erb +3 -0
  238. data/app/views/org/admin/resign_reasons/_new_form.html.erb +4 -0
  239. data/app/views/org/admin/resign_reasons/_resign_reason.html.erb +13 -0
  240. data/app/views/org/admin/resign_reasons/index.html.erb +30 -0
  241. data/app/views/org/admin/resigns/_edit_form.html.erb +4 -0
  242. data/app/views/org/admin/resigns/_form.html.erb +6 -0
  243. data/app/views/org/admin/resigns/_index_tbody.html.erb +23 -0
  244. data/app/views/org/admin/resigns/_index_thead.html.erb +6 -0
  245. data/app/views/org/admin/resigns/_new_form.html.erb +4 -0
  246. data/app/views/org/admin/resigns/_search_chart1_form.html.erb +9 -0
  247. data/app/views/org/admin/resigns/_search_chart2_form.html.erb +8 -0
  248. data/app/views/org/admin/resigns/_search_form.html.erb +8 -0
  249. data/app/views/org/admin/resigns/charts.html.erb +19 -0
  250. data/app/views/org/admin/resigns/index.html.erb +1 -0
  251. data/app/views/org/admin/resigns/my.html.erb +1 -0
  252. data/app/views/org/admin/resigns/show.html.erb +47 -0
  253. data/app/views/org/admin/super_job_titles/_breadcrumb.html.erb +6 -0
  254. data/app/views/org/admin/super_job_titles/_edit_form.html.erb +4 -0
  255. data/app/views/org/admin/super_job_titles/_filter_form.html.erb +9 -0
  256. data/app/views/org/admin/super_job_titles/_form.html.erb +3 -0
  257. data/app/views/org/admin/super_job_titles/_index_tbody.html.erb +13 -0
  258. data/app/views/org/admin/super_job_titles/_index_thead.html.erb +6 -0
  259. data/app/views/org/admin/super_job_titles/_new_form.html.erb +4 -0
  260. data/app/views/org/admin/super_job_titles/_show_table.html.erb +12 -0
  261. data/app/views/org/admin/super_job_titles/index.html.erb +5 -0
  262. data/app/views/org/admin/supports/_edit_form.html.erb +4 -0
  263. data/app/views/org/admin/supports/_filter_form.html.erb +8 -0
  264. data/app/views/org/admin/supports/_form.html.erb +6 -0
  265. data/app/views/org/admin/supports/_index_tbody.html.erb +5 -0
  266. data/app/views/org/admin/supports/_index_thead.html.erb +6 -0
  267. data/app/views/org/admin/supports/_new_form.html.erb +4 -0
  268. data/app/views/org/admin/supports/index.html.erb +5 -0
  269. data/app/views/org/admin/tutorials/_edit_form.html.erb +4 -0
  270. data/app/views/org/admin/tutorials/_filter_form.html.erb +9 -0
  271. data/app/views/org/admin/tutorials/_form.html.erb +5 -0
  272. data/app/views/org/admin/tutorials/_index_tbody.html.erb +19 -0
  273. data/app/views/org/admin/tutorials/_index_thead.html.erb +15 -0
  274. data/app/views/org/admin/tutorials/_new_form.html.erb +8 -0
  275. data/app/views/org/admin/tutorials/index.html.erb +5 -0
  276. data/app/views/org/admin/tutorials/my.html.erb +5 -0
  277. data/app/views/org/board/base/_nav.html.erb +4 -0
  278. data/app/views/org/board/members/_form.html+phone.erb +29 -0
  279. data/app/views/org/board/members/_form.html.erb +4 -0
  280. data/app/views/org/board/members/_member.json.jbuilder +11 -0
  281. data/app/views/org/board/members/_new_form.html+phone.erb +4 -0
  282. data/app/views/org/board/members/_new_form.html.erb +4 -0
  283. data/app/views/org/board/members/index.html+phone.erb +40 -0
  284. data/app/views/org/board/members/index.html.erb +28 -0
  285. data/app/views/org/board/members/index.json.jbuilder +1 -0
  286. data/app/views/org/board/members/login.json.jbuilder +1 -0
  287. data/app/views/org/board/organs/_form.html.erb +4 -0
  288. data/app/views/org/board/organs/_new_form.html.erb +4 -0
  289. data/app/views/org/board/organs/create.turbo_stream.erb +3 -0
  290. data/app/views/org/board/organs/index.html+phone.erb +9 -0
  291. data/app/views/org/board/organs/index.html.erb +41 -0
  292. data/app/views/org/board/organs/showx.html.erb +1 -0
  293. data/app/views/org/me/base/_nav.html.erb +3 -0
  294. data/app/views/org/me/departments/_breadcrumb.html.erb +5 -0
  295. data/app/views/org/me/departments/_department.html.erb +31 -0
  296. data/app/views/org/me/departments/_filter_form.html.erb +9 -0
  297. data/app/views/org/me/departments/_index_thead.html.erb +5 -0
  298. data/app/views/org/me/departments/_index_tr.html.erb +10 -0
  299. data/app/views/org/me/departments/_member.html.erb +11 -0
  300. data/app/views/org/me/departments/_nav_show.erb +16 -0
  301. data/app/views/org/me/departments/index.html.erb +11 -0
  302. data/app/views/org/me/departments/index2.html.erb +46 -0
  303. data/app/views/org/me/home/index.html.erb +8 -0
  304. data/app/views/org/me/job_transfers/_form.html.erb +8 -0
  305. data/app/views/org/me/job_transfers/_index_tbody.html.erb +7 -0
  306. data/app/views/org/me/job_transfers/_index_thead.html.erb +6 -0
  307. data/app/views/org/me/job_transfers/_tabs.html.erb +9 -0
  308. data/app/views/org/me/job_transfers/index.html.erb +25 -0
  309. data/app/views/org/me/members/_badges.html.erb +13 -0
  310. data/app/views/org/me/members/_edit.html+phone.erb +10 -0
  311. data/app/views/org/me/members/_edit_form.html.erb +6 -0
  312. data/app/views/org/me/members/_member.json.jbuilder +6 -0
  313. data/app/views/org/me/members/_show.json.jbuilder +1 -0
  314. data/app/views/org/me/members/_show_table.html.erb +24 -0
  315. data/app/views/org/me/members/index.json.jbuilder +1 -0
  316. data/app/views/org/me/members/show.json.jbuilder +1 -0
  317. data/app/views/org/me/orders/_search_form.html.erb +7 -0
  318. data/app/views/org/me/orders/dinners.html.erb +32 -0
  319. data/app/views/org/me/orders/new.html.erb +5 -0
  320. data/app/views/org/me/orders/show.html.erb +0 -0
  321. data/app/views/org/me/resigns/_form.html.erb +12 -0
  322. data/app/views/org/me/resigns/_tabs.html.erb +4 -0
  323. data/app/views/org/me/resigns/show.html.erb +45 -0
  324. data/app/views/org/me/tutorials/_form.html.erb +6 -0
  325. data/app/views/org/me/tutorials/_menu.html.erb +11 -0
  326. data/app/views/org/me/tutorials/_search_form.html.erb +7 -0
  327. data/app/views/org/me/tutorials/index.html.erb +35 -0
  328. data/app/views/org/me/tutorials/perform.html.erb +21 -0
  329. data/app/views/org/me/tutorials/tutorings.html.erb +40 -0
  330. data/app/views/org/members/_filter_form.html.erb +9 -0
  331. data/app/views/org/members/_filter_table.html.erb +11 -0
  332. data/app/views/org/members/groups.json.jbuilder +5 -0
  333. data/app/views/org/members/index.html.erb +24 -0
  334. data/app/views/org/members/journals.json.jbuilder +9 -0
  335. data/app/views/org/members/people.json.jbuilder +14 -0
  336. data/app/views/org/members/sections.json.jbuilder +5 -0
  337. data/app/views/org/members/show.html+phone.erb +23 -0
  338. data/app/views/org/members/show.html.erb +39 -0
  339. data/app/views/org/organs/_form_search.html.erb +11 -0
  340. data/app/views/org/organs/form_search.js.erb +1 -0
  341. data/app/views/org/organs/index.html+phone.erb +20 -0
  342. data/app/views/org/organs/index.html.erb +18 -0
  343. data/app/views/org/organs/show.html.erb +0 -0
  344. data/app/views/org/panel/base/_nav.html.erb +3 -0
  345. data/app/views/org/panel/organs/_edit_form.html.erb +6 -0
  346. data/app/views/org/panel/organs/_filter_form.html.erb +9 -0
  347. data/app/views/org/panel/organs/_form.html.erb +5 -0
  348. data/app/views/org/panel/organs/_index_tbody.html.erb +28 -0
  349. data/app/views/org/panel/organs/_index_thead.html.erb +12 -0
  350. data/app/views/org/panel/organs/_index_tr.html.erb +19 -0
  351. data/app/views/org/panel/organs/_new_form.html.erb +6 -0
  352. data/app/views/org/panel/organs/_show_table.html.erb +16 -0
  353. data/app/views/org/panel/organs/index.html.erb +5 -0
  354. data/app/views/our/_nav_bar.html.erb +18 -0
  355. data/app/views/our/_nav_choosex.html.erb +23 -0
  356. data/app/views/panel/_org_nav.html.erb +10 -0
  357. data/config/locales/en.attributes.yml +37 -0
  358. data/config/locales/en.controller.yml +113 -0
  359. data/config/locales/en.enum.yml +31 -0
  360. data/config/locales/zh.attributes.yml +89 -0
  361. data/config/locales/zh.controller.yml +116 -0
  362. data/config/locales/zh.enum.yml +31 -0
  363. data/config/locales/zh.help.yml +7 -0
  364. data/config/routes.rb +152 -0
  365. data/lib/rails_org/config.rb +13 -0
  366. data/lib/rails_org/default_form.rb +17 -0
  367. data/lib/rails_org/engine.rb +19 -0
  368. data/lib/rails_org.rb +3 -0
  369. data/test/application_system_test_case.rb +5 -0
  370. data/test/controllers/department_journals_controller_test.rb +48 -0
  371. data/test/controllers/job_transfers_controller_test.rb +48 -0
  372. data/test/controllers/journal_transfers_controller_test.rb +48 -0
  373. data/test/controllers/org/admin/authorized_tokens_controller_test.rb +49 -0
  374. data/test/controllers/org/admin/department_grants_controller_test.rb +48 -0
  375. data/test/controllers/org/admin/departments_controller_test.rb +51 -0
  376. data/test/controllers/org/admin/job_descriptions_controller_test.rb +48 -0
  377. data/test/controllers/org/admin/job_titles_controller_test.rb +51 -0
  378. data/test/controllers/org/admin/member_departments_controller_test.rb +48 -0
  379. data/test/controllers/org/admin/organ_domains_controller_test.rb +49 -0
  380. data/test/controllers/org/admin/organ_handles_controller_test.rb +48 -0
  381. data/test/controllers/org/admin/organ_tokens_controller_test.rb +48 -0
  382. data/test/controllers/org/admin/super_job_titles_controller_test.rb +51 -0
  383. data/test/controllers/org/mine/members_controller_test.rb +49 -0
  384. data/test/controllers/resign_reasons_controller_test.rb +48 -0
  385. data/test/controllers/resigns_controller_test.rb +48 -0
  386. data/test/controllers/tutorials_controller_test.rb +48 -0
  387. data/test/dummy/Gemfile +59 -0
  388. data/test/dummy/Gemfile.lock +379 -0
  389. data/test/dummy/README.md +12 -0
  390. data/test/dummy/Rakefile +6 -0
  391. data/test/dummy/app/assets/images/default_avatar.jpg +0 -0
  392. data/test/dummy/app/assets/images/logo.png +0 -0
  393. data/test/dummy/app/assets/javascripts/admin/application.js +1 -0
  394. data/test/dummy/app/assets/javascripts/application.js +11 -0
  395. data/test/dummy/app/assets/javascripts/phone.js +5 -0
  396. data/test/dummy/app/assets/stylesheets/css.scss +4 -0
  397. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  398. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  399. data/test/dummy/app/controllers/active_storage/base_controller.rb +19 -0
  400. data/test/dummy/app/controllers/admin_controller.rb +3 -0
  401. data/test/dummy/app/controllers/application_controller.rb +12 -0
  402. data/test/dummy/app/controllers/home_controller.rb +6 -0
  403. data/test/dummy/app/controllers/me_controller.rb +4 -0
  404. data/test/dummy/app/controllers/my_controller.rb +4 -0
  405. data/test/dummy/app/helpers/application_helper.rb +2 -0
  406. data/test/dummy/app/jobs/application_job.rb +2 -0
  407. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  408. data/test/dummy/app/models/auth/user.rb +7 -0
  409. data/test/dummy/app/views/home/index.css +3 -0
  410. data/test/dummy/app/views/home/index.html.erb +0 -0
  411. data/test/dummy/app/views/layouts/_right_menu.html.erb +3 -0
  412. data/test/dummy/bin/bundle +3 -0
  413. data/test/dummy/bin/rails +4 -0
  414. data/test/dummy/bin/rake +4 -0
  415. data/test/dummy/bin/setup +34 -0
  416. data/test/dummy/bin/vite +19 -0
  417. data/test/dummy/bin/yarn +11 -0
  418. data/test/dummy/config/application.rb +20 -0
  419. data/test/dummy/config/boot.rb +9 -0
  420. data/test/dummy/config/cable.yml +9 -0
  421. data/test/dummy/config/credentials/development.key +1 -0
  422. data/test/dummy/config/credentials/test.key +1 -0
  423. data/test/dummy/config/credentials.yml.enc +1 -0
  424. data/test/dummy/config/database.yml +16 -0
  425. data/test/dummy/config/environment.rb +3 -0
  426. data/test/dummy/config/environments/development.rb +41 -0
  427. data/test/dummy/config/environments/production.rb +74 -0
  428. data/test/dummy/config/environments/test.rb +47 -0
  429. data/test/dummy/config/initializers/application_controller_renderer.rb +6 -0
  430. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  431. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  432. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  433. data/test/dummy/config/initializers/inflections.rb +16 -0
  434. data/test/dummy/config/initializers/mime_types.rb +0 -0
  435. data/test/dummy/config/initializers/new_framework_defaults.rb +14 -0
  436. data/test/dummy/config/initializers/session_store.rb +3 -0
  437. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  438. data/test/dummy/config/locales/en.yml +2 -0
  439. data/test/dummy/config/master.key +1 -0
  440. data/test/dummy/config/puma.rb +34 -0
  441. data/test/dummy/config/routes.rb +14 -0
  442. data/test/dummy/config/spring.rb +6 -0
  443. data/test/dummy/config/storage.yml +11 -0
  444. data/test/dummy/config/vite/base.js +7 -0
  445. data/test/dummy/config/vite/development.js +6 -0
  446. data/test/dummy/config/vite/production.js +6 -0
  447. data/test/dummy/config.ru +7 -0
  448. data/test/dummy/lib/deploy.rb +115 -0
  449. data/test/dummy/package.json +27 -0
  450. data/test/dummy/postcss.config.js +11 -0
  451. data/test/dummy/public/404.html +67 -0
  452. data/test/dummy/public/422.html +67 -0
  453. data/test/dummy/public/500.html +66 -0
  454. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  455. data/test/dummy/public/apple-touch-icon.png +0 -0
  456. data/test/dummy/public/favicon.ico +0 -0
  457. data/test/dummy/yarn.lock +2147 -0
  458. data/test/factories/attendance_logs.rb +5 -0
  459. data/test/factories/badges.rb +5 -0
  460. data/test/factories/bands.rb +5 -0
  461. data/test/factories/department_grants.rb +8 -0
  462. data/test/factories/department_journals.rb +5 -0
  463. data/test/factories/departments.rb +12 -0
  464. data/test/factories/job_descriptions.rb +5 -0
  465. data/test/factories/job_titles.rb +9 -0
  466. data/test/factories/job_transfers.rb +5 -0
  467. data/test/factories/resigns.rb +5 -0
  468. data/test/factories/super_job_titles.rb +8 -0
  469. data/test/factories/tutorials.rb +5 -0
  470. data/test/mailers/previews/the_notify_mailer_preview.rb +9 -0
  471. data/test/models/department_test.rb +7 -0
  472. data/test/models/job_description_test.rb +7 -0
  473. data/test/models/job_title/department_job_title_test.rb +1 -0
  474. data/test/models/job_title/super_job_title_test.rb +1 -0
  475. data/test/models/job_title_test.rb +10 -0
  476. data/test/models/job_transfer_test.rb +7 -0
  477. data/test/models/resign_test.rb +7 -0
  478. data/test/models/teacher_test.rb +7 -0
  479. data/test/models/tutorial_test.rb +7 -0
  480. data/test/system/org/admin/authorized_tokens_test.rb +51 -0
  481. data/test/system/org/admin/organ_domains_test.rb +51 -0
  482. data/test/system/org/mine/members_test.rb +41 -0
  483. data/test/test_helper.rb +14 -0
  484. metadata +654 -0
@@ -0,0 +1,28 @@
1
+ <td>
2
+ <%= model.name %>
3
+ <% if model.name_short.present? %>
4
+ (<%= model.name_short %>)
5
+ <% end %>
6
+ </td>
7
+ <td><%= image_tag model.logo.variant(resize_to_limit: [30, 30]) if model.logo.attached? %></td>
8
+ <td><%= simple_format model.domains %></td>
9
+ <td>
10
+ <p><%= model.area&.full_name %></p>
11
+ <p><%= model.address %></p>
12
+ </td>
13
+ <td>
14
+ <%= form_with theme: nil, model: model, url: { action: 'update', id: model.id }, data: { controller: 'input' } do |f| %>
15
+ <%= f.check_box :official, data: { input_target: 'checkbox' }, id: nil, class: 'switch is-rounded' %>
16
+ <label data-action="click->input#check"></label>
17
+ <% end %>
18
+ </td>
19
+ <td>
20
+ <div>
21
+ <% model.roles.pluck(:name).each do |role| %>
22
+ <span><%= role %></span>
23
+ <% end %>
24
+ <%= link_to({ controller: 'roled/admin/who_roles', action: 'edit', who_type: 'Organ', who_id: model.id }, aria: { label: t('role.admin.who_roles.edit.title') }) do %>
25
+ <i class="fas fa-user-shield"></i>
26
+ <% end %>
27
+ </div>
28
+ </td>
@@ -0,0 +1,12 @@
1
+ <th>
2
+ <%= Org::Organ.human_attribute_name(:name) %>(<%= Org::Organ.human_attribute_name(:name_short) %>)
3
+ </th>
4
+ <th><%= Org::Organ.human_attribute_name(:logo) %></th>
5
+ <th><%= Org::Organ.human_attribute_name(:domain) %></th>
6
+ <th>
7
+ <p><%= Org::Organ.human_attribute_name(:area_id) %></p>
8
+ <p><%= Org::Organ.human_attribute_name(:address) %></p>
9
+ </th>
10
+ <th><%= Org::Organ.human_attribute_name(:official) %></th>
11
+ <th><%= Org::Organ.human_attribute_name(:roles) %></th>
12
+ <th></th>
@@ -0,0 +1,19 @@
1
+ <tr id="tr_<%= model.id %>" data-controller="show" data-action="mouseenter->show#show mouseleave->show#hide">
2
+ <%= yield %>
3
+ <td>
4
+ <span data-show-target="item" style="visibility: hidden">
5
+ <%= link_to({ controller: 'organ_domains', organ_id: model.id }, aria: { label: t('org.panel.organ_domains.index.title') }, class: 'button is-small is-rounded is-light') do %>
6
+ <i class="fas fa-mobile"></i>
7
+ <% end %>
8
+ <%= link_to({ action: 'edit', id: model.id }, data: { turbo_frame: 'modal' }, aria: { label: t('.edit') }, class: 'button is-small is-rounded is-light') do %>
9
+ <i class="fas fa-pencil-alt"></i>
10
+ <% end %>
11
+ <%= button_to({ action: 'destroy', id: model.id }, method: :delete, data: { confirm: t('.confirm') }, aria: { label: t('.destroy') }, class: 'button is-small is-rounded is-light') do %>
12
+ <i class="fas fa-trash-alt"></i>
13
+ <% end %>
14
+ <%= link_to({ controller: 'org/admin/home', host: model.host }, aria: { label: t('.mock') }, class: 'button is-small is-rounded is-light') do %>
15
+ <i class="fas fa-hand-point-right"></i>
16
+ <% end %>
17
+ </span>
18
+ </td>
19
+ </tr>
@@ -0,0 +1,6 @@
1
+ <%= form_with model: @organ, url: { action: 'create' } do |f| %>
2
+ <%= render 'error_messages', target: @organ %>
3
+ <%= render partial: 'com/nodes/children_select', locals: { f: f, node: Org::Organ.new } %>
4
+ <%= render partial: 'form', locals: { f: f } %>
5
+ <%= f.submit %>
6
+ <% end %>
@@ -0,0 +1,16 @@
1
+ <tr>
2
+ <td class="has-text-right"><%= Org::Organ.human_attribute_name(:name) %></td>
3
+ <td><%= @organ.name %></td>
4
+ </tr>
5
+ <tr>
6
+ <td class="has-text-right"><%= Org::Organ.human_attribute_name(:organ_uuid) %></td>
7
+ <td><%= @organ.organ_uuid %></td>
8
+ </tr>
9
+ <tr>
10
+ <td class="has-text-right"><%= Org::Organ.human_attribute_name(:area_id) %></td>
11
+ <td><%= @organ.area&.full_name %></td>
12
+ </tr>
13
+ <tr>
14
+ <td class="has-text-right"><%= Org::Organ.human_attribute_name(:limit_wechat) %></td>
15
+ <td><%= @organ.limit_wechat %></td>
16
+ </tr>
@@ -0,0 +1,5 @@
1
+ <%= render layout: 'index_table', locals: { cache_key: Org::Organ.column_names.hash } do %>
2
+ <%= render partial: 'index_tbody', layout: 'index_tr', collection: @organs, as: :model %>
3
+ <% end %>
4
+
5
+ <%= paginate @organs %>
@@ -0,0 +1,18 @@
1
+ <nav class="navbar is-dark" data-controller="navbar">
2
+ <div class="navbar-brand">
3
+ <%= render 'nav_brand' %>
4
+ <a class="navbar-burger" data-action="navbar#toggle">
5
+ <span aria-hidden="true"></span>
6
+ <span aria-hidden="true"></span>
7
+ <span aria-hidden="true"></span>
8
+ </a>
9
+ </div>
10
+ <div data-navbar-target="menu" class="navbar-menu">
11
+ <div class="navbar-start">
12
+ <%= render 'nav_with_login' %>
13
+ </div>
14
+ <div class="navbar-end">
15
+ <%= render 'right_menu' %>
16
+ </div>
17
+ </div>
18
+ </nav>
@@ -0,0 +1,23 @@
1
+ <% if current_organ %>
2
+ <%= link_to root_url(host: RailsCom.config.host), class: 'navbar-item' do %>
3
+ <%= image_pack_tag 'logo.jpg', class: 'image' %>
4
+ <% end %>
5
+ <%= link_to filter_params(host: current_organ.host), class: active_params(organ_id: current_organ.id) do %>
6
+ <%= image_tag current_organ.logo, class: 'image' if current_organ.logo.attached? %>
7
+ <span><%= current_organ.name %></span>
8
+ <% end %>
9
+ <% if current_authorized_token&.mock %>
10
+ <%= link_to logout_panel_organ_path, class: 'navbar-item' do %>
11
+ <i class="fas fa-user-secret"></i>
12
+ <% end %>
13
+ <% end %>
14
+ <div class="navbar-item">
15
+ <% if current_organ.children.count > 0 %>
16
+ <%= render partial: 'application/outer_search_options', locals: { node: current_organ.children.first } %>
17
+ <% end %>
18
+ </div>
19
+ <% else %>
20
+ <%= link_to root_url(host: RailsCom.config.host), class: 'navbar-item' do %>
21
+ <%= image_pack_tag 'logo.jpg', class: 'image' %>
22
+ <% end %>
23
+ <% end %>
@@ -0,0 +1,10 @@
1
+ <div class="<%= active_helper(modules: 'org/panel', active: 'menu ex-accordion is-active', item: 'menu ex-accordion') %>" data-controller="menu">
2
+ <%= content_tag :div, class: 'menu-list' do %>
3
+ <%= link_to t('org.panel.organs.index.title'), { controller: 'org/panel/organs' }, class: active_helper(controllers: 'organs', active: 'is-active') -%>
4
+ <% end %>
5
+ <a class="menu-label" data-action="menu#toggle">
6
+ <i class="fas fa-sitemap fa-fw"></i>
7
+ <span><%= t('org.panel.title') %></span>
8
+ <i class="fas dropdown"></i>
9
+ </a>
10
+ </div>
@@ -0,0 +1,37 @@
1
+ en:
2
+ activerecord:
3
+ attributes:
4
+ org/department:
5
+ editorial: Editorial Director
6
+ hr: HR
7
+ financial: Financial Assistant
8
+ marketing: Marketing Assistant
9
+ org/job_transfer:
10
+ member: Employee
11
+ transfer_on: Transfer Date
12
+ state: Status
13
+ org/journal:
14
+ name_short: Journal
15
+ editors: Managing Editor(s)
16
+ idatabases: Indexing
17
+ org/member:
18
+ join_on: Join date
19
+ on_time: Current work shift (on)
20
+ off_time: Current work shift (off)
21
+ next_on_time: Next work shift (on)
22
+ next_off_time: Next work shift (off)
23
+ experience: Profile in MDPI
24
+ parent: Leader
25
+ enabled: Status
26
+ org/profile:
27
+ real_name: Chinese name
28
+ work_experience: Work Experience
29
+ birtheday_type: Gregorian/Lunar
30
+ org/resign:
31
+ member: Employee
32
+ leave_on: Final working day
33
+ resign_reason: Resign Reasons
34
+ reason_note: Detail
35
+ state: Status
36
+ org/tutorial:
37
+ member: Employee
@@ -0,0 +1,113 @@
1
+ en:
2
+ application:
3
+ org_navbar:
4
+ title: Teams
5
+ me:
6
+ home:
7
+ index:
8
+ title: 我的
9
+ org:
10
+ title: Organ Admin
11
+ admin:
12
+ title: Organations
13
+ home:
14
+ index:
15
+ title: 首页
16
+ departments:
17
+ index:
18
+ title: Departments
19
+ show: 职员列表
20
+ job_title: 职级设置
21
+ super_job_titles:
22
+ index:
23
+ title: 跨部门职级
24
+ job_titles:
25
+ index:
26
+ title: 部门职级
27
+ job_transfers:
28
+ index:
29
+ title: 转岗
30
+ organs:
31
+ index:
32
+ title: Organations
33
+ mock: 进入该组织
34
+ organ_domains:
35
+ index:
36
+ title: Domains
37
+ organ_handles:
38
+ index:
39
+ title: 部门职能设置
40
+ department_grants:
41
+ index:
42
+ title: 部门职能设置
43
+ members:
44
+ index:
45
+ title: Members
46
+ enabled: 可用
47
+ disabled: 禁用
48
+ role: 授权管理
49
+ profile: 简历
50
+ mock: 以其身份
51
+ new:
52
+ title: 添加成员
53
+ show:
54
+ title: 职员信息
55
+ resigns:
56
+ index:
57
+ title: 离职
58
+ resign_reasons:
59
+ index:
60
+ title: 离职原因
61
+ supports:
62
+ index:
63
+ title: 部门支持
64
+ tutorials:
65
+ index:
66
+ title: 新人指导
67
+ panel:
68
+ title: 组织管理
69
+ organs:
70
+ index:
71
+ title: 组织列表
72
+ mock: 进入该组织
73
+ organ_domains:
74
+ index:
75
+ title: 组织域名
76
+ our:
77
+ title: 分支机构
78
+ organs:
79
+ show:
80
+ title: 首页
81
+ board:
82
+ members:
83
+ index:
84
+ title: 我的工作台
85
+ new:
86
+ title: 申请为职员
87
+ organs:
88
+ index:
89
+ title: My Teams
90
+ new:
91
+ title: New Team
92
+ me:
93
+ title: Team
94
+ home:
95
+ index:
96
+ title: 首页
97
+ members:
98
+ show:
99
+ title: Job Info
100
+ new:
101
+ title: 申请为职员
102
+ organs:
103
+ index:
104
+ title: 我的团队
105
+ new:
106
+ title: 创建新团队
107
+ departments:
108
+ index:
109
+ title: Departments
110
+ member:
111
+ departments:
112
+ index:
113
+ title: 我的部门
@@ -0,0 +1,31 @@
1
+ en:
2
+ activerecord:
3
+ enum:
4
+ job_transfer:
5
+ state:
6
+ init: Pending
7
+ approved: Approved
8
+ rejected: Rejected
9
+ resign:
10
+ state:
11
+ init: Pending
12
+ approved: Approved
13
+ rejected: Rejected
14
+ tutorial:
15
+ accepted_status:
16
+ very_advance: Very advance
17
+ advance: Advance
18
+ normal: Normal
19
+ overdue: Overdue
20
+ very_overdue: Very overdue
21
+ state:
22
+ init: Pending
23
+ interning: Interning Ⅰ
24
+ probation: Probation Ⅱ
25
+ added_probation: Probation
26
+ accepted: Accepted
27
+ verified:
28
+ unverified: Unverified
29
+ superior_approved: Superior Approved
30
+ admin_approved: Org Approved
31
+ md_approved: MD Approved
@@ -0,0 +1,89 @@
1
+ zh:
2
+ activerecord:
3
+ models:
4
+ job_title: 职级
5
+ attributes:
6
+ org/department:
7
+ leader: 负责人
8
+ needed_number: 岗位计划
9
+ members_count: 现有人数
10
+ job_titles: 部门职级
11
+ super_job_titles: 部门负责职务
12
+ superior_id: 上级主管机构
13
+ org/department_grant:
14
+ department_id: 部门
15
+ job_title_id: 职级
16
+ org/job_title:
17
+ grade: 级别
18
+ department_id: 部门
19
+ office_id: 区域
20
+ role_ids: 权限
21
+ org/super_job_title:
22
+ grade: 级别
23
+ org/job_transfer:
24
+ member: Employee
25
+ transfer_on: Transfer Date
26
+ state: Status
27
+ org/journal:
28
+ name_short: Journal
29
+ editors: Managing Editor(s)
30
+ idatabases: Indexing
31
+ org/member:
32
+ join_on: 入职日期
33
+ on_time: Current work shift (on)
34
+ off_time: Current work shift (off)
35
+ next_on_time: Next work shift (on)
36
+ next_off_time: Next work shift (off)
37
+ experience: Profile
38
+ identity: 手机号或邮箱
39
+ parent: 上级
40
+ enabled: 状态
41
+ name: 姓名
42
+ name-like: 姓名包含
43
+ member_departments: 部门
44
+ member_supers: 上级
45
+ resume: 简历
46
+ role_ids: 权限
47
+ job_titles: 职级
48
+ organ_id: 组织
49
+ org/member_department:
50
+ organ_id: 分支机构
51
+ department_id: 部门
52
+ job_title_id: 职级
53
+ org/organ:
54
+ name: 名称
55
+ name_short: 简称
56
+ area_id: 地区
57
+ address: 地址
58
+ timezone: 时区
59
+ locale: 语言
60
+ official: 是否官方
61
+ operational: 平台运营
62
+ domain: 域名
63
+ limit_wechat: 允许微信数
64
+ limit_office: 允许分支机构数
65
+ parent_uuid: 上级机构编码
66
+ org/organ_grant:
67
+ organ_id: 机构
68
+ role_ids: 权限
69
+ token: 授权码
70
+ expire_at: 过期时间
71
+ org/room:
72
+ room_number: 房间号
73
+ color: 颜色
74
+ limit_number: 容纳人数
75
+ time_plans_count: 预定情况
76
+ org/profile:
77
+ real_name: 中文名字
78
+ work_experience: 工作经历
79
+ birtheday_type: 生日类型
80
+ org/resign:
81
+ member: 职员
82
+ leave_on: 最后工作日
83
+ resign_reason: 离职原因
84
+ reason_note: 详情
85
+ state: 状态
86
+ org/tutorial:
87
+ member: 职员
88
+ org/user:
89
+ name: 姓名
@@ -0,0 +1,116 @@
1
+ zh:
2
+ application:
3
+ org_navbar:
4
+ title: 团队
5
+ me:
6
+ home:
7
+ index:
8
+ title: 我的
9
+ org:
10
+ title: 组织架构
11
+ admin:
12
+ title: 组织架构
13
+ authorized_tokens:
14
+ index:
15
+ title: 登陆Token
16
+ home:
17
+ index:
18
+ title: 首页
19
+ departments:
20
+ index:
21
+ title: 部门
22
+ show: 职员列表
23
+ job_title: 职级设置
24
+ super_job_titles:
25
+ index:
26
+ title: 跨部门职级
27
+ job_titles:
28
+ index:
29
+ title: 部门职级
30
+ job_transfers:
31
+ index:
32
+ title: 转岗
33
+ organs:
34
+ index:
35
+ title: 分支机构
36
+ mock: 进入该组织
37
+ organ_domains:
38
+ index:
39
+ title: 域名管理
40
+ organ_handles:
41
+ index:
42
+ title: 部门职能设置
43
+ department_grants:
44
+ index:
45
+ title: 部门职能设置
46
+ members:
47
+ index:
48
+ title: 成员管理
49
+ enabled: 可用
50
+ disabled: 禁用
51
+ role: 授权管理
52
+ profile: 简历
53
+ mock: 以其身份
54
+ new:
55
+ title: 添加成员
56
+ show:
57
+ title: 职员信息
58
+ resigns:
59
+ index:
60
+ title: 离职
61
+ resign_reasons:
62
+ index:
63
+ title: 离职原因
64
+ supports:
65
+ index:
66
+ title: 部门支持
67
+ tutorials:
68
+ index:
69
+ title: 新人指导
70
+ panel:
71
+ title: 组织管理
72
+ organs:
73
+ index:
74
+ title: 组织列表
75
+ mock: 进入该组织
76
+ organ_domains:
77
+ index:
78
+ title: 组织域名
79
+ our:
80
+ title: 分支机构
81
+ organs:
82
+ show:
83
+ title: 首页
84
+ board:
85
+ members:
86
+ index:
87
+ title: 我的工作台
88
+ new:
89
+ title: 申请为职员
90
+ organs:
91
+ index:
92
+ title: 我的团队
93
+ new:
94
+ title: 创建新团队
95
+ me:
96
+ title: 团队管理
97
+ home:
98
+ index:
99
+ title: 首页
100
+ members:
101
+ show:
102
+ title: 我的信息
103
+ new:
104
+ title: 申请为职员
105
+ organs:
106
+ index:
107
+ title: 我的团队
108
+ new:
109
+ title: 创建新团队
110
+ departments:
111
+ index:
112
+ title: 我的部门
113
+ member:
114
+ departments:
115
+ index:
116
+ title: 我的部门