@ebuilding/base 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/components/drawer/index.d.ts +1 -0
  4. package/components/drawer/src/drawer-content.directive.d.ts +9 -0
  5. package/components/drawer/src/drawer-options.d.ts +41 -0
  6. package/components/drawer/src/drawer-ref.d.ts +27 -0
  7. package/components/drawer/src/drawer.component.d.ts +120 -0
  8. package/components/drawer/src/drawer.module.d.ts +8 -0
  9. package/components/drawer/src/drawer.service.d.ts +22 -0
  10. package/components/drawer/src/public_api.d.ts +6 -0
  11. package/components/empty/index.d.ts +1 -0
  12. package/components/empty/src/default/index.d.ts +13 -0
  13. package/components/empty/src/index.module.d.ts +7 -0
  14. package/components/empty/src/public_api.d.ts +2 -0
  15. package/components/index.d.ts +2 -0
  16. package/fesm2022/components.drawer.mjs +706 -0
  17. package/fesm2022/components.drawer.mjs.map +1 -0
  18. package/fesm2022/components.empty.mjs +54 -0
  19. package/fesm2022/components.empty.mjs.map +1 -0
  20. package/fesm2022/components.mjs +750 -0
  21. package/fesm2022/components.mjs.map +1 -0
  22. package/fesm2022/config.content.mjs +4464 -0
  23. package/fesm2022/config.content.mjs.map +1 -0
  24. package/fesm2022/config.form.mjs +2190 -0
  25. package/fesm2022/config.form.mjs.map +1 -0
  26. package/fesm2022/config.header.mjs +2736 -0
  27. package/fesm2022/config.header.mjs.map +1 -0
  28. package/fesm2022/config.list.mjs +7192 -0
  29. package/fesm2022/config.list.mjs.map +1 -0
  30. package/fesm2022/config.page-dialog.mjs +639 -0
  31. package/fesm2022/config.page-dialog.mjs.map +1 -0
  32. package/fesm2022/config.page.mjs +53 -0
  33. package/fesm2022/config.page.mjs.map +1 -0
  34. package/fesm2022/ebuilding-base.mjs +11 -0
  35. package/fesm2022/ebuilding-base.mjs.map +1 -0
  36. package/fesm2022/pipe.builtin.mjs +36 -0
  37. package/fesm2022/pipe.builtin.mjs.map +1 -0
  38. package/fesm2022/pipe.category.mjs +43 -0
  39. package/fesm2022/pipe.category.mjs.map +1 -0
  40. package/fesm2022/pipe.datatype.mjs +38 -0
  41. package/fesm2022/pipe.datatype.mjs.map +1 -0
  42. package/fesm2022/pipe.date.format.mjs +46 -0
  43. package/fesm2022/pipe.date.format.mjs.map +1 -0
  44. package/fesm2022/pipe.disabled.mjs +38 -0
  45. package/fesm2022/pipe.disabled.mjs.map +1 -0
  46. package/fesm2022/pipe.email.state.mjs +36 -0
  47. package/fesm2022/pipe.email.state.mjs.map +1 -0
  48. package/fesm2022/pipe.empty.mjs +35 -0
  49. package/fesm2022/pipe.empty.mjs.map +1 -0
  50. package/fesm2022/pipe.eval.mjs +43 -0
  51. package/fesm2022/pipe.eval.mjs.map +1 -0
  52. package/fesm2022/pipe.flow.eval.mjs +36 -0
  53. package/fesm2022/pipe.flow.eval.mjs.map +1 -0
  54. package/fesm2022/pipe.flow.mjs +45 -0
  55. package/fesm2022/pipe.flow.mjs.map +1 -0
  56. package/fesm2022/pipe.flow.node.mjs +28 -0
  57. package/fesm2022/pipe.flow.node.mjs.map +1 -0
  58. package/fesm2022/pipe.flow.operation.mjs +52 -0
  59. package/fesm2022/pipe.flow.operation.mjs.map +1 -0
  60. package/fesm2022/pipe.flow.state.mjs +36 -0
  61. package/fesm2022/pipe.flow.state.mjs.map +1 -0
  62. package/fesm2022/pipe.flow.type.mjs +36 -0
  63. package/fesm2022/pipe.flow.type.mjs.map +1 -0
  64. package/fesm2022/pipe.formType.mjs +35 -0
  65. package/fesm2022/pipe.formType.mjs.map +1 -0
  66. package/fesm2022/pipe.grade.type.mjs +38 -0
  67. package/fesm2022/pipe.grade.type.mjs.map +1 -0
  68. package/fesm2022/pipe.indicator.mjs +43 -0
  69. package/fesm2022/pipe.indicator.mjs.map +1 -0
  70. package/fesm2022/pipe.item.mjs +38 -0
  71. package/fesm2022/pipe.item.mjs.map +1 -0
  72. package/fesm2022/pipe.moment.mjs +37 -0
  73. package/fesm2022/pipe.moment.mjs.map +1 -0
  74. package/fesm2022/pipe.msg.type.mjs +55 -0
  75. package/fesm2022/pipe.msg.type.mjs.map +1 -0
  76. package/fesm2022/pipe.number.mjs +34 -0
  77. package/fesm2022/pipe.number.mjs.map +1 -0
  78. package/fesm2022/pipe.objtype.mjs +37 -0
  79. package/fesm2022/pipe.objtype.mjs.map +1 -0
  80. package/fesm2022/pipe.okr.plan.mjs +46 -0
  81. package/fesm2022/pipe.okr.plan.mjs.map +1 -0
  82. package/fesm2022/pipe.okr.unit.mjs +38 -0
  83. package/fesm2022/pipe.okr.unit.mjs.map +1 -0
  84. package/fesm2022/pipe.operation.mjs +41 -0
  85. package/fesm2022/pipe.operation.mjs.map +1 -0
  86. package/fesm2022/pipe.period.emp.mjs +43 -0
  87. package/fesm2022/pipe.period.emp.mjs.map +1 -0
  88. package/fesm2022/pipe.period.state.mjs +43 -0
  89. package/fesm2022/pipe.period.state.mjs.map +1 -0
  90. package/fesm2022/pipe.plan.state.mjs +46 -0
  91. package/fesm2022/pipe.plan.state.mjs.map +1 -0
  92. package/fesm2022/pipe.range.mjs +25 -0
  93. package/fesm2022/pipe.range.mjs.map +1 -0
  94. package/fesm2022/pipe.removehtml.mjs +26 -0
  95. package/fesm2022/pipe.removehtml.mjs.map +1 -0
  96. package/fesm2022/pipe.result.mjs +56 -0
  97. package/fesm2022/pipe.result.mjs.map +1 -0
  98. package/fesm2022/pipe.safehtml.mjs +34 -0
  99. package/fesm2022/pipe.safehtml.mjs.map +1 -0
  100. package/fesm2022/pipe.state.mjs +55 -0
  101. package/fesm2022/pipe.state.mjs.map +1 -0
  102. package/fesm2022/pipe.table.type.mjs +38 -0
  103. package/fesm2022/pipe.table.type.mjs.map +1 -0
  104. package/fesm2022/pipe.task.state.mjs +43 -0
  105. package/fesm2022/pipe.task.state.mjs.map +1 -0
  106. package/fesm2022/pipe.templatetype.mjs +35 -0
  107. package/fesm2022/pipe.templatetype.mjs.map +1 -0
  108. package/fesm2022/pipe.valid.mjs +36 -0
  109. package/fesm2022/pipe.valid.mjs.map +1 -0
  110. package/fesm2022/pipe.value.method.mjs +46 -0
  111. package/fesm2022/pipe.value.method.mjs.map +1 -0
  112. package/fesm2022/pipe.write.state.mjs +45 -0
  113. package/fesm2022/pipe.write.state.mjs.map +1 -0
  114. package/fesm2022/pipe.yesNo.mjs +52 -0
  115. package/fesm2022/pipe.yesNo.mjs.map +1 -0
  116. package/fesm2022/shared.config.mjs +2190 -0
  117. package/fesm2022/shared.config.mjs.map +1 -0
  118. package/fesm2022/shared.srv.mjs +2853 -0
  119. package/fesm2022/shared.srv.mjs.map +1 -0
  120. package/fesm2022/shared.util.mjs +4676 -0
  121. package/fesm2022/shared.util.mjs.map +1 -0
  122. package/fesm2022/shared.var.mjs +597 -0
  123. package/fesm2022/shared.var.mjs.map +1 -0
  124. package/fesm2022/sharedPipe.mjs +1387 -0
  125. package/fesm2022/sharedPipe.mjs.map +1 -0
  126. package/fesm2022/srv.base-dialog.service.mjs +272 -0
  127. package/fesm2022/srv.base-dialog.service.mjs.map +1 -0
  128. package/fesm2022/srv.base-list.service.mjs +124 -0
  129. package/fesm2022/srv.base-list.service.mjs.map +1 -0
  130. package/fesm2022/srv.base-table.service.mjs +271 -0
  131. package/fesm2022/srv.base-table.service.mjs.map +1 -0
  132. package/fesm2022/srv.base-title.service.mjs +52 -0
  133. package/fesm2022/srv.base-title.service.mjs.map +1 -0
  134. package/fesm2022/srv.base-tree.service.mjs +53 -0
  135. package/fesm2022/srv.base-tree.service.mjs.map +1 -0
  136. package/fesm2022/srv.basePage.mjs +71 -0
  137. package/fesm2022/srv.basePage.mjs.map +1 -0
  138. package/fesm2022/srv.commApi.service.mjs +626 -0
  139. package/fesm2022/srv.commApi.service.mjs.map +1 -0
  140. package/fesm2022/srv.deon.util.mjs +272 -0
  141. package/fesm2022/srv.deon.util.mjs.map +1 -0
  142. package/fesm2022/srv.deon2.util.mjs +190 -0
  143. package/fesm2022/srv.deon2.util.mjs.map +1 -0
  144. package/fesm2022/srv.dialog.token.mjs +10 -0
  145. package/fesm2022/srv.dialog.token.mjs.map +1 -0
  146. package/fesm2022/srv.field-source.service.mjs +454 -0
  147. package/fesm2022/srv.field-source.service.mjs.map +1 -0
  148. package/fesm2022/srv.field.init.mjs +697 -0
  149. package/fesm2022/srv.field.init.mjs.map +1 -0
  150. package/fesm2022/srv.global.event.mjs +50 -0
  151. package/fesm2022/srv.global.event.mjs.map +1 -0
  152. package/fesm2022/srv.layout-detail.service.mjs +60 -0
  153. package/fesm2022/srv.layout-detail.service.mjs.map +1 -0
  154. package/fesm2022/srv.layout.service.mjs +65 -0
  155. package/fesm2022/srv.layout.service.mjs.map +1 -0
  156. package/fesm2022/srv.listService.mjs +319 -0
  157. package/fesm2022/srv.listService.mjs.map +1 -0
  158. package/fesm2022/srv.window.service.mjs +34 -0
  159. package/fesm2022/srv.window.service.mjs.map +1 -0
  160. package/fesm2022/util.base64.mjs +85 -0
  161. package/fesm2022/util.base64.mjs.map +1 -0
  162. package/fesm2022/util.comm.attendance.mjs +207 -0
  163. package/fesm2022/util.comm.attendance.mjs.map +1 -0
  164. package/fesm2022/util.comm.ckeditor.mjs +32 -0
  165. package/fesm2022/util.comm.ckeditor.mjs.map +1 -0
  166. package/fesm2022/util.comm.colors.mjs +21 -0
  167. package/fesm2022/util.comm.colors.mjs.map +1 -0
  168. package/fesm2022/util.comm.eca.mjs +89 -0
  169. package/fesm2022/util.comm.eca.mjs.map +1 -0
  170. package/fesm2022/util.comm.fly.mjs +210 -0
  171. package/fesm2022/util.comm.fly.mjs.map +1 -0
  172. package/fesm2022/util.comm.kpi.mjs +118 -0
  173. package/fesm2022/util.comm.kpi.mjs.map +1 -0
  174. package/fesm2022/util.comm.leave.mjs +271 -0
  175. package/fesm2022/util.comm.leave.mjs.map +1 -0
  176. package/fesm2022/util.comm.menu.mjs +132 -0
  177. package/fesm2022/util.comm.menu.mjs.map +1 -0
  178. package/fesm2022/util.comm.okr.mjs +204 -0
  179. package/fesm2022/util.comm.okr.mjs.map +1 -0
  180. package/fesm2022/util.comm.overtime.mjs +69 -0
  181. package/fesm2022/util.comm.overtime.mjs.map +1 -0
  182. package/fesm2022/util.comm.setting.mjs +211 -0
  183. package/fesm2022/util.comm.setting.mjs.map +1 -0
  184. package/fesm2022/util.comm.shebao.mjs +57 -0
  185. package/fesm2022/util.comm.shebao.mjs.map +1 -0
  186. package/fesm2022/util.comm.workflow.mjs +178 -0
  187. package/fesm2022/util.comm.workflow.mjs.map +1 -0
  188. package/fesm2022/util.common.mjs +637 -0
  189. package/fesm2022/util.common.mjs.map +1 -0
  190. package/fesm2022/util.encryption.mjs +49 -0
  191. package/fesm2022/util.encryption.mjs.map +1 -0
  192. package/fesm2022/util.guid.mjs +57 -0
  193. package/fesm2022/util.guid.mjs.map +1 -0
  194. package/fesm2022/util.guid.number.mjs +68 -0
  195. package/fesm2022/util.guid.number.mjs.map +1 -0
  196. package/fesm2022/util.menus.mjs +33 -0
  197. package/fesm2022/util.menus.mjs.map +1 -0
  198. package/fesm2022/util.operation.mjs +193 -0
  199. package/fesm2022/util.operation.mjs.map +1 -0
  200. package/fesm2022/util.static.mjs +1542 -0
  201. package/fesm2022/util.static.mjs.map +1 -0
  202. package/fesm2022/util.tool.mjs +46 -0
  203. package/fesm2022/util.tool.mjs.map +1 -0
  204. package/fesm2022/util.validation.mjs +67 -0
  205. package/fesm2022/util.validation.mjs.map +1 -0
  206. package/fesm2022/util.workflow.mjs +128 -0
  207. package/fesm2022/util.workflow.mjs.map +1 -0
  208. package/fesm2022/util.yuan.mjs +18 -0
  209. package/fesm2022/util.yuan.mjs.map +1 -0
  210. package/fesm2022/var.comm.constant.mjs +37 -0
  211. package/fesm2022/var.comm.constant.mjs.map +1 -0
  212. package/fesm2022/var.shared.constant.mjs +237 -0
  213. package/fesm2022/var.shared.constant.mjs.map +1 -0
  214. package/fesm2022/var.shared.interface.mjs +51 -0
  215. package/fesm2022/var.shared.interface.mjs.map +1 -0
  216. package/fesm2022/var.shared.variable.mjs +168 -0
  217. package/fesm2022/var.shared.variable.mjs.map +1 -0
  218. package/index.d.ts +6 -0
  219. package/package.json +420 -0
  220. package/shared.config/form/admin/attendance.d.ts +1 -0
  221. package/shared.config/form/admin/personnel.d.ts +1 -0
  222. package/shared.config/form/admin/system.d.ts +1 -0
  223. package/shared.config/form/gram/kpi.d.ts +1 -0
  224. package/shared.config/form/index.d.ts +2 -0
  225. package/shared.config/form/paas/module.d.ts +1 -0
  226. package/shared.config/form/payroll/shebao.d.ts +1 -0
  227. package/shared.config/index.d.ts +1 -0
  228. package/shared.config/list/content/admin/system.code.d.ts +1 -0
  229. package/shared.config/list/content/admin/system.log.d.ts +1 -0
  230. package/shared.config/list/content/admin/system.role.d.ts +1 -0
  231. package/shared.config/list/content/admin/system.source.d.ts +1 -0
  232. package/shared.config/list/content/admin/system.tenant.d.ts +1 -0
  233. package/shared.config/list/content/admin/system.user.d.ts +1 -0
  234. package/shared.config/list/content/fly/admin/device.d.ts +1 -0
  235. package/shared.config/list/content/fly/admin/dock.d.ts +1 -0
  236. package/shared.config/list/content/fly/admin/healthy.d.ts +1 -0
  237. package/shared.config/list/content/fly/admin/system.d.ts +1 -0
  238. package/shared.config/list/content/fly/admin/user.d.ts +1 -0
  239. package/shared.config/list/content/fly/work/ai.d.ts +1 -0
  240. package/shared.config/list/content/fly/work/history.d.ts +1 -0
  241. package/shared.config/list/content/fly/work/order.d.ts +1 -0
  242. package/shared.config/list/content/fly/work/product.d.ts +1 -0
  243. package/shared.config/list/content/fly/work/task.d.ts +1 -0
  244. package/shared.config/list/content/index.d.ts +38 -0
  245. package/shared.config/list/content/paas/card.d.ts +1 -0
  246. package/shared.config/list/content/paas/module.d.ts +1 -0
  247. package/shared.config/list/content/paas/permission.d.ts +1 -0
  248. package/shared.config/list/content/paas/rule.d.ts +1 -0
  249. package/shared.config/list/content/paas/setting.d.ts +1 -0
  250. package/shared.config/list/content/personnel/position.d.ts +1 -0
  251. package/shared.config/list/content/workflow/workflow.d.ts +1 -0
  252. package/shared.config/list/header/admin/system.d.ts +1 -0
  253. package/shared.config/list/header/dialog/default.d.ts +1 -0
  254. package/shared.config/list/header/fly/admin/device.d.ts +1 -0
  255. package/shared.config/list/header/fly/admin/dock.d.ts +1 -0
  256. package/shared.config/list/header/fly/admin/healthy.d.ts +1 -0
  257. package/shared.config/list/header/fly/admin/system.d.ts +1 -0
  258. package/shared.config/list/header/fly/admin/user.d.ts +1 -0
  259. package/shared.config/list/header/fly/work/ai.d.ts +1 -0
  260. package/shared.config/list/header/fly/work/history.d.ts +1 -0
  261. package/shared.config/list/header/fly/work/order.d.ts +1 -0
  262. package/shared.config/list/header/fly/work/product.d.ts +1 -0
  263. package/shared.config/list/header/fly/work/task.d.ts +1 -0
  264. package/shared.config/list/header/index.d.ts +1 -0
  265. package/shared.config/list/header/paas.d.ts +1 -0
  266. package/shared.config/list/header/personnel/position.d.ts +1 -0
  267. package/shared.config/list/header/wk/workflow.d.ts +1 -0
  268. package/shared.config/list/index.d.ts +2 -0
  269. package/shared.config/page/README.md +3 -0
  270. package/shared.config/page/admin/index.d.ts +1 -0
  271. package/shared.config/page/admin/system.source.d.ts +1 -0
  272. package/shared.config/page/index.d.ts +1 -0
  273. package/shared.config/page-dialog/admin/index.d.ts +1 -0
  274. package/shared.config/page-dialog/admin/system.d.ts +1 -0
  275. package/shared.config/page-dialog/index.d.ts +3 -0
  276. package/shared.config/page-dialog/paas/index.d.ts +1 -0
  277. package/shared.config/page-dialog/paas/module.d.ts +1 -0
  278. package/shared.config/page-dialog/payroll/index.d.ts +1 -0
  279. package/shared.config/page-dialog/payroll/main.d.ts +1 -0
  280. package/shared.pipe/builtin/builtin.pipe.d.ts +8 -0
  281. package/shared.pipe/builtin/index.d.ts +1 -0
  282. package/shared.pipe/category/category.pipe.d.ts +8 -0
  283. package/shared.pipe/category/index.d.ts +1 -0
  284. package/shared.pipe/datatype/datatype.pipe.d.ts +8 -0
  285. package/shared.pipe/datatype/index.d.ts +1 -0
  286. package/shared.pipe/date.format/date.pipe.d.ts +8 -0
  287. package/shared.pipe/date.format/index.d.ts +1 -0
  288. package/shared.pipe/disabled/disabled.pipe.d.ts +8 -0
  289. package/shared.pipe/disabled/index.d.ts +1 -0
  290. package/shared.pipe/email.state/email.pipe.d.ts +8 -0
  291. package/shared.pipe/email.state/index.d.ts +1 -0
  292. package/shared.pipe/empty/empty.pipe.d.ts +8 -0
  293. package/shared.pipe/empty/index.d.ts +1 -0
  294. package/shared.pipe/eval/eval.pipe.d.ts +8 -0
  295. package/shared.pipe/eval/index.d.ts +1 -0
  296. package/shared.pipe/flow/flow.pipe.d.ts +8 -0
  297. package/shared.pipe/flow/index.d.ts +1 -0
  298. package/shared.pipe/flow.eval/flow.pipe.d.ts +8 -0
  299. package/shared.pipe/flow.eval/index.d.ts +1 -0
  300. package/shared.pipe/flow.node/flow.pipe.d.ts +8 -0
  301. package/shared.pipe/flow.node/index.d.ts +1 -0
  302. package/shared.pipe/flow.operation/flow.pipe.d.ts +8 -0
  303. package/shared.pipe/flow.operation/index.d.ts +1 -0
  304. package/shared.pipe/flow.state/flow.pipe.d.ts +8 -0
  305. package/shared.pipe/flow.state/index.d.ts +1 -0
  306. package/shared.pipe/flow.type/flow.pipe.d.ts +8 -0
  307. package/shared.pipe/flow.type/index.d.ts +1 -0
  308. package/shared.pipe/formType/form.pipe.d.ts +8 -0
  309. package/shared.pipe/formType/index.d.ts +1 -0
  310. package/shared.pipe/grade.type/grade.pipe.d.ts +8 -0
  311. package/shared.pipe/grade.type/index.d.ts +1 -0
  312. package/shared.pipe/index.d.ts +41 -0
  313. package/shared.pipe/index.module.d.ts +47 -0
  314. package/shared.pipe/indicator/index.d.ts +1 -0
  315. package/shared.pipe/indicator/indicator.pipe.d.ts +8 -0
  316. package/shared.pipe/item/index.d.ts +1 -0
  317. package/shared.pipe/item/item.pipe.d.ts +8 -0
  318. package/shared.pipe/moment/index.d.ts +1 -0
  319. package/shared.pipe/moment/moment.pipe.d.ts +16 -0
  320. package/shared.pipe/msg.type/index.d.ts +1 -0
  321. package/shared.pipe/msg.type/msg.pipe.d.ts +8 -0
  322. package/shared.pipe/number/index.d.ts +1 -0
  323. package/shared.pipe/number/number.pipe.d.ts +8 -0
  324. package/shared.pipe/objtype/index.d.ts +1 -0
  325. package/shared.pipe/objtype/obj.pipe.d.ts +8 -0
  326. package/shared.pipe/okr.plan/index.d.ts +1 -0
  327. package/shared.pipe/okr.plan/okr.pipe.d.ts +8 -0
  328. package/shared.pipe/okr.unit/index.d.ts +1 -0
  329. package/shared.pipe/okr.unit/okr.pipe.d.ts +8 -0
  330. package/shared.pipe/operation/index.d.ts +1 -0
  331. package/shared.pipe/operation/operation.pipe.d.ts +8 -0
  332. package/shared.pipe/period.emp/index.d.ts +1 -0
  333. package/shared.pipe/period.emp/period.pipe.d.ts +8 -0
  334. package/shared.pipe/period.state/index.d.ts +1 -0
  335. package/shared.pipe/period.state/period.pipe.d.ts +8 -0
  336. package/shared.pipe/plan.state/index.d.ts +1 -0
  337. package/shared.pipe/plan.state/plan.pipe.d.ts +8 -0
  338. package/shared.pipe/range/index.d.ts +1 -0
  339. package/shared.pipe/range/range.pipe.d.ts +8 -0
  340. package/shared.pipe/removehtml/index.d.ts +1 -0
  341. package/shared.pipe/removehtml/removehtml.pipe.d.ts +8 -0
  342. package/shared.pipe/result/index.d.ts +1 -0
  343. package/shared.pipe/result/result.pipe.d.ts +8 -0
  344. package/shared.pipe/safehtml/index.d.ts +1 -0
  345. package/shared.pipe/safehtml/safehtml.pipe.d.ts +10 -0
  346. package/shared.pipe/state/index.d.ts +1 -0
  347. package/shared.pipe/state/state.pipe.d.ts +8 -0
  348. package/shared.pipe/table.type/index.d.ts +1 -0
  349. package/shared.pipe/table.type/table.pipe.d.ts +8 -0
  350. package/shared.pipe/task.state/index.d.ts +1 -0
  351. package/shared.pipe/task.state/task.pipe.d.ts +8 -0
  352. package/shared.pipe/templatetype/index.d.ts +1 -0
  353. package/shared.pipe/templatetype/template.pipe.d.ts +8 -0
  354. package/shared.pipe/valid/index.d.ts +1 -0
  355. package/shared.pipe/valid/valid.pipe.d.ts +8 -0
  356. package/shared.pipe/value.method/index.d.ts +1 -0
  357. package/shared.pipe/value.method/value.pipe.d.ts +8 -0
  358. package/shared.pipe/write.state/index.d.ts +1 -0
  359. package/shared.pipe/write.state/write.pipe.d.ts +9 -0
  360. package/shared.pipe/yesNo/index.d.ts +1 -0
  361. package/shared.pipe/yesNo/yesNo.pipe.d.ts +8 -0
  362. package/shared.srv/base-dialog.service/index.d.ts +39 -0
  363. package/shared.srv/base-list.service/index.d.ts +49 -0
  364. package/shared.srv/base-table.service/index.d.ts +77 -0
  365. package/shared.srv/base-title.service/index.d.ts +16 -0
  366. package/shared.srv/base-tree.service/index.d.ts +30 -0
  367. package/shared.srv/basePage/index.d.ts +33 -0
  368. package/shared.srv/commApi.service/index.d.ts +124 -0
  369. package/shared.srv/deon.util/index.d.ts +25 -0
  370. package/shared.srv/deon2.util/index.d.ts +14 -0
  371. package/shared.srv/dialog.token/index.d.ts +5 -0
  372. package/shared.srv/field-source.service/index.d.ts +67 -0
  373. package/shared.srv/field.init/index.d.ts +36 -0
  374. package/shared.srv/global.event/index.d.ts +13 -0
  375. package/shared.srv/index.d.ts +16 -0
  376. package/shared.srv/layout-detail.service/index.d.ts +23 -0
  377. package/shared.srv/layout.service/index.d.ts +28 -0
  378. package/shared.srv/listService/index.d.ts +38 -0
  379. package/shared.srv/window.service/index.d.ts +8 -0
  380. package/shared.util/base64/index.d.ts +6 -0
  381. package/shared.util/comm.attendance/index.d.ts +74 -0
  382. package/shared.util/comm.ckeditor/index.d.ts +9 -0
  383. package/shared.util/comm.colors/index.d.ts +1 -0
  384. package/shared.util/comm.eca/index.d.ts +16 -0
  385. package/shared.util/comm.fly/index.d.ts +60 -0
  386. package/shared.util/comm.kpi/index.d.ts +21 -0
  387. package/shared.util/comm.leave/index.d.ts +79 -0
  388. package/shared.util/comm.menu/index.d.ts +4 -0
  389. package/shared.util/comm.okr/index.d.ts +61 -0
  390. package/shared.util/comm.overtime/index.d.ts +25 -0
  391. package/shared.util/comm.setting/index.d.ts +54 -0
  392. package/shared.util/comm.shebao/index.d.ts +16 -0
  393. package/shared.util/comm.workflow/index.d.ts +24 -0
  394. package/shared.util/common/index.d.ts +60 -0
  395. package/shared.util/encryption/index.d.ts +12 -0
  396. package/shared.util/guid/index.d.ts +16 -0
  397. package/shared.util/guid.number/index.d.ts +16 -0
  398. package/shared.util/index.d.ts +25 -0
  399. package/shared.util/menus/index.d.ts +1 -0
  400. package/shared.util/operation/index.d.ts +13 -0
  401. package/shared.util/static/index.d.ts +284 -0
  402. package/shared.util/tool/index.d.ts +6 -0
  403. package/shared.util/validation/index.d.ts +40 -0
  404. package/shared.util/workflow/index.d.ts +12 -0
  405. package/shared.util/yuan/index.d.ts +6 -0
  406. package/shared.var/comm.constant/index.d.ts +24 -0
  407. package/shared.var/index.d.ts +4 -0
  408. package/shared.var/shared.constant/index.d.ts +151 -0
  409. package/shared.var/shared.interface/index.d.ts +58 -0
  410. package/shared.var/shared.variable/index.d.ts +116 -0
  411. package/style/variable.less +238 -0
@@ -0,0 +1,2190 @@
1
+ import { FieldType } from '@ebuilding/base/shared.util/static';
2
+ import { ShiftType, TakeClockType } from '@ebuilding/base/shared.util/comm.attendance';
3
+ import { ValueType, RoundType } from '@ebuilding/base/shared.util/comm.shebao';
4
+
5
+ const Paas_Form = {
6
+ apaas_model_base: [
7
+ {
8
+ type: 'text',
9
+ key: 'code',
10
+ props: {
11
+ label: '编码',
12
+ required: true,
13
+ maxLength: 50,
14
+ placeholder: '请输入编码',
15
+ layout: 'upDown',
16
+ cols: 12,
17
+ },
18
+ },
19
+ {
20
+ type: 'text',
21
+ key: 'name',
22
+ props: {
23
+ label: '应用名称',
24
+ required: true,
25
+ maxLength: 50,
26
+ placeholder: '请输入名称',
27
+ layout: 'upDown',
28
+ cols: 12,
29
+ },
30
+ },
31
+ {
32
+ type: 'text',
33
+ key: 'icon',
34
+ props: {
35
+ label: '图标',
36
+ precision: 0,
37
+ layout: 'upDown',
38
+ maxLength: 50,
39
+ },
40
+ },
41
+ {
42
+ type: 'number',
43
+ key: 'sn',
44
+ props: {
45
+ label: '序号',
46
+ required: true,
47
+ max: 999,
48
+ min: 0,
49
+ precision: 0,
50
+ layout: 'upDown',
51
+ },
52
+ defaultValue: 0,
53
+ },
54
+ {
55
+ type: 'checkbox',
56
+ key: 'izHome',
57
+ props: {
58
+ label: '是否首页显示',
59
+ layout: 'upDown',
60
+ },
61
+ defaultValue: true,
62
+ },
63
+ {
64
+ type: 'textarea',
65
+ key: 'description',
66
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
67
+ },
68
+ ],
69
+ apaas_model_config: [
70
+ {
71
+ type: 'grid',
72
+ fieldGroup: [
73
+ {
74
+ type: 'list',
75
+ props: {
76
+ cols: 12,
77
+ },
78
+ fieldGroup: [
79
+ {
80
+ type: 'select',
81
+ key: 'type',
82
+ props: {
83
+ label: '类型',
84
+ required: true,
85
+ options: [
86
+ { value: 'EMP', label: '员工自助' },
87
+ { value: 'HR', label: 'HR办公' },
88
+ ],
89
+ layout: 'upDown',
90
+ cols: 12,
91
+ },
92
+ },
93
+ ],
94
+ },
95
+ {
96
+ type: 'list',
97
+ props: {
98
+ cols: 12,
99
+ },
100
+ fieldGroup: [],
101
+ },
102
+ ],
103
+ },
104
+ {
105
+ type: 'grid',
106
+ fieldGroup: [
107
+ {
108
+ type: 'list',
109
+ props: {
110
+ cols: 12,
111
+ },
112
+ fieldGroup: [
113
+ {
114
+ type: 'text',
115
+ key: 'code',
116
+ props: {
117
+ label: '编码',
118
+ required: true,
119
+ maxLength: 50,
120
+ placeholder: '请输入编码',
121
+ layout: 'upDown',
122
+ cols: 12,
123
+ },
124
+ },
125
+ {
126
+ type: 'checkbox',
127
+ key: 'izHome',
128
+ props: {
129
+ label: '是否首页显示',
130
+ layout: 'upDown',
131
+ },
132
+ defaultValue: true,
133
+ },
134
+ ],
135
+ },
136
+ {
137
+ type: 'list',
138
+ props: {
139
+ cols: 12,
140
+ },
141
+ fieldGroup: [
142
+ {
143
+ type: 'text',
144
+ key: 'name',
145
+ props: {
146
+ label: '名称',
147
+ required: true,
148
+ maxLength: 50,
149
+ placeholder: '请输入名称',
150
+ layout: 'upDown',
151
+ cols: 12,
152
+ },
153
+ },
154
+ {
155
+ type: 'number',
156
+ key: 'sn',
157
+ props: {
158
+ label: '序号',
159
+ required: true,
160
+ max: 99999,
161
+ min: 0,
162
+ precision: 0,
163
+ layout: 'upDown',
164
+ },
165
+ defaultValue: 0,
166
+ },
167
+ ],
168
+ },
169
+ ],
170
+ },
171
+ {
172
+ type: 'text',
173
+ key: 'icon',
174
+ props: {
175
+ label: '图标',
176
+ precision: 0,
177
+ layout: 'upDown',
178
+ maxLength: 50,
179
+ },
180
+ },
181
+ {
182
+ type: 'textarea',
183
+ key: 'description',
184
+ props: { label: '应用描述', maxLength: 500, rows: 4, placeholder: '请输入应用描述', layout: 'upDown' },
185
+ },
186
+ ],
187
+ apaas_model_menu: [
188
+ {
189
+ type: 'text',
190
+ key: 'code',
191
+ props: { label: '菜单编码', required: true, maxLength: 50, placeholder: '请输入菜单编码', layout: 'upDown' },
192
+ },
193
+ {
194
+ type: 'text',
195
+ key: 'name',
196
+ props: { label: '菜单名称', required: true, maxLength: 50, placeholder: '请输入菜单名称', layout: 'upDown' },
197
+ },
198
+ {
199
+ type: 'select',
200
+ key: 'type',
201
+ props: {
202
+ label: '菜单类型',
203
+ required: true,
204
+ placeholder: '请选择菜单类型',
205
+ layout: 'upDown',
206
+ options: [
207
+ {
208
+ label: '菜单',
209
+ value: 'MENU',
210
+ },
211
+ {
212
+ label: '菜单组',
213
+ value: 'GROUP',
214
+ },
215
+ ],
216
+ },
217
+ defaultValue: 'MENU',
218
+ },
219
+ {
220
+ type: 'text',
221
+ key: 'sn',
222
+ props: {
223
+ label: '菜单序号',
224
+ required: true,
225
+ min: 0,
226
+ max: 999,
227
+ precision: 0,
228
+ placeholder: '请输入菜单序号',
229
+ layout: 'upDown',
230
+ },
231
+ },
232
+ {
233
+ type: 'textarea',
234
+ key: 'description',
235
+ props: { label: '菜单描述', maxLength: 500, rows: 4, placeholder: '请输入菜单描述', layout: 'upDown' },
236
+ },
237
+ ],
238
+ module_form_info: [
239
+ {
240
+ type: 'text',
241
+ key: 'code',
242
+ props: { label: '表单编码', required: true, maxLength: 50, placeholder: '请输入表单编码', layout: 'upDown' },
243
+ },
244
+ {
245
+ type: 'text',
246
+ key: 'name',
247
+ props: { label: '表单名称', required: true, maxLength: 50, placeholder: '请输入表单名称', layout: 'upDown' },
248
+ },
249
+ {
250
+ type: 'select',
251
+ key: 'type',
252
+ props: {
253
+ label: '表单类型',
254
+ required: true,
255
+ options: [
256
+ { value: 'DEFAULT', label: '主表单' },
257
+ { value: 'CHILDREN', label: '子表单' },
258
+ { value: 'GROUP', label: '表单组' },
259
+ ],
260
+ layout: 'upDown',
261
+ },
262
+ defaultValue: 'DEFAULT',
263
+ },
264
+ {
265
+ type: 'textarea',
266
+ key: 'description',
267
+ props: { label: '表单描述', maxLength: 500, rows: 4, placeholder: '请输入表单描述', layout: 'upDown' },
268
+ },
269
+ ],
270
+ module_page_info: [
271
+ {
272
+ type: 'text',
273
+ key: 'code',
274
+ props: { label: '列表编码', required: true, maxLength: 50, placeholder: '请输入列表编码', layout: 'upDown' },
275
+ },
276
+ {
277
+ type: 'text',
278
+ key: 'name',
279
+ props: { label: '列表名称', required: true, maxLength: 50, placeholder: '请输入列表名称', layout: 'upDown' },
280
+ },
281
+ {
282
+ type: 'textarea',
283
+ key: 'description',
284
+ props: { label: '列表描述', maxLength: 500, rows: 4, placeholder: '请输入列表描述', layout: 'upDown' },
285
+ },
286
+ ],
287
+ model_table_info: [
288
+ {
289
+ type: 'checkbox',
290
+ key: 'ref',
291
+ props: { label: '引用模型', hideLabel: true, labelPosition: 'right' },
292
+ defaultValue: true,
293
+ editor: false,
294
+ },
295
+ {
296
+ type: 'lookup',
297
+ key: 'refInfo',
298
+ props: {
299
+ label: '关联模型',
300
+ required: true,
301
+ pageCode: 'Dialog_Paas_Module.table_ref',
302
+ selectType: 'single',
303
+ layout: 'upDown',
304
+ },
305
+ hideExpression: (model) => {
306
+ let result = true;
307
+ if (model && model.ref == true) {
308
+ result = false;
309
+ }
310
+ return result;
311
+ },
312
+ expressionProperties: {
313
+ 'props.parameter': (model) => {
314
+ return {
315
+ master: 'master',
316
+ tableId: 'tableId',
317
+ };
318
+ },
319
+ },
320
+ },
321
+ {
322
+ type: 'text',
323
+ key: 'tableName',
324
+ props: { label: '模型名称', required: true, maxLength: 50, placeholder: '请输入模型名称', layout: 'upDown' },
325
+ },
326
+ {
327
+ type: 'textarea',
328
+ key: 'description',
329
+ props: { label: '模型描述', maxLength: 500, rows: 4, placeholder: '请输入模型描述', layout: 'upDown' },
330
+ },
331
+ ],
332
+ workflow_model_table_info: [
333
+ {
334
+ type: 'checkbox',
335
+ key: 'ref',
336
+ props: { label: '引用模型', hideLabel: true, labelPosition: 'right' },
337
+ defaultValue: true,
338
+ editor: false,
339
+ },
340
+ {
341
+ type: 'lookup',
342
+ key: 'refInfo',
343
+ props: {
344
+ label: '关联模型',
345
+ required: true,
346
+ pageCode: 'Dialog_Paas_Module.workflow_table_ref',
347
+ selectType: 'single',
348
+ layout: 'upDown',
349
+ },
350
+ hideExpression: (model) => {
351
+ let result = true;
352
+ if (model && model.ref == true) {
353
+ result = false;
354
+ }
355
+ return result;
356
+ },
357
+ expressionProperties: {
358
+ 'props.parameter': (model) => {
359
+ return {
360
+ master: 'master',
361
+ tableId: 'tableId',
362
+ };
363
+ },
364
+ },
365
+ },
366
+ {
367
+ type: 'text',
368
+ key: 'tableName',
369
+ props: { label: '模型名称', required: true, maxLength: 50, placeholder: '请输入模型名称', layout: 'upDown' },
370
+ },
371
+ {
372
+ type: 'textarea',
373
+ key: 'description',
374
+ props: { label: '模型描述', maxLength: 500, rows: 4, placeholder: '请输入模型描述', layout: 'upDown' },
375
+ },
376
+ ],
377
+ model_rule_info: [
378
+ {
379
+ type: 'grid',
380
+ fieldGroup: [
381
+ {
382
+ type: 'list',
383
+ props: {
384
+ cols: 12,
385
+ },
386
+ fieldGroup: [
387
+ {
388
+ type: 'text',
389
+ key: 'code',
390
+ props: { label: '规则编码', required: true, maxLength: 50, placeholder: '请输入规则编码', layout: 'upDown' },
391
+ },
392
+ {
393
+ type: 'text',
394
+ key: 'actionType',
395
+ props: { label: '规则类型', maxLength: 50, placeholder: '请输入规则类型', layout: 'upDown' },
396
+ },
397
+ ],
398
+ },
399
+ {
400
+ type: 'list',
401
+ props: {
402
+ cols: 12,
403
+ },
404
+ fieldGroup: [
405
+ {
406
+ type: 'text',
407
+ key: 'name',
408
+ props: { label: '规则名称', required: true, maxLength: 50, placeholder: '请输入规则名称', layout: 'upDown' },
409
+ },
410
+ {
411
+ type: 'text',
412
+ key: 'codeType',
413
+ props: { label: '代码类型', maxLength: 50, placeholder: '请输入代码类型', layout: 'upDown' },
414
+ },
415
+ ],
416
+ },
417
+ ],
418
+ },
419
+ {
420
+ type: 'textarea',
421
+ key: 'codeText',
422
+ props: { label: '代码脚本', rows: 6, maxLength: 8000, placeholder: '请输入代码脚本', layout: 'upDown' },
423
+ },
424
+ {
425
+ type: 'textarea',
426
+ key: 'description',
427
+ props: { label: '菜单描述', maxLength: 500, rows: 4, placeholder: '请输入菜单描述', layout: 'upDown' },
428
+ },
429
+ ],
430
+ permission_form: [
431
+ {
432
+ type: 'text',
433
+ key: 'name',
434
+ props: {
435
+ label: '名称',
436
+ required: true,
437
+ maxLength: 50,
438
+ placeholder: '请输入名称',
439
+ layout: 'upDown',
440
+ cols: 12,
441
+ },
442
+ },
443
+ {
444
+ type: 'select',
445
+ key: 'type',
446
+ props: {
447
+ label: '类型',
448
+ required: true,
449
+ placeholder: '请选择类型',
450
+ layout: 'upDown',
451
+ options: [
452
+ {
453
+ label: '组织',
454
+ value: 'ORG',
455
+ },
456
+ {
457
+ label: '人员',
458
+ value: 'EMPLOYEE',
459
+ },
460
+ ],
461
+ },
462
+ defaultValue: 'ORG',
463
+ },
464
+ {
465
+ type: 'textarea',
466
+ key: 'description',
467
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
468
+ },
469
+ ],
470
+ apaas_card_form: [
471
+ {
472
+ type: 'text',
473
+ key: 'name',
474
+ props: { label: '卡片名称', required: true, maxLength: 50, placeholder: '请输入卡片名称', layout: 'upDown' },
475
+ },
476
+ {
477
+ type: 'select',
478
+ key: 'type',
479
+ props: {
480
+ label: '卡片类型',
481
+ required: true,
482
+ placeholder: '请选择卡片类型',
483
+ layout: 'upDown',
484
+ options: [
485
+ {
486
+ value: 'CUSTOM',
487
+ label: '自定义',
488
+ },
489
+ {
490
+ value: 'EMP',
491
+ label: '人员信息',
492
+ },
493
+ {
494
+ value: 'DATA',
495
+ label: '数据显示',
496
+ },
497
+ ],
498
+ },
499
+ },
500
+ {
501
+ type: 'lookup',
502
+ key: 'tableInfo',
503
+ props: {
504
+ label: '选择主表',
505
+ required: true,
506
+ pageCode: 'Dialog_Paas_Module.table_ref',
507
+ selectType: 'single',
508
+ layout: 'upDown',
509
+ defaultParameter: {
510
+ master: true,
511
+ },
512
+ },
513
+ hideExpression: (model) => {
514
+ let result = true;
515
+ if (model && model.type == 'EMP') {
516
+ result = false;
517
+ }
518
+ return result;
519
+ },
520
+ },
521
+ {
522
+ type: 'switch',
523
+ key: 'disFlag',
524
+ props: {
525
+ label: '是否禁用',
526
+ layout: 'upDown',
527
+ },
528
+ defaultValue: false,
529
+ },
530
+ {
531
+ type: 'textarea',
532
+ key: 'description',
533
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
534
+ },
535
+ ],
536
+ page_select_form: [
537
+ {
538
+ type: 'text',
539
+ key: 'code',
540
+ props: { label: '下拉框编码', required: true, maxLength: 50, placeholder: '请输入下拉框编码', layout: 'upDown' },
541
+ },
542
+ {
543
+ type: 'text',
544
+ key: 'name',
545
+ props: { label: '下拉框名称', required: true, maxLength: 50, placeholder: '请输入下拉框名称', layout: 'upDown' },
546
+ },
547
+ {
548
+ type: 'textarea',
549
+ key: 'description',
550
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
551
+ },
552
+ ],
553
+ page_card_form: [
554
+ {
555
+ type: 'text',
556
+ key: 'code',
557
+ props: { label: '卡片编码', required: true, maxLength: 50, placeholder: '请输入卡片编码', layout: 'upDown' },
558
+ },
559
+ {
560
+ type: 'text',
561
+ key: 'name',
562
+ props: { label: '卡片名称', required: true, maxLength: 50, placeholder: '请输入卡片名称', layout: 'upDown' },
563
+ },
564
+ {
565
+ type: 'textarea',
566
+ key: 'description',
567
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
568
+ },
569
+ ],
570
+ page_tree_form: [
571
+ {
572
+ type: 'text',
573
+ key: 'code',
574
+ props: { label: '树编码', required: true, maxLength: 50, placeholder: '请输入树编码', layout: 'upDown' },
575
+ },
576
+ {
577
+ key: 'type',
578
+ type: 'select',
579
+ props: {
580
+ label: '显示类型',
581
+ required: true,
582
+ options: [
583
+ { value: 'DEFAULT', label: '普通树' },
584
+ { value: 'DIALOG', label: '弹框树' },
585
+ ],
586
+ layout: 'upDown',
587
+ },
588
+ },
589
+ {
590
+ type: 'text',
591
+ key: 'name',
592
+ props: { label: '树名称', required: true, maxLength: 50, placeholder: '请输入树名称', layout: 'upDown' },
593
+ },
594
+ {
595
+ type: 'textarea',
596
+ key: 'description',
597
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
598
+ },
599
+ ],
600
+ setting_list_form: [
601
+ {
602
+ type: 'text',
603
+ key: 'name',
604
+ props: { label: '列表名称', required: true, maxLength: 50, placeholder: '请输入列表名称', layout: 'upDown' },
605
+ },
606
+ {
607
+ type: 'select',
608
+ key: 'type',
609
+ props: {
610
+ label: '显示类型',
611
+ required: true,
612
+ maxLength: 50,
613
+ placeholder: '请选择显示类型',
614
+ layout: 'upDown',
615
+ options: [
616
+ { value: 'LIST', label: '普通列表' },
617
+ { value: 'LIST_VIEW', label: '显示列表' },
618
+ { value: 'LIST_DIALOG', label: '弹框列表' },
619
+ ],
620
+ },
621
+ defaultValue: 'LIST',
622
+ },
623
+ {
624
+ type: 'switch',
625
+ key: 'disFlag',
626
+ props: {
627
+ label: '是否禁用',
628
+ layout: 'upDown',
629
+ },
630
+ defaultValue: false,
631
+ },
632
+ {
633
+ type: 'text',
634
+ key: 'apiAddress',
635
+ props: { label: '请求地址', maxLength: 200, placeholder: '请输入列表请求地址', layout: 'upDown' },
636
+ className: 'full-row',
637
+ },
638
+ {
639
+ type: 'textarea',
640
+ key: 'description',
641
+ props: { label: '列表描述', maxLength: 500, rows: 4, placeholder: '请输入列表描述', layout: 'upDown' },
642
+ },
643
+ ],
644
+ setting_tree_form: [
645
+ {
646
+ type: 'text',
647
+ key: 'name',
648
+ props: { label: '树名称', required: true, maxLength: 50, placeholder: '请输入树名称', layout: 'upDown' },
649
+ },
650
+ {
651
+ key: 'type',
652
+ type: 'select',
653
+ props: {
654
+ label: '显示类型',
655
+ required: true,
656
+ options: [
657
+ { value: 'DEFAULT', label: '普通树' },
658
+ { value: 'DIALOG', label: '弹框树' },
659
+ ],
660
+ layout: 'upDown',
661
+ },
662
+ },
663
+ {
664
+ type: 'switch',
665
+ key: 'disFlag',
666
+ props: {
667
+ label: '是否禁用',
668
+ layout: 'upDown',
669
+ },
670
+ defaultValue: false,
671
+ },
672
+ {
673
+ type: 'textarea',
674
+ key: 'description',
675
+ props: { label: '树描述', maxLength: 500, rows: 4, placeholder: '请输入树描述', layout: 'upDown' },
676
+ },
677
+ ],
678
+ setting_card_form: [
679
+ {
680
+ type: 'text',
681
+ key: 'name',
682
+ props: { label: '卡片名称', required: true, maxLength: 50, placeholder: '请输入卡片名称', layout: 'upDown' },
683
+ },
684
+ {
685
+ type: 'switch',
686
+ key: 'disFlag',
687
+ props: {
688
+ label: '是否禁用',
689
+ layout: 'upDown',
690
+ },
691
+ defaultValue: false,
692
+ },
693
+ {
694
+ type: 'textarea',
695
+ key: 'description',
696
+ props: { label: '卡片描述', maxLength: 500, rows: 4, placeholder: '请输入卡片描述', layout: 'upDown' },
697
+ },
698
+ ],
699
+ setting_select_form: [
700
+ {
701
+ type: 'text',
702
+ key: 'name',
703
+ props: { label: '下拉框名称', required: true, maxLength: 50, placeholder: '请输入下拉框名称', layout: 'upDown' },
704
+ },
705
+ {
706
+ type: 'switch',
707
+ key: 'disFlag',
708
+ props: {
709
+ label: '是否禁用',
710
+ layout: 'upDown',
711
+ },
712
+ defaultValue: false,
713
+ },
714
+ {
715
+ type: 'textarea',
716
+ key: 'description',
717
+ props: { label: '下拉框描述', maxLength: 500, rows: 4, placeholder: '请输入下拉框描述', layout: 'upDown' },
718
+ },
719
+ ],
720
+ setting_form: [
721
+ {
722
+ type: 'text',
723
+ key: 'name',
724
+ props: { label: '表单名称', required: true, maxLength: 50, placeholder: '请输入表单名称', layout: 'upDown' },
725
+ },
726
+ {
727
+ type: 'select',
728
+ key: 'type',
729
+ props: {
730
+ label: '表单类型',
731
+ required: true,
732
+ options: [
733
+ { value: 'DEFAULT', label: '主表单' },
734
+ { value: 'GROUP', label: '表单组' },
735
+ ],
736
+ layout: 'upDown',
737
+ },
738
+ defaultValue: 'DEFAULT',
739
+ },
740
+ {
741
+ type: 'switch',
742
+ key: 'disFlag',
743
+ props: {
744
+ label: '是否禁用',
745
+ layout: 'upDown',
746
+ },
747
+ defaultValue: false,
748
+ },
749
+ {
750
+ type: 'textarea',
751
+ key: 'description',
752
+ props: { label: '表单描述', maxLength: 500, rows: 4, placeholder: '请输入表单描述', layout: 'upDown' },
753
+ },
754
+ ],
755
+ setting_form_child: [
756
+ {
757
+ type: 'text',
758
+ key: 'name',
759
+ props: { label: '表单名称', required: true, maxLength: 50, placeholder: '请输入表单名称', layout: 'upDown' },
760
+ },
761
+ {
762
+ type: 'select',
763
+ key: 'type',
764
+ props: {
765
+ label: '表单类型',
766
+ required: true,
767
+ options: [{ value: 'CHILDREN', label: '子表单' }],
768
+ layout: 'upDown',
769
+ },
770
+ defaultValue: 'CHILDREN',
771
+ editor: false,
772
+ },
773
+ {
774
+ type: 'switch',
775
+ key: 'disFlag',
776
+ props: {
777
+ label: '是否禁用',
778
+ layout: 'upDown',
779
+ },
780
+ defaultValue: false,
781
+ },
782
+ {
783
+ type: 'textarea',
784
+ key: 'description',
785
+ props: { label: '表单描述', maxLength: 500, rows: 4, placeholder: '请输入表单描述', layout: 'upDown' },
786
+ },
787
+ ],
788
+ };
789
+
790
+ const Admin_System = {
791
+ admin_system_item: [
792
+ {
793
+ type: 'grid',
794
+ fieldGroup: [
795
+ {
796
+ type: 'list',
797
+ props: {
798
+ cols: 8,
799
+ },
800
+ fieldGroup: [
801
+ {
802
+ type: 'text',
803
+ key: 'code',
804
+ props: { label: '编码', required: true, maxLength: 50, placeholder: '请输入编码', layout: 'upDown' },
805
+ },
806
+ ],
807
+ },
808
+ {
809
+ type: 'list',
810
+ props: {
811
+ cols: 8,
812
+ },
813
+ fieldGroup: [
814
+ {
815
+ type: 'text',
816
+ key: 'name',
817
+ props: { label: '名称', required: true, maxLength: 50, placeholder: '请输入名称', layout: 'upDown' },
818
+ },
819
+ ],
820
+ },
821
+ {
822
+ type: 'list',
823
+ props: {
824
+ cols: 8,
825
+ },
826
+ fieldGroup: [
827
+ {
828
+ type: 'checkbox',
829
+ key: 'disFlag',
830
+ props: {
831
+ label: '是否禁用',
832
+ layout: 'upDown',
833
+ },
834
+ defaultValue: false,
835
+ },
836
+ ],
837
+ },
838
+ ],
839
+ },
840
+ {
841
+ type: 'textarea',
842
+ key: 'description',
843
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
844
+ },
845
+ {
846
+ type: 'repeat',
847
+ key: 'listDetail',
848
+ fieldArray: {
849
+ fieldGroup: [
850
+ {
851
+ type: 'text',
852
+ key: 'code',
853
+ props: { label: '选项编码', required: true, maxLength: 50, placeholder: '请输入选项编码', cols: 12 },
854
+ },
855
+ {
856
+ type: 'text',
857
+ key: 'name',
858
+ props: { label: '选项名称', required: true, maxLength: 50, placeholder: '请输入选项名称', cols: 12 },
859
+ },
860
+ {
861
+ type: 'switch',
862
+ key: 'disFlag',
863
+ props: {
864
+ label: '是否禁用',
865
+ },
866
+ defaultValue: false,
867
+ },
868
+ ],
869
+ },
870
+ },
871
+ ],
872
+ Admin_System_Tree: [
873
+ {
874
+ type: 'text',
875
+ key: 'code',
876
+ props: { label: '编码', required: true, maxLength: 50, placeholder: '请输入编码', layout: 'upDown' },
877
+ },
878
+ {
879
+ type: 'text',
880
+ key: 'name',
881
+ props: { label: '名称', required: true, maxLength: 50, placeholder: '请输入名称', layout: 'upDown' },
882
+ },
883
+ {
884
+ type: 'switch',
885
+ key: 'disFlag',
886
+ props: {
887
+ label: '是否禁用',
888
+ layout: 'upDown',
889
+ },
890
+ defaultValue: false,
891
+ },
892
+ {
893
+ type: 'textarea',
894
+ key: 'description',
895
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
896
+ },
897
+ ],
898
+ Admin_System_Role: [
899
+ {
900
+ type: 'text',
901
+ key: 'code',
902
+ props: { label: '角色编码', required: true, maxLength: 50, placeholder: '请输入角色编码', layout: 'upDown' },
903
+ },
904
+ {
905
+ type: 'text',
906
+ key: 'name',
907
+ props: { label: '角色名称', required: true, maxLength: 50, placeholder: '请输入角色名称', layout: 'upDown' },
908
+ },
909
+ {
910
+ type: 'checkbox',
911
+ key: 'izDefault',
912
+ props: {
913
+ label: '是否默认',
914
+ hideLabel: true,
915
+ labelPosition: 'right',
916
+ },
917
+ defaultValue: false,
918
+ },
919
+ {
920
+ type: 'checkbox',
921
+ key: 'disFlag',
922
+ props: {
923
+ label: '是否禁用',
924
+ hideLabel: true,
925
+ labelPosition: 'right',
926
+ },
927
+ defaultValue: false,
928
+ },
929
+ {
930
+ type: 'textarea',
931
+ key: 'description',
932
+ props: { label: '角色描述', maxLength: 500, rows: 4, placeholder: '请输入角色描述', layout: 'upDown' },
933
+ },
934
+ ],
935
+ Admin_System_Table_Field: [
936
+ {
937
+ type: 'text',
938
+ key: 'code',
939
+ props: { prefix: 'x_', label: '字段编码', required: true, maxLength: 50, placeholder: '请输入字段编码', layout: 'upDown' },
940
+ },
941
+ {
942
+ type: 'text',
943
+ key: 'name',
944
+ props: { label: '字段名称', required: true, maxLength: 50, placeholder: '请输入字段名称', layout: 'upDown' },
945
+ },
946
+ {
947
+ type: 'select',
948
+ key: 'type',
949
+ props: { label: '字段类型', required: true, options: FieldType(), layout: 'upDown' },
950
+ },
951
+ {
952
+ type: 'lookup',
953
+ key: 'refInfo',
954
+ props: { required: true, selectType: 'single', layout: 'upDown' },
955
+ hideExpression: (model) => {
956
+ let result = true;
957
+ if (model && model.type == 'ITEM') {
958
+ result = false;
959
+ }
960
+ return result;
961
+ },
962
+ expressionProperties: {
963
+ 'props.label': (model) => {
964
+ let result = '关联模型';
965
+ if (model && model.type == 'ITEM') {
966
+ result = '选项参数';
967
+ }
968
+ return result;
969
+ },
970
+ 'props.pageCode': (model) => {
971
+ let result = null;
972
+ if (model && model.type == 'ITEM') {
973
+ result = 'Dialog_Paas_Basic.item';
974
+ }
975
+ return result;
976
+ },
977
+ },
978
+ },
979
+ {
980
+ type: 'grid',
981
+ fieldGroup: [
982
+ {
983
+ type: 'list',
984
+ props: {
985
+ cols: 12,
986
+ },
987
+ fieldGroup: [
988
+ {
989
+ type: 'number',
990
+ key: 'minLength',
991
+ props: { label: '最小长度', minLength: 0, placeholder: '请输入最小长度', layout: 'upDown' },
992
+ defaultValue: 0,
993
+ },
994
+ ],
995
+ },
996
+ {
997
+ type: 'list',
998
+ props: {
999
+ cols: 12,
1000
+ },
1001
+ fieldGroup: [
1002
+ {
1003
+ type: 'number',
1004
+ key: 'maxLength',
1005
+ props: { label: '最大长度', minLength: 0, placeholder: '请输入最大长度', layout: 'upDown' },
1006
+ defaultValue: 50,
1007
+ },
1008
+ ],
1009
+ },
1010
+ ],
1011
+ hideExpression: (model) => {
1012
+ let result = true;
1013
+ if (model && model.type && (model.type == 'TEXT' || model.type == 'TEXTAREA')) {
1014
+ result = false;
1015
+ }
1016
+ return result;
1017
+ },
1018
+ },
1019
+ {
1020
+ type: 'number',
1021
+ key: 'precision',
1022
+ props: { label: '精度', min: 0, max: 8, placeholder: '请输入精度', layout: 'upDown' },
1023
+ defaultValue: 0,
1024
+ hideExpression: (model) => {
1025
+ let result = true;
1026
+ if (model && model.type && model.type == 'FLOAT') {
1027
+ result = false;
1028
+ }
1029
+ return result;
1030
+ },
1031
+ },
1032
+ {
1033
+ type: 'grid',
1034
+ fieldGroup: [
1035
+ {
1036
+ type: 'list',
1037
+ props: {
1038
+ cols: 12,
1039
+ },
1040
+ fieldGroup: [
1041
+ {
1042
+ type: 'number',
1043
+ key: 'min',
1044
+ props: { label: '最小值', min: 0, placeholder: '请输入最小值', layout: 'upDown' },
1045
+ defaultValue: 0,
1046
+ },
1047
+ ],
1048
+ },
1049
+ {
1050
+ type: 'list',
1051
+ props: {
1052
+ cols: 12,
1053
+ },
1054
+ fieldGroup: [
1055
+ {
1056
+ type: 'number',
1057
+ key: 'max',
1058
+ props: { label: '最大值', min: 0, placeholder: '请输入最大值', layout: 'upDown' },
1059
+ defaultValue: 999999,
1060
+ },
1061
+ ],
1062
+ },
1063
+ ],
1064
+ hideExpression: (model) => {
1065
+ let result = true;
1066
+ if (model && model.type && (model.type == 'INT' || model.type == 'FLOAT')) {
1067
+ result = false;
1068
+ }
1069
+ return result;
1070
+ },
1071
+ },
1072
+ {
1073
+ type: 'checkbox',
1074
+ key: 'required',
1075
+ props: { label: '是否必填', layout: 'upDown' },
1076
+ },
1077
+ {
1078
+ type: 'switch',
1079
+ key: 'disFlag',
1080
+ props: {
1081
+ label: '是否禁用',
1082
+ layout: 'upDown',
1083
+ },
1084
+ defaultValue: false,
1085
+ },
1086
+ {
1087
+ type: 'textarea',
1088
+ key: 'description',
1089
+ props: { label: '字段描述', maxLength: 500, rows: 4, placeholder: '请输入字段描述', layout: 'upDown' },
1090
+ },
1091
+ ],
1092
+ Admin_System_User: [
1093
+ {
1094
+ type: 'text',
1095
+ key: 'code',
1096
+ props: { label: '编码', required: true, maxLength: 50, placeholder: '请输入用户编码', layout: 'upDown' },
1097
+ },
1098
+ {
1099
+ type: 'text',
1100
+ key: 'name',
1101
+ props: { label: '名称', required: true, maxLength: 50, placeholder: '请输入用户名称', layout: 'upDown' },
1102
+ },
1103
+ {
1104
+ type: 'text',
1105
+ key: 'account',
1106
+ props: { label: '登录账号', required: true, maxLength: 50, placeholder: '请输入登录账号', layout: 'upDown' },
1107
+ },
1108
+ {
1109
+ type: 'lookup',
1110
+ key: 'listRole',
1111
+ props: {
1112
+ pageCode: 'Dialog_Admin_System.role',
1113
+ label: '系统角色',
1114
+ selectType: 'multiple',
1115
+ required: true,
1116
+ placeholder: '请选择系统角色',
1117
+ layout: 'upDown',
1118
+ },
1119
+ },
1120
+ {
1121
+ type: 'checkbox',
1122
+ key: 'disFlag',
1123
+ props: {
1124
+ label: '是否禁用',
1125
+ hideLabel: true,
1126
+ labelPosition: 'right',
1127
+ },
1128
+ defaultValue: false,
1129
+ },
1130
+ {
1131
+ type: 'textarea',
1132
+ key: 'description',
1133
+ props: { label: '用户描述', maxLength: 500, rows: 4, placeholder: '请输入用户描述', layout: 'upDown' },
1134
+ },
1135
+ ],
1136
+ Admin_System_UserGroup: [
1137
+ {
1138
+ type: 'text',
1139
+ key: 'code',
1140
+ props: { label: '编码', required: true, maxLength: 50, placeholder: '请输入用户组编码', layout: 'upDown' },
1141
+ },
1142
+ {
1143
+ type: 'text',
1144
+ key: 'name',
1145
+ props: { label: '名称', required: true, maxLength: 50, placeholder: '请输入用户组名称', layout: 'upDown' },
1146
+ },
1147
+ {
1148
+ type: 'checkbox',
1149
+ key: 'izDefault',
1150
+ props: {
1151
+ label: '是否默认',
1152
+ hideLabel: true,
1153
+ labelPosition: 'right',
1154
+ },
1155
+ defaultValue: false,
1156
+ },
1157
+ {
1158
+ type: 'checkbox',
1159
+ key: 'disFlag',
1160
+ props: {
1161
+ label: '是否禁用',
1162
+ hideLabel: true,
1163
+ labelPosition: 'right',
1164
+ },
1165
+ defaultValue: false,
1166
+ },
1167
+ {
1168
+ type: 'textarea',
1169
+ key: 'description',
1170
+ props: { label: '角色描述', maxLength: 500, rows: 4, placeholder: '请输入角色描述', layout: 'upDown' },
1171
+ },
1172
+ ],
1173
+ Admin_System_Tenant: [
1174
+ {
1175
+ type: 'text',
1176
+ key: 'code',
1177
+ props: { label: '编码', required: true, maxLength: 50, placeholder: '请输入组织分组编码', layout: 'upDown' },
1178
+ },
1179
+ {
1180
+ type: 'text',
1181
+ key: 'name',
1182
+ props: { label: '名称', required: true, maxLength: 50, placeholder: '请输入组织分组名称', layout: 'upDown' },
1183
+ },
1184
+ {
1185
+ type: 'datetime',
1186
+ key: 'beginDate',
1187
+ props: { type: 'date', label: '启动日期', required: true, layout: 'upDown' },
1188
+ expressionProperties: { 'props.maxDate': 'model.endDate' },
1189
+ },
1190
+ {
1191
+ type: 'datetime',
1192
+ key: 'endDate',
1193
+ props: { type: 'date', label: '失效日期', required: true, layout: 'upDown' },
1194
+ expressionProperties: { 'props.minDate': 'model.beginDate' },
1195
+ },
1196
+ {
1197
+ type: 'checkbox',
1198
+ key: 'disFlag',
1199
+ props: {
1200
+ label: '是否禁用',
1201
+ hideLabel: true,
1202
+ labelPosition: 'right',
1203
+ },
1204
+ defaultValue: false,
1205
+ },
1206
+ {
1207
+ type: 'textarea',
1208
+ key: 'description',
1209
+ props: { label: '用户描述', maxLength: 500, rows: 4, placeholder: '请输入用户描述', layout: 'upDown' },
1210
+ },
1211
+ ],
1212
+ Admin_System_Org: [
1213
+ {
1214
+ type: 'text',
1215
+ key: 'code',
1216
+ props: { label: '组织编码', required: true, maxLength: 50, placeholder: '请输入组织编码', layout: 'upDown' },
1217
+ },
1218
+ {
1219
+ type: 'text',
1220
+ key: 'name',
1221
+ props: { label: '组织名称', required: true, maxLength: 50, placeholder: '请输入组织名称', layout: 'upDown' },
1222
+ },
1223
+ {
1224
+ type: 'datetime',
1225
+ key: 'effectDate',
1226
+ props: { type: 'date', label: '生效日期', required: true, layout: 'upDown' },
1227
+ },
1228
+ ],
1229
+ };
1230
+
1231
+ const Admin_Personnel = {
1232
+ Admin_Personnel_Position: [
1233
+ {
1234
+ type: 'text',
1235
+ key: 'code',
1236
+ props: { label: '编码', required: true, maxLength: 50, placeholder: '请输入编码', layout: 'upDown' },
1237
+ },
1238
+ {
1239
+ type: 'text',
1240
+ key: 'name',
1241
+ props: { label: '名称', required: true, maxLength: 50, placeholder: '请输入名称', layout: 'upDown' },
1242
+ },
1243
+ {
1244
+ type: 'switch',
1245
+ key: 'disFlag',
1246
+ props: {
1247
+ label: '是否禁用',
1248
+ layout: 'upDown',
1249
+ },
1250
+ defaultValue: false,
1251
+ },
1252
+ {
1253
+ type: 'textarea',
1254
+ key: 'description',
1255
+ props: { label: '描述', maxLength: 500, rows: 4, placeholder: '请输入描述', layout: 'upDown' },
1256
+ },
1257
+ {
1258
+ type: 'repeat',
1259
+ key: 'listDetail',
1260
+ fieldArray: {
1261
+ fieldGroup: [
1262
+ {
1263
+ type: 'text',
1264
+ key: 'code',
1265
+ props: { label: '选项编码', required: true, maxLength: 50, placeholder: '请输入选项编码', cols: 12 },
1266
+ },
1267
+ {
1268
+ type: 'text',
1269
+ key: 'name',
1270
+ props: { label: '选项名称', required: true, maxLength: 50, placeholder: '请输入选项名称', cols: 12 },
1271
+ },
1272
+ {
1273
+ type: 'switch',
1274
+ key: 'disFlag',
1275
+ props: {
1276
+ label: '是否禁用',
1277
+ },
1278
+ defaultValue: false,
1279
+ },
1280
+ ],
1281
+ },
1282
+ },
1283
+ ],
1284
+ };
1285
+
1286
+ const switchData = [
1287
+ { value: "Edit", label: "可编辑" },
1288
+ { value: "FixedShow", label: "不可编辑-显示" },
1289
+ { value: "FixedHide", label: "不可编辑-隐藏" }
1290
+ ];
1291
+ const Admin_Attendance = {
1292
+ Admin_Attendance_Template: [
1293
+ {
1294
+ type: "text",
1295
+ key: "name",
1296
+ props: {
1297
+ label: "模板名称",
1298
+ required: true,
1299
+ maxLength: 50,
1300
+ placeholder: "请输入模板名称",
1301
+ layout: "upDown"
1302
+ },
1303
+ },
1304
+ {
1305
+ type: "grid",
1306
+ props: {
1307
+ "hideLabel": true
1308
+ },
1309
+ fieldGroup: [
1310
+ {
1311
+ type: "list",
1312
+ props: {
1313
+ "hideLabel": true,
1314
+ "cols": 8
1315
+ },
1316
+ fieldGroup: [
1317
+ {
1318
+ type: "select",
1319
+ key: "switchBasic",
1320
+ defaultValue: "FixedShow",
1321
+ props: {
1322
+ label: "开关-班次基本信息",
1323
+ required: true,
1324
+ placeholder: "请选择开关-班次基本信息",
1325
+ layout: "upDown",
1326
+ options: switchData,
1327
+ },
1328
+ },
1329
+ {
1330
+ type: "select",
1331
+ key: "switchStack",
1332
+ defaultValue: "FixedShow",
1333
+ props: {
1334
+ label: "开关-标准工作栈",
1335
+ required: true,
1336
+ placeholder: "请选择开关-标准工作栈",
1337
+ layout: "upDown",
1338
+ options: switchData,
1339
+ }
1340
+ },
1341
+ {
1342
+ type: "select",
1343
+ key: "switchException",
1344
+ defaultValue: "FixedShow",
1345
+ props: {
1346
+ label: "开关-异常分析",
1347
+ required: true,
1348
+ placeholder: "请选择开关-异常分析",
1349
+ layout: "upDown",
1350
+ options: switchData,
1351
+ }
1352
+ }
1353
+ ],
1354
+ },
1355
+ {
1356
+ type: "list",
1357
+ props: {
1358
+ "hideLabel": true,
1359
+ "cols": 8
1360
+ },
1361
+ fieldGroup: [
1362
+ {
1363
+ type: "select",
1364
+ key: "switchClock",
1365
+ defaultValue: "FixedShow",
1366
+ props: {
1367
+ label: "开关-时间打卡规则",
1368
+ required: true,
1369
+ placeholder: "请选择开关-时间打卡规则",
1370
+ layout: "upDown",
1371
+ options: switchData,
1372
+ }
1373
+ },
1374
+ {
1375
+ type: "select",
1376
+ key: "switchOvertime",
1377
+ defaultValue: "FixedShow",
1378
+ props: {
1379
+ label: "开关-加班规则",
1380
+ required: true,
1381
+ placeholder: "请选择开关-加班规则",
1382
+ layout: "upDown",
1383
+ options: switchData,
1384
+ }
1385
+ },
1386
+ {
1387
+ type: "select",
1388
+ key: "switchDay",
1389
+ defaultValue: "FixedShow",
1390
+ props: {
1391
+ label: "开关-出勤天数计算",
1392
+ required: true,
1393
+ placeholder: "请选择开关-出勤天数计算",
1394
+ layout: "upDown",
1395
+ options: switchData,
1396
+ }
1397
+ }
1398
+ ]
1399
+ },
1400
+ {
1401
+ type: "list",
1402
+ props: {
1403
+ "hideLabel": true,
1404
+ "cols": 8
1405
+ },
1406
+ fieldGroup: [
1407
+ {
1408
+ type: "select",
1409
+ key: "switchFlexible",
1410
+ defaultValue: "FixedShow",
1411
+ props: {
1412
+ label: "开关-弹性出勤规则",
1413
+ required: true,
1414
+ placeholder: "请选择开关-弹性出勤规则",
1415
+ layout: "upDown",
1416
+ options: switchData,
1417
+ }
1418
+ },
1419
+ {
1420
+ type: "select",
1421
+ key: "switchMobile",
1422
+ defaultValue: "FixedShow",
1423
+ props: {
1424
+ label: "开关-移动考勤",
1425
+ required: true,
1426
+ placeholder: "请选择开关-移动考勤",
1427
+ layout: "upDown",
1428
+ options: switchData,
1429
+ }
1430
+ },
1431
+ {
1432
+ type: "select",
1433
+ key: "switchHours",
1434
+ defaultValue: "FixedShow",
1435
+ props: {
1436
+ label: "开关-工时计算",
1437
+ required: true,
1438
+ placeholder: "请选择开关-工时计算",
1439
+ layout: "upDown",
1440
+ options: switchData,
1441
+ }
1442
+ }
1443
+ ],
1444
+ }
1445
+ ],
1446
+ },
1447
+ {
1448
+ type: "select",
1449
+ key: "switchResult",
1450
+ defaultValue: "FixedShow",
1451
+ props: {
1452
+ label: "开关-结果记录",
1453
+ required: true,
1454
+ placeholder: "请选择开关-结果记录",
1455
+ layout: "upDown",
1456
+ options: switchData,
1457
+ }
1458
+ }
1459
+ ],
1460
+ Admin_Attendance_Shift: [
1461
+ {
1462
+ type: "text",
1463
+ key: "name",
1464
+ props: {
1465
+ label: "班次名称",
1466
+ required: true,
1467
+ maxLength: 50,
1468
+ placeholder: "请输入班次名称",
1469
+ layout: "upDown"
1470
+ },
1471
+ },
1472
+ {
1473
+ type: "radiogroup",
1474
+ key: "type",
1475
+ props: {
1476
+ label: "班次类型",
1477
+ type: "button",
1478
+ required: true,
1479
+ placeholder: "请选择班次类型",
1480
+ layout: "upDown",
1481
+ options: ShiftType()
1482
+ },
1483
+ defaultValue: "DEFAULT"
1484
+ },
1485
+ {
1486
+ type: "select",
1487
+ key: "takeClock",
1488
+ props: {
1489
+ label: "取卡规则",
1490
+ required: true,
1491
+ placeholder: "请选择取卡规则",
1492
+ layout: "upDown",
1493
+ options: TakeClockType()
1494
+ },
1495
+ defaultValue: "SplitTime"
1496
+ },
1497
+ {
1498
+ type: 'textarea',
1499
+ key: 'description',
1500
+ props: { label: '描述', maxLength: 500, rows: 6, placeholder: '请输入描述', layout: 'upDown' },
1501
+ },
1502
+ ]
1503
+ };
1504
+
1505
+ const Payroll_SheBao = {
1506
+ /**
1507
+ * 补缴
1508
+ */
1509
+ shebao_overdue_form: [
1510
+ {
1511
+ type: 'lookup',
1512
+ key: 'empInfo',
1513
+ props: {
1514
+ label: '缴交员工',
1515
+ required: true,
1516
+ placeholder: '请选择员工',
1517
+ layout: 'upDown',
1518
+ selectType: 'single',
1519
+ pageType: 'LIST',
1520
+ pageId: '1663889434215026689',
1521
+ },
1522
+ },
1523
+ {
1524
+ type: 'grid',
1525
+ fieldGroup: [
1526
+ {
1527
+ type: 'list',
1528
+ props: {
1529
+ cols: 8,
1530
+ },
1531
+ fieldGroup: [
1532
+ {
1533
+ type: 'checkbox',
1534
+ key: 'izSheBao',
1535
+ props: {
1536
+ label: '开启社保补缴',
1537
+ layout: 'upDown',
1538
+ },
1539
+ },
1540
+ ],
1541
+ },
1542
+ {
1543
+ type: 'list',
1544
+ props: {
1545
+ cols: 8,
1546
+ },
1547
+ fieldGroup: [
1548
+ {
1549
+ type: 'datetime',
1550
+ key: 'sheBaoBegin',
1551
+ props: {
1552
+ label: '社保补缴开始日期',
1553
+ type: 'month',
1554
+ layout: 'upDown',
1555
+ },
1556
+ },
1557
+ ],
1558
+ },
1559
+ {
1560
+ type: 'list',
1561
+ props: {
1562
+ cols: 8,
1563
+ },
1564
+ fieldGroup: [
1565
+ {
1566
+ type: 'datetime',
1567
+ key: 'sheBaoEnd',
1568
+ props: {
1569
+ label: '社保补缴结束日期',
1570
+ type: 'month',
1571
+ layout: 'upDown',
1572
+ },
1573
+ },
1574
+ ],
1575
+ },
1576
+ ],
1577
+ },
1578
+ {
1579
+ type: 'grid',
1580
+ fieldGroup: [
1581
+ {
1582
+ type: 'list',
1583
+ props: {
1584
+ cols: 8,
1585
+ },
1586
+ fieldGroup: [
1587
+ {
1588
+ type: 'checkbox',
1589
+ key: 'izGjj',
1590
+ props: {
1591
+ label: '开启公积金补缴',
1592
+ layout: 'upDown',
1593
+ },
1594
+ },
1595
+ ],
1596
+ },
1597
+ {
1598
+ type: 'list',
1599
+ props: {
1600
+ cols: 8,
1601
+ },
1602
+ fieldGroup: [
1603
+ {
1604
+ type: 'datetime',
1605
+ key: 'gjjBegin',
1606
+ props: {
1607
+ label: '公积金补缴开始日期',
1608
+ type: 'month',
1609
+ layout: 'upDown',
1610
+ },
1611
+ },
1612
+ ],
1613
+ },
1614
+ {
1615
+ type: 'list',
1616
+ props: {
1617
+ cols: 8,
1618
+ },
1619
+ fieldGroup: [
1620
+ {
1621
+ type: 'datetime',
1622
+ key: 'gjjEnd',
1623
+ props: {
1624
+ label: '公积金补缴结束日期',
1625
+ type: 'month',
1626
+ layout: 'upDown',
1627
+ },
1628
+ },
1629
+ ],
1630
+ },
1631
+ ],
1632
+ },
1633
+ ],
1634
+ /**
1635
+ * 停缴
1636
+ */
1637
+ shebao_stop_form: [
1638
+ {
1639
+ type: 'lookup',
1640
+ key: 'empInfo',
1641
+ props: {
1642
+ label: '补缴员工',
1643
+ required: true,
1644
+ placeholder: '请选择员工',
1645
+ layout: 'upDown',
1646
+ selectType: 'single',
1647
+ pageType: 'LIST',
1648
+ pageId: '1663889434215026689',
1649
+ },
1650
+ },
1651
+ {
1652
+ type: 'datetime',
1653
+ key: 'stopSb',
1654
+ props: {
1655
+ label: '社保停缴日期',
1656
+ type: 'month',
1657
+ required: true,
1658
+ layout: 'upDown',
1659
+ },
1660
+ },
1661
+ {
1662
+ type: 'datetime',
1663
+ key: 'stopGjj',
1664
+ props: {
1665
+ label: '公积金停缴日期',
1666
+ type: 'month',
1667
+ required: true,
1668
+ layout: 'upDown',
1669
+ },
1670
+ },
1671
+ ],
1672
+ /**
1673
+ * 代扣
1674
+ */
1675
+ shebao_withhold_form: [
1676
+ {
1677
+ type: 'lookup',
1678
+ key: 'empInfo',
1679
+ props: {
1680
+ label: '代扣员工',
1681
+ required: true,
1682
+ placeholder: '请选择员工',
1683
+ layout: 'upDown',
1684
+ selectType: 'single',
1685
+ pageType: 'LIST',
1686
+ pageId: '1663889434215026689',
1687
+ },
1688
+ },
1689
+ {
1690
+ type: 'grid',
1691
+ fieldGroup: [
1692
+ {
1693
+ type: 'list',
1694
+ props: {
1695
+ cols: 8,
1696
+ },
1697
+ fieldGroup: [
1698
+ {
1699
+ type: 'checkbox',
1700
+ key: 'izSheBao',
1701
+ props: {
1702
+ label: '开启社保代扣',
1703
+ layout: 'upDown',
1704
+ },
1705
+ },
1706
+ ],
1707
+ },
1708
+ {
1709
+ type: 'list',
1710
+ props: {
1711
+ cols: 8,
1712
+ },
1713
+ fieldGroup: [
1714
+ {
1715
+ type: 'datetime',
1716
+ key: 'sheBaoBegin',
1717
+ props: {
1718
+ label: '社保代扣开始日期',
1719
+ type: 'month',
1720
+ layout: 'upDown',
1721
+ },
1722
+ },
1723
+ ],
1724
+ },
1725
+ {
1726
+ type: 'list',
1727
+ props: {
1728
+ cols: 8,
1729
+ },
1730
+ fieldGroup: [
1731
+ {
1732
+ type: 'datetime',
1733
+ key: 'sheBaoEnd',
1734
+ props: {
1735
+ label: '社保代扣结束日期',
1736
+ type: 'month',
1737
+ layout: 'upDown',
1738
+ },
1739
+ },
1740
+ ],
1741
+ },
1742
+ ],
1743
+ },
1744
+ {
1745
+ type: 'grid',
1746
+ fieldGroup: [
1747
+ {
1748
+ type: 'list',
1749
+ props: {
1750
+ cols: 8,
1751
+ },
1752
+ fieldGroup: [
1753
+ {
1754
+ type: 'checkbox',
1755
+ key: 'izGjj',
1756
+ props: {
1757
+ label: '开启公积金代扣',
1758
+ layout: 'upDown',
1759
+ },
1760
+ },
1761
+ ],
1762
+ },
1763
+ {
1764
+ type: 'list',
1765
+ props: {
1766
+ cols: 8,
1767
+ },
1768
+ fieldGroup: [
1769
+ {
1770
+ type: 'datetime',
1771
+ key: 'gjjBegin',
1772
+ props: {
1773
+ label: '公积金代扣开始日期',
1774
+ type: 'month',
1775
+ layout: 'upDown',
1776
+ },
1777
+ },
1778
+ ],
1779
+ },
1780
+ {
1781
+ type: 'list',
1782
+ props: {
1783
+ cols: 8,
1784
+ },
1785
+ fieldGroup: [
1786
+ {
1787
+ type: 'datetime',
1788
+ key: 'gjjEnd',
1789
+ props: {
1790
+ label: '公积金代扣结束日期',
1791
+ type: 'month',
1792
+ layout: 'upDown',
1793
+ },
1794
+ },
1795
+ ],
1796
+ },
1797
+ ],
1798
+ },
1799
+ ],
1800
+ /**
1801
+ * 重新发起缴交
1802
+ */
1803
+ shebao_reset_form: [
1804
+ {
1805
+ type: 'datetime',
1806
+ key: 'startPay',
1807
+ props: {
1808
+ label: '缴交日期',
1809
+ required: true,
1810
+ type: 'month',
1811
+ layout: 'upDown',
1812
+ },
1813
+ },
1814
+ ],
1815
+ /**
1816
+ * 社保区域政策
1817
+ */
1818
+ shebao_policy_form: [
1819
+ {
1820
+ type: 'grid',
1821
+ fieldGroup: [
1822
+ {
1823
+ type: 'list',
1824
+ props: {
1825
+ cols: 8,
1826
+ },
1827
+ fieldGroup: [
1828
+ {
1829
+ type: 'number',
1830
+ key: 'gsMax',
1831
+ defaultValue: 0,
1832
+ props: {
1833
+ label: '公司基数上限',
1834
+ required: true,
1835
+ max: 999999,
1836
+ min: 0,
1837
+ placeholder: '请输入公司基数上限',
1838
+ precision: 6,
1839
+ layout: 'upDown',
1840
+ },
1841
+ },
1842
+ {
1843
+ type: 'number',
1844
+ key: 'gsMin',
1845
+ defaultValue: 0,
1846
+ props: {
1847
+ label: '公司基数下限',
1848
+ required: true,
1849
+ max: 999999,
1850
+ min: 0,
1851
+ placeholder: '请输入公司基数下限',
1852
+ precision: 6,
1853
+ layout: 'upDown',
1854
+ },
1855
+ },
1856
+ {
1857
+ type: 'number',
1858
+ key: 'gsRatio',
1859
+ defaultValue: 0,
1860
+ props: {
1861
+ label: '公司缴纳比例(%)',
1862
+ required: true,
1863
+ max: 300,
1864
+ min: 0,
1865
+ placeholder: '请输入公司缴纳比例',
1866
+ precision: 6,
1867
+ layout: 'upDown',
1868
+ },
1869
+ },
1870
+ ],
1871
+ },
1872
+ {
1873
+ type: 'list',
1874
+ props: {
1875
+ cols: 8,
1876
+ },
1877
+ fieldGroup: [
1878
+ {
1879
+ type: 'select',
1880
+ key: 'gsMaxType',
1881
+ defaultValue: 'Numerical',
1882
+ props: {
1883
+ label: '公司基数上限-类型',
1884
+ required: true,
1885
+ placeholder: '请选择公司基数上限类型',
1886
+ layout: 'upDown',
1887
+ selectType: 'single',
1888
+ options: ValueType(),
1889
+ },
1890
+ },
1891
+ {
1892
+ type: 'select',
1893
+ key: 'gsMinType',
1894
+ defaultValue: 'Numerical',
1895
+ props: {
1896
+ label: '公司基数下限-类型',
1897
+ required: true,
1898
+ placeholder: '请选择公司基数下限类型',
1899
+ layout: 'upDown',
1900
+ selectType: 'single',
1901
+ options: ValueType(),
1902
+ },
1903
+ },
1904
+ {
1905
+ type: 'number',
1906
+ key: 'gsAdjust',
1907
+ defaultValue: 0,
1908
+ props: {
1909
+ label: '公司缴纳修正值',
1910
+ required: true,
1911
+ max: 999999,
1912
+ min: 0,
1913
+ placeholder: '请输入公司缴纳修正值',
1914
+ precision: 6,
1915
+ layout: 'upDown',
1916
+ },
1917
+ },
1918
+ ],
1919
+ },
1920
+ {
1921
+ type: 'list',
1922
+ props: {
1923
+ cols: 8,
1924
+ },
1925
+ fieldGroup: [
1926
+ {
1927
+ type: 'number',
1928
+ key: 'gsPrecision',
1929
+ defaultValue: 0,
1930
+ props: {
1931
+ label: '公司取值精度',
1932
+ required: true,
1933
+ max: 6,
1934
+ min: 0,
1935
+ placeholder: '请输入公司取值精度',
1936
+ precision: 0,
1937
+ layout: 'upDown',
1938
+ },
1939
+ },
1940
+ {
1941
+ type: 'select',
1942
+ key: 'gsRound',
1943
+ defaultValue: '1',
1944
+ props: {
1945
+ label: '公司取值进位规则',
1946
+ required: true,
1947
+ placeholder: '请选择公司取值进位规则',
1948
+ layout: 'upDown',
1949
+ selectType: 'single',
1950
+ options: RoundType(),
1951
+ },
1952
+ },
1953
+ ],
1954
+ },
1955
+ ],
1956
+ },
1957
+ {
1958
+ type: 'grid',
1959
+ fieldGroup: [
1960
+ {
1961
+ type: 'list',
1962
+ props: {
1963
+ cols: 8,
1964
+ },
1965
+ fieldGroup: [
1966
+ {
1967
+ type: 'number',
1968
+ key: 'grMax',
1969
+ defaultValue: 0,
1970
+ props: {
1971
+ label: '个人基数上限',
1972
+ required: true,
1973
+ max: 999999,
1974
+ min: 0,
1975
+ placeholder: '请输入个人基数上限',
1976
+ precision: 6,
1977
+ layout: 'upDown',
1978
+ },
1979
+ },
1980
+ {
1981
+ type: 'number',
1982
+ key: 'grMin',
1983
+ defaultValue: 0,
1984
+ props: {
1985
+ label: '个人基数下限',
1986
+ required: true,
1987
+ max: 999999,
1988
+ min: 0,
1989
+ placeholder: '请输入个人基数下限',
1990
+ precision: 6,
1991
+ layout: 'upDown',
1992
+ },
1993
+ },
1994
+ {
1995
+ type: 'number',
1996
+ key: 'grRatio',
1997
+ defaultValue: 0,
1998
+ props: {
1999
+ label: '个人缴纳比例(%)',
2000
+ required: true,
2001
+ max: 300,
2002
+ min: 0,
2003
+ placeholder: '请输入个人缴纳比例',
2004
+ precision: 6,
2005
+ layout: 'upDown',
2006
+ },
2007
+ },
2008
+ ],
2009
+ },
2010
+ {
2011
+ type: 'list',
2012
+ props: {
2013
+ cols: 8,
2014
+ },
2015
+ fieldGroup: [
2016
+ {
2017
+ type: 'select',
2018
+ key: 'grMaxType',
2019
+ defaultValue: 'Numerical',
2020
+ props: {
2021
+ label: '个人基数上限-类型',
2022
+ required: true,
2023
+ placeholder: '请选择个人基数上限类型',
2024
+ layout: 'upDown',
2025
+ selectType: 'single',
2026
+ options: ValueType(),
2027
+ },
2028
+ },
2029
+ {
2030
+ type: 'select',
2031
+ key: 'grMinType',
2032
+ defaultValue: 'Numerical',
2033
+ props: {
2034
+ label: '个人基数下限-类型',
2035
+ required: true,
2036
+ placeholder: '请选择个人基数下限类型',
2037
+ layout: 'upDown',
2038
+ selectType: 'single',
2039
+ options: ValueType(),
2040
+ },
2041
+ },
2042
+ {
2043
+ type: 'number',
2044
+ key: 'grRatio',
2045
+ defaultValue: 0,
2046
+ props: {
2047
+ label: '个人缴纳修正值',
2048
+ required: true,
2049
+ max: 999999,
2050
+ min: 0,
2051
+ placeholder: '请输入个人缴纳修正值',
2052
+ precision: 6,
2053
+ layout: 'upDown',
2054
+ },
2055
+ },
2056
+ ],
2057
+ },
2058
+ {
2059
+ type: 'list',
2060
+ props: {
2061
+ cols: 8,
2062
+ },
2063
+ fieldGroup: [
2064
+ {
2065
+ type: 'number',
2066
+ key: 'grPrecision',
2067
+ defaultValue: 0,
2068
+ props: {
2069
+ label: '个人取值精度',
2070
+ required: true,
2071
+ max: 6,
2072
+ min: 0,
2073
+ placeholder: '请输入个人取值精度',
2074
+ precision: 0,
2075
+ layout: 'upDown',
2076
+ },
2077
+ },
2078
+ {
2079
+ type: 'select',
2080
+ key: 'grRound',
2081
+ defaultValue: '1',
2082
+ props: {
2083
+ label: '个人取值进位规则',
2084
+ required: true,
2085
+ placeholder: '请选择个人取值进位规则',
2086
+ layout: 'upDown',
2087
+ selectType: 'single',
2088
+ options: RoundType(),
2089
+ },
2090
+ },
2091
+ ],
2092
+ },
2093
+ ],
2094
+ },
2095
+ ],
2096
+ };
2097
+
2098
+ const Gram_KPI = {
2099
+ kpi_form_write: [
2100
+ {
2101
+ type: 'text',
2102
+ key: 'name',
2103
+ props: { label: '表单名称', required: true, maxLength: 50, placeholder: '请输入表单名称', layout: 'upDown' },
2104
+ },
2105
+ {
2106
+ type: 'textarea',
2107
+ key: 'description',
2108
+ props: { label: '表单描述', maxLength: 500, rows: 4, placeholder: '请输入表单描述', layout: 'upDown' },
2109
+ },
2110
+ ],
2111
+ kpi_form_item: [
2112
+ {
2113
+ type: 'text',
2114
+ key: 'name',
2115
+ props: { label: '项目名称', required: true, maxLength: 50, placeholder: '请输入项目名称', layout: 'upDown' },
2116
+ },
2117
+ {
2118
+ type: 'select',
2119
+ key: 'type',
2120
+ props: {
2121
+ label: '项目类型',
2122
+ required: true,
2123
+ placeholder: '请选择项目类型',
2124
+ layout: 'upDown',
2125
+ options: [
2126
+ {
2127
+ label: '字符串',
2128
+ value: 'TEXT',
2129
+ },
2130
+ {
2131
+ label: '整数',
2132
+ value: 'INT',
2133
+ },
2134
+ {
2135
+ label: '多行文本',
2136
+ value: 'TEXTAREA',
2137
+ },
2138
+ ],
2139
+ },
2140
+ defaultValue: 'TEXT',
2141
+ },
2142
+ {
2143
+ type: 'textarea',
2144
+ key: 'description',
2145
+ props: { label: '项目描述', maxLength: 500, rows: 4, placeholder: '请输入项目描述', layout: 'upDown' },
2146
+ },
2147
+ ],
2148
+ };
2149
+
2150
+ let _form;
2151
+ let _model = {};
2152
+ let _options = {};
2153
+ let _fields = [];
2154
+ let _formType = null;
2155
+ let that;
2156
+ let formFields = {};
2157
+ formFields = Object.assign(formFields, Paas_Form);
2158
+ formFields = Object.assign(formFields, Admin_System);
2159
+ formFields = Object.assign(formFields, Admin_Personnel);
2160
+ formFields = Object.assign(formFields, Admin_Attendance);
2161
+ formFields = Object.assign(formFields, Payroll_SheBao);
2162
+ formFields = Object.assign(formFields, Payroll_SheBao);
2163
+ formFields = Object.assign(formFields, Gram_KPI);
2164
+ const FormConfig = formFields;
2165
+ function GetFormConfig(t, type, form, model, options, fields, formType) {
2166
+ that = t;
2167
+ if (!!form) {
2168
+ _form = form;
2169
+ }
2170
+ if (!!model) {
2171
+ _model = model;
2172
+ }
2173
+ if (!!options) {
2174
+ _options = options;
2175
+ }
2176
+ if (!!fields) {
2177
+ _fields = fields;
2178
+ }
2179
+ if (!!formType) {
2180
+ _formType = formType;
2181
+ }
2182
+ return FormConfig[type];
2183
+ }
2184
+
2185
+ /**
2186
+ * Generated bundle index. Do not edit.
2187
+ */
2188
+
2189
+ export { FormConfig, GetFormConfig };
2190
+ //# sourceMappingURL=config.form.mjs.map