@das-fed/ui 6.4.0-test.3.2 → 6.4.0-test.6

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 (363) hide show
  1. package/esm-map.json +9 -1
  2. package/package.json +5 -5
  3. package/packages/business-components/app-container/index.d.ts +1 -0
  4. package/packages/business-components/app-container/index.js +152 -120
  5. package/packages/business-components/app-container/index.js.gz +0 -0
  6. package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
  7. package/packages/business-components/app-container/src/style-theme.d.ts +18 -0
  8. package/packages/business-components/app-container/src/type.d.ts +1 -0
  9. package/packages/business-components/app-container/style.css +1 -1
  10. package/packages/business-components/app-container/style.css.gz +0 -0
  11. package/packages/business-components/app-container/theme/index.d.ts +1 -0
  12. package/packages/business-components/change-enterprises/i18n/index.d.ts +18 -0
  13. package/packages/business-components/change-enterprises/index.js +65 -59
  14. package/packages/business-components/change-enterprises/index.js.gz +0 -0
  15. package/packages/business-components/change-pwd/i18n/index.d.ts +86 -0
  16. package/packages/business-components/change-pwd/index.js +138 -113
  17. package/packages/business-components/change-pwd/index.js.gz +0 -0
  18. package/packages/business-components/currency-page/i18n/index.d.ts +23 -0
  19. package/packages/business-components/currency-page/index.js +42 -27
  20. package/packages/business-components/currency-page/index.js.gz +0 -0
  21. package/packages/business-components/device-panel/i18n/index.d.ts +1178 -0
  22. package/packages/business-components/device-panel/index.js +37925 -37385
  23. package/packages/business-components/device-panel/index.js.gz +0 -0
  24. package/packages/business-components/device-panel/src/apis.d.ts +0 -2
  25. package/packages/business-components/device-panel/src/components/alarmDevicePanel/operatingData/index.vue.d.ts +1 -7
  26. package/packages/business-components/device-panel/src/hooks/use-operating-data.d.ts +22 -0
  27. package/packages/business-components/device-panel/style.css +1 -1
  28. package/packages/business-components/device-panel/style.css.gz +0 -0
  29. package/packages/business-components/export-button/i18n/index.d.ts +58 -0
  30. package/packages/business-components/export-button/index.js +119 -97
  31. package/packages/business-components/export-button/index.js.gz +0 -0
  32. package/packages/business-components/import-button/i18n/index.d.ts +143 -0
  33. package/packages/business-components/import-button/index.js +339 -292
  34. package/packages/business-components/import-button/index.js.gz +0 -0
  35. package/packages/business-components/import-button/style.css +1 -1
  36. package/packages/business-components/layout-breadcrumb/index.js +63 -61
  37. package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
  38. package/packages/business-components/model-table-dialog/i18n/index.d.ts +33 -0
  39. package/packages/business-components/model-table-dialog/index.js +561 -559
  40. package/packages/business-components/model-table-dialog/index.js.gz +0 -0
  41. package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +1 -1
  42. package/packages/business-components/model-table-dialog/style.css +1 -1
  43. package/packages/business-components/model-table-dialog/style.css.gz +0 -0
  44. package/packages/business-components/process-configuration/i18n/index.d.ts +157 -0
  45. package/packages/business-components/process-configuration/index.js +243 -200
  46. package/packages/business-components/process-configuration/index.js.gz +0 -0
  47. package/packages/business-components/process-configuration/src/hooks/useDeleteDialog.d.ts +2 -3
  48. package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
  49. package/packages/business-components/process-form/apis.d.ts +1 -0
  50. package/packages/business-components/process-form/i18n/index.d.ts +413 -0
  51. package/packages/business-components/process-form/index.js +1332 -1160
  52. package/packages/business-components/process-form/index.js.gz +0 -0
  53. package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
  54. package/packages/business-components/process-form/style.css +1 -1
  55. package/packages/business-components/process-log/i18n/index.d.ts +47 -1
  56. package/packages/business-components/process-log/index.js +301 -286
  57. package/packages/business-components/process-log/index.js.gz +0 -0
  58. package/packages/business-components/process-log/style.css +1 -1
  59. package/packages/business-components/process-log/style.css.gz +0 -0
  60. package/packages/business-components/process-search-form/i18n/index.d.ts +48 -0
  61. package/packages/business-components/process-search-form/index.d.ts +2 -2
  62. package/packages/business-components/process-search-form/index.js +574 -540
  63. package/packages/business-components/process-search-form/index.js.gz +0 -0
  64. package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
  65. package/packages/business-components/process-search-form/src/type.d.ts +1 -1
  66. package/packages/business-components/process-table/i18n/index.d.ts +43 -0
  67. package/packages/business-components/process-table/index.d.ts +11 -2
  68. package/packages/business-components/process-table/index.js +648 -620
  69. package/packages/business-components/process-table/index.js.gz +0 -0
  70. package/packages/business-components/process-table/src/App.vue.d.ts +31 -3
  71. package/packages/business-components/process-table/src/type.d.ts +2 -0
  72. package/packages/business-components/process-table/style.css +1 -1
  73. package/packages/business-components/upload-file/i18n/index.d.ts +8 -0
  74. package/packages/business-components/upload-file/index.js +55 -46
  75. package/packages/business-components/upload-file/index.js.gz +0 -0
  76. package/packages/business-components/upload-file/src/type.d.ts +3 -0
  77. package/packages/business-components/urgent-panel/i18n/index.d.ts +523 -0
  78. package/packages/business-components/urgent-panel/index.d.ts +2 -2
  79. package/packages/business-components/urgent-panel/index.js +1494 -1353
  80. package/packages/business-components/urgent-panel/index.js.gz +0 -0
  81. package/packages/business-components/urgent-panel/style.css +1 -1
  82. package/packages/business-components/urgent-panel/style.css.gz +0 -0
  83. package/packages/business-components/user-org-dialog/i18n/index.d.ts +72 -1
  84. package/packages/business-components/user-org-dialog/index.js +246 -231
  85. package/packages/business-components/user-org-dialog/index.js.gz +0 -0
  86. package/packages/business-components/video-dialog/i18n/index.d.ts +103 -0
  87. package/packages/business-components/video-dialog/index.js +282 -259
  88. package/packages/business-components/video-dialog/index.js.gz +0 -0
  89. package/packages/components/autocomplete/index.d.ts +13 -4
  90. package/packages/components/autocomplete/index.js +135 -122
  91. package/packages/components/autocomplete/index.js.gz +0 -0
  92. package/packages/components/autocomplete/src/index.vue.d.ts +7 -2
  93. package/packages/components/autocomplete/src/type.d.ts +4 -1
  94. package/packages/components/autocomplete/style.css +1 -1
  95. package/packages/components/autocomplete/style.css.gz +0 -0
  96. package/packages/components/breadcrumb/index.d.ts +9 -3
  97. package/packages/components/breadcrumb/index.js +48 -45
  98. package/packages/components/breadcrumb/index.js.gz +0 -0
  99. package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +3 -1
  100. package/packages/components/breadcrumb/src/type.d.ts +1 -0
  101. package/packages/components/breadcrumb/style.css +1 -1
  102. package/packages/components/breadcrumb/style.css.gz +0 -0
  103. package/packages/components/button/index.js +64 -71
  104. package/packages/components/button/index.js.gz +0 -0
  105. package/packages/components/calendar/i18n/index.d.ts +80 -26
  106. package/packages/components/calendar/index.js +277 -275
  107. package/packages/components/calendar/index.js.gz +0 -0
  108. package/packages/components/{search → cascader}/i18n/index.d.ts +2 -1
  109. package/packages/components/cascader/index.d.ts +225 -7
  110. package/packages/components/cascader/index.js +84 -81
  111. package/packages/components/cascader/index.js.gz +0 -0
  112. package/packages/components/cascader/src/Index.vue.d.ts +2 -2
  113. package/packages/components/cascader/style.css +1 -1
  114. package/packages/components/cascader/style.css.gz +0 -0
  115. package/packages/components/color-picker/i18n/index.d.ts +8 -0
  116. package/packages/components/color-picker/index.js +89 -85
  117. package/packages/components/color-picker/index.js.gz +0 -0
  118. package/packages/components/color-picker/style.css +1 -1
  119. package/packages/components/color-picker/style.css.gz +0 -0
  120. package/packages/components/custom-search-item/i18n/index.d.ts +8 -0
  121. package/packages/components/custom-search-item/index.js +20 -19
  122. package/packages/components/custom-search-item/index.js.gz +0 -0
  123. package/packages/components/date-picker/i18n/index.d.ts +33 -0
  124. package/packages/components/date-picker/index.d.ts +3 -3
  125. package/packages/components/date-picker/index.js +558 -542
  126. package/packages/components/date-picker/index.js.gz +0 -0
  127. package/packages/components/date-picker/src/DatePicker.vue.d.ts +2 -1
  128. package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +1 -1
  129. package/packages/components/date-picker/src/RangePicker.vue.d.ts +1 -0
  130. package/packages/components/date-picker/src/TimePicker.vue.d.ts +1 -0
  131. package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +1 -0
  132. package/packages/components/date-picker/style.css +1 -1
  133. package/packages/components/date-picker/style.css.gz +0 -0
  134. package/packages/components/dialog/i18n/index.d.ts +6 -0
  135. package/packages/components/dialog/index.js +92 -92
  136. package/packages/components/dialog/index.js.gz +0 -0
  137. package/packages/components/dimple-layout/i18n/index.d.ts +53 -0
  138. package/packages/components/dimple-layout/index.js +1298 -1285
  139. package/packages/components/dimple-layout/index.js.gz +0 -0
  140. package/packages/components/dimple-layout/style.css +1 -1
  141. package/packages/components/dimple-layout/style.css.gz +0 -0
  142. package/packages/components/dropdown/i18n/index.d.ts +8 -0
  143. package/packages/components/dropdown/index.js +26 -25
  144. package/packages/components/dropdown/index.js.gz +0 -0
  145. package/packages/components/edit-table/index.d.ts +9 -9
  146. package/packages/components/edit-table/index.js +2010 -1658
  147. package/packages/components/edit-table/index.js.gz +0 -0
  148. package/packages/components/edit-table/src/hooks/use-validator.d.ts +9 -3
  149. package/packages/components/edit-table/src/index.vue.d.ts +31 -4
  150. package/packages/components/edit-table/src/type.d.ts +13 -0
  151. package/packages/components/edit-table/src/utils.d.ts +9 -5
  152. package/packages/components/edit-table/style.css +1 -1
  153. package/packages/components/edit-table/style.css.gz +0 -0
  154. package/packages/components/empty/i18n/index.d.ts +1 -0
  155. package/packages/components/empty/index.js +18 -20
  156. package/packages/components/empty/index.js.gz +0 -0
  157. package/packages/components/form-item/index.js +832 -829
  158. package/packages/components/form-item/index.js.gz +0 -0
  159. package/packages/components/form-item/src/type.d.ts +2 -0
  160. package/packages/components/form-item/style.css +1 -1
  161. package/packages/components/form-item/style.css.gz +0 -0
  162. package/packages/components/form-item/theme/index.d.ts +3 -0
  163. package/packages/components/image-upload/i18n/index.d.ts +18 -0
  164. package/packages/components/image-upload/index.js +99 -84
  165. package/packages/components/image-upload/index.js.gz +0 -0
  166. package/packages/components/image-viewer/i18n/index.d.ts +2 -0
  167. package/packages/components/image-viewer/index.js +150 -147
  168. package/packages/components/image-viewer/index.js.gz +0 -0
  169. package/packages/components/input/i18n/index.d.ts +18 -0
  170. package/packages/components/input/index.d.ts +5 -0
  171. package/packages/components/input/index.js +122 -112
  172. package/packages/components/input/index.js.gz +0 -0
  173. package/packages/components/input/src/index.vue.d.ts +2 -0
  174. package/packages/components/input/src/type.d.ts +1 -0
  175. package/packages/components/input/style.css +1 -1
  176. package/packages/components/input/style.css.gz +0 -0
  177. package/packages/components/input-dialog-select/i18n/index.d.ts +7 -1
  178. package/packages/components/input-dialog-select/index.d.ts +1 -0
  179. package/packages/components/input-dialog-select/index.js +114 -112
  180. package/packages/components/input-dialog-select/index.js.gz +0 -0
  181. package/packages/components/input-dialog-select/src/Index.vue.d.ts +1 -0
  182. package/packages/components/input-dialog-select/style.css +1 -1
  183. package/packages/components/input-dialog-select/style.css.gz +0 -0
  184. package/packages/components/input-number/index.js +63 -63
  185. package/packages/components/input-number/index.js.gz +0 -0
  186. package/packages/components/input-number/src/App.vue.d.ts +1 -3
  187. package/packages/components/input-number/style.css +1 -1
  188. package/packages/components/input-number/style.css.gz +0 -0
  189. package/packages/components/live-player/i18n/index.d.ts +13 -0
  190. package/packages/components/live-player/index.js +20 -11
  191. package/packages/components/live-player/index.js.gz +0 -0
  192. package/packages/components/live-player/style.css +1 -1
  193. package/packages/components/{time-line → loading}/i18n/index.d.ts +2 -1
  194. package/packages/components/loading/index.js +71 -70
  195. package/packages/components/loading/index.js.gz +0 -0
  196. package/packages/components/map/i18n/index.d.ts +33 -0
  197. package/packages/components/map/index.js +1088 -808
  198. package/packages/components/map/index.js.gz +0 -0
  199. package/packages/components/map/src/get-sdk-config.d.ts +1 -1
  200. package/packages/components/map/src/hooks/use-baidu.d.ts +1 -11
  201. package/packages/components/map/src/hooks/use-gaode.d.ts +1 -11
  202. package/packages/components/map/src/hooks/use-google.d.ts +16 -0
  203. package/packages/components/map/src/hooks/use-map.d.ts +2 -0
  204. package/packages/components/map/src/type.d.ts +1 -1
  205. package/packages/components/map/style.css +1 -1
  206. package/packages/components/menu-aside/i18n/index.d.ts +8 -0
  207. package/packages/components/menu-aside/index.js +704 -612
  208. package/packages/components/menu-aside/index.js.gz +0 -0
  209. package/packages/components/menu-aside/src/style-theme.d.ts +15 -0
  210. package/packages/components/menu-aside/style.css +1 -1
  211. package/packages/components/menu-aside/style.css.gz +0 -0
  212. package/packages/components/menu-aside/theme/base.d.ts +3 -1
  213. package/packages/components/menu-header/index.js +32 -26
  214. package/packages/components/menu-header/index.js.gz +0 -0
  215. package/packages/components/menu-header/src/style-theme.d.ts +5 -0
  216. package/packages/components/menu-header/style.css +1 -1
  217. package/packages/components/menu-header/style.css.gz +0 -0
  218. package/packages/components/menu-header/theme/base.d.ts +1 -0
  219. package/packages/components/message/i18n/index.d.ts +8 -0
  220. package/packages/components/message/index.js +16 -15
  221. package/packages/components/message/index.js.gz +0 -0
  222. package/packages/components/{button → notification}/i18n/index.d.ts +2 -1
  223. package/packages/components/notification/index.js +9 -8
  224. package/packages/components/notification/index.js.gz +0 -0
  225. package/packages/components/pagination/i18n/index.d.ts +23 -0
  226. package/packages/components/pagination/index.js +141 -134
  227. package/packages/components/pagination/index.js.gz +0 -0
  228. package/packages/components/pagination/style.css +1 -1
  229. package/packages/components/pagination/style.css.gz +0 -0
  230. package/packages/components/popover/i18n/index.d.ts +2 -0
  231. package/packages/components/popover/index.d.ts +3 -0
  232. package/packages/components/popover/index.js +28 -27
  233. package/packages/components/popover/index.js.gz +0 -0
  234. package/packages/components/preview/i18n/index.d.ts +1 -0
  235. package/packages/components/preview/index.js +9 -10
  236. package/packages/components/preview/index.js.gz +0 -0
  237. package/packages/components/preview/style.css +1 -1
  238. package/packages/components/rich-editor/i18n/index.d.ts +11 -0
  239. package/packages/components/rich-editor/index.js +3640 -3621
  240. package/packages/components/rich-editor/index.js.gz +0 -0
  241. package/packages/components/rich-editor/src/type.d.ts +3 -0
  242. package/packages/components/scrollbar/index.js +2 -2
  243. package/packages/components/scrollbar/index.js.gz +0 -0
  244. package/packages/components/scrollbar/style.css +1 -1
  245. package/packages/components/scrollbar/style.css.gz +0 -0
  246. package/packages/components/search/index.d.ts +9 -0
  247. package/packages/components/search/index.js +56 -47
  248. package/packages/components/search/index.js.gz +0 -0
  249. package/packages/components/search/src/Index.vue.d.ts +15 -0
  250. package/packages/components/search/src/type.d.ts +2 -0
  251. package/packages/components/search/style.css +1 -1
  252. package/packages/components/search/style.css.gz +0 -0
  253. package/packages/components/search-form/i18n/index.d.ts +38 -0
  254. package/packages/components/search-form/index.js +807 -752
  255. package/packages/components/search-form/index.js.gz +0 -0
  256. package/packages/components/search-form/src/Index.vue.d.ts +2 -0
  257. package/packages/components/search-form/src/type.d.ts +3 -0
  258. package/packages/components/search-form/style.css +1 -1
  259. package/packages/components/search-form/style.css.gz +0 -0
  260. package/packages/components/select/i18n/index.d.ts +23 -0
  261. package/packages/components/select/index.js +343 -354
  262. package/packages/components/select/index.js.gz +0 -0
  263. package/packages/components/select/src/Select.vue.d.ts +1 -0
  264. package/packages/components/select/style.css +1 -1
  265. package/packages/components/select/style.css.gz +0 -0
  266. package/packages/components/select-input/index.d.ts +1 -0
  267. package/packages/components/select-input/index.js +68 -61
  268. package/packages/components/select-input/index.js.gz +0 -0
  269. package/packages/components/select-input/src/Index.vue.d.ts +1 -0
  270. package/packages/components/select-input/src/hooks/use-select-input.d.ts +5 -0
  271. package/packages/components/select-input/src/type.d.ts +3 -0
  272. package/packages/components/select-input/style.css +1 -1
  273. package/packages/components/select-input/style.css.gz +0 -0
  274. package/packages/components/select-list/i18n/index.d.ts +4 -0
  275. package/packages/components/select-list/index.d.ts +23 -3
  276. package/packages/components/select-list/index.js +613 -579
  277. package/packages/components/select-list/index.js.gz +0 -0
  278. package/packages/components/select-list/src/Index.vue.d.ts +9 -1
  279. package/packages/components/select-list/src/hooks/use-select-list.d.ts +2 -0
  280. package/packages/components/select-list/src/type.d.ts +22 -4
  281. package/packages/components/select-list/style.css +1 -1
  282. package/packages/components/select-list/style.css.gz +0 -0
  283. package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
  284. package/packages/components/special-range-picker-month/index.js +72 -72
  285. package/packages/components/special-range-picker-month/index.js.gz +0 -0
  286. package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
  287. package/packages/components/special-range-picker-year/index.js +78 -78
  288. package/packages/components/special-range-picker-year/index.js.gz +0 -0
  289. package/packages/components/spin/i18n/index.d.ts +8 -0
  290. package/packages/components/spin/index.js +31 -30
  291. package/packages/components/spin/index.js.gz +0 -0
  292. package/packages/components/table/i18n/index.d.ts +94 -0
  293. package/packages/components/table/index.d.ts +90 -9
  294. package/packages/components/table/index.js +4139 -3994
  295. package/packages/components/table/index.js.gz +0 -0
  296. package/packages/components/table/src/Table.vue.d.ts +10 -1
  297. package/packages/components/table/src/hooks/use-operation.d.ts +55 -5
  298. package/packages/components/table/src/type.d.ts +16 -3
  299. package/packages/components/table/style.css +1 -1
  300. package/packages/components/table/style.css.gz +0 -0
  301. package/packages/components/tabs/i18n/index.d.ts +18 -0
  302. package/packages/components/tabs/index.js +95 -90
  303. package/packages/components/tabs/index.js.gz +0 -0
  304. package/packages/components/text-tooltip/index.js +661 -652
  305. package/packages/components/text-tooltip/index.js.gz +0 -0
  306. package/packages/components/text-tooltip/src/type.d.ts +1 -62
  307. package/packages/components/time-line/index.js +36 -43
  308. package/packages/components/time-line/index.js.gz +0 -0
  309. package/packages/components/tooltip/i18n/index.d.ts +8 -0
  310. package/packages/components/tooltip/index.js +45 -44
  311. package/packages/components/tooltip/index.js.gz +0 -0
  312. package/packages/components/tooltip/style.css +1 -1
  313. package/packages/components/tooltip/style.css.gz +0 -0
  314. package/packages/components/tree/i18n/index.d.ts +43 -0
  315. package/packages/components/tree/index.js +1345 -1331
  316. package/packages/components/tree/index.js.gz +0 -0
  317. package/packages/components/tree/src/App.vue.d.ts +7 -11
  318. package/packages/components/tree/src/type.d.ts +1 -0
  319. package/packages/components/tree-select/index.js +374 -345
  320. package/packages/components/tree-select/index.js.gz +0 -0
  321. package/packages/components/tree-select/src/App.vue.d.ts +1 -0
  322. package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +2 -1
  323. package/packages/components/tree-select/src/type.d.ts +3 -0
  324. package/packages/components/tree-select/style.css +1 -1
  325. package/packages/components/tree-select/style.css.gz +0 -0
  326. package/packages/components/tree-table/index.js +69 -68
  327. package/packages/components/tree-table/index.js.gz +0 -0
  328. package/packages/components/tree-table/style.css +1 -1
  329. package/packages/components/tree-table/style.css.gz +0 -0
  330. package/packages/components/upload/i18n/index.d.ts +5 -0
  331. package/packages/components/upload/index.js +95 -95
  332. package/packages/components/upload/index.js.gz +0 -0
  333. package/packages/components/virtual-tree/i18n/index.d.ts +8 -0
  334. package/packages/components/virtual-tree/index.js +33 -31
  335. package/packages/components/virtual-tree/index.js.gz +0 -0
  336. package/packages/icons/edit-3/index.d.ts +1 -0
  337. package/packages/icons/edit-3/index.js +17 -0
  338. package/packages/icons/edit-3/index.js.gz +0 -0
  339. package/packages/icons/edit-3/index.vue.d.ts +16 -0
  340. package/packages/icons/exit/index.d.ts +1 -0
  341. package/packages/icons/exit/index.js +17 -0
  342. package/packages/icons/exit/index.js.gz +0 -0
  343. package/packages/icons/exit/index.vue.d.ts +16 -0
  344. package/packages/icons/global/index.d.ts +1 -0
  345. package/packages/icons/global/index.js +17 -0
  346. package/packages/icons/global/index.js.gz +0 -0
  347. package/packages/icons/global/index.vue.d.ts +16 -0
  348. package/packages/icons/index.d.ts +6 -0
  349. package/packages/icons/index.js +6 -0
  350. package/packages/icons/password-lock2/index.d.ts +1 -0
  351. package/packages/icons/password-lock2/index.js +17 -0
  352. package/packages/icons/password-lock2/index.js.gz +0 -0
  353. package/packages/icons/password-lock2/index.vue.d.ts +16 -0
  354. package/packages/icons/right-3/index.d.ts +1 -0
  355. package/packages/icons/right-3/index.js +17 -0
  356. package/packages/icons/right-3/index.js.gz +0 -0
  357. package/packages/icons/right-3/index.vue.d.ts +16 -0
  358. package/packages/icons/system/index.d.ts +1 -0
  359. package/packages/icons/system/index.js +17 -0
  360. package/packages/icons/system/index.js.gz +0 -0
  361. package/packages/icons/system/index.vue.d.ts +16 -0
  362. package/i18n-collection/en.js +0 -536
  363. package/i18n-collection/zh-CN.js +0 -537
@@ -1,101 +1,108 @@
1
1
  import '@das-fed/ui/packages/business-components/process-form/style.css';
2
2
  import { withInstall as pt } from "@das-fed/utils/with-install/index";
3
- import { ref as l, defineComponent as A, watch as M, openBlock as S, createBlock as P, unref as a, withCtx as $, createVNode as L, createCommentVNode as j, createElementVNode as Ne, createElementBlock as C, Fragment as H, createTextVNode as X, toDisplayString as ee, isRef as fe, createSlots as dt, h as ie, renderList as oe, resolveDynamicComponent as De, onMounted as gt, withDirectives as ct, normalizeStyle as vt } from "vue";
4
- import { DasFormRef as mt, DasForm as je } from "@das-fed/ui/packages/components/form/index";
3
+ import { ref as l, defineComponent as E, watch as N, openBlock as V, createBlock as F, unref as a, withCtx as z, createVNode as S, createCommentVNode as q, createElementVNode as je, createElementBlock as U, Fragment as G, createTextVNode as ee, toDisplayString as te, isRef as he, createSlots as dt, h as le, renderList as ie, resolveDynamicComponent as ge, onMounted as ct, withDirectives as gt, normalizeStyle as mt } from "vue";
4
+ import { DasFormRef as vt, DasForm as Ie } from "@das-fed/ui/packages/components/form/index";
5
5
  import { DasButton as ft } from "@das-fed/ui/packages/components/button/index";
6
- import { vOverlay as yt } from "@das-fed/ui/packages/components/overlay/index";
7
- import { createService as J } from "@das-fed/utils/create-api-service";
8
- import { DasUpload as ht } from "@das-fed/ui/packages/components/upload/index";
9
- import { DasFormItem as z } from "@das-fed/ui/packages/components/form-item/index";
6
+ import { vOverlay as ht } from "@das-fed/ui/packages/components/overlay/index";
7
+ import { createService as Z } from "@das-fed/utils/create-api-service";
8
+ import { DasUpload as yt } from "@das-fed/ui/packages/components/upload/index";
9
+ import { DasFormItem as A } from "@das-fed/ui/packages/components/form-item/index";
10
10
  import { DasAutocomplete as bt } from "@das-fed/ui/packages/components/autocomplete/index";
11
- import ce from "dayjs";
12
- import { DasImageViewer as Ee } from "@das-fed/ui/packages/components/image-viewer/index";
11
+ import ve from "dayjs";
12
+ import { DasImageViewer as Be } from "@das-fed/ui/packages/components/image-viewer/index";
13
13
  import { DasInput as _t } from "@das-fed/ui/packages/components/input/index";
14
- import { DasTooltip as Oe } from "@das-fed/ui/packages/components/tooltip/index";
15
- import { i18n as E, t as D } from "@das-fed/web/packages/i18n/index";
16
- import { DasTableColumn as q } from "@das-fed/ui/packages/components/table/index";
17
- import { DasSearchForm as wt } from "@das-fed/ui/packages/components/search-form/index";
18
- import { DasModelTableDialog as Vt } from "@das-fed/ui/packages/business-components/model-table-dialog";
19
- import { getProjectInfo as Qe } from "@das-fed/utils/common-info";
20
- import { getConfig as Dt } from "@das-fed/utils/config";
21
- import { DasRichEditor as Ae } from "@das-fed/ui/packages/components/rich-editor/index";
22
- import { DasCollaspe as ze } from "@das-fed/ui/packages/components/collaspe/index";
23
- import { DasCollaspePanel as Ue } from "@das-fed/ui/packages/components/collapse-panel/index";
24
- const Z = "v1", St = J(`/workflow/form/form/${Z}`), Lt = J(`/workflow/form/formDef/${Z}`);
25
- J(`/workflow/api/user/${Z}`);
26
- const Ce = J(`/workflow/api/extend/${Z}`), Mt = J(`/workflow/flow/def/${Z}`), kt = J(`/workflow/form/customQuery/${Z}`), te = J(`/api/enterpriseright/permission/${Z}`), Se = J(`/api/space-manage/space-tree/${Z}`), Le = J(`/api/supply/supplier/${Z}`), Tt = J(`/api/warehouse/vms/${Z}/asset-receive`), Rt = St.get("/formDesign"), $t = Lt.get("/get"), Ft = Ce.get("/report-config");
27
- Ce.get("/application-report");
28
- const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt = te.get("/organization/authTree"), jt = te.post("/user/list"), Bt = te.post("/data/user-query"), Kt = te.get("/role/list"), Nt = te.post("/data/role-ids"), Et = te.get("/organization/organizationpage"), Ot = te.get("/station/list"), Qt = te.get("/position/list"), ye = te.post("/organization/detailbyids"), At = Se.get("/controller/area-children"), zt = Se.get("/controller/fuzzy-tree-all"), Ut = Se.get("/controller/space"), Ct = Le.post("/supplier/list/page", (s) => {
14
+ import { DasTooltip as Ve } from "@das-fed/ui/packages/components/tooltip/index";
15
+ import { i18n as B, t as D, setI18nRule as wt } from "@das-fed/web/packages/i18n/index";
16
+ import { DasTableColumn as I } from "@das-fed/ui/packages/components/table/index";
17
+ import { DasSearchForm as Ct } from "@das-fed/ui/packages/components/search-form/index";
18
+ import { DasModelTableDialog as Dt } from "@das-fed/ui/packages/business-components/model-table-dialog";
19
+ import { getProjectInfo as Oe } from "@das-fed/utils/common-info";
20
+ import { getConfig as Vt } from "@das-fed/utils/config";
21
+ import { DasRichEditor as Ee } from "@das-fed/ui/packages/components/rich-editor/index";
22
+ import { DasCollaspe as Ae } from "@das-fed/ui/packages/components/collaspe/index";
23
+ import { DasCollaspePanel as Qe } from "@das-fed/ui/packages/components/collapse-panel/index";
24
+ const X = "v1", kt = Z(`/workflow/form/form/${X}`), St = Z(`/workflow/form/formDef/${X}`);
25
+ Z(`/workflow/api/user/${X}`);
26
+ const Ue = Z(`/workflow/api/extend/${X}`), Nt = Z(`/workflow/flow/def/${X}`), Lt = Z(`/workflow/form/customQuery/${X}`), ae = Z(`/api/enterpriseright/permission/${X}`), ke = Z(`/api/space-manage/space-tree/${X}`), zt = Z(`/workflow/form/dataTemplate/${X}`), Se = Z(`/api/supply/supplier/${X}`), Mt = Z(`/api/warehouse/vms/${X}/asset-receive`), Tt = zt.get("/getBpmDataTemplateInfoByFlowKey"), Rt = kt.get("/formDesign"), $t = St.get("/get"), Pt = Ue.get("/report-config");
27
+ Ue.get("/application-report");
28
+ const Ft = Nt.get("/getBindRelationByDefKey"), It = Lt.get("/getByAlias"), qt = ae.get("/organization/authTree"), Kt = ae.post("/user/list"), jt = ae.post("/data/user-query"), Bt = ae.get("/role/list"), Ot = ae.post("/data/role-ids"), Et = ae.get("/organization/organizationpage"), At = ae.get("/station/list"), Qt = ae.get("/position/list"), ye = ae.post("/organization/detailbyids"), Ut = ke.get("/controller/area-children"), Yt = ke.get("/controller/fuzzy-tree-all"), xt = ke.get("/controller/space"), Jt = Se.post("/supplier/list/page", (n) => {
29
29
  var e, t;
30
- return s.data.pageBean = {
31
- page: ((e = s == null ? void 0 : s.data) == null ? void 0 : e.pageIndex) || 1,
32
- pageSize: ((t = s == null ? void 0 : s.data) == null ? void 0 : t.pageSize) || 20
33
- }, s;
34
- }), xt = Le.get("/supplier"), Yt = Le.post("/classification/list/all"), Jt = Tt.get("/receive-code"), he = l(""), Wt = (s, e, t) => {
35
- const { setDetailData: n, getFormData: c, setFormData: i, formRule: b, showData: V, disabledData: r } = t, y = l([]), d = l([]), f = l([]), g = l(!1), o = mt(), h = l([]), u = (_) => Object.keys(_).length === 0, v = async (_) => {
36
- const [w, k] = await Rt({ formId: _ }).run();
37
- if (w) return;
38
- const N = JSON.parse(k.bos);
39
- he.value = N[0].alias, d.value.length && d.value.forEach((R) => {
40
- R.formKey === k.formKey && i(k.formKey, he.value, R.id);
30
+ return n.data.pageBean = {
31
+ page: ((e = n == null ? void 0 : n.data) == null ? void 0 : e.pageIndex) || 1,
32
+ pageSize: ((t = n == null ? void 0 : n.data) == null ? void 0 : t.pageSize) || 20
33
+ }, n;
34
+ }), Ht = Se.get("/supplier"), Wt = Se.post("/classification/list/all"), Zt = Mt.get("/receive-code"), be = l(""), Gt = (n, e, t) => {
35
+ const { setDetailData: s, getFormData: g, setFormData: i, formRule: y, showData: C, disabledData: u, encryptionData: h } = t, m = l([]), c = l([]), d = l([]), r = l(!1), _ = vt(), v = l([]), p = (k) => Object.keys(k).length === 0, o = async (k) => {
36
+ const [T, R] = await Rt({ formId: k }).run();
37
+ if (T) return;
38
+ const J = JSON.parse(R.bos);
39
+ be.value = J[0].alias, c.value.length && c.value.forEach((W) => {
40
+ W.formKey === R.formKey && i(R.formKey, be.value, W.id);
41
41
  });
42
- const [O, G] = await $t({ formDefId: k.defId }).run();
43
- f.value = JSON.parse(G.value.expand).list, f.value.forEach((R) => {
44
- R.columns && R.columns[0].isOpen && h.value.push(R.columns[0].idKey);
45
- }), r.value = { ...r.value, ...s.disabledData }, d.value.length || i(k.formKey, he.value), u(s.data) && (g.value = !0), u(s.data) || (n(s.data), s.flowKey && (y.value = s.data.button_list ? JSON.parse(s.data.button_list) : []), g.value = !0), setTimeout(() => {
46
- V.value = { ...V.value, ...s.showData };
42
+ const [$, Y] = await $t({ formDefId: R.defId }).run();
43
+ await b(), d.value = JSON.parse(Y.value.expand).list, d.value.forEach((W) => {
44
+ W.columns && W.columns[0].isOpen && v.value.push(W.columns[0].idKey);
45
+ }), u.value = { ...u.value, ...n.disabledData }, c.value.length || i(R.formKey, be.value), setTimeout(() => {
46
+ C.value = { ...C.value, ...n.showData }, p(n.data) && (r.value = !0), p(n.data) || (s(n.data), n.flowKey && (m.value = n.data.button_list ? JSON.parse(n.data.button_list) : []), r.value = !0);
47
47
  }, 50);
48
+ }, f = async () => {
49
+ if (n.formConfigurationId) {
50
+ const [k, T] = await Pt({ id: n.formConfigurationId }).run();
51
+ if (k) return;
52
+ c.value = T.reports, m.value = T.reports[0].buttons.filter((R) => !(n.isView && R.event !== "LINK")), o(T.reports[0].formId);
53
+ }
54
+ if (n.flowKey) {
55
+ const [k, T] = await Ft({ flowKey: n.flowKey }).run();
56
+ if (k) return;
57
+ o(T.pcForm.pcFormId);
58
+ }
59
+ }, b = async () => {
60
+ if (!n.flowKey) return;
61
+ const [k, T] = await Tt().run({
62
+ flowKey: n.flowKey,
63
+ needDisplayFileds: !1
64
+ });
65
+ h.value = T.value.boDef.boEnt.attributeList.filter((R) => R.encryption == "phone");
48
66
  };
49
67
  return {
50
- isShowPage: g,
51
- formJsonList: f,
52
- btnList: y,
53
- formRef: o,
54
- activityKeys: h,
55
- getForm: v,
56
- getBtnSet: async () => {
57
- if (s.formConfigurationId) {
58
- const [_, w] = await Ft({ id: s.formConfigurationId }).run();
59
- if (_) return;
60
- d.value = w.reports, y.value = w.reports[0].buttons.filter((k) => !(s.isView && k.event !== "LINK")), v(w.reports[0].formId);
61
- }
62
- if (s.flowKey) {
63
- const [_, w] = await It({ flowKey: s.flowKey }).run();
64
- if (_) return;
65
- v(w.pcForm.pcFormId);
66
- }
67
- },
68
- handleClick: (_) => {
69
- var w;
70
- (w = o.value) == null || w.validate(async (k) => {
71
- k && (e("handleClick", _, c()), _.event === "LINK" && d.value.forEach((N) => {
72
- _.eventTarget === N.formKey && (y.value = N.buttons.filter((O) => !(s.isView && O.event !== "LINK")), g.value = !1, b.value = {}, v(N.formId));
68
+ isShowPage: r,
69
+ formJsonList: d,
70
+ btnList: m,
71
+ formRef: _,
72
+ activityKeys: v,
73
+ getForm: o,
74
+ getBtnSet: f,
75
+ handleClick: (k) => {
76
+ var T;
77
+ (T = _.value) == null || T.validate(async (R) => {
78
+ R && (e("handleClick", k, g()), k.event === "LINK" && c.value.forEach((J) => {
79
+ k.eventTarget === J.formKey && (m.value = J.buttons.filter(($) => !(n.isView && $.event !== "LINK")), r.value = !1, y.value = {}, o(J.formId));
73
80
  }));
74
81
  });
75
82
  }
76
83
  };
77
- }, x = (s) => {
78
- var e = new RegExp("<.+?>", "g"), t = s.replace(e, "").replace(/&nbsp;/g, "");
84
+ }, x = (n) => {
85
+ var e = new RegExp("<.+?>", "g"), t = n.replace(e, "").replace(/&nbsp;/g, "");
79
86
  return t;
80
- }, ne = async (s, e, t = {}) => {
81
- const [n, c] = await qt({ alias: s }).run();
82
- if (!n && c.url) {
87
+ }, se = async (n, e, t = {}) => {
88
+ const [s, g] = await It({ alias: n }).run();
89
+ if (!s && g.url) {
83
90
  const i = l({});
84
- e.forEach((y) => {
85
- y.defaultType == 2 && (i.value[y.field] = y.defaultValue);
91
+ e.forEach((h) => {
92
+ h.defaultType == 2 && (i.value[h.field] = h.defaultValue);
86
93
  }), i.value = { ...i.value, ...t };
87
- const b = c.requestType === "POST" ? J(c.url).post("") : J(c.url).get(""), [V, r] = await b({}, { params: i.value }).run();
88
- return V ? void 0 : r;
94
+ const y = g.requestType === "POST" ? Z(g.url).post("") : Z(g.url).get(""), [C, u] = await y({}, { params: i.value }).run();
95
+ return C ? void 0 : u;
89
96
  }
90
- }, Y = async (s) => {
97
+ }, H = async (n) => {
91
98
  const e = l(!1);
92
- return s.forEach((t) => {
99
+ return n.forEach((t) => {
93
100
  t.key === "required" && (e.value = !0);
94
101
  }), e.value;
95
- }, Ht = {
102
+ }, Xt = {
96
103
  name: "attachment"
97
- }, Zt = /* @__PURE__ */ A({
98
- ...Ht,
104
+ }, ea = /* @__PURE__ */ E({
105
+ ...Xt,
99
106
  props: {
100
107
  setting: { default: () => ({
101
108
  icon: "",
@@ -104,50 +111,50 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
104
111
  desc: "",
105
112
  options: {}
106
113
  }) },
107
- span: { default: 6 },
114
+ span: { default: 24 },
108
115
  isView: { type: Boolean },
109
116
  marginRight: {},
110
117
  store: {}
111
118
  },
112
- setup(s) {
113
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
114
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
119
+ setup(n) {
120
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
121
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
115
122
  () => t.value,
116
123
  () => {
117
- r.value = t.value[e.setting.name], r.value || (d.value = [], V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
124
+ u.value = t.value[e.setting.name], u.value || (m.value = [], C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
118
125
  },
119
126
  { deep: !0 }
120
127
  );
121
- const y = l();
122
- e.setting.options.tip && (y.value = x(e.setting.options.tip));
123
- const d = l([{ name: "111", sizeText: "9.4KB" }]);
124
- return d.value || c(e.setting.name, null), M(d, (f) => {
125
- c(e.setting.name, JSON.stringify(f));
126
- }), (f, g) => r.value ? (S(), P(a(z), {
128
+ const h = l();
129
+ e.setting.options.tip && (h.value = x(e.setting.options.tip));
130
+ const m = l([{ name: "111", sizeText: "9.4KB" }]);
131
+ return m.value || g(e.setting.name, null), N(m, (c) => {
132
+ g(e.setting.name, JSON.stringify(c));
133
+ }), (c, d) => u.value ? (V(), F(a(A), {
127
134
  key: 0,
128
135
  col: e.span,
129
- label: f.setting.desc,
136
+ label: c.setting.desc,
130
137
  type: "custom",
131
- helpMessage: y.value
138
+ helpMessage: h.value
132
139
  }, {
133
- default: $(() => [
134
- L(a(ht), {
140
+ default: z(() => [
141
+ S(a(yt), {
135
142
  style: { width: "100%" },
136
- modelValue: d.value,
137
- "onUpdate:modelValue": g[0] || (g[0] = (o) => d.value = o)
143
+ modelValue: m.value,
144
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => m.value = r)
138
145
  }, null, 8, ["modelValue"])
139
146
  ]),
140
147
  _: 1
141
148
  /* STABLE */
142
- }, 8, ["col", "label", "helpMessage"])) : j("v-if", !0);
149
+ }, 8, ["col", "label", "helpMessage"])) : q("v-if", !0);
143
150
  }
144
- }), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
151
+ }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
145
152
  __proto__: null,
146
- default: Zt
147
- }, Symbol.toStringTag, { value: "Module" })), Gt = {
153
+ default: ea
154
+ }, Symbol.toStringTag, { value: "Module" })), ta = {
148
155
  name: "autocomplete"
149
- }, Xt = /* @__PURE__ */ A({
150
- ...Gt,
156
+ }, aa = /* @__PURE__ */ E({
157
+ ...ta,
151
158
  props: {
152
159
  setting: { default: () => ({
153
160
  icon: "",
@@ -156,69 +163,69 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
156
163
  desc: "",
157
164
  options: {}
158
165
  }) },
159
- span: { default: 6 },
166
+ span: { default: 24 },
160
167
  isView: { type: Boolean },
161
168
  marginRight: {},
162
169
  store: {}
163
170
  },
164
- setup(s) {
165
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
166
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
171
+ setup(n) {
172
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
173
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
167
174
  () => t.value,
168
175
  () => {
169
- r.value = t.value[e.setting.name], r.value || (v.value = "", V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
176
+ u.value = t.value[e.setting.name], u.value || (p.value = "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
170
177
  },
171
178
  { deep: !0 }
172
179
  );
173
- const y = n.value[e.setting.name] || !1, d = l(!1);
174
- Y(e.setting.options.validateList).then((m) => {
175
- d.value = m;
180
+ const h = s.value[e.setting.name] || !1, m = l(!1);
181
+ H(e.setting.options.validateList).then((o) => {
182
+ m.value = o;
176
183
  });
177
- const f = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", g = e.setting.options.children ? e.setting.options.children : "children", o = !!e.setting.options.fillInFullPath, h = l([]);
178
- e.setting.options.customQuery.alias ? ne(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((m) => {
179
- h.value = m;
180
- }) : h.value = e.setting.options.options;
181
- const u = l();
182
- e.setting.options.tip && (u.value = x(e.setting.options.tip));
183
- const v = l("");
184
- return v.value = i(e.setting.name) || v.value, v.value || c(e.setting.name, null), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(v, (m) => {
185
- c(e.setting.name, m.toString());
186
- }), (m, p) => r.value ? (S(), P(a(z), {
184
+ const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "value", d = e.setting.options.children ? e.setting.options.children : "children", r = !!e.setting.options.fillInFullPath, _ = l([]);
185
+ e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((o) => {
186
+ _.value = o;
187
+ }) : _.value = e.setting.options.options;
188
+ const v = l();
189
+ e.setting.options.tip && (v.value = x(e.setting.options.tip));
190
+ const p = l("");
191
+ return p.value = i(e.setting.name) || p.value, p.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(p, (o) => {
192
+ g(e.setting.name, o.toString());
193
+ }), (o, f) => u.value ? (V(), F(a(A), {
187
194
  key: 0,
188
195
  col: e.span,
189
196
  prop: e.setting.name,
190
- modelValue: v.value,
191
- "onUpdate:modelValue": p[1] || (p[1] = (_) => v.value = _),
192
- label: m.setting.desc,
197
+ modelValue: p.value,
198
+ "onUpdate:modelValue": f[1] || (f[1] = (b) => p.value = b),
199
+ label: o.setting.desc,
193
200
  type: "custom",
194
- helpMessage: u.value,
195
- required: d.value,
196
- disabled: a(y)
201
+ helpMessage: v.value,
202
+ required: m.value,
203
+ disabled: a(h)
197
204
  }, {
198
- default: $(() => [
199
- L(a(bt), {
200
- modelValue: v.value,
201
- "onUpdate:modelValue": p[0] || (p[0] = (_) => v.value = _),
202
- options: h.value,
205
+ default: z(() => [
206
+ S(a(bt), {
207
+ modelValue: p.value,
208
+ "onUpdate:modelValue": f[0] || (f[0] = (b) => p.value = b),
209
+ options: _.value,
203
210
  isView: e.isView,
204
211
  width: "100%",
205
- fieldNames: { label: a(f), children: a(g) },
206
- showFullPath: a(o),
207
- placeholder: m.setting.options.placeholder,
212
+ fieldNames: { label: a(c), children: a(d) },
213
+ showFullPath: a(r),
214
+ placeholder: o.setting.options.placeholder,
208
215
  clearable: ""
209
216
  }, null, 8, ["modelValue", "options", "isView", "fieldNames", "showFullPath", "placeholder"])
210
217
  ]),
211
218
  _: 1
212
219
  /* STABLE */
213
- }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : j("v-if", !0);
220
+ }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required", "disabled"])) : q("v-if", !0);
214
221
  }
215
- }), Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
222
+ }), xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
216
223
  __proto__: null,
217
- default: Xt
218
- }, Symbol.toStringTag, { value: "Module" })), ea = {
224
+ default: aa
225
+ }, Symbol.toStringTag, { value: "Module" })), na = {
219
226
  name: "checkbox"
220
- }, ta = /* @__PURE__ */ A({
221
- ...ea,
227
+ }, sa = /* @__PURE__ */ E({
228
+ ...na,
222
229
  props: {
223
230
  setting: { default: () => ({
224
231
  icon: "",
@@ -227,60 +234,60 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
227
234
  desc: "",
228
235
  options: {}
229
236
  }) },
230
- span: { default: 6 },
237
+ span: { default: 24 },
231
238
  isView: { type: Boolean },
232
239
  marginRight: {},
233
240
  store: {}
234
241
  },
235
- setup(s) {
236
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
237
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
242
+ setup(n) {
243
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
244
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
238
245
  () => t.value,
239
246
  () => {
240
- r.value = t.value[e.setting.name], r.value || (u.value = [], V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
247
+ u.value = t.value[e.setting.name], u.value || (v.value = [], C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
241
248
  },
242
249
  { deep: !0 }
243
250
  );
244
- const y = n.value[e.setting.name] || !1, d = l(!1);
245
- Y(e.setting.options.validateList).then((v) => {
246
- d.value = v;
251
+ const h = s.value[e.setting.name] || !1, m = l(!1);
252
+ H(e.setting.options.validateList).then((p) => {
253
+ m.value = p;
247
254
  });
248
- const f = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", g = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = l([]);
249
- e.setting.options.customQuery.alias ? ne(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((v) => {
250
- o.value = v;
251
- }) : o.value = e.setting.options.options;
252
- const h = l();
253
- e.setting.options.tip && (h.value = x(e.setting.options.tip)());
254
- const u = l([]);
255
+ const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = l([]);
256
+ e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((p) => {
257
+ r.value = p;
258
+ }) : r.value = e.setting.options.options;
259
+ const _ = l();
260
+ e.setting.options.tip && (_.value = x(e.setting.options.tip)());
261
+ const v = l([]);
255
262
  return setTimeout(() => {
256
- i(e.setting.name) && (u.value = i(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (u.value = e.setting.options.formulasDiyJs.split(",")), u.value.length || u.value || c(e.setting.name, null);
257
- }, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(u, (v) => {
258
- c(e.setting.name, v.toString());
259
- }), (v, m) => r.value ? (S(), P(a(z), {
263
+ i(e.setting.name) && (v.value = i(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (v.value = e.setting.options.formulasDiyJs.split(",")), v.value.length || v.value || g(e.setting.name, null);
264
+ }, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(v, (p) => {
265
+ g(e.setting.name, p.toString());
266
+ }), (p, o) => u.value ? (V(), F(a(A), {
260
267
  key: 0,
261
268
  col: e.span,
262
- modelValue: u.value,
263
- "onUpdate:modelValue": m[0] || (m[0] = (p) => u.value = p),
264
- layout: v.setting.options.inline ? "vertical" : "default",
265
- label: v.setting.desc,
269
+ modelValue: v.value,
270
+ "onUpdate:modelValue": o[0] || (o[0] = (f) => v.value = f),
271
+ layout: p.setting.options.inline ? "vertical" : "default",
272
+ label: p.setting.desc,
266
273
  prop: e.setting.name,
267
274
  type: "checkbox",
268
- options: o.value,
275
+ options: r.value,
269
276
  isView: e.isView,
270
- disabled: a(y),
271
- optionsValueKey: a(f),
272
- optionsLabelKey: a(g),
273
- helpMessage: h.value,
274
- required: d.value
275
- }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : j("v-if", !0);
277
+ disabled: a(h),
278
+ optionsValueKey: a(c),
279
+ optionsLabelKey: a(d),
280
+ helpMessage: _.value,
281
+ required: m.value
282
+ }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "disabled", "optionsValueKey", "optionsLabelKey", "helpMessage", "required"])) : q("v-if", !0);
276
283
  }
277
284
  }), Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
278
285
  __proto__: null,
279
- default: ta
280
- }, Symbol.toStringTag, { value: "Module" })), aa = {
286
+ default: sa
287
+ }, Symbol.toStringTag, { value: "Module" })), oa = {
281
288
  name: "date"
282
- }, sa = /* @__PURE__ */ A({
283
- ...aa,
289
+ }, la = /* @__PURE__ */ E({
290
+ ...oa,
284
291
  props: {
285
292
  setting: { default: () => ({
286
293
  icon: "",
@@ -289,62 +296,62 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
289
296
  desc: "",
290
297
  options: {}
291
298
  }) },
292
- span: { default: 6 },
299
+ span: { default: 24 },
293
300
  isView: { type: Boolean },
294
301
  marginRight: {},
295
302
  store: {}
296
303
  },
297
- setup(s) {
298
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
299
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
304
+ setup(n) {
305
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
306
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
300
307
  () => t.value,
301
308
  () => {
302
- r.value = t.value[e.setting.name], r.value || (h.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
309
+ u.value = t.value[e.setting.name], u.value || (_.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
303
310
  },
304
311
  { deep: !0 }
305
312
  );
306
- const y = n.value[e.setting.name] || !1, d = l(!1);
307
- Y(e.setting.options.validateList).then((u) => {
308
- d.value = u;
313
+ const h = s.value[e.setting.name] || !1, m = l(!1);
314
+ H(e.setting.options.validateList).then((v) => {
315
+ m.value = v;
309
316
  });
310
- const f = e.setting.options.inputFormat, g = l("");
311
- e.setting.options.inputFormat === "YYYY/MM/DD" && (g.value = "date"), e.setting.options.inputFormat === "MM/DD" && (g.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (g.value = "month"), e.setting.options.inputFormat === "YYYY" && (g.value = "year");
312
- const o = l();
313
- e.setting.options.tip && (o.value = x(e.setting.options.tip));
314
- const h = l();
317
+ const c = e.setting.options.inputFormat === "yyyy-MM-dd" ? "YYYY/MM/DD" : e.setting.options.inputFormat === "yyyy-MM-dd HH:mm:ss" ? "YYYY/MM/DD HH:mm:ss" : e.setting.options.inputFormat, d = l("");
318
+ e.setting.options.inputFormat === "YYYY/MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "MM/DD" && (d.value = "date"), e.setting.options.inputFormat === "YYYY/MM" && (d.value = "month"), e.setting.options.inputFormat === "YYYY" && (d.value = "year");
319
+ const r = l();
320
+ e.setting.options.tip && (r.value = x(e.setting.options.tip));
321
+ const _ = l();
315
322
  if (setTimeout(() => {
316
- h.value = i(e.setting.name) || e.setting.options.formulasDiyJs || h.value, h.value || c(e.setting.name, null);
323
+ _.value = i(e.setting.name) || e.setting.options.formulasDiyJs || _.value, _.value || g(e.setting.name, null);
317
324
  }, 50), e.setting.options.showCurrentDate) {
318
- let u = /* @__PURE__ */ new Date();
319
- u.setDate(u.getDate() + e.setting.options.day), h.value = ce(u.getTime()).format(f), c(e.setting.name, h.value);
325
+ let v = /* @__PURE__ */ new Date();
326
+ v.setDate(v.getDate() + e.setting.options.day), _.value = ve(v.getTime()).format(c), g(e.setting.name, _.value);
320
327
  }
321
- return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(h, (u) => {
322
- c(e.setting.name, u);
323
- }), (u, v) => r.value ? (S(), P(a(z), {
328
+ return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(_, (v) => {
329
+ g(e.setting.name, v);
330
+ }), (v, p) => u.value ? (V(), F(a(A), {
324
331
  key: 0,
325
332
  col: e.span,
326
- modelValue: h.value,
327
- "onUpdate:modelValue": v[0] || (v[0] = (m) => h.value = m),
328
- label: u.setting.desc,
333
+ modelValue: _.value,
334
+ "onUpdate:modelValue": p[0] || (p[0] = (o) => _.value = o),
335
+ label: v.setting.desc,
329
336
  prop: e.setting.name,
330
- type: a(f).indexOf("HH") != -1 ? "dateTime" : "date",
331
- format: a(f),
337
+ type: a(c).indexOf("HH") != -1 ? "dateTime" : "date",
338
+ format: a(c),
332
339
  valueFormat: "YYYY-MM-DD HH:mm:ss",
333
- picker: g.value,
340
+ picker: d.value,
334
341
  isView: e.isView,
335
- disabled: a(y),
336
- placeholder: u.setting.options.placeholder,
337
- helpMessage: o.value,
338
- required: d.value
339
- }, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : j("v-if", !0);
342
+ disabled: a(h),
343
+ placeholder: v.setting.options.placeholder,
344
+ helpMessage: r.value,
345
+ required: m.value
346
+ }, null, 8, ["col", "modelValue", "label", "prop", "type", "format", "picker", "isView", "disabled", "placeholder", "helpMessage", "required"])) : q("v-if", !0);
340
347
  }
341
- }), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
348
+ }), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
342
349
  __proto__: null,
343
- default: sa
344
- }, Symbol.toStringTag, { value: "Module" })), na = {
350
+ default: la
351
+ }, Symbol.toStringTag, { value: "Module" })), ia = {
345
352
  name: "dropdown"
346
- }, la = /* @__PURE__ */ A({
347
- ...na,
353
+ }, ra = /* @__PURE__ */ E({
354
+ ...ia,
348
355
  props: {
349
356
  setting: { default: () => ({
350
357
  icon: "",
@@ -353,42 +360,42 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
353
360
  desc: "",
354
361
  options: {}
355
362
  }) },
356
- span: { default: 6 },
363
+ span: { default: 24 },
357
364
  isView: { type: Boolean },
358
365
  marginRight: {},
359
366
  store: {}
360
367
  },
361
- setup(s) {
362
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V, setLinkData: r } = e.store || {}, y = l(!0);
363
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
368
+ setup(n) {
369
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C, setLinkData: u } = e.store || {}, h = l(!0);
370
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
364
371
  () => t.value,
365
372
  () => {
366
- y.value = t.value[e.setting.name], y.value || (_.value = e.setting.options.multiple ? [] : "", V(e.setting.name)), y.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
373
+ h.value = t.value[e.setting.name], h.value || (b.value = e.setting.options.multiple ? [] : "", C(e.setting.name)), h.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
367
374
  },
368
375
  { deep: !0 }
369
376
  );
370
- const d = () => {
371
- e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && r(e.setting.options.customQuery.custQueryJson, _.value);
372
- }, f = n.value[e.setting.name] || !1, g = l(!1);
373
- Y(e.setting.options.validateList).then((w) => {
374
- g.value = w;
377
+ const m = () => {
378
+ e.setting.options.customQuery && e.setting.options.customQuery.custQueryJson.length && u(e.setting.options.customQuery.custQueryJson, b.value);
379
+ }, c = s.value[e.setting.name] || !1, d = l(!1);
380
+ H(e.setting.options.validateList).then((w) => {
381
+ d.value = w;
375
382
  });
376
- const o = l(""), h = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", u = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", v = e.setting.options.customQuery.PId || "children", m = l([]);
377
- e.setting.options.customQuery.alias && ne(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((w) => {
378
- m.value = w;
383
+ const r = l(""), _ = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", v = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", p = e.setting.options.customQuery.PId || "children", o = l([]);
384
+ e.setting.options.customQuery.alias && se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((w) => {
385
+ o.value = w;
379
386
  });
380
- const p = l();
381
- e.setting.options.tip && (p.value = x(e.setting.options.tip));
382
- const _ = l();
383
- return _.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && i(e.setting.name) ? _.value = i(e.setting.name).split(",") : _.value = i(e.setting.name) || _.value, _.value || c(e.setting.name, null), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(_, (w) => {
384
- c(e.setting.name, w.toString());
385
- }), (w, k) => y.value ? (S(), P(a(z), {
387
+ const f = l();
388
+ e.setting.options.tip && (f.value = x(e.setting.options.tip));
389
+ const b = l();
390
+ return b.value = e.setting.options.multiple ? [] : "", e.setting.options.multiple && i(e.setting.name) ? b.value = i(e.setting.name).split(",") : b.value = i(e.setting.name) || b.value, b.value || g(e.setting.name, null), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(b, (w) => {
391
+ g(e.setting.name, w.toString());
392
+ }), (w, k) => h.value ? (V(), F(a(A), {
386
393
  key: 0,
387
394
  col: e.span,
388
- modelValue: _.value,
389
- "onUpdate:modelValue": k[0] || (k[0] = (N) => _.value = N),
390
- keyword: o.value,
391
- "onUpdate:keyword": k[1] || (k[1] = (N) => o.value = N),
395
+ modelValue: b.value,
396
+ "onUpdate:modelValue": k[0] || (k[0] = (T) => b.value = T),
397
+ keyword: r.value,
398
+ "onUpdate:keyword": k[1] || (k[1] = (T) => r.value = T),
392
399
  label: w.setting.desc,
393
400
  type: "treeSelect",
394
401
  "node-key": w.setting.options.customQuery.valueBind,
@@ -397,23 +404,23 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
397
404
  prop: e.setting.name,
398
405
  filter: w.setting.options.filterable,
399
406
  selectAttrs: { allowClear: !0 },
400
- options: m.value,
407
+ options: o.value,
401
408
  isView: e.isView,
402
- helpMessage: p.value,
403
- disabled: a(f),
404
- props: { label: a(u), value: a(h), children: a(v) },
409
+ helpMessage: f.value,
410
+ disabled: a(c),
411
+ props: { label: a(v), value: a(_), children: a(p) },
405
412
  "check-strictly": !w.setting.options.cascade,
406
- required: g.value,
407
- onChange: d
408
- }, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : j("v-if", !0);
413
+ required: d.value,
414
+ onChange: m
415
+ }, null, 8, ["col", "modelValue", "keyword", "label", "node-key", "placeholder", "mode", "prop", "filter", "options", "isView", "helpMessage", "disabled", "props", "check-strictly", "required"])) : q("v-if", !0);
409
416
  }
410
- }), He = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
417
+ }), We = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
411
418
  __proto__: null,
412
- default: la
413
- }, Symbol.toStringTag, { value: "Module" })), ia = { class: "form-image" }, oa = {
419
+ default: ra
420
+ }, Symbol.toStringTag, { value: "Module" })), ua = { class: "form-image" }, pa = {
414
421
  name: "imageViewer"
415
- }, ua = /* @__PURE__ */ A({
416
- ...oa,
422
+ }, da = /* @__PURE__ */ E({
423
+ ...pa,
417
424
  props: {
418
425
  setting: { default: () => ({
419
426
  icon: "",
@@ -422,141 +429,141 @@ const It = Mt.get("/getBindRelationByDefKey"), qt = kt.get("/getByAlias"), Pt =
422
429
  desc: "",
423
430
  options: {}
424
431
  }) },
425
- span: { default: 6 },
432
+ span: { default: 24 },
426
433
  isView: { type: Boolean },
427
434
  marginRight: {},
428
435
  store: {}
429
436
  },
430
- setup(s) {
431
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
432
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
437
+ setup(n) {
438
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
439
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
433
440
  () => t.value,
434
441
  () => {
435
- r.value = t.value[e.setting.name], r.value || (o.value = e.setting.options.file.limit > 1 ? [] : "", V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
442
+ u.value = t.value[e.setting.name], u.value || (r.value = e.setting.options.file.limit > 1 ? [] : "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
436
443
  },
437
444
  { deep: !0 }
438
445
  );
439
- const y = n.value[e.setting.name] || !1, d = l(!1);
440
- Y(e.setting.options.validateList).then((u) => {
441
- d.value = u;
446
+ const h = s.value[e.setting.name] || !1, m = l(!1);
447
+ H(e.setting.options.validateList).then((v) => {
448
+ m.value = v;
442
449
  });
443
- const f = l("normal");
444
- e.isView && (f.value = "info");
445
- const g = l();
446
- e.setting.options.tip && (g.value = x(e.setting.options.tip));
447
- const o = l();
448
- o.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && i(e.setting.name) ? o.value = i(e.setting.name).split(",") : o.value = i(e.setting.name) || o.value, o.value || c(e.setting.name, null);
449
- const h = (u) => {
450
+ const c = l("normal");
451
+ e.isView && (c.value = "info");
452
+ const d = l();
453
+ e.setting.options.tip && (d.value = x(e.setting.options.tip));
454
+ const r = l();
455
+ r.value = e.setting.options.file.limit > 1 ? [] : "", e.setting.options.file.limit > 1 && i(e.setting.name) ? r.value = i(e.setting.name).split(",") : r.value = i(e.setting.name) || r.value, r.value || g(e.setting.name, null);
456
+ const _ = (v) => {
450
457
  setTimeout(() => {
451
- c(e.setting.name, o.value.toString());
458
+ g(e.setting.name, r.value.toString());
452
459
  }, 100);
453
460
  };
454
- return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(o.value, (u) => {
455
- const v = u.map((m) => {
456
- let p = "";
457
- return m.indexOf("/oss/") != -1 ? p = m : p = `/oss/${m}`, p;
461
+ return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(r.value, (v) => {
462
+ const p = v.map((o) => {
463
+ let f = "";
464
+ return o.indexOf("/oss/") != -1 ? f = o : f = `/oss/${o}`, f;
458
465
  });
459
466
  setTimeout(() => {
460
- c(e.setting.name, v.join(","));
467
+ g(e.setting.name, p.join(","));
461
468
  }, 100);
462
- }), (u, v) => r.value ? (S(), P(a(z), {
469
+ }), (v, p) => u.value ? (V(), F(a(A), {
463
470
  key: 0,
464
- modelValue: o.value,
465
- "onUpdate:modelValue": v[2] || (v[2] = (m) => o.value = m),
471
+ modelValue: r.value,
472
+ "onUpdate:modelValue": p[2] || (p[2] = (o) => r.value = o),
466
473
  "margin-bottom": "0",
467
474
  prop: e.setting.name,
468
- label: u.setting.desc,
475
+ label: v.setting.desc,
469
476
  type: "custom",
470
- helpMessage: g.value,
471
- required: d.value
477
+ helpMessage: d.value,
478
+ required: m.value
472
479
  }, {
473
- default: $(() => [
474
- Ne("div", ia, [
475
- L(a(Ee), {
476
- modelValue: o.value,
477
- "onUpdate:modelValue": v[0] || (v[0] = (m) => o.value = m),
478
- status: f.value,
479
- "onUpdate:status": v[1] || (v[1] = (m) => f.value = m),
480
+ default: z(() => [
481
+ je("div", ua, [
482
+ S(a(Be), {
483
+ modelValue: r.value,
484
+ "onUpdate:modelValue": p[0] || (p[0] = (o) => r.value = o),
485
+ status: c.value,
486
+ "onUpdate:status": p[1] || (p[1] = (o) => c.value = o),
480
487
  maxSize: "6",
481
- "limit-num": u.setting.options.file.limit,
488
+ "limit-num": v.setting.options.file.limit,
482
489
  prop: e.setting.name,
483
490
  "service-name": "hotent",
484
491
  "accept-video": "",
485
492
  "accept-audio": "",
486
493
  videoWidth: 420,
487
494
  videoHeight: 680,
488
- disabled: a(y),
495
+ disabled: a(h),
489
496
  "show-image-name": "",
490
- needDownloadBtn: u.setting.options.file.allowDownload == !0,
491
- needPreview: u.setting.options.file.allowPreview == !0,
492
- onImageUpload: h,
493
- required: d.value
497
+ needDownloadBtn: v.setting.options.file.allowDownload == !0,
498
+ needPreview: v.setting.options.file.allowPreview == !0,
499
+ onImageUpload: _,
500
+ required: m.value
494
501
  }, null, 8, ["modelValue", "status", "limit-num", "prop", "disabled", "needDownloadBtn", "needPreview", "required"])
495
502
  ])
496
503
  ]),
497
504
  _: 1
498
505
  /* STABLE */
499
- }, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : j("v-if", !0);
506
+ }, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : q("v-if", !0);
500
507
  }
501
- }), me = (s, e) => {
502
- const t = s.__vccOpts || s;
503
- for (const [n, c] of e)
504
- t[n] = c;
508
+ }), fe = (n, e) => {
509
+ const t = n.__vccOpts || n;
510
+ for (const [s, g] of e)
511
+ t[s] = g;
505
512
  return t;
506
- }, ra = /* @__PURE__ */ me(ua, [["__scopeId", "data-v-412cdcbe"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
513
+ }, ca = /* @__PURE__ */ fe(da, [["__scopeId", "data-v-80891092"]]), Ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
507
514
  __proto__: null,
508
- default: ra
509
- }, Symbol.toStringTag, { value: "Module" })), pa = (s) => {
510
- const t = "****", n = String(s), c = n.slice(0, 15), i = n.slice(15);
511
- return ((r) => {
512
- const y = r.length;
513
- if (y < 6) return r;
514
- let d = 0;
515
- switch (y) {
515
+ default: ca
516
+ }, Symbol.toStringTag, { value: "Module" })), ga = (n) => {
517
+ const t = "****", s = String(n), g = s.slice(0, 15), i = s.slice(15);
518
+ return ((u) => {
519
+ const h = u.length;
520
+ if (h < 6) return u;
521
+ let m = 0;
522
+ switch (h) {
516
523
  case 6:
517
524
  case 7:
518
- d = 1;
525
+ m = 1;
519
526
  break;
520
527
  case 8:
521
528
  case 9:
522
- d = 2;
529
+ m = 2;
523
530
  break;
524
531
  case 10:
525
532
  case 11:
526
- d = 3;
533
+ m = 3;
527
534
  break;
528
535
  case 12:
529
- d = 4;
536
+ m = 4;
530
537
  break;
531
538
  case 13:
532
- d = 5;
539
+ m = 5;
533
540
  break;
534
541
  case 14:
535
- d = 6;
542
+ m = 6;
536
543
  break;
537
544
  case 15:
538
- d = 7;
545
+ m = 7;
539
546
  break;
540
547
  }
541
- const f = d + t.length;
542
- return r.slice(0, d) + t + r.slice(f);
543
- })(c) + i;
544
- }, da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
548
+ const c = m + t.length;
549
+ return u.slice(0, m) + t + u.slice(c);
550
+ })(g) + i;
551
+ }, ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
545
552
  __proto__: null,
546
- default: pa
547
- }, Symbol.toStringTag, { value: "Module" })), ge = {}, ga = /^\.\/(.+)\/index\.ts$/, Be = /* @__PURE__ */ Object.assign({ "./phone/index.ts": da });
553
+ default: ga
554
+ }, Symbol.toStringTag, { value: "Module" })), me = {}, va = /^\.\/(.+)\/index\.ts$/, qe = /* @__PURE__ */ Object.assign({ "./phone/index.ts": ma });
548
555
  var Ke;
549
- for (const s in Be) {
550
- const e = Be[s], t = (Ke = s.match(ga)) == null ? void 0 : Ke[1];
551
- ge[t] = e.default;
556
+ for (const n in qe) {
557
+ const e = qe[n], t = (Ke = n.match(va)) == null ? void 0 : Ke[1];
558
+ me[t] = e.default;
552
559
  }
553
- const ca = (s, e) => {
554
- var n;
555
- return e ? ((n = ge[s]) == null ? void 0 : n.call(ge, e)) ?? e : "-";
556
- }, va = {
560
+ const fa = (n, e) => {
561
+ var s;
562
+ return e ? ((s = me[n]) == null ? void 0 : s.call(me, e)) ?? e : "-";
563
+ }, ha = {
557
564
  name: "input"
558
- }, ma = /* @__PURE__ */ A({
559
- ...va,
565
+ }, ya = /* @__PURE__ */ E({
566
+ ...ha,
560
567
  props: {
561
568
  setting: { default: () => ({
562
569
  icon: "",
@@ -565,77 +572,81 @@ const ca = (s, e) => {
565
572
  desc: "",
566
573
  options: {}
567
574
  }) },
568
- span: { default: 6 },
575
+ span: { default: 24 },
569
576
  isView: { type: Boolean },
570
577
  marginRight: {},
571
578
  store: {}
572
579
  },
573
- setup(s) {
574
- const e = s, { data: t, showData: n, disabledData: c, setData: i, getData: b, setFormRule: V, deleteRule: r } = e.store || {}, y = l(""), d = l(!0);
575
- !n.value[e.setting.name] && n.value[e.setting.name] != !1 && (n.value[e.setting.name] = !0), M(
576
- () => n.value,
580
+ setup(n) {
581
+ const e = n, { data: t, showData: s, disabledData: g, setData: i, getData: y, setFormRule: C, deleteRule: u, encryptionData: h } = e.store || {}, m = l(""), c = l(!1);
582
+ h.value.length && h.value.forEach((o) => {
583
+ o.name === e.setting.name && (c.value = !0);
584
+ });
585
+ const d = l(!0);
586
+ !s.value[e.setting.name] && s.value[e.setting.name] != !1 && (s.value[e.setting.name] = !0), N(
587
+ () => s.value,
577
588
  () => {
578
- d.value = n.value[e.setting.name], d.value || (h.value = "", r(e.setting.name)), d.value && e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList);
589
+ d.value = s.value[e.setting.name], d.value || (p.value = "", u(e.setting.name)), d.value && e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList);
579
590
  },
580
591
  { deep: !0 }
581
- ), M(
592
+ ), N(
582
593
  () => t.value,
583
594
  () => {
584
- t.value[e.setting.name] && (h.value = t.value[e.setting.name]);
595
+ t.value[e.setting.name] && (p.value = t.value[e.setting.name]);
585
596
  },
586
597
  { deep: !0 }
587
598
  );
588
- const f = c.value[e.setting.name] || !1, g = l(!1);
589
- Y(e.setting.options.validateList).then((u) => {
590
- g.value = u;
599
+ const r = g.value[e.setting.name] || !1, _ = l(!1);
600
+ H(e.setting.options.validateList).then((o) => {
601
+ _.value = o;
591
602
  });
592
- const o = l();
593
- e.setting.options.tip && (o.value = x(e.setting.options.tip));
594
- const h = l("");
603
+ const v = l();
604
+ e.setting.options.tip && (v.value = x(e.setting.options.tip));
605
+ const p = l("");
595
606
  return setTimeout(() => {
596
- h.value = b(e.setting.name) || e.setting.options.formulasDiyJs || h.value, e.setting.options.encryption && e.isView && (y.value = ca("phone", h.value)), h.value || i(e.setting.name, null);
597
- }, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), M(h, (u) => {
598
- e.setting.options.dataType === "number" && !isNaN(u) ? i(e.setting.name, Number(u)) : i(e.setting.name, u);
599
- }), (u, v) => (S(), C(
600
- H,
607
+ p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, c && e.isView && (m.value = fa("phone", p.value)), p.value || i(e.setting.name, null);
608
+ }, 50), e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList), N(p, (o) => {
609
+ e.setting.options.dataType === "number" && !isNaN(o) ? i(e.setting.name, Number(o)) : i(e.setting.name, o);
610
+ }), (o, f) => (V(), U(
611
+ G,
601
612
  null,
602
613
  [
603
- d.value && e.setting.options.encryption && e.isView ? (S(), P(a(z), {
614
+ d.value && c.value && e.isView ? (V(), F(a(A), {
604
615
  key: 0,
605
- col: 6,
616
+ col: e.span,
606
617
  prop: e.setting.name,
607
- modelValue: h.value,
608
- "onUpdate:modelValue": v[1] || (v[1] = (m) => h.value = m),
609
- label: u.setting.desc,
618
+ modelValue: p.value,
619
+ "onUpdate:modelValue": f[1] || (f[1] = (b) => p.value = b),
620
+ label: o.setting.desc,
610
621
  type: "custom",
611
- helpMessage: o.value,
612
- required: g.value
622
+ helpMessage: v.value,
623
+ required: _.value
613
624
  }, {
614
- default: $(() => [
615
- L(a(Oe), {
625
+ default: z(() => [
626
+ S(a(Ve), {
616
627
  placement: "top",
617
- disabled: !h.value,
618
- content: h.value
628
+ disabled: !p.value,
629
+ content: p.value
619
630
  }, {
620
- default: $(() => [
621
- L(a(_t), {
622
- modelValue: y.value,
623
- "onUpdate:modelValue": v[0] || (v[0] = (m) => y.value = m),
624
- width: u.setting.options.width,
625
- disabled: u.setting.options.isInputEdit || a(f),
626
- isView: u.setting.options.isReadonly || e.isView,
627
- placeholder: u.setting.options.placeholder
631
+ default: z(() => [
632
+ S(a(_t), {
633
+ modelValue: m.value,
634
+ "onUpdate:modelValue": f[0] || (f[0] = (b) => m.value = b),
635
+ width: o.setting.options.width,
636
+ disabled: o.setting.options.isInputEdit || a(r),
637
+ isView: o.setting.options.isReadonly || e.isView,
638
+ placeholder: o.setting.options.placeholder
628
639
  }, {
629
- prepend: $(() => [
630
- X(
631
- ee(u.setting.options.bindPreAndSufFixjson.preFix),
640
+ prepend: z(() => [
641
+ ee(
642
+ te(o.setting.options.bindPreAndSufFixjson.preFix),
632
643
  1
633
644
  /* TEXT */
634
645
  )
635
646
  ]),
636
- append: $(() => [
637
- X(
638
- ee(u.setting.options.bindPreAndSufFixjson.sufSix),
647
+ append: z(() => [
648
+ ee(
649
+ te(o.setting.options.bindPreAndSufFixjson.sufSix),
639
650
  1
640
651
  /* TEXT */
641
652
  )
@@ -650,24 +661,24 @@ const ca = (s, e) => {
650
661
  ]),
651
662
  _: 1
652
663
  /* STABLE */
653
- }, 8, ["prop", "modelValue", "label", "helpMessage", "required"])) : j("v-if", !0),
654
- d.value && (!e.setting.options.encryption || !e.isView) ? (S(), P(a(z), {
664
+ }, 8, ["col", "prop", "modelValue", "label", "helpMessage", "required"])) : q("v-if", !0),
665
+ d.value && (!c.value || !e.isView) ? (V(), F(a(A), {
655
666
  key: 1,
656
- col: 6,
657
- modelValue: h.value,
658
- "onUpdate:modelValue": v[2] || (v[2] = (m) => h.value = m),
659
- width: u.setting.options.width,
660
- disabled: u.setting.options.isInputEdit || a(f),
661
- isView: u.setting.options.isReadonly || e.isView,
667
+ col: e.span,
668
+ modelValue: p.value,
669
+ "onUpdate:modelValue": f[2] || (f[2] = (b) => p.value = b),
670
+ width: o.setting.options.width,
671
+ disabled: o.setting.options.isInputEdit || a(r),
672
+ isView: o.setting.options.isReadonly || e.isView,
662
673
  prop: e.setting.name,
663
- label: u.setting.desc,
674
+ label: o.setting.desc,
664
675
  type: "input",
665
- helpMessage: o.value,
666
- required: g.value,
667
- placeholder: u.setting.options.placeholder
676
+ helpMessage: v.value,
677
+ required: _.value,
678
+ placeholder: o.setting.options.placeholder
668
679
  }, {
669
- default: $(() => [
670
- j(` <DasInput\r
680
+ default: z(() => [
681
+ q(` <DasInput\r
671
682
  v-model="inputValue"\r
672
683
  >\r
673
684
  <template #prepend>{{ setting.options.bindPreAndSufFixjson.preFix }}</template>\r
@@ -676,7 +687,7 @@ const ca = (s, e) => {
676
687
  ]),
677
688
  _: 1
678
689
  /* STABLE */
679
- }, 8, ["modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : j("v-if", !0)
690
+ }, 8, ["col", "modelValue", "width", "disabled", "isView", "prop", "label", "helpMessage", "required", "placeholder"])) : q("v-if", !0)
680
691
  ],
681
692
  64
682
693
  /* STABLE_FRAGMENT */
@@ -684,11 +695,11 @@ const ca = (s, e) => {
684
695
  }
685
696
  }), Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
686
697
  __proto__: null,
687
- default: ma
688
- }, Symbol.toStringTag, { value: "Module" })), fa = {
698
+ default: ya
699
+ }, Symbol.toStringTag, { value: "Module" })), ba = {
689
700
  name: "number"
690
- }, ya = /* @__PURE__ */ A({
691
- ...fa,
701
+ }, _a = /* @__PURE__ */ E({
702
+ ...ba,
692
703
  props: {
693
704
  setting: { default: () => ({
694
705
  icon: "",
@@ -697,57 +708,57 @@ const ca = (s, e) => {
697
708
  desc: "",
698
709
  options: {}
699
710
  }) },
700
- span: { default: 6 },
711
+ span: { default: 24 },
701
712
  isView: { type: Boolean },
702
713
  marginRight: {},
703
714
  store: {}
704
715
  },
705
- setup(s) {
706
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
707
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
716
+ setup(n) {
717
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
718
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
708
719
  () => t.value,
709
720
  () => {
710
- r.value = t.value[e.setting.name], r.value || (g.value = 0, V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
721
+ u.value = t.value[e.setting.name], u.value || (d.value = 0, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
711
722
  },
712
723
  { deep: !0 }
713
724
  );
714
- const y = n.value[e.setting.name] || !1, d = l(!1);
715
- Y(e.setting.options.validateList).then((o) => {
716
- d.value = o;
725
+ const h = s.value[e.setting.name] || !1, m = l(!1);
726
+ H(e.setting.options.validateList).then((r) => {
727
+ m.value = r;
717
728
  });
718
- const f = l();
719
- e.setting.options.tip && (f.value = x(e.setting.options.tip));
720
- const g = l(0);
729
+ const c = l();
730
+ e.setting.options.tip && (c.value = x(e.setting.options.tip));
731
+ const d = l(0);
721
732
  return setTimeout(() => {
722
- g.value = i(e.setting.name) || e.setting.options.formulasDiyJs || g.value, g.value || c(e.setting.name, null);
723
- }, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(g, (o) => {
724
- c(e.setting.name, o);
725
- }), (o, h) => r.value ? (S(), P(a(z), {
733
+ d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
734
+ }, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (r) => {
735
+ g(e.setting.name, r);
736
+ }), (r, _) => u.value ? (V(), F(a(A), {
726
737
  key: 0,
727
738
  col: e.span,
728
- modelValue: g.value,
729
- "onUpdate:modelValue": h[0] || (h[0] = (u) => g.value = u),
739
+ modelValue: d.value,
740
+ "onUpdate:modelValue": _[0] || (_[0] = (v) => d.value = v),
730
741
  style: { width: "100%" },
731
- label: o.setting.desc,
742
+ label: r.setting.desc,
732
743
  type: "inputNumber",
733
744
  prop: e.setting.name,
734
- max: o.setting.options.max,
735
- min: o.setting.options.min,
736
- step: o.setting.options.step,
737
- disabled: a(y),
745
+ max: r.setting.options.max,
746
+ min: r.setting.options.min,
747
+ step: r.setting.options.step,
748
+ disabled: a(h),
738
749
  isView: e.isView,
739
- precision: o.setting.options.decimalDigits,
740
- helpMessage: f.value,
741
- required: d.value
742
- }, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : j("v-if", !0);
750
+ precision: r.setting.options.decimalDigits,
751
+ helpMessage: c.value,
752
+ required: m.value
753
+ }, null, 8, ["col", "modelValue", "label", "prop", "max", "min", "step", "disabled", "isView", "precision", "helpMessage", "required"])) : q("v-if", !0);
743
754
  }
744
755
  }), Xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
745
756
  __proto__: null,
746
- default: ya
747
- }, Symbol.toStringTag, { value: "Module" })), ha = {
757
+ default: _a
758
+ }, Symbol.toStringTag, { value: "Module" })), wa = {
748
759
  name: "radio"
749
- }, ba = /* @__PURE__ */ A({
750
- ...ha,
760
+ }, Ca = /* @__PURE__ */ E({
761
+ ...wa,
751
762
  props: {
752
763
  setting: { default: () => ({
753
764
  icon: "",
@@ -758,71 +769,71 @@ const ca = (s, e) => {
758
769
  linkage: []
759
770
  }
760
771
  }) },
761
- span: { default: 6 },
772
+ span: { default: 24 },
762
773
  isView: { type: Boolean },
763
774
  marginRight: {},
764
775
  store: {}
765
776
  },
766
- setup(s) {
767
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
768
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
777
+ setup(n) {
778
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
779
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
769
780
  () => t.value,
770
781
  () => {
771
- r.value = t.value[e.setting.name], r.value || (u.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
782
+ u.value = t.value[e.setting.name], u.value || (v.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
772
783
  },
773
784
  { deep: !0 }
774
785
  );
775
- const y = n.value[e.setting.name] || !1, d = l(!1);
776
- Y(e.setting.options.validateList).then((m) => {
777
- d.value = m;
786
+ const h = s.value[e.setting.name] || !1, m = l(!1);
787
+ H(e.setting.options.validateList).then((o) => {
788
+ m.value = o;
778
789
  });
779
- const f = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", g = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", o = l([]);
780
- e.setting.options.customQuery.alias ? ne(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((m) => {
781
- o.value = m;
782
- }) : o.value = e.setting.options.options;
783
- const h = l();
784
- e.setting.options.tip && (h.value = x(e.setting.options.tip));
785
- const u = l(null);
790
+ const c = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", d = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", r = l([]);
791
+ e.setting.options.customQuery.alias ? se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield).then((o) => {
792
+ r.value = o;
793
+ }) : r.value = e.setting.options.options;
794
+ const _ = l();
795
+ e.setting.options.tip && (_.value = x(e.setting.options.tip));
796
+ const v = l(null);
786
797
  setTimeout(() => {
787
- u.value = i(e.setting.name) || e.setting.options.formulasDiyJs || u.value, u.value || c(e.setting.name, null);
788
- }, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(u, (m) => {
789
- c(e.setting.name, m);
798
+ v.value = i(e.setting.name) || e.setting.options.formulasDiyJs || v.value, v.value || g(e.setting.name, null);
799
+ }, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(v, (o) => {
800
+ g(e.setting.name, o);
790
801
  });
791
- const v = (m) => {
792
- e.setting.options.linkage.length && e.setting.options.linkage.forEach((p) => {
793
- if (p.value === m) {
794
- const w = p.effect[0].target.split(".")[2];
795
- t.value[w] = p.effect[0].type === "w";
802
+ const p = (o) => {
803
+ e.setting.options.linkage.length && e.setting.options.linkage.forEach((f) => {
804
+ if (f.value === o) {
805
+ const w = f.effect[0].target.split(".")[2];
806
+ t.value[w] = f.effect[0].type === "w";
796
807
  }
797
808
  });
798
809
  };
799
- return (m, p) => r.value ? (S(), P(a(z), {
810
+ return (o, f) => u.value ? (V(), F(a(A), {
800
811
  key: 0,
801
- onChange: v,
812
+ onChange: p,
802
813
  col: e.span,
803
- modelValue: u.value,
804
- "onUpdate:modelValue": p[0] || (p[0] = (_) => u.value = _),
805
- layout: m.setting.options.inline ? "vertical" : "default",
806
- label: m.setting.desc,
814
+ modelValue: v.value,
815
+ "onUpdate:modelValue": f[0] || (f[0] = (b) => v.value = b),
816
+ layout: o.setting.options.inline ? "vertical" : "default",
817
+ label: o.setting.desc,
807
818
  type: "radio",
808
819
  prop: e.setting.name,
809
- options: o.value,
820
+ options: r.value,
810
821
  isView: e.isView,
811
- optionsValueKey: a(f),
812
- optionsLabelKey: a(g),
813
- helpMessage: h.value,
814
- disabled: a(y),
815
- required: d.value,
822
+ optionsValueKey: a(c),
823
+ optionsLabelKey: a(d),
824
+ helpMessage: _.value,
825
+ disabled: a(h),
826
+ required: m.value,
816
827
  isSetTimeout: !0
817
- }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : j("v-if", !0);
828
+ }, null, 8, ["col", "modelValue", "layout", "label", "prop", "options", "isView", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
818
829
  }
819
830
  }), et = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
820
831
  __proto__: null,
821
- default: ba
822
- }, Symbol.toStringTag, { value: "Module" })), _a = {
832
+ default: Ca
833
+ }, Symbol.toStringTag, { value: "Module" })), Da = {
823
834
  name: "select"
824
- }, wa = /* @__PURE__ */ A({
825
- ..._a,
835
+ }, Va = /* @__PURE__ */ E({
836
+ ...Da,
826
837
  props: {
827
838
  setting: { default: () => ({
828
839
  icon: "",
@@ -831,120 +842,120 @@ const ca = (s, e) => {
831
842
  desc: "",
832
843
  options: {}
833
844
  }) },
834
- span: { default: 6 },
845
+ span: { default: 24 },
835
846
  isView: { type: Boolean },
836
847
  marginRight: {},
837
848
  store: {}
838
849
  },
839
- setup(s) {
840
- const e = s, { showData: t, disabledData: n, linkData: c, setData: i, getData: b, setFormRule: V, deleteRule: r } = e.store || {}, y = l(!0);
841
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
850
+ setup(n) {
851
+ const e = n, { showData: t, disabledData: s, linkData: g, setData: i, getData: y, setFormRule: C, deleteRule: u } = e.store || {}, h = l(!0);
852
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
842
853
  () => t.value,
843
854
  () => {
844
- y.value = t.value[e.setting.name], y.value || (v.value = null, r(e.setting.name)), y.value && e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList);
855
+ h.value = t.value[e.setting.name], h.value || (p.value = null, u(e.setting.name)), h.value && e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList);
845
856
  },
846
857
  { deep: !0 }
847
- ), M(
848
- () => c.value,
858
+ ), N(
859
+ () => g.value,
849
860
  () => {
850
- c.value.data.forEach((p) => {
851
- if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === p.alias) {
852
- v.value = null;
853
- const _ = p.conditionfield.filter((k) => k.defaultType == 1);
861
+ g.value.data.forEach((f) => {
862
+ if (e.setting.options.customQuery.alias && e.setting.options.customQuery.alias === f.alias) {
863
+ p.value = null;
864
+ const b = f.conditionfield.filter((k) => k.defaultType == 1);
854
865
  let w = {};
855
- _.forEach((k) => {
856
- const N = k.fieldPath.split("."), O = N[N.length - 1];
857
- w[k.field] = b(O);
858
- }), ne(
866
+ b.forEach((k) => {
867
+ const T = k.fieldPath.split("."), R = T[T.length - 1];
868
+ w[k.field] = y(R);
869
+ }), se(
859
870
  e.setting.options.customQuery.alias,
860
871
  e.setting.options.customQuery.conditionfield,
861
872
  w
862
873
  ).then((k) => {
863
- h.value = k;
874
+ _.value = k;
864
875
  });
865
876
  }
866
877
  });
867
878
  },
868
879
  { deep: !0 }
869
880
  );
870
- const d = n.value[e.setting.name] || !1, f = l(!1);
871
- Y(e.setting.options.validateList).then((p) => {
872
- f.value = p;
881
+ const m = s.value[e.setting.name] || !1, c = l(!1);
882
+ H(e.setting.options.validateList).then((f) => {
883
+ c.value = f;
873
884
  });
874
- const g = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", o = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", h = l([]);
885
+ const d = e.setting.options.customQuery.valueBind ? e.setting.options.customQuery.valueBind : "key", r = e.setting.options.customQuery.labelBind ? e.setting.options.customQuery.labelBind : "value", _ = l([]);
875
886
  if (e.setting.options.customQuery.alias) {
876
- const p = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
877
- let _ = {};
878
- p.forEach((w) => {
879
- const k = w.fieldPath.split("."), N = k[k.length - 1];
880
- _[w.field] = b(N);
881
- }), ne(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, _).then(
887
+ const f = e.setting.options.customQuery.conditionfield.filter((w) => w.defaultType == 1);
888
+ let b = {};
889
+ f.forEach((w) => {
890
+ const k = w.fieldPath.split("."), T = k[k.length - 1];
891
+ b[w.field] = y(T);
892
+ }), se(e.setting.options.customQuery.alias, e.setting.options.customQuery.conditionfield, b).then(
882
893
  (w) => {
883
- h.value = w;
894
+ _.value = w;
884
895
  }
885
896
  );
886
897
  } else
887
- h.value = e.setting.options.options;
888
- const u = l();
889
- e.setting.options.tip && (u.value = x(e.setting.options.tip));
898
+ _.value = e.setting.options.options;
890
899
  const v = l();
891
- v.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
892
- e.setting.options.multiple && (b(e.setting.name) || e.setting.options.formulasDiyJs) ? (b(e.setting.name) && (v.value = b(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (v.value = e.setting.options.formulasDiyJs.split(","))) : v.value = b(e.setting.name) || e.setting.options.formulasDiyJs || v.value, v.value || i(e.setting.name, null);
893
- }, 50), e.setting.options.validateList.length && V(e.setting.name, e.setting.options.validateList), M(v, (p) => {
894
- e.setting.options.multiple ? i(e.setting.name, p.toString()) : i(e.setting.name, p);
900
+ e.setting.options.tip && (v.value = x(e.setting.options.tip));
901
+ const p = l();
902
+ p.value = e.setting.options.multiple ? [] : null, setTimeout(() => {
903
+ e.setting.options.multiple && (y(e.setting.name) || e.setting.options.formulasDiyJs) ? (y(e.setting.name) && (p.value = y(e.setting.name).split(",")), e.setting.options.formulasDiyJs && (p.value = e.setting.options.formulasDiyJs.split(","))) : p.value = y(e.setting.name) || e.setting.options.formulasDiyJs || p.value, p.value || i(e.setting.name, null);
904
+ }, 50), e.setting.options.validateList.length && C(e.setting.name, e.setting.options.validateList), N(p, (f) => {
905
+ e.setting.options.multiple ? i(e.setting.name, f.toString()) : i(e.setting.name, f);
895
906
  });
896
- const m = (p) => {
897
- e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((_) => {
898
- if (_.value === p) {
899
- const k = _.effect[0].target.split(".")[2];
900
- t.value[k] = _.effect[0].type === "w";
907
+ const o = (f) => {
908
+ e.setting.options.linkage.length && !e.setting.options.multiple && e.setting.options.linkage.forEach((b) => {
909
+ if (b.value === f) {
910
+ const k = b.effect[0].target.split(".")[2];
911
+ t.value[k] = b.effect[0].type === "w";
901
912
  }
902
913
  });
903
914
  };
904
- return (p, _) => y.value ? (S(), P(a(z), {
915
+ return (f, b) => h.value ? (V(), F(a(A), {
905
916
  key: 0,
906
917
  col: e.span,
907
- modelValue: v.value,
908
- "onUpdate:modelValue": _[0] || (_[0] = (w) => v.value = w),
909
- label: p.setting.desc,
910
- onChange: m,
918
+ modelValue: p.value,
919
+ "onUpdate:modelValue": b[0] || (b[0] = (w) => p.value = w),
920
+ label: f.setting.desc,
921
+ onChange: o,
911
922
  type: "select",
912
923
  prop: e.setting.name,
913
- placeholder: p.setting.options.placeholder,
914
- mode: p.setting.options.multiple ? "tags" : "combobox",
915
- showSearch: p.setting.options.filterable,
924
+ placeholder: f.setting.options.placeholder,
925
+ mode: f.setting.options.multiple ? "tags" : "combobox",
926
+ showSearch: f.setting.options.filterable,
916
927
  allowClear: !0,
917
928
  isView: e.isView,
918
- options: h.value,
919
- optionsValueKey: a(g),
920
- optionsLabelKey: a(o),
921
- helpMessage: u.value,
922
- disabled: a(d),
923
- required: f.value
924
- }, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : j("v-if", !0);
929
+ options: _.value,
930
+ optionsValueKey: a(d),
931
+ optionsLabelKey: a(r),
932
+ helpMessage: v.value,
933
+ disabled: a(m),
934
+ required: c.value
935
+ }, null, 8, ["col", "modelValue", "label", "prop", "placeholder", "mode", "showSearch", "isView", "options", "optionsValueKey", "optionsLabelKey", "helpMessage", "disabled", "required"])) : q("v-if", !0);
925
936
  }
926
937
  }), tt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
927
938
  __proto__: null,
928
- default: wa
929
- }, Symbol.toStringTag, { value: "Module" })), Va = (s, e, t) => {
930
- var ue, se, re, pe, de;
931
- const n = Qe().id, c = l(!1), i = (de = (pe = (re = (se = (ue = s == null ? void 0 : s.options) == null ? void 0 : ue.selector) == null ? void 0 : se.type) == null ? void 0 : re.alias) == null ? void 0 : pe.replace("eip-", "")) == null ? void 0 : de.replace("-selector", ""), b = l([]), V = l(""), r = l(""), y = {
932
- user: E("搜索姓名/账号/手机号").value,
933
- org: E("搜索组织名称/组织编码").value,
934
- role: E("搜索角色名称").value,
935
- job: E("职务名称/职务编码").value,
936
- post: E("搜索岗位名称/岗位编码").value,
937
- supplier: E("搜索供应商编码/名称").value,
938
- source: E("搜索单据编码/申请人").value
939
- }, d = {
940
- user: E("用户选择器").value,
941
- org: E("组织选择器").value,
942
- role: E("角色选择器").value,
943
- job: E("职务选择器").value,
944
- post: E("岗位选择器").value,
945
- supplier: E("供应商选择器").value,
946
- source: E("源单选择器").value
947
- }, f = {
939
+ default: Va
940
+ }, Symbol.toStringTag, { value: "Module" })), ka = (n, e, t) => {
941
+ var ue, ne, pe, de, ce;
942
+ const s = Oe().id, g = l(!1), i = (ce = (de = (pe = (ne = (ue = n == null ? void 0 : n.options) == null ? void 0 : ue.selector) == null ? void 0 : ne.type) == null ? void 0 : pe.alias) == null ? void 0 : de.replace("eip-", "")) == null ? void 0 : ce.replace("-selector", ""), y = l([]), C = l(""), u = l(""), h = {
943
+ user: B("搜索姓名/账号/手机号").value,
944
+ org: B("搜索组织名称/组织编码").value,
945
+ role: B("搜索角色名称").value,
946
+ job: B("职务名称/职务编码").value,
947
+ post: B("搜索岗位名称/岗位编码").value,
948
+ supplier: B("搜索供应商编码/名称").value,
949
+ source: B("搜索单据编码/申请人").value
950
+ }, m = {
951
+ user: B("添加用户").value,
952
+ org: B("组织选择器").value,
953
+ role: B("角色选择器").value,
954
+ job: B("职务选择器").value,
955
+ post: B("岗位选择器").value,
956
+ supplier: B("选择供应商").value,
957
+ source: B("选择源单").value
958
+ }, c = {
948
959
  user: "id",
949
960
  org: "id",
950
961
  role: "id",
@@ -952,29 +963,29 @@ const ca = (s, e) => {
952
963
  post: "stationId",
953
964
  supplier: "id",
954
965
  source: "code"
955
- }, g = {
956
- 1: E("正常").value,
957
- 2: E("锁定").value,
958
- 3: E("禁用").value
959
- }, o = {
960
- 0: E("普通").value,
961
- 1: E("管理员").value
962
- }, h = {
963
- 0: E("无效").value,
964
- 1: E("有效").value
965
- }, u = {
966
- user: Bt,
966
+ }, d = {
967
+ 1: B("正常").value,
968
+ 2: B("锁定").value,
969
+ 3: B("禁用").value
970
+ }, r = {
971
+ 0: B("普通").value,
972
+ 1: B("管理员").value
973
+ }, _ = {
974
+ 0: B("无效").value,
975
+ 1: B("有效").value
976
+ }, v = {
977
+ user: jt,
967
978
  org: ye,
968
- role: Nt,
979
+ role: Ot,
969
980
  job: ye,
970
981
  post: ye,
971
- supplier: xt
972
- }, v = d[i], m = l({}), p = l([]), _ = () => {
973
- var B, U;
974
- i === "supplier" ? (m.value = {
982
+ supplier: Ht
983
+ }, p = m[i], o = l({}), f = l([]), b = () => {
984
+ var K, Q;
985
+ i === "supplier" ? (o.value = {
975
986
  left: !1,
976
987
  content: {
977
- api: Ct,
988
+ api: Jt,
978
989
  params: {
979
990
  flowKey: e,
980
991
  clientType: "pc",
@@ -987,7 +998,7 @@ const ca = (s, e) => {
987
998
  querys: [
988
999
  {
989
1000
  property: "orgId",
990
- value: n,
1001
+ value: s,
991
1002
  group: "quick",
992
1003
  relation: "AND",
993
1004
  operation: "EQUAL"
@@ -999,10 +1010,10 @@ const ca = (s, e) => {
999
1010
  }
1000
1011
  },
1001
1012
  right: !1
1002
- }, N(), k()) : i === "source" ? (m.value = {
1013
+ }, T(), k()) : i === "source" ? (o.value = {
1003
1014
  left: !1,
1004
1015
  content: {
1005
- api: Jt,
1016
+ api: Zt,
1006
1017
  params: {
1007
1018
  key: "",
1008
1019
  code: t
@@ -1017,7 +1028,7 @@ const ca = (s, e) => {
1017
1028
  }
1018
1029
  },
1019
1030
  right: !1
1020
- }, w()) : i === "org" ? (m.value = {
1031
+ }, w()) : i === "org" ? (o.value = {
1021
1032
  left: !1,
1022
1033
  content: {
1023
1034
  api: Et,
@@ -1028,16 +1039,16 @@ const ca = (s, e) => {
1028
1039
  data: []
1029
1040
  }
1030
1041
  }
1031
- }, w()) : m.value = {
1042
+ }, w()) : o.value = {
1032
1043
  left: {
1033
- api: Pt,
1044
+ api: qt,
1034
1045
  params: {
1035
- projectId: n,
1036
- parentId: n
1046
+ projectId: s,
1047
+ parentId: s
1037
1048
  },
1038
1049
  props: {
1039
1050
  inputOptions: {
1040
- placeholder: E("搜索组织名称")
1051
+ placeholder: B("搜索组织名称").value
1041
1052
  }
1042
1053
  }
1043
1054
  },
@@ -1046,8 +1057,8 @@ const ca = (s, e) => {
1046
1057
  data: []
1047
1058
  }
1048
1059
  }
1049
- }, i === "user" && (m.value.content = {
1050
- api: jt,
1060
+ }, i === "user" && (o.value.content = {
1061
+ api: Kt,
1051
1062
  searchKey: "groupId",
1052
1063
  params: {
1053
1064
  status: 1,
@@ -1056,8 +1067,8 @@ const ca = (s, e) => {
1056
1067
  selectListProps: {
1057
1068
  data: []
1058
1069
  }
1059
- }, w()), i === "role" && (m.value.content = {
1060
- api: Kt,
1070
+ }, w()), i === "role" && (o.value.content = {
1071
+ api: Bt,
1061
1072
  searchKey: "orgId",
1062
1073
  params: {
1063
1074
  status: 1
@@ -1065,7 +1076,7 @@ const ca = (s, e) => {
1065
1076
  selectListProps: {
1066
1077
  data: []
1067
1078
  }
1068
- }, w()), i === "job" && (m.value.content = {
1079
+ }, w()), i === "job" && (o.value.content = {
1069
1080
  api: Qt,
1070
1081
  searchKey: "groupId",
1071
1082
  props: {
@@ -1074,8 +1085,8 @@ const ca = (s, e) => {
1074
1085
  selectListProps: {
1075
1086
  data: []
1076
1087
  }
1077
- }, w()), i === "post" && (m.value.content = {
1078
- api: Ot,
1088
+ }, w()), i === "post" && (o.value.content = {
1089
+ api: At,
1079
1090
  searchKey: "groupId",
1080
1091
  props: {
1081
1092
  rowKey: "stationId"
@@ -1083,14 +1094,14 @@ const ca = (s, e) => {
1083
1094
  selectListProps: {
1084
1095
  data: []
1085
1096
  }
1086
- }, w()), m.value.content.multiple = i === "supplier" || i === "source" ? !1 : !((U = (B = s == null ? void 0 : s.options) == null ? void 0 : B.selector) != null && U.isSingle);
1097
+ }, w()), o.value.content.multiple = i === "supplier" || i === "source" ? !1 : !((Q = (K = n == null ? void 0 : n.options) == null ? void 0 : K.selector) != null && Q.isSingle);
1087
1098
  }, w = async () => {
1088
- p.value = [
1099
+ f.value = [
1089
1100
  {
1090
1101
  type: "searchInput",
1091
1102
  key: "inputtKey",
1092
1103
  label: "",
1093
- placeholder: y[i],
1104
+ placeholder: h[i],
1094
1105
  value: "",
1095
1106
  clearable: !1,
1096
1107
  isIconLeft: !0,
@@ -1099,12 +1110,12 @@ const ca = (s, e) => {
1099
1110
  }
1100
1111
  ];
1101
1112
  }, k = async () => {
1102
- p.value = [
1113
+ f.value = [
1103
1114
  {
1104
1115
  type: "searchInput",
1105
1116
  key: "inputtKey",
1106
1117
  label: "",
1107
- placeholder: y[i],
1118
+ placeholder: h[i],
1108
1119
  value: "",
1109
1120
  clearable: !1,
1110
1121
  isIconLeft: !0,
@@ -1113,7 +1124,7 @@ const ca = (s, e) => {
1113
1124
  },
1114
1125
  {
1115
1126
  type: "select",
1116
- label: "供应商类型",
1127
+ label: B("供应商类型").value,
1117
1128
  layout: "out",
1118
1129
  width: "200px",
1119
1130
  closable: !0,
@@ -1125,150 +1136,150 @@ const ca = (s, e) => {
1125
1136
  allowClear: !0
1126
1137
  }
1127
1138
  ];
1128
- }, N = async () => {
1129
- const B = {
1139
+ }, T = async () => {
1140
+ const K = {
1130
1141
  name: "",
1131
1142
  published: 1
1132
- }, [U, K] = await Yt(B).run();
1133
- U || (p.value[1].options = K);
1134
- }, O = () => {
1135
- var U;
1136
- V.value = "", c.value = !0;
1137
- let B = f[i];
1138
- m.value.content.selectListProps.data = (U = b == null ? void 0 : b.value) == null ? void 0 : U.map((K) => ({ name: K == null ? void 0 : K.label, [B]: K == null ? void 0 : K.value }));
1143
+ }, [Q, j] = await Wt(K).run();
1144
+ Q || (f.value[1].options = j);
1145
+ }, R = () => {
1146
+ var Q;
1147
+ C.value = "", g.value = !0;
1148
+ let K = c[i];
1149
+ o.value.content.selectListProps.data = (Q = y == null ? void 0 : y.value) == null ? void 0 : Q.map((j) => ({ name: j == null ? void 0 : j.label, [K]: j == null ? void 0 : j.value }));
1139
1150
  };
1140
- _();
1141
- const G = async () => {
1142
- var B, U, K, F, Q, I, T, le, Me, ke, Te, Re, $e, Fe, Ie, qe, Pe;
1143
- m.value.content.params = {
1144
- ...(U = (B = m == null ? void 0 : m.value) == null ? void 0 : B.content) == null ? void 0 : U.params,
1151
+ b();
1152
+ const J = async () => {
1153
+ var K, Q, j, M, O, P, L, oe, Ne, Le, ze, Me, Te, Re, $e, Pe, Fe;
1154
+ o.value.content.params = {
1155
+ ...(Q = (K = o == null ? void 0 : o.value) == null ? void 0 : K.content) == null ? void 0 : Q.params,
1145
1156
  pageIndex: 1
1146
- }, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (m.value.content.params.name = (K = p == null ? void 0 : p.value[0]) == null ? void 0 : K.value), i === "source" && (m.value.content.params.key = (F = p == null ? void 0 : p.value[0]) == null ? void 0 : F.value), i === "supplier" && (m.value.content.params.querys = [
1157
+ }, (i === "user" || i === "org" || i === "post" || i === "role" || i === "job") && (o.value.content.params.name = (j = f == null ? void 0 : f.value[0]) == null ? void 0 : j.value), i === "source" && (o.value.content.params.key = (M = f == null ? void 0 : f.value[0]) == null ? void 0 : M.value), i === "supplier" && (o.value.content.params.querys = [
1147
1158
  {
1148
1159
  property: "orgId",
1149
- value: n,
1160
+ value: s,
1150
1161
  group: "quick",
1151
1162
  relation: "AND",
1152
1163
  operation: "EQUAL"
1153
1164
  }
1154
- ], (Q = p == null ? void 0 : p.value[0]) != null && Q.value && (m.value.content.params.querys = (Te = (le = (T = (I = m == null ? void 0 : m.value) == null ? void 0 : I.content) == null ? void 0 : T.params) == null ? void 0 : le.querys) == null ? void 0 : Te.concat([
1165
+ ], (O = f == null ? void 0 : f.value[0]) != null && O.value && (o.value.content.params.querys = (ze = (oe = (L = (P = o == null ? void 0 : o.value) == null ? void 0 : P.content) == null ? void 0 : L.params) == null ? void 0 : oe.querys) == null ? void 0 : ze.concat([
1155
1166
  {
1156
1167
  property: "name",
1157
- value: (Me = p == null ? void 0 : p.value[0]) == null ? void 0 : Me.value,
1168
+ value: (Ne = f == null ? void 0 : f.value[0]) == null ? void 0 : Ne.value,
1158
1169
  group: "merge",
1159
1170
  relation: "OR",
1160
1171
  operation: "LIKE"
1161
1172
  },
1162
1173
  {
1163
1174
  property: "code",
1164
- value: (ke = p == null ? void 0 : p.value[0]) == null ? void 0 : ke.value,
1175
+ value: (Le = f == null ? void 0 : f.value[0]) == null ? void 0 : Le.value,
1165
1176
  group: "merge",
1166
1177
  relation: "OR",
1167
1178
  operation: "LIKE"
1168
1179
  }
1169
- ])), (Re = p == null ? void 0 : p.value[1]) != null && Re.value && (m.value.content.params.querys = (Pe = (Ie = (Fe = ($e = m == null ? void 0 : m.value) == null ? void 0 : $e.content) == null ? void 0 : Fe.params) == null ? void 0 : Ie.querys) == null ? void 0 : Pe.concat([
1180
+ ])), (Me = f == null ? void 0 : f.value[1]) != null && Me.value && (o.value.content.params.querys = (Fe = ($e = (Re = (Te = o == null ? void 0 : o.value) == null ? void 0 : Te.content) == null ? void 0 : Re.params) == null ? void 0 : $e.querys) == null ? void 0 : Fe.concat([
1170
1181
  {
1171
1182
  property: "classificationId",
1172
- value: (qe = p == null ? void 0 : p.value[1]) == null ? void 0 : qe.value,
1183
+ value: (Pe = f == null ? void 0 : f.value[1]) == null ? void 0 : Pe.value,
1173
1184
  group: "quick",
1174
1185
  relation: "AND",
1175
1186
  operation: "EQUAL"
1176
1187
  }
1177
1188
  ])));
1178
1189
  };
1179
- M(
1180
- () => c == null ? void 0 : c.value,
1181
- (B) => {
1182
- B || R();
1190
+ N(
1191
+ () => g == null ? void 0 : g.value,
1192
+ (K) => {
1193
+ K || $();
1183
1194
  }
1184
1195
  );
1185
- const R = async () => {
1186
- i === "supplier" ? (p.value[0].value = "", p.value[1].value = void 0) : (i === "org" || i === "user" || i === "source" || i === "post" || i === "role" || i === "job") && (p.value[0].value = ""), _();
1196
+ const $ = async () => {
1197
+ i === "supplier" ? (f.value[0].value = "", f.value[1].value = void 0) : (i === "org" || i === "user" || i === "source" || i === "post" || i === "role" || i === "job") && (f.value[0].value = ""), b();
1187
1198
  };
1188
1199
  return {
1189
- dialogVisible: c,
1190
- title: v,
1191
- searchName: V,
1200
+ dialogVisible: g,
1201
+ title: p,
1202
+ searchName: C,
1192
1203
  selectorType: i,
1193
- selectOptions: b,
1194
- tableOptions: m,
1195
- userStatusMap: g,
1196
- roleTypeMap: o,
1197
- roleStatusMap: h,
1198
- openDialog: O,
1199
- confirm: (B) => {
1200
- var K;
1201
- let U = f[i];
1202
- b.value = B == null ? void 0 : B.map((F) => ({ label: (F == null ? void 0 : F.name) || (F == null ? void 0 : F.code), value: F[U] })), i === "supplier" && (r.value = (K = B[0]) == null ? void 0 : K.linkmanPhone);
1204
+ selectOptions: y,
1205
+ tableOptions: o,
1206
+ userStatusMap: d,
1207
+ roleTypeMap: r,
1208
+ roleStatusMap: _,
1209
+ openDialog: R,
1210
+ confirm: (K) => {
1211
+ var j;
1212
+ let Q = c[i];
1213
+ y.value = K == null ? void 0 : K.map((M) => ({ label: (M == null ? void 0 : M.name) || (M == null ? void 0 : M.code), value: M[Q] })), i === "supplier" && (u.value = (j = K[0]) == null ? void 0 : j.linkmanPhone);
1203
1214
  },
1204
- getDetail: async (B) => {
1205
- if (!B) return;
1206
- const U = u[i];
1207
- let K = {};
1208
- const F = B == null ? void 0 : B.split(",");
1215
+ getDetail: async (K) => {
1216
+ if (!K) return;
1217
+ const Q = v[i];
1218
+ let j = {};
1219
+ const M = K == null ? void 0 : K.split(",");
1209
1220
  if (i === "source") {
1210
- b.value = [
1221
+ y.value = [
1211
1222
  {
1212
- label: B,
1213
- value: B
1223
+ label: K,
1224
+ value: K
1214
1225
  }
1215
1226
  ];
1216
1227
  return;
1217
- } else i === "user" ? K.userIds = F : i === "role" ? K.ids = F : i === "supplier" ? K.id = F : K = F;
1218
- const [Q, I] = await U(K).run();
1219
- Q || (i === "supplier" ? b.value = [
1228
+ } else i === "user" ? j.userIds = M : i === "role" ? j.ids = M : i === "supplier" ? j.id = M : j = M;
1229
+ const [O, P] = await Q(j).run();
1230
+ O || (i === "supplier" ? y.value = [
1220
1231
  {
1221
- label: (I == null ? void 0 : I.name) || (I == null ? void 0 : I.code),
1222
- value: I == null ? void 0 : I.id
1232
+ label: (P == null ? void 0 : P.name) || (P == null ? void 0 : P.code),
1233
+ value: P == null ? void 0 : P.id
1223
1234
  }
1224
- ] : b.value = I == null ? void 0 : I.map((T) => ({ label: (T == null ? void 0 : T.name) || (T == null ? void 0 : T.code), value: T == null ? void 0 : T.id })));
1235
+ ] : y.value = P == null ? void 0 : P.map((L) => ({ label: (L == null ? void 0 : L.name) || (L == null ? void 0 : L.code), value: L == null ? void 0 : L.id })));
1225
1236
  },
1226
- searchData: G,
1227
- searchOptions: p,
1228
- linkmanPhone: r
1237
+ searchData: J,
1238
+ searchOptions: f,
1239
+ linkmanPhone: u
1229
1240
  };
1230
- }, Da = () => {
1231
- const s = l(""), e = l(""), t = l([]), n = l("");
1241
+ }, Sa = () => {
1242
+ const n = l(""), e = l(""), t = l([]), s = l("");
1232
1243
  return {
1233
- spacePath: s,
1244
+ spacePath: n,
1234
1245
  spaceName: e,
1235
1246
  spaceTreeData: t,
1236
- searchSpace: n,
1237
- changeSpace: (r, y) => {
1238
- s.value = y[0].path, e.value = y[0].pathName;
1247
+ searchSpace: s,
1248
+ changeSpace: (u, h) => {
1249
+ n.value = h[0].path, e.value = h[0].pathName;
1239
1250
  },
1240
- spaceLoad: async (r) => {
1241
- let y = {
1251
+ spaceLoad: async (u) => {
1252
+ let h = {
1242
1253
  pageSize: 1e4,
1243
1254
  pageIndex: 1,
1244
- projectId: Qe().id,
1255
+ projectId: Oe().id,
1245
1256
  //项目id
1246
1257
  spaceId: ""
1247
1258
  // orgId:getProjectInfo().id
1248
1259
  };
1249
- y.spaceId = r != null && r.id ? r.id : "";
1250
- let d = At;
1251
- const [f, g] = await d(y).run();
1252
- return f ? {} : g;
1260
+ h.spaceId = u != null && u.id ? u.id : "";
1261
+ let m = Ut;
1262
+ const [c, d] = await m(h).run();
1263
+ return c ? {} : d;
1253
1264
  },
1254
- filterSpaceTree: async (r) => {
1255
- if (!r) return [];
1256
- let y = zt;
1257
- const d = {
1258
- name: r
1259
- }, [f, g] = await y(d).run();
1260
- return f ? {} : (g.forEach((o) => {
1261
- o.path.startsWith("/0") && (o.path = o.path.slice(2) + `/${o.id}`), o._name = o.nodeName ? o.nodeName : o.name;
1262
- }), g);
1265
+ filterSpaceTree: async (u) => {
1266
+ if (!u) return [];
1267
+ let h = Yt;
1268
+ const m = {
1269
+ name: u
1270
+ }, [c, d] = await h(m).run();
1271
+ return c ? {} : (d.forEach((r) => {
1272
+ r.path.startsWith("/0") && (r.path = r.path.slice(2) + `/${r.id}`), r._name = r.nodeName ? r.nodeName : r.name;
1273
+ }), d);
1263
1274
  },
1264
- getSpaceDetail: async (r) => {
1265
- const [y, d] = await Ut().run({ spaceId: r });
1266
- y || (s.value = d.path);
1275
+ getSpaceDetail: async (u) => {
1276
+ const [h, m] = await xt().run({ spaceId: u });
1277
+ h || (n.value = m.path);
1267
1278
  }
1268
1279
  };
1269
- }, Sa = { class: "table-search-process-top" }, La = {
1280
+ }, Na = { class: "table-search-process-top" }, La = {
1270
1281
  name: "selector"
1271
- }, Ma = /* @__PURE__ */ A({
1282
+ }, za = /* @__PURE__ */ E({
1272
1283
  ...La,
1273
1284
  props: {
1274
1285
  setting: { default: () => ({
@@ -1278,123 +1289,125 @@ const ca = (s, e) => {
1278
1289
  desc: "",
1279
1290
  options: {}
1280
1291
  }) },
1281
- span: { default: 6 },
1292
+ span: { default: 24 },
1282
1293
  isView: { type: Boolean },
1283
1294
  marginRight: {},
1284
1295
  store: {}
1285
1296
  },
1286
- setup(s) {
1287
- const e = s, { showData: t, setData: n, getData: c, flowKey: i, setFormRule: b, deleteRule: V, disabledData: r } = e.store || {}, y = l(!0);
1288
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
1297
+ setup(n) {
1298
+ const e = n, { showData: t, setData: s, getData: g, flowKey: i, setFormRule: y, deleteRule: C, disabledData: u } = e.store || {}, h = l(!0);
1299
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
1289
1300
  () => t.value,
1290
1301
  () => {
1291
- y.value = t.value[e.setting.name], y.value || (f.value = "", m.value = [], V(e.setting.name)), y.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
1302
+ h.value = t.value[e.setting.name], h.value || (c.value = "", o.value = [], C(e.setting.name)), h.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
1292
1303
  },
1293
1304
  { deep: !0 }
1294
1305
  );
1295
- const d = r.value[e.setting.name] || !1, f = l(""), {
1296
- dialogVisible: g,
1297
- title: o,
1298
- searchName: h,
1299
- tableOptions: u,
1300
- selectorType: v,
1301
- selectOptions: m,
1302
- userStatusMap: p,
1303
- roleTypeMap: _,
1306
+ const m = u.value[e.setting.name] || !1, c = l(""), {
1307
+ dialogVisible: d,
1308
+ title: r,
1309
+ searchName: _,
1310
+ tableOptions: v,
1311
+ selectorType: p,
1312
+ selectOptions: o,
1313
+ userStatusMap: f,
1314
+ roleTypeMap: b,
1304
1315
  roleStatusMap: w,
1305
1316
  openDialog: k,
1306
- confirm: N,
1307
- getDetail: O,
1308
- searchData: G,
1309
- searchOptions: R,
1310
- linkmanPhone: W
1311
- } = Va(e.setting, i, f), { spacePath: ae, spaceName: ue, searchSpace: se, changeSpace: re, spaceLoad: pe, filterSpaceTree: de, getSpaceDetail: B } = Da(), U = l(!1);
1312
- Y(e.setting.options.validateList).then((F) => {
1313
- U.value = F;
1317
+ confirm: T,
1318
+ getDetail: R,
1319
+ searchData: J,
1320
+ searchOptions: $,
1321
+ linkmanPhone: Y
1322
+ } = ka(e.setting, i, c), { spacePath: W, spaceName: ue, searchSpace: ne, changeSpace: pe, spaceLoad: de, filterSpaceTree: ce, getSpaceDetail: K } = Sa(), Q = l(!1);
1323
+ H(e.setting.options.validateList).then((M) => {
1324
+ Q.value = M;
1314
1325
  });
1315
- const K = l();
1316
- return e.setting.options.tip && (K.value = x(e.setting.options.tip)), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), v == "position" ? (f.value = c(e.setting.name) ? c(e.setting.name) : f.value, f.value && B(f.value), f.value || n(e.setting.name, null), M(f, (F) => {
1317
- n(e.setting.name, F);
1318
- }), M(ue, (F) => {
1319
- n(e.setting.options.selector.type.positionName, F);
1320
- })) : v == "supplier" ? (f.value = c(e.setting.name) ? [c(e.setting.name)] : [f.value], f.value && O(c(e.setting.name)), M(f, (F) => {
1321
- n(e.setting.name, F == null ? void 0 : F.toString());
1322
- }), M(W, (F) => {
1323
- var Q, I, T, le;
1324
- ((le = (T = (I = (Q = e == null ? void 0 : e.setting) == null ? void 0 : Q.options) == null ? void 0 : I.selector) == null ? void 0 : T.type) == null ? void 0 : le.supplierPhone) !== void 0 && n(e.setting.options.selector.type.supplierPhone, F);
1325
- })) : (f.value = c(e.setting.name) ? c(e.setting.name) : f.value, f.value && O(f.value), f.value.length || n(e.setting.name, null), M(m, (F) => {
1326
- f.value = F.map((Q) => Q.value).toString(), n(e.setting.name, f.value);
1327
- })), (F, Q) => (S(), C(
1328
- H,
1326
+ const j = l();
1327
+ return e.setting.options.tip && (j.value = x(e.setting.options.tip)), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), p == "position" ? (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && K(c.value), c.value || s(e.setting.name, null), N(c, (M) => {
1328
+ s(e.setting.name, M);
1329
+ }), N(ue, (M) => {
1330
+ s(e.setting.options.selector.type.positionName, M);
1331
+ })) : p == "supplier" ? (c.value = g(e.setting.name) ? [g(e.setting.name)] : [c.value], c.value && R(g(e.setting.name)), N(c, (M) => {
1332
+ s(e.setting.name, M == null ? void 0 : M.toString());
1333
+ }), N(Y, (M) => {
1334
+ var O, P, L, oe;
1335
+ ((oe = (L = (P = (O = e == null ? void 0 : e.setting) == null ? void 0 : O.options) == null ? void 0 : P.selector) == null ? void 0 : L.type) == null ? void 0 : oe.supplierPhone) !== void 0 && s(e.setting.options.selector.type.supplierPhone, M);
1336
+ })) : (c.value = g(e.setting.name) ? g(e.setting.name) : c.value, c.value && R(c.value), c.value.length || s(e.setting.name, null), N(o, (M) => {
1337
+ c.value = M.map((O) => O.value).toString(), s(e.setting.name, c.value);
1338
+ })), (M, O) => (V(), U(
1339
+ G,
1329
1340
  null,
1330
1341
  [
1331
- y.value && a(v) != "position" ? (S(), P(a(z), {
1342
+ h.value && a(p) != "position" ? (V(), F(a(A), {
1332
1343
  key: 0,
1333
1344
  col: e.span,
1334
- modelValue: f.value,
1335
- "onUpdate:modelValue": Q[1] || (Q[1] = (I) => f.value = I),
1345
+ modelValue: c.value,
1346
+ "onUpdate:modelValue": O[1] || (O[1] = (P) => c.value = P),
1336
1347
  prop: e.setting.name,
1337
- label: F.setting.desc,
1348
+ label: M.setting.desc,
1338
1349
  type: "inputDialogSelect",
1339
- options: a(m),
1340
- helpMessage: K.value,
1350
+ options: a(o),
1351
+ helpMessage: j.value,
1341
1352
  isView: e.isView,
1342
- disabled: a(d),
1343
- required: U.value,
1353
+ disabled: a(m),
1354
+ required: Q.value,
1355
+ placeholder: M.setting.options.placeholder || a(D)("请选择"),
1344
1356
  onOpenDialog: a(k)
1345
1357
  }, {
1346
- default: $(() => {
1347
- var I;
1358
+ default: z(() => {
1359
+ var P;
1348
1360
  return [
1349
- L(a(Vt), {
1361
+ S(a(Dt), {
1350
1362
  "append-to-body": "",
1351
- modelValue: a(g),
1352
- "onUpdate:modelValue": Q[0] || (Q[0] = (T) => fe(g) ? g.value = T : null),
1353
- options: a(u),
1354
- onConfirm: a(N),
1355
- title: a(o)
1363
+ modelValue: a(d),
1364
+ "onUpdate:modelValue": O[0] || (O[0] = (L) => he(d) ? d.value = L : null),
1365
+ options: a(v),
1366
+ onConfirm: a(T),
1367
+ title: a(r),
1368
+ "body-style": { padding: "0px" }
1356
1369
  }, dt({
1357
1370
  _: 2
1358
1371
  /* DYNAMIC */
1359
1372
  }, [
1360
- ((I = a(R)) == null ? void 0 : I.length) > 0 ? {
1373
+ ((P = a($)) == null ? void 0 : P.length) > 0 ? {
1361
1374
  name: "table-header-search",
1362
- fn: $(() => [
1363
- Ne("div", Sa, [
1364
- L(a(wt), {
1375
+ fn: z(() => [
1376
+ je("div", Na, [
1377
+ S(a(Ct), {
1365
1378
  labelLength: "6",
1366
- options: a(R),
1367
- onConfirm: a(G),
1379
+ options: a($),
1380
+ onConfirm: a(J),
1368
1381
  "is-margin-right": !1
1369
1382
  }, null, 8, ["options", "onConfirm"])
1370
1383
  ])
1371
1384
  ]),
1372
1385
  key: "0"
1373
1386
  } : void 0,
1374
- a(v) === "user" ? {
1387
+ a(p) === "user" ? {
1375
1388
  name: "table-column",
1376
- fn: $(() => [
1377
- L(a(q), {
1389
+ fn: z(() => [
1390
+ S(a(I), {
1378
1391
  label: a(D)("姓名"),
1379
1392
  prop: "name"
1380
1393
  }, null, 8, ["label"]),
1381
- L(a(q), {
1394
+ S(a(I), {
1382
1395
  label: a(D)("账号"),
1383
1396
  prop: "userName"
1384
1397
  }, null, 8, ["label"]),
1385
- L(a(q), {
1398
+ S(a(I), {
1386
1399
  label: a(D)("手机号"),
1387
1400
  prop: "sensitivePhone"
1388
1401
  }, {
1389
- default: $(({ row: T }) => [
1390
- L(a(Oe), {
1402
+ default: z(({ row: L }) => [
1403
+ S(a(Ve), {
1391
1404
  placement: "top",
1392
- content: T.phone,
1393
- disabled: !T.phone
1405
+ content: L.phone,
1406
+ disabled: !L.phone
1394
1407
  }, {
1395
- default: $(() => [
1396
- X(
1397
- ee(T.sensitivePhone || "-"),
1408
+ default: z(() => [
1409
+ ee(
1410
+ te(L.sensitivePhone || "-"),
1398
1411
  1
1399
1412
  /* TEXT */
1400
1413
  )
@@ -1406,12 +1419,12 @@ const ca = (s, e) => {
1406
1419
  _: 1
1407
1420
  /* STABLE */
1408
1421
  }, 8, ["label"]),
1409
- L(a(q), {
1422
+ S(a(I), {
1410
1423
  label: a(D)("状态")
1411
1424
  }, {
1412
- default: $(({ row: T }) => [
1413
- X(
1414
- ee(a(p)[T.status]),
1425
+ default: z(({ row: L }) => [
1426
+ ee(
1427
+ te(a(f)[L.status]),
1415
1428
  1
1416
1429
  /* TEXT */
1417
1430
  )
@@ -1422,37 +1435,37 @@ const ca = (s, e) => {
1422
1435
  ]),
1423
1436
  key: "1"
1424
1437
  } : void 0,
1425
- a(v) === "org" ? {
1438
+ a(p) === "org" ? {
1426
1439
  name: "table-column",
1427
- fn: $(() => [
1428
- L(a(q), {
1440
+ fn: z(() => [
1441
+ S(a(I), {
1429
1442
  label: a(D)("组织名称"),
1430
1443
  prop: "name"
1431
1444
  }, null, 8, ["label"]),
1432
- L(a(q), {
1445
+ S(a(I), {
1433
1446
  label: a(D)("组织编码"),
1434
1447
  prop: "code"
1435
1448
  }, null, 8, ["label"]),
1436
- L(a(q), {
1449
+ S(a(I), {
1437
1450
  label: a(D)("组织类型"),
1438
1451
  prop: "typeName"
1439
1452
  }, null, 8, ["label"])
1440
1453
  ]),
1441
1454
  key: "2"
1442
1455
  } : void 0,
1443
- a(v) === "role" ? {
1456
+ a(p) === "role" ? {
1444
1457
  name: "table-column",
1445
- fn: $(() => [
1446
- L(a(q), {
1458
+ fn: z(() => [
1459
+ S(a(I), {
1447
1460
  label: a(D)("角色名称"),
1448
1461
  prop: "name"
1449
1462
  }, null, 8, ["label"]),
1450
- L(a(q), {
1463
+ S(a(I), {
1451
1464
  label: a(D)("角色类型")
1452
1465
  }, {
1453
- default: $(({ row: T }) => [
1454
- X(
1455
- ee(a(_)[T.type]),
1466
+ default: z(({ row: L }) => [
1467
+ ee(
1468
+ te(a(b)[L.type]),
1456
1469
  1
1457
1470
  /* TEXT */
1458
1471
  )
@@ -1460,12 +1473,12 @@ const ca = (s, e) => {
1460
1473
  _: 1
1461
1474
  /* STABLE */
1462
1475
  }, 8, ["label"]),
1463
- L(a(q), {
1476
+ S(a(I), {
1464
1477
  label: a(D)("角色状态")
1465
1478
  }, {
1466
- default: $(({ row: T }) => [
1467
- X(
1468
- ee(a(w)[T.status]),
1479
+ default: z(({ row: L }) => [
1480
+ ee(
1481
+ te(a(w)[L.status]),
1469
1482
  1
1470
1483
  /* TEXT */
1471
1484
  )
@@ -1476,80 +1489,80 @@ const ca = (s, e) => {
1476
1489
  ]),
1477
1490
  key: "3"
1478
1491
  } : void 0,
1479
- a(v) === "job" ? {
1492
+ a(p) === "job" ? {
1480
1493
  name: "table-column",
1481
- fn: $(() => [
1482
- L(a(q), {
1494
+ fn: z(() => [
1495
+ S(a(I), {
1483
1496
  label: a(D)("职务名称"),
1484
1497
  prop: "name"
1485
1498
  }, null, 8, ["label"]),
1486
- L(a(q), {
1499
+ S(a(I), {
1487
1500
  label: a(D)("职务编码"),
1488
1501
  prop: "code"
1489
1502
  }, null, 8, ["label"]),
1490
- L(a(q), {
1503
+ S(a(I), {
1491
1504
  label: a(D)("所属组织路径"),
1492
1505
  prop: "groupName"
1493
1506
  }, null, 8, ["label"])
1494
1507
  ]),
1495
1508
  key: "4"
1496
1509
  } : void 0,
1497
- a(v) === "post" ? {
1510
+ a(p) === "post" ? {
1498
1511
  name: "table-column",
1499
- fn: $(() => [
1500
- L(a(q), {
1512
+ fn: z(() => [
1513
+ S(a(I), {
1501
1514
  label: a(D)("岗位名称"),
1502
1515
  prop: "name"
1503
1516
  }, null, 8, ["label"]),
1504
- L(a(q), {
1517
+ S(a(I), {
1505
1518
  label: a(D)("岗位编码"),
1506
1519
  prop: "code"
1507
1520
  }, null, 8, ["label"]),
1508
- L(a(q), {
1521
+ S(a(I), {
1509
1522
  label: a(D)("所属组织路径"),
1510
1523
  prop: "groupName"
1511
1524
  }, null, 8, ["label"])
1512
1525
  ]),
1513
1526
  key: "5"
1514
1527
  } : void 0,
1515
- a(v) === "supplier" ? {
1528
+ a(p) === "supplier" ? {
1516
1529
  name: "table-column",
1517
- fn: $(() => [
1518
- L(a(q), {
1530
+ fn: z(() => [
1531
+ S(a(I), {
1519
1532
  type: "index",
1520
1533
  width: "50"
1521
1534
  }),
1522
- L(a(q), {
1535
+ S(a(I), {
1523
1536
  label: a(D)("供应商名称"),
1524
1537
  prop: "name"
1525
1538
  }, null, 8, ["label"]),
1526
- L(a(q), {
1539
+ S(a(I), {
1527
1540
  label: a(D)("供应商编码"),
1528
1541
  prop: "code"
1529
1542
  }, null, 8, ["label"]),
1530
- L(a(q), {
1543
+ S(a(I), {
1531
1544
  label: a(D)("供应商等级"),
1532
1545
  prop: "supplierLevel"
1533
1546
  }, null, 8, ["label"]),
1534
- L(a(q), {
1547
+ S(a(I), {
1535
1548
  label: a(D)("供应商分类"),
1536
1549
  prop: "classificationName"
1537
1550
  }, {
1538
- default: $(() => [
1539
- j(` <template #default="{row}">\r
1551
+ default: z(() => [
1552
+ q(` <template #default="{row}">\r
1540
1553
  {{ getSupplierName(row) }}\r
1541
1554
  </template> `)
1542
1555
  ]),
1543
1556
  _: 1
1544
1557
  /* STABLE */
1545
1558
  }, 8, ["label"]),
1546
- L(a(q), {
1559
+ S(a(I), {
1547
1560
  label: a(D)("个人/公司"),
1548
1561
  prop: "businessType"
1549
1562
  }, {
1550
- default: $(({ row: T }) => [
1551
- X(
1552
- ee(T.businessType == "COMPANY" ? a(D)("公司") : a(D)("个人")),
1563
+ default: z(({ row: L }) => [
1564
+ ee(
1565
+ te(L.businessType == "COMPANY" ? a(D)("公司") : a(D)("个人")),
1553
1566
  1
1554
1567
  /* TEXT */
1555
1568
  )
@@ -1560,32 +1573,52 @@ const ca = (s, e) => {
1560
1573
  ]),
1561
1574
  key: "6"
1562
1575
  } : void 0,
1563
- a(v) === "source" ? {
1576
+ a(p) === "source" ? {
1564
1577
  name: "table-column",
1565
- fn: $(() => [
1566
- L(a(q), {
1578
+ fn: z(() => [
1579
+ S(a(I), {
1567
1580
  type: "index",
1568
1581
  width: "50"
1569
1582
  }),
1570
- L(a(q), {
1583
+ S(a(I), {
1571
1584
  label: a(D)("单据编码"),
1572
1585
  prop: "code"
1573
1586
  }, null, 8, ["label"]),
1574
- L(a(q), {
1587
+ S(a(I), {
1575
1588
  label: a(D)("申请人"),
1576
1589
  prop: "userName"
1577
1590
  }, null, 8, ["label"]),
1578
- L(a(q), {
1591
+ S(a(I), {
1579
1592
  label: a(D)("联系电话"),
1580
- prop: "phone"
1581
- }, null, 8, ["label"]),
1582
- L(a(q), {
1593
+ prop: "sensitivePhone"
1594
+ }, {
1595
+ default: z(({ row: L }) => [
1596
+ S(a(Ve), {
1597
+ placement: "top",
1598
+ content: L.phone,
1599
+ disabled: !L.phone
1600
+ }, {
1601
+ default: z(() => [
1602
+ ee(
1603
+ te(L.sensitivePhone || "-"),
1604
+ 1
1605
+ /* TEXT */
1606
+ )
1607
+ ]),
1608
+ _: 2
1609
+ /* DYNAMIC */
1610
+ }, 1032, ["content", "disabled"])
1611
+ ]),
1612
+ _: 1
1613
+ /* STABLE */
1614
+ }, 8, ["label"]),
1615
+ S(a(I), {
1583
1616
  label: a(D)("计划领用日期"),
1584
1617
  prop: "claimingDate"
1585
1618
  }, {
1586
- default: $(({ row: T }) => [
1587
- X(
1588
- ee(T.claimingDate ? a(ce)(Number(T == null ? void 0 : T.claimingDate)).format("YYYY/MM/DD") : "-"),
1619
+ default: z(({ row: L }) => [
1620
+ ee(
1621
+ te(L.claimingDate ? a(ve)(Number(L == null ? void 0 : L.claimingDate)).format("YYYY/MM/DD") : "-"),
1589
1622
  1
1590
1623
  /* TEXT */
1591
1624
  )
@@ -1593,7 +1626,7 @@ const ca = (s, e) => {
1593
1626
  _: 1
1594
1627
  /* STABLE */
1595
1628
  }, 8, ["label"]),
1596
- L(a(q), {
1629
+ S(a(I), {
1597
1630
  label: a(D)("资产用途"),
1598
1631
  prop: "purpose"
1599
1632
  }, null, 8, ["label"])
@@ -1605,41 +1638,42 @@ const ca = (s, e) => {
1605
1638
  }),
1606
1639
  _: 1
1607
1640
  /* STABLE */
1608
- }, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "onOpenDialog"])) : j("v-if", !0),
1609
- y.value && a(v) == "position" ? (S(), P(a(z), {
1641
+ }, 8, ["col", "modelValue", "prop", "label", "options", "helpMessage", "isView", "disabled", "required", "placeholder", "onOpenDialog"])) : q("v-if", !0),
1642
+ h.value && a(p) == "position" ? (V(), F(a(A), {
1610
1643
  key: 1,
1611
1644
  col: e.span,
1612
- label: F.setting.desc,
1645
+ label: M.setting.desc,
1613
1646
  prop: e.setting.name,
1614
1647
  type: "treeSelect",
1615
1648
  "node-key": "id",
1616
1649
  showFullPath: !0,
1617
- helpMessage: K.value,
1618
- required: U.value,
1619
- modelValue: f.value,
1620
- "onUpdate:modelValue": Q[2] || (Q[2] = (I) => f.value = I),
1621
- keyword: a(se),
1622
- "onUpdate:keyword": Q[3] || (Q[3] = (I) => fe(se) ? se.value = I : null),
1623
- path: a(ae),
1624
- "onUpdate:path": Q[4] || (Q[4] = (I) => fe(ae) ? ae.value = I : null),
1650
+ helpMessage: j.value,
1651
+ placeholder: M.setting.options.placeholder,
1652
+ required: Q.value,
1653
+ modelValue: c.value,
1654
+ "onUpdate:modelValue": O[2] || (O[2] = (P) => c.value = P),
1655
+ keyword: a(ne),
1656
+ "onUpdate:keyword": O[3] || (O[3] = (P) => he(ne) ? ne.value = P : null),
1657
+ path: a(W),
1658
+ "onUpdate:path": O[4] || (O[4] = (P) => he(W) ? W.value = P : null),
1625
1659
  isView: e.isView,
1626
- disabled: a(d),
1627
- load: a(pe),
1628
- search: a(de),
1660
+ disabled: a(m),
1661
+ load: a(de),
1662
+ search: a(ce),
1629
1663
  props: {
1630
1664
  isLeaf: "leaf",
1631
1665
  label: "name"
1632
1666
  },
1633
- onChange: a(re)
1634
- }, null, 8, ["col", "label", "prop", "helpMessage", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : j("v-if", !0)
1667
+ onChange: a(pe)
1668
+ }, null, 8, ["col", "label", "prop", "helpMessage", "placeholder", "required", "modelValue", "keyword", "path", "isView", "disabled", "load", "search", "onChange"])) : q("v-if", !0)
1635
1669
  ],
1636
1670
  64
1637
1671
  /* STABLE_FRAGMENT */
1638
1672
  ));
1639
1673
  }
1640
- }), ka = /* @__PURE__ */ me(Ma, [["__scopeId", "data-v-b80347db"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1674
+ }), Ma = /* @__PURE__ */ fe(za, [["__scopeId", "data-v-b7997f4c"]]), at = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1641
1675
  __proto__: null,
1642
- default: ka
1676
+ default: Ma
1643
1677
  }, Symbol.toStringTag, { value: "Module" })), Ta = {
1644
1678
  key: 0,
1645
1679
  class: "form-image"
@@ -1648,7 +1682,7 @@ const ca = (s, e) => {
1648
1682
  style: { "margin-bottom": "10px" }
1649
1683
  }, $a = {
1650
1684
  name: "soundRecording"
1651
- }, Fa = /* @__PURE__ */ A({
1685
+ }, Pa = /* @__PURE__ */ E({
1652
1686
  ...$a,
1653
1687
  props: {
1654
1688
  setting: { default: () => ({
@@ -1658,64 +1692,64 @@ const ca = (s, e) => {
1658
1692
  desc: "",
1659
1693
  options: {}
1660
1694
  }) },
1661
- span: { default: 6 },
1695
+ span: { default: 24 },
1662
1696
  isView: { type: Boolean },
1663
1697
  marginRight: {},
1664
1698
  store: {}
1665
1699
  },
1666
- setup(s) {
1667
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
1668
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
1700
+ setup(n) {
1701
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
1702
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
1669
1703
  () => t.value,
1670
1704
  () => {
1671
- r.value = t.value[e.setting.name], r.value || (o.value = "", V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
1705
+ u.value = t.value[e.setting.name], u.value || (r.value = "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
1672
1706
  },
1673
1707
  { deep: !0 }
1674
- ), n.value[e.setting.name];
1675
- const { baseURL: y } = Dt(), d = l(!1);
1676
- Y(e.setting.options.validateList).then((h) => {
1677
- d.value = h;
1708
+ ), s.value[e.setting.name];
1709
+ const { baseURL: h } = Vt(), m = l(!1);
1710
+ H(e.setting.options.validateList).then((_) => {
1711
+ m.value = _;
1678
1712
  });
1679
- const f = l("info"), g = l();
1680
- e.setting.options.tip && (g.value = x(e.setting.options.tip));
1681
- const o = l();
1713
+ const c = l("info"), d = l();
1714
+ e.setting.options.tip && (d.value = x(e.setting.options.tip));
1715
+ const r = l();
1682
1716
  if (i(e.setting.name)) {
1683
- const h = JSON.parse(i(e.setting.name));
1684
- o.value = y + h[0].url;
1717
+ const _ = JSON.parse(i(e.setting.name));
1718
+ r.value = h + _[0].url;
1685
1719
  }
1686
- return e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), (h, u) => e.isView && r.value ? (S(), P(a(z), {
1720
+ return e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), (_, v) => e.isView && u.value ? (V(), F(a(A), {
1687
1721
  key: 0,
1688
- modelValue: o.value,
1689
- "onUpdate:modelValue": u[2] || (u[2] = (v) => o.value = v),
1722
+ modelValue: r.value,
1723
+ "onUpdate:modelValue": v[2] || (v[2] = (p) => r.value = p),
1690
1724
  "margin-bottom": "0",
1691
1725
  prop: e.setting.name,
1692
- label: h.setting.desc,
1726
+ label: _.setting.desc,
1693
1727
  type: "custom",
1694
- helpMessage: g.value,
1695
- required: d.value
1728
+ helpMessage: d.value,
1729
+ required: m.value
1696
1730
  }, {
1697
- default: $(() => [
1698
- o.value ? (S(), C("div", Ta, [
1699
- L(a(Ee), {
1700
- modelValue: o.value,
1701
- "onUpdate:modelValue": u[0] || (u[0] = (v) => o.value = v),
1702
- status: f.value,
1703
- "onUpdate:status": u[1] || (u[1] = (v) => f.value = v),
1704
- required: d.value
1731
+ default: z(() => [
1732
+ r.value ? (V(), U("div", Ta, [
1733
+ S(a(Be), {
1734
+ modelValue: r.value,
1735
+ "onUpdate:modelValue": v[0] || (v[0] = (p) => r.value = p),
1736
+ status: c.value,
1737
+ "onUpdate:status": v[1] || (v[1] = (p) => c.value = p),
1738
+ required: m.value
1705
1739
  }, null, 8, ["modelValue", "status", "required"])
1706
- ])) : (S(), C("div", Ra, "-"))
1740
+ ])) : (V(), U("div", Ra, "-"))
1707
1741
  ]),
1708
1742
  _: 1
1709
1743
  /* STABLE */
1710
- }, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : j("v-if", !0);
1744
+ }, 8, ["modelValue", "prop", "label", "helpMessage", "required"])) : q("v-if", !0);
1711
1745
  }
1712
- }), Ia = /* @__PURE__ */ me(Fa, [["__scopeId", "data-v-da7984c5"]]), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1746
+ }), Fa = /* @__PURE__ */ fe(Pa, [["__scopeId", "data-v-c408712c"]]), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1713
1747
  __proto__: null,
1714
- default: Ia
1715
- }, Symbol.toStringTag, { value: "Module" })), qa = {
1748
+ default: Fa
1749
+ }, Symbol.toStringTag, { value: "Module" })), Ia = {
1716
1750
  name: "switch"
1717
- }, Pa = /* @__PURE__ */ A({
1718
- ...qa,
1751
+ }, qa = /* @__PURE__ */ E({
1752
+ ...Ia,
1719
1753
  props: {
1720
1754
  setting: { default: () => ({
1721
1755
  icon: "",
@@ -1724,56 +1758,56 @@ const ca = (s, e) => {
1724
1758
  desc: "",
1725
1759
  options: {}
1726
1760
  }) },
1727
- span: { default: 6 },
1761
+ span: { default: 24 },
1728
1762
  isView: { type: Boolean },
1729
1763
  marginRight: {},
1730
1764
  store: {}
1731
1765
  },
1732
- setup(s) {
1733
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
1734
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
1766
+ setup(n) {
1767
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
1768
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
1735
1769
  () => t.value,
1736
1770
  () => {
1737
- r.value = t.value[e.setting.name], r.value || (g.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
1771
+ u.value = t.value[e.setting.name], u.value || (d.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
1738
1772
  },
1739
1773
  { deep: !0 }
1740
1774
  );
1741
- const y = n.value[e.setting.name] || !1, d = l(!1);
1742
- Y(e.setting.options.validateList).then((o) => {
1743
- d.value = o;
1775
+ const h = s.value[e.setting.name] || !1, m = l(!1);
1776
+ H(e.setting.options.validateList).then((r) => {
1777
+ m.value = r;
1744
1778
  });
1745
- const f = l();
1746
- e.setting.options.tip && (f.value = x(e.setting.options.tip));
1747
- const g = l();
1779
+ const c = l();
1780
+ e.setting.options.tip && (c.value = x(e.setting.options.tip));
1781
+ const d = l();
1748
1782
  return setTimeout(() => {
1749
- g.value = i(e.setting.name) || e.setting.options.formulasDiyJs || g.value, g.value || c(e.setting.name, null);
1750
- }, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(g, (o) => {
1751
- c(e.setting.name, o);
1752
- }), (o, h) => r.value ? (S(), P(a(z), {
1783
+ d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
1784
+ }, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (r) => {
1785
+ g(e.setting.name, r);
1786
+ }), (r, _) => u.value ? (V(), F(a(A), {
1753
1787
  key: 0,
1754
1788
  col: e.span,
1755
- modelValue: g.value,
1756
- "onUpdate:modelValue": h[0] || (h[0] = (u) => g.value = u),
1757
- label: o.setting.desc,
1789
+ modelValue: d.value,
1790
+ "onUpdate:modelValue": _[0] || (_[0] = (v) => d.value = v),
1791
+ label: r.setting.desc,
1758
1792
  type: "switch",
1759
1793
  prop: e.setting.name,
1760
- activeValue: o.setting.options.activeValue,
1761
- inactiveValue: o.setting.options.inactiveValue,
1762
- activeText: o.setting.options.activeText,
1763
- inactiveText: o.setting.options.inactiveText,
1764
- helpMessage: f.value,
1765
- disabled: a(y),
1766
- required: d.value,
1794
+ activeValue: r.setting.options.activeValue,
1795
+ inactiveValue: r.setting.options.inactiveValue,
1796
+ activeText: r.setting.options.activeText,
1797
+ inactiveText: r.setting.options.inactiveText,
1798
+ helpMessage: c.value,
1799
+ disabled: a(h),
1800
+ required: m.value,
1767
1801
  isView: e.isView
1768
- }, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : j("v-if", !0);
1802
+ }, null, 8, ["col", "modelValue", "label", "prop", "activeValue", "inactiveValue", "activeText", "inactiveText", "helpMessage", "disabled", "required", "isView"])) : q("v-if", !0);
1769
1803
  }
1770
- }), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1804
+ }), st = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1771
1805
  __proto__: null,
1772
- default: Pa
1773
- }, Symbol.toStringTag, { value: "Module" })), ja = {
1806
+ default: qa
1807
+ }, Symbol.toStringTag, { value: "Module" })), Ka = {
1774
1808
  name: "text"
1775
- }, Ba = /* @__PURE__ */ A({
1776
- ...ja,
1809
+ }, ja = /* @__PURE__ */ E({
1810
+ ...Ka,
1777
1811
  props: {
1778
1812
  setting: { default: () => ({
1779
1813
  icon: "",
@@ -1782,52 +1816,52 @@ const ca = (s, e) => {
1782
1816
  desc: "",
1783
1817
  options: {}
1784
1818
  }) },
1785
- span: { default: 6 },
1819
+ span: { default: 24 },
1786
1820
  isView: { type: Boolean },
1787
1821
  marginRight: {},
1788
1822
  store: {}
1789
1823
  },
1790
- setup(s) {
1791
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
1792
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
1824
+ setup(n) {
1825
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
1826
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
1793
1827
  () => t.value,
1794
1828
  () => {
1795
- r.value = t.value[e.setting.name], r.value || (d.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
1829
+ u.value = t.value[e.setting.name], u.value || (m.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
1796
1830
  },
1797
1831
  { deep: !0 }
1798
1832
  );
1799
- const y = l();
1800
- e.setting.options.tip && (y.value = x(e.setting.options.tip));
1801
- const d = l();
1802
- return d.value = e.setting.options.textValue, d.value = i(e.setting.name) || d.value, d.value || c(e.setting.name, null), M(d, (f) => {
1803
- c(e.setting.name, f);
1804
- }), (f, g) => r.value ? (S(), P(a(z), {
1833
+ const h = l();
1834
+ e.setting.options.tip && (h.value = x(e.setting.options.tip));
1835
+ const m = l();
1836
+ return m.value = e.setting.options.textValue, m.value = i(e.setting.name) || m.value, m.value || g(e.setting.name, null), N(m, (c) => {
1837
+ g(e.setting.name, c);
1838
+ }), (c, d) => u.value ? (V(), F(a(A), {
1805
1839
  key: 0,
1806
1840
  col: e.span,
1807
- modelValue: d.value,
1808
- "onUpdate:modelValue": g[1] || (g[1] = (o) => d.value = o),
1809
- label: f.setting.desc,
1841
+ modelValue: m.value,
1842
+ "onUpdate:modelValue": d[1] || (d[1] = (r) => m.value = r),
1843
+ label: c.setting.desc,
1810
1844
  type: "custom",
1811
- helpMessage: y.value
1845
+ helpMessage: h.value
1812
1846
  }, {
1813
- default: $(() => [
1814
- L(a(Ae), {
1847
+ default: z(() => [
1848
+ S(a(Ee), {
1815
1849
  type: "text",
1816
- modelValue: d.value,
1817
- "onUpdate:modelValue": g[0] || (g[0] = (o) => d.value = o)
1850
+ modelValue: m.value,
1851
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => m.value = r)
1818
1852
  }, null, 8, ["modelValue"])
1819
1853
  ]),
1820
1854
  _: 1
1821
1855
  /* STABLE */
1822
- }, 8, ["col", "modelValue", "label", "helpMessage"])) : j("v-if", !0);
1856
+ }, 8, ["col", "modelValue", "label", "helpMessage"])) : q("v-if", !0);
1823
1857
  }
1824
- }), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1858
+ }), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1825
1859
  __proto__: null,
1826
- default: Ba
1827
- }, Symbol.toStringTag, { value: "Module" })), Ka = {
1860
+ default: ja
1861
+ }, Symbol.toStringTag, { value: "Module" })), Ba = {
1828
1862
  name: "textarea"
1829
- }, Na = /* @__PURE__ */ A({
1830
- ...Ka,
1863
+ }, Oa = /* @__PURE__ */ E({
1864
+ ...Ba,
1831
1865
  props: {
1832
1866
  setting: { default: () => ({
1833
1867
  icon: "",
@@ -1836,92 +1870,92 @@ const ca = (s, e) => {
1836
1870
  desc: "",
1837
1871
  options: {}
1838
1872
  }) },
1839
- span: { default: 6 },
1873
+ span: { default: 24 },
1840
1874
  isView: { type: Boolean },
1841
1875
  marginRight: {},
1842
1876
  store: {}
1843
1877
  },
1844
- setup(s) {
1845
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
1846
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
1878
+ setup(n) {
1879
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
1880
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
1847
1881
  () => t.value,
1848
1882
  () => {
1849
- r.value = t.value[e.setting.name], r.value || (g.value = "", V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
1883
+ u.value = t.value[e.setting.name], u.value || (d.value = "", C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
1850
1884
  },
1851
1885
  { deep: !0 }
1852
1886
  );
1853
- const y = n.value[e.setting.name] || !1, d = l(!1);
1854
- Y(e.setting.options.validateList).then((u) => {
1855
- d.value = u;
1887
+ const h = s.value[e.setting.name] || !1, m = l(!1);
1888
+ H(e.setting.options.validateList).then((v) => {
1889
+ m.value = v;
1856
1890
  });
1857
- const f = l();
1858
- e.setting.options.tip && (f.value = x(e.setting.options.tip));
1859
- const g = l("");
1891
+ const c = l();
1892
+ e.setting.options.tip && (c.value = x(e.setting.options.tip));
1893
+ const d = l("");
1860
1894
  setTimeout(() => {
1861
- g.value = i(e.setting.name) || e.setting.options.formulasDiyJs || g.value, g.value || c(e.setting.name, null);
1895
+ d.value = i(e.setting.name) || e.setting.options.formulasDiyJs || d.value, d.value || g(e.setting.name, null);
1862
1896
  }, 50);
1863
- const o = l(), h = l();
1864
- return o.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", h.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(g, (u) => {
1865
- c(e.setting.name, u);
1866
- }), (u, v) => (S(), C(
1867
- H,
1897
+ const r = l(), _ = l();
1898
+ return r.value = e.setting.options.initialFrameWidth ? e.setting.options.initialFrameWidth + "px" : "", _.value = e.setting.options.initialFrameHeight ? e.setting.options.initialFrameHeight + "px" : "", e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (v) => {
1899
+ g(e.setting.name, v);
1900
+ }), (v, p) => (V(), U(
1901
+ G,
1868
1902
  null,
1869
1903
  [
1870
- !u.setting.options.isEditor && r.value ? (S(), P(a(z), {
1904
+ !v.setting.options.isEditor && u.value ? (V(), F(a(A), {
1871
1905
  key: 0,
1872
1906
  col: e.span,
1873
- label: u.setting.desc,
1907
+ label: v.setting.desc,
1874
1908
  type: "textarea",
1875
- modelValue: g.value,
1876
- "onUpdate:modelValue": v[0] || (v[0] = (m) => g.value = m),
1909
+ modelValue: d.value,
1910
+ "onUpdate:modelValue": p[0] || (p[0] = (o) => d.value = o),
1877
1911
  prop: e.setting.name,
1878
- placeholder: u.setting.options.placeholder,
1879
- disabled: u.setting.options.isInputEdit || a(y),
1912
+ placeholder: v.setting.options.placeholder,
1913
+ disabled: v.setting.options.isInputEdit || a(h),
1880
1914
  isView: e.isView,
1881
1915
  autosize: {
1882
1916
  minRows: 1,
1883
1917
  maxRows: 3
1884
1918
  },
1885
1919
  "show-word-limit": "",
1886
- helpMessage: f.value,
1887
- required: d.value
1888
- }, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : j("v-if", !0),
1889
- u.setting.options.isEditor && r.value ? (S(), P(a(z), {
1920
+ helpMessage: c.value,
1921
+ required: m.value
1922
+ }, null, 8, ["col", "label", "modelValue", "prop", "placeholder", "disabled", "isView", "helpMessage", "required"])) : q("v-if", !0),
1923
+ v.setting.options.isEditor && u.value ? (V(), F(a(A), {
1890
1924
  key: 1,
1891
- modelValue: g.value,
1892
- "onUpdate:modelValue": v[2] || (v[2] = (m) => g.value = m),
1925
+ modelValue: d.value,
1926
+ "onUpdate:modelValue": p[2] || (p[2] = (o) => d.value = o),
1893
1927
  prop: e.setting.name,
1894
- contentWidth: o.value,
1895
- label: u.setting.desc,
1928
+ contentWidth: r.value,
1929
+ label: v.setting.desc,
1896
1930
  type: "custom",
1897
- helpMessage: f.value,
1898
- required: d.value,
1931
+ helpMessage: c.value,
1932
+ required: m.value,
1899
1933
  readOnly: e.isView
1900
1934
  }, {
1901
- default: $(() => [
1902
- L(a(Ae), {
1935
+ default: z(() => [
1936
+ S(a(Ee), {
1903
1937
  ref: "editor",
1904
- width: o.value,
1905
- height: h.value,
1906
- modelValue: g.value,
1907
- "onUpdate:modelValue": v[1] || (v[1] = (m) => g.value = m),
1908
- placeholder: u.setting.options.placeholder
1938
+ width: r.value,
1939
+ height: _.value,
1940
+ modelValue: d.value,
1941
+ "onUpdate:modelValue": p[1] || (p[1] = (o) => d.value = o),
1942
+ placeholder: v.setting.options.placeholder
1909
1943
  }, null, 8, ["width", "height", "modelValue", "placeholder"])
1910
1944
  ]),
1911
1945
  _: 1
1912
1946
  /* STABLE */
1913
- }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : j("v-if", !0)
1947
+ }, 8, ["modelValue", "prop", "contentWidth", "label", "helpMessage", "required", "readOnly"])) : q("v-if", !0)
1914
1948
  ],
1915
1949
  64
1916
1950
  /* STABLE_FRAGMENT */
1917
1951
  ));
1918
1952
  }
1919
- }), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1953
+ }), lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1920
1954
  __proto__: null,
1921
- default: Na
1955
+ default: Oa
1922
1956
  }, Symbol.toStringTag, { value: "Module" })), Ea = {
1923
1957
  name: "time"
1924
- }, Oa = /* @__PURE__ */ A({
1958
+ }, Aa = /* @__PURE__ */ E({
1925
1959
  ...Ea,
1926
1960
  props: {
1927
1961
  setting: { default: () => ({
@@ -1931,50 +1965,50 @@ const ca = (s, e) => {
1931
1965
  desc: "",
1932
1966
  options: {}
1933
1967
  }) },
1934
- span: { default: 6 },
1968
+ span: { default: 24 },
1935
1969
  isView: { type: Boolean },
1936
1970
  marginRight: {},
1937
1971
  store: {}
1938
1972
  },
1939
- setup(s) {
1940
- const e = s, { showData: t, disabledData: n, setData: c, getData: i, setFormRule: b, deleteRule: V } = e.store || {}, r = l(!0);
1941
- !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), M(
1973
+ setup(n) {
1974
+ const e = n, { showData: t, disabledData: s, setData: g, getData: i, setFormRule: y, deleteRule: C } = e.store || {}, u = l(!0);
1975
+ !t.value[e.setting.name] && t.value[e.setting.name] != !1 && (t.value[e.setting.name] = !0), N(
1942
1976
  () => t.value,
1943
1977
  () => {
1944
- r.value = t.value[e.setting.name], r.value || (g.value = null, V(e.setting.name)), r.value && e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList);
1978
+ u.value = t.value[e.setting.name], u.value || (d.value = null, C(e.setting.name)), u.value && e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList);
1945
1979
  },
1946
1980
  { deep: !0 }
1947
1981
  );
1948
- const y = n.value[e.setting.name] || !1, d = l(!1);
1949
- Y(e.setting.options.validateList).then((o) => {
1950
- d.value = o;
1982
+ const h = s.value[e.setting.name] || !1, m = l(!1);
1983
+ H(e.setting.options.validateList).then((r) => {
1984
+ m.value = r;
1951
1985
  });
1952
- const f = l();
1953
- e.setting.options.tip && (f.value = x(e.setting.options.tip));
1954
- const g = l();
1986
+ const c = l();
1987
+ e.setting.options.tip && (c.value = x(e.setting.options.tip));
1988
+ const d = l();
1955
1989
  return setTimeout(() => {
1956
- const o = ce().format("YYYY-MM-DD ");
1957
- i(e.setting.name) && (g.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (g.value = ce(o + e.setting.options.formulasDiyJs)), g.value || c(e.setting.name, null);
1958
- }, 50), e.setting.options.validateList.length && b(e.setting.name, e.setting.options.validateList), M(g, (o) => {
1959
- c(e.setting.name, o);
1960
- }), (o, h) => r.value ? (S(), P(a(z), {
1990
+ const r = ve().format("YYYY-MM-DD ");
1991
+ i(e.setting.name) && (d.value = i(e.setting.name)), e.setting.options.formulasDiyJs && (d.value = ve(r + e.setting.options.formulasDiyJs)), d.value || g(e.setting.name, null);
1992
+ }, 50), e.setting.options.validateList.length && y(e.setting.name, e.setting.options.validateList), N(d, (r) => {
1993
+ g(e.setting.name, r);
1994
+ }), (r, _) => u.value ? (V(), F(a(A), {
1961
1995
  key: 0,
1962
1996
  col: e.span,
1963
- modelValue: g.value,
1964
- "onUpdate:modelValue": h[0] || (h[0] = (u) => g.value = u),
1997
+ modelValue: d.value,
1998
+ "onUpdate:modelValue": _[0] || (_[0] = (v) => d.value = v),
1965
1999
  prop: e.setting.name,
1966
- label: o.setting.desc,
2000
+ label: r.setting.desc,
1967
2001
  type: "time",
1968
- helpMessage: f.value,
2002
+ helpMessage: c.value,
1969
2003
  isView: e.isView,
1970
- required: d.value,
1971
- disabled: a(y)
1972
- }, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : j("v-if", !0);
2004
+ required: m.value,
2005
+ disabled: a(h)
2006
+ }, null, 8, ["col", "modelValue", "prop", "label", "helpMessage", "isView", "required", "disabled"])) : q("v-if", !0);
1973
2007
  }
1974
- }), ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2008
+ }), it = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1975
2009
  __proto__: null,
1976
- default: Oa
1977
- }, Symbol.toStringTag, { value: "Module" })), Qa = A({
2010
+ default: Aa
2011
+ }, Symbol.toStringTag, { value: "Module" })), Qa = E({
1978
2012
  name: "accordion",
1979
2013
  props: {
1980
2014
  columns: {
@@ -1990,34 +2024,34 @@ const ca = (s, e) => {
1990
2024
  type: Object
1991
2025
  }
1992
2026
  },
1993
- setup(s) {
1994
- const e = l([]), t = s.columns.map((n) => {
1995
- const c = n.list.map(
1996
- (i) => ie(ve[i.ctrlType], { setting: i, isView: s.isView, store: s.store })
2027
+ setup(n) {
2028
+ const e = l([]), t = n.columns.map((s) => {
2029
+ const g = s.list.map(
2030
+ (i) => le(re[i.ctrlType], { setting: i, isView: n.isView, store: n.store })
1997
2031
  );
1998
- return n.isOpen == !0 && e.value.push(n.idKey), ie(
1999
- Ue,
2032
+ return s.isOpen == !0 && e.value.push(s.idKey), le(
2033
+ Qe,
2000
2034
  {
2001
- header: n.span,
2002
- key: `${n.idKey}`
2035
+ header: s.span,
2036
+ key: `${s.idKey}`
2003
2037
  },
2004
- ie("div", c)
2038
+ le("div", g)
2005
2039
  );
2006
2040
  });
2007
- return () => ie(
2041
+ return () => le(
2008
2042
  "div",
2009
2043
  { class: "accordion-layout" },
2010
- ie(
2011
- ze,
2012
- { activeKey: e.value, collapsible: s.options.accordion ? "" : "disabled" },
2044
+ le(
2045
+ Ae,
2046
+ { activeKey: e.value, collapsible: n.options.accordion ? "" : "disabled" },
2013
2047
  t
2014
2048
  )
2015
2049
  );
2016
2050
  }
2017
- }), Aa = {
2051
+ }), Ua = {
2018
2052
  name: "accordion"
2019
- }, za = /* @__PURE__ */ A({
2020
- ...Aa,
2053
+ }, Ya = /* @__PURE__ */ E({
2054
+ ...Ua,
2021
2055
  props: {
2022
2056
  setting: { default: () => ({
2023
2057
  name: "",
@@ -2044,8 +2078,8 @@ const ca = (s, e) => {
2044
2078
  isView: { type: Boolean },
2045
2079
  store: {}
2046
2080
  },
2047
- setup(s) {
2048
- return (e, t) => (S(), P(a(Qa), {
2081
+ setup(n) {
2082
+ return (e, t) => (V(), F(a(Qa), {
2049
2083
  columns: e.setting.columns,
2050
2084
  options: e.setting.options,
2051
2085
  isView: e.isView,
@@ -2053,13 +2087,13 @@ const ca = (s, e) => {
2053
2087
  style: { "margin-bottom": "10px" }
2054
2088
  }, null, 8, ["columns", "options", "isView", "store"]));
2055
2089
  }
2056
- }), Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2090
+ }), xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2057
2091
  __proto__: null,
2058
- default: za
2059
- }, Symbol.toStringTag, { value: "Module" })), Ca = {
2092
+ default: Ya
2093
+ }, Symbol.toStringTag, { value: "Module" })), Ja = {
2060
2094
  name: "grid"
2061
- }, xa = /* @__PURE__ */ A({
2062
- ...Ca,
2095
+ }, Ha = /* @__PURE__ */ E({
2096
+ ...Ja,
2063
2097
  props: {
2064
2098
  setting: { default: () => ({
2065
2099
  name: "",
@@ -2083,29 +2117,29 @@ const ca = (s, e) => {
2083
2117
  isView: { type: Boolean },
2084
2118
  store: {}
2085
2119
  },
2086
- setup(s) {
2087
- const e = s;
2088
- return (t, n) => (S(), C(
2089
- H,
2120
+ setup(n) {
2121
+ const e = n;
2122
+ return (t, s) => (V(), U(
2123
+ G,
2090
2124
  null,
2091
2125
  [
2092
- j(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
2093
- j(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
2094
- (S(!0), C(
2095
- H,
2126
+ q(' <GridLayout :columns="setting.columns" :isView="props.isView" :store="store"></GridLayout> '),
2127
+ q(' <div style="display: flex; flex-direction: row; flex-wrap: wrap; width: 100%"> '),
2128
+ (V(!0), U(
2129
+ G,
2096
2130
  null,
2097
- oe(t.setting.columns, (c) => (S(), C(
2098
- H,
2131
+ ie(t.setting.columns, (g) => (V(), U(
2132
+ G,
2099
2133
  null,
2100
2134
  [
2101
- (S(!0), C(
2102
- H,
2135
+ (V(!0), U(
2136
+ G,
2103
2137
  null,
2104
- oe(c.list, (i) => (S(), P(De(a(Wa)[i.ctrlType]), {
2138
+ ie(g.list, (i) => (V(), F(ge(a(Ga)[i.ctrlType]), {
2105
2139
  setting: i,
2106
2140
  isView: e.isView,
2107
2141
  store: t.store,
2108
- span: c.span
2142
+ span: g.span
2109
2143
  }, null, 8, ["setting", "isView", "store", "span"]))),
2110
2144
  256
2111
2145
  /* UNKEYED_FRAGMENT */
@@ -2117,148 +2151,149 @@ const ca = (s, e) => {
2117
2151
  256
2118
2152
  /* UNKEYED_FRAGMENT */
2119
2153
  )),
2120
- j(" </div> ")
2154
+ q(" </div> ")
2121
2155
  ],
2122
2156
  2112
2123
2157
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2124
2158
  ));
2125
2159
  }
2126
- }), Ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2160
+ }), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2127
2161
  __proto__: null,
2128
- default: xa
2129
- }, Symbol.toStringTag, { value: "Module" })), be = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": xe, "./base/autocomplete.vue": Ye, "./base/checkbox.vue": Je, "./base/date.vue": We, "./base/dropdown.vue": He, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": st, "./base/switch.vue": nt, "./base/text.vue": lt, "./base/textarea.vue": it, "./base/time.vue": ot, "./layout/accordion/accordion.vue": Ua, "./layout/grid/gridLayout.vue": Ya }), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": xe, "./base/autocomplete.vue": Ye, "./base/checkbox.vue": Je, "./base/date.vue": We, "./base/dropdown.vue": He, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": st, "./base/switch.vue": nt, "./base/text.vue": lt, "./base/textarea.vue": it, "./base/time.vue": ot }), we = /* @__PURE__ */ Object.assign({}), Ve = /* @__PURE__ */ Object.assign({}), ve = {}, ut = {}, rt = {}, Ja = {};
2130
- Object.keys(_e).map((s) => ut[_e[s].default.name] = _e[s].default);
2131
- Object.keys(we).map((s) => rt[we[s].default.name] = we[s].default);
2132
- Object.keys(Ve).map((s) => Ja[Ve[s].default.name] = Ve[s].default);
2133
- Object.keys(be).map((s) => ve[be[s].default.name] = be[s].default);
2134
- const Wa = { ...ut, ...rt }, Ha = (s, e, t, n) => {
2135
- (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${n.name}`)) : t();
2136
- }, Za = (s, e, t, n) => {
2137
- e !== "" && e.length > parseInt(n.value) ? t(new Error(`${n.name}${D("不能超过")}${n.value}`)) : t();
2138
- }, Ga = (s, e, t, n) => {
2139
- e !== "" && e.length < parseInt(n.value) ? t(new Error(`${n.name}${D("不能少于")}${n.value}`)) : t();
2140
- }, Xa = (s, e, t, n) => {
2162
+ default: Ha
2163
+ }, Symbol.toStringTag, { value: "Module" })), _e = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it, "./layout/accordion/accordion.vue": xa, "./layout/grid/gridLayout.vue": Wa }), we = /* @__PURE__ */ Object.assign({ "./base/attachment.vue": Ye, "./base/autocomplete.vue": xe, "./base/checkbox.vue": Je, "./base/date.vue": He, "./base/dropdown.vue": We, "./base/imageViewer.vue": Ze, "./base/input.vue": Ge, "./base/number.vue": Xe, "./base/radio.vue": et, "./base/select.vue": tt, "./base/selector.vue": at, "./base/soundRecording.vue": nt, "./base/switch.vue": st, "./base/text.vue": ot, "./base/textarea.vue": lt, "./base/time.vue": it }), Ce = /* @__PURE__ */ Object.assign({}), De = /* @__PURE__ */ Object.assign({}), re = {}, rt = {}, ut = {}, Za = {};
2164
+ Object.keys(we).map((n) => rt[we[n].default.name] = we[n].default);
2165
+ Object.keys(Ce).map((n) => ut[Ce[n].default.name] = Ce[n].default);
2166
+ Object.keys(De).map((n) => Za[De[n].default.name] = De[n].default);
2167
+ Object.keys(_e).map((n) => re[_e[n].default.name] = _e[n].default);
2168
+ const Ga = { ...rt, ...ut }, Xa = (n, e, t, s) => {
2169
+ (!e || e.toString() === "") && parseInt(e) !== 0 ? t(new Error(`${D("*必填")}`)) : t();
2170
+ }, en = (n, e, t, s) => {
2171
+ e !== "" && e.length > parseInt(s.value) ? t(new Error(`${s.name}${D("不能超过")}${s.value}`)) : t();
2172
+ }, tn = (n, e, t, s) => {
2173
+ e !== "" && e.length < parseInt(s.value) ? t(new Error(`${s.name}${D("不能少于")}${s.value}`)) : t();
2174
+ }, an = (n, e, t, s) => {
2141
2175
  if (e !== "" && !/^1[3456789]\d{9}$/.test(e))
2142
2176
  return t(new Error(D("手机号码格式不正确,请重新输入"))), !1;
2143
2177
  t();
2144
- }, es = (s, e, t) => {
2178
+ }, nn = (n, e, t) => {
2145
2179
  if (e !== "" && !/^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/.test(e))
2146
2180
  return t(new Error(D("电子邮箱格式不正确,请重新输入"))), !1;
2147
2181
  t();
2148
- }, ts = (s, e, t) => {
2182
+ }, sn = (n, e, t) => {
2149
2183
  if (e !== "" && !/^-?\d+$/.test(e))
2150
2184
  return t(new Error(D("请输入整数"))), !1;
2151
2185
  t();
2152
- }, as = (s, e, t, n) => {
2153
- if (e !== "" && e != n.value)
2186
+ }, on = (n, e, t, s) => {
2187
+ if (e !== "" && e != s.value)
2154
2188
  return t(new Error(D("请输入相同的值"))), !1;
2155
2189
  t();
2156
- }, ss = (s, e, t, n) => {
2157
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(n.value) ? t(new Error(`${n.name}${D("不能小于")}${n.value}`)) : t() : t(new Error(D("请输入数字")));
2158
- }, ns = (s, e, t, n) => {
2159
- e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(n.value) ? t(new Error(`${n.name}${D("不能大于")}${n.value}`)) : t() : t(new Error(D("请输入数字")));
2160
- }, ls = (s, e, t, n) => {
2161
- const c = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, i = /^-?\d+$/;
2162
- e === "" ? t() : c.test(e) || i.test(e) ? e >= parseFloat(n.start) && e <= parseFloat(n.end) ? t() : t(new Error(`${D("只能输入指定数字范围")}${n.start}-${n.end}`)) : t(new Error(D("请输入数字")));
2163
- }, is = (s, e, t, n) => {
2164
- e === "" || parseFloat(e) === parseFloat(n.value) ? t() : t(new Error(`${D("只能输入指定的值")}${n.value}`));
2165
- }, os = (s, e, t, n) => {
2166
- e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(n.value) ? t() : t(new Error(`${D("只能输入")}${n.value}${D("位数数字")}`)) : t(new Error(D("请输入整数")));
2167
- }, us = (s, e, t) => {
2190
+ }, ln = (n, e, t, s) => {
2191
+ e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e < parseFloat(s.value) ? t(new Error(`${s.name}${D("不能小于")}${s.value}`)) : t() : t(new Error(D("请输入数字")));
2192
+ }, rn = (n, e, t, s) => {
2193
+ e === "" ? t() : /^[+-]?\d*\.?\d*$/.test(e) ? e > parseFloat(s.value) ? t(new Error(`${s.name}${D("不能大于")}${s.value}`)) : t() : t(new Error(D("请输入数字")));
2194
+ }, un = (n, e, t, s) => {
2195
+ const g = /^[+-]?(\d*\.\d+([eE]?[+-]?\d+)?|\d+[eE][+-]?\d+)$/, i = /^-?\d+$/;
2196
+ e === "" ? t() : g.test(e) || i.test(e) ? e >= parseFloat(s.start) && e <= parseFloat(s.end) ? t() : t(new Error(`${D("只能输入指定数字范围")}${s.start}-${s.end}`)) : t(new Error(D("请输入数字")));
2197
+ }, pn = (n, e, t, s) => {
2198
+ e === "" || parseFloat(e) === parseFloat(s.value) ? t() : t(new Error(`${D("只能输入指定的值")}${s.value}`));
2199
+ }, dn = (n, e, t, s) => {
2200
+ e === "" ? t() : /^-?\d+$/.test(e) ? Math.abs(e).toString().length === parseInt(s.value) ? t() : t(new Error(`${D("只能输入")}${s.value}${D("位数数字")}`)) : t(new Error(D("请输入整数")));
2201
+ }, cn = (n, e, t) => {
2168
2202
  if (e !== "" && !/^[a-zA-Z]{1,}$/.test(e))
2169
2203
  return t(new Error(D("只能输入字母"))), !1;
2170
2204
  t();
2171
- }, rs = (s, e, t) => {
2205
+ }, gn = (n, e, t) => {
2172
2206
  if (e !== "" && !/^[a-zA-Z ]{1,}$/.test(e))
2173
2207
  return t(new Error(D("只能输入字母空格"))), !1;
2174
2208
  t();
2175
- }, ps = (s, e, t) => {
2209
+ }, mn = (n, e, t) => {
2176
2210
  if (e !== "" && !/^[0-9a-zA-Z_-]{1,}$/.test(e))
2177
2211
  return t(new Error(D("只能输入字母数字横线下划线"))), !1;
2178
2212
  t();
2179
- }, ds = (s, e, t) => {
2213
+ }, vn = (n, e, t) => {
2180
2214
  if (e !== "" && !/^[0-9a-zA-Z]{1,}$/.test(e))
2181
2215
  return t(new Error(D("只能输入字母数字"))), !1;
2182
2216
  t();
2183
- }, gs = (s, e, t, n) => {
2184
- const c = new RegExp(n.value);
2185
- if (e !== "" && !c.test(e))
2186
- return t(new Error(n.errorMessage)), !1;
2217
+ }, fn = (n, e, t, s) => {
2218
+ const g = new RegExp(s.value);
2219
+ if (e !== "" && !g.test(e))
2220
+ return t(new Error(s.errorMessage)), !1;
2187
2221
  t();
2188
- }, cs = {
2189
- required: Ha,
2190
- min: Ga,
2191
- max: Za,
2192
- email: es,
2193
- min_value: ss,
2194
- max_value: ns,
2195
- confirmed: as,
2196
- numeric: ts,
2197
- between: ls,
2198
- is,
2199
- digits: os,
2200
- mobile: Xa,
2201
- alpha: us,
2202
- alpha_spaces: rs,
2203
- alpha_dash: ps,
2204
- alpha_num: ds,
2205
- regex: gs
2206
- }, vs = () => {
2207
- const s = l({}), e = l([]), t = l({}), n = l({}), c = l([]), i = l(""), b = l(""), V = l({}), r = l({});
2222
+ }, hn = {
2223
+ required: Xa,
2224
+ min: tn,
2225
+ max: en,
2226
+ email: nn,
2227
+ min_value: ln,
2228
+ max_value: rn,
2229
+ confirmed: on,
2230
+ numeric: sn,
2231
+ between: un,
2232
+ is: pn,
2233
+ digits: dn,
2234
+ mobile: an,
2235
+ alpha: cn,
2236
+ alpha_spaces: gn,
2237
+ alpha_dash: mn,
2238
+ alpha_num: vn,
2239
+ regex: fn
2240
+ }, yn = () => {
2241
+ const n = l({}), e = l([]), t = l({}), s = l({}), g = l([]), i = l(""), y = l(""), C = l({}), u = l([]), h = l({});
2208
2242
  return {
2209
- data: s,
2243
+ data: n,
2210
2244
  formData: e,
2211
- formRule: V,
2245
+ formRule: C,
2212
2246
  showData: t,
2213
- disabledData: n,
2247
+ disabledData: s,
2214
2248
  flowKey: i,
2215
- linkData: r,
2216
- setData: (p, _) => {
2217
- e.value.forEach((w) => {
2218
- w.formKey === b.value && (w.data[p] = _);
2249
+ linkData: h,
2250
+ encryptionData: u,
2251
+ setData: (b, w) => {
2252
+ e.value.forEach((k) => {
2253
+ k.formKey === y.value && (k.data[b] = w);
2219
2254
  });
2220
2255
  },
2221
- setDetailData: (p) => {
2222
- s.value = p, e.value.forEach((_) => {
2223
- _.formKey === b.value && (_.data = p);
2256
+ setDetailData: (b) => {
2257
+ n.value = b, e.value.forEach((w) => {
2258
+ w.formKey === y.value && (w.data = b);
2224
2259
  });
2225
2260
  },
2226
- setLinkData: (p, _) => {
2227
- r.value = { data: p, val: _ };
2261
+ setLinkData: (b, w) => {
2262
+ h.value = { data: b, val: w };
2228
2263
  },
2229
- getData: (p) => s.value[p],
2230
- setFormData: (p, _, w) => {
2231
- b.value = p, c.value.includes(p) ? e.value.forEach((k) => {
2232
- k.formKey === p && (s.value = k.data);
2233
- }) : (c.value.push(p), e.value.push({
2234
- formKey: p,
2235
- boKey: _,
2236
- reportId: w || null,
2264
+ getData: (b) => n.value[b],
2265
+ setFormData: (b, w, k) => {
2266
+ y.value = b, g.value.includes(b) ? e.value.forEach((T) => {
2267
+ T.formKey === b && (n.value = T.data);
2268
+ }) : (g.value.push(b), e.value.push({
2269
+ formKey: b,
2270
+ boKey: w,
2271
+ reportId: k || null,
2237
2272
  data: {}
2238
2273
  }));
2239
2274
  },
2240
2275
  getFormData: () => e.value,
2241
- setFormRule: (p, _) => {
2242
- V.value[p] = [], _ && _.length && _.forEach((w) => {
2243
- V.value[p].push({
2244
- validator: (k, N, O) => cs[w.key](k, N, O, w)
2276
+ setFormRule: (b, w) => {
2277
+ C.value[b] = [], w && w.length && w.forEach((k) => {
2278
+ C.value[b].push({
2279
+ validator: (T, R, J) => hn[k.key](T, R, J, k)
2245
2280
  });
2246
2281
  });
2247
2282
  },
2248
2283
  clearData: () => {
2249
- s.value = {}, e.value = [], c.value = [], V.value = {};
2284
+ n.value = {}, e.value = [], g.value = [], C.value = {};
2250
2285
  },
2251
- deleteRule: (p) => {
2252
- delete V.value[p];
2286
+ deleteRule: (b) => {
2287
+ delete C.value[b];
2253
2288
  }
2254
2289
  };
2255
- }, ms = { class: "custom-page" }, fs = {
2290
+ }, bn = { class: "custom-page" }, _n = {
2256
2291
  key: 0,
2257
2292
  class: "btn-box"
2258
- }, ys = {
2293
+ }, wn = {
2259
2294
  key: 1,
2260
2295
  style: { "background-color": "#fff" }
2261
- }, hs = /* @__PURE__ */ A({
2296
+ }, Cn = /* @__PURE__ */ E({
2262
2297
  __name: "App",
2263
2298
  props: {
2264
2299
  formConfigurationId: {},
@@ -2271,59 +2306,59 @@ const Wa = { ...ut, ...rt }, Ha = (s, e, t, n) => {
2271
2306
  disabledData: { default: {} }
2272
2307
  },
2273
2308
  emits: ["handleClick", "change"],
2274
- setup(s, { expose: e, emit: t }) {
2275
- const n = vs(), { formRule: c, data: i, flowKey: b, clearData: V, getFormData: r } = n, y = s, d = t;
2276
- b.value = y.flowKey;
2277
- const f = (O) => O === "accordion";
2278
- M(
2309
+ setup(n, { expose: e, emit: t }) {
2310
+ const s = yn(), { formRule: g, data: i, flowKey: y, clearData: C, getFormData: u } = s, h = n, m = t;
2311
+ y.value = h.flowKey;
2312
+ const c = (R) => R === "accordion";
2313
+ N(
2279
2314
  () => i.value,
2280
- (O) => {
2281
- d("change", O);
2315
+ (R) => {
2316
+ m("change", R);
2282
2317
  },
2283
2318
  {
2284
2319
  immediate: !0,
2285
2320
  deep: !0
2286
2321
  }
2287
2322
  );
2288
- const { formJsonList: g, isShowPage: o, btnList: h, formRef: u, activityKeys: v, getForm: m, getBtnSet: p, handleClick: _ } = Wt(
2289
- y,
2290
- d,
2291
- n
2292
- ), w = l({}), k = (O, G) => {
2293
- const { key: R } = G;
2294
- w.value[R] || (w.value[R] = O);
2295
- }, N = () => new Promise((O, G) => {
2296
- let R = !0;
2297
- for (const W in w.value)
2298
- w.value[W].validate((ae) => {
2299
- ae == !1 && (R = !1);
2323
+ const { formJsonList: d, isShowPage: r, btnList: _, formRef: v, activityKeys: p, getForm: o, getBtnSet: f, handleClick: b } = Gt(
2324
+ h,
2325
+ m,
2326
+ s
2327
+ ), w = l({}), k = (R, J) => {
2328
+ const { key: $ } = J;
2329
+ w.value[$] || (w.value[$] = R);
2330
+ }, T = () => new Promise((R, J) => {
2331
+ let $ = !0;
2332
+ for (const Y in w.value)
2333
+ w.value[Y].validate((W) => {
2334
+ W == !1 && ($ = !1);
2300
2335
  });
2301
2336
  setTimeout(() => {
2302
- O({
2303
- result: R,
2304
- data: r()
2337
+ R({
2338
+ result: $,
2339
+ data: u()
2305
2340
  });
2306
2341
  }, 50);
2307
2342
  });
2308
- return gt(async () => {
2309
- y.isShowBtn == !1 ? m(y.formConfigurationId) : p();
2343
+ return ct(async () => {
2344
+ h.isShowBtn == !1 ? o(h.formConfigurationId) : f();
2310
2345
  }), e({
2311
- validateFormData: N,
2312
- clearData: V
2313
- }), (O, G) => (S(), C("div", ms, [
2314
- a(h).length > 0 ? (S(), C("div", fs, [
2315
- (S(!0), C(
2316
- H,
2346
+ validateFormData: T,
2347
+ clearData: C
2348
+ }), (R, J) => (V(), U("div", bn, [
2349
+ a(_).length > 0 ? (V(), U("div", _n, [
2350
+ (V(!0), U(
2351
+ G,
2317
2352
  null,
2318
- oe(a(h), (R) => (S(), P(a(ft), {
2319
- key: R.id,
2353
+ ie(a(_), ($) => (V(), F(a(ft), {
2354
+ key: $.id,
2320
2355
  style: { "margin-right": "20px" },
2321
2356
  "btn-type": "primary",
2322
- onClick: (W) => a(_)(R)
2357
+ onClick: (Y) => a(b)($)
2323
2358
  }, {
2324
- default: $(() => [
2325
- X(
2326
- ee(R.name),
2359
+ default: z(() => [
2360
+ ee(
2361
+ te($.name),
2327
2362
  1
2328
2363
  /* TEXT */
2329
2364
  )
@@ -2334,62 +2369,78 @@ const Wa = { ...ut, ...rt }, Ha = (s, e, t, n) => {
2334
2369
  128
2335
2370
  /* KEYED_FRAGMENT */
2336
2371
  ))
2337
- ])) : j("v-if", !0),
2338
- ct((S(), C(
2372
+ ])) : q("v-if", !0),
2373
+ gt((V(), U(
2339
2374
  "div",
2340
2375
  {
2341
2376
  class: "content-box",
2342
- style: vt({ margin: "0 10px", ...O.customStyle })
2377
+ style: mt({ margin: "0 10px", ...R.customStyle })
2343
2378
  },
2344
2379
  [
2345
- (S(!0), C(
2346
- H,
2380
+ (V(!0), U(
2381
+ G,
2347
2382
  null,
2348
- oe(a(g), (R) => (S(), C(
2349
- H,
2383
+ ie(a(d), ($) => (V(), U(
2384
+ G,
2350
2385
  {
2351
- key: R.name
2386
+ key: $.name
2352
2387
  },
2353
2388
  [
2354
- f(R.ctrlType) ? (S(), P(a(ze), {
2389
+ c($.ctrlType) ? (V(), F(a(Ae), {
2355
2390
  key: 0,
2356
2391
  style: { "margin-bottom": "10px" },
2357
- collapsible: R.options.accordion ? "" : "disabled",
2358
- activeKey: a(v)
2392
+ collapsible: $.options.accordion ? "" : "disabled",
2393
+ activeKey: a(p)
2359
2394
  }, {
2360
- default: $(() => [
2361
- (S(), P(a(Ue), {
2362
- key: R.columns[0].idKey,
2363
- header: R.columns[0].span
2395
+ default: z(() => [
2396
+ (V(), F(a(Qe), {
2397
+ key: $.columns[0].idKey,
2398
+ header: $.columns[0].span
2364
2399
  }, {
2365
- default: $(() => [
2366
- L(a(je), {
2400
+ default: z(() => [
2401
+ a(r) ? (V(), F(a(Ie), {
2402
+ key: 0,
2367
2403
  ref_for: !0,
2368
- ref: (W) => k(W, R),
2404
+ ref: (Y) => k(Y, $),
2369
2405
  cols: 24,
2370
2406
  alignType: "horizontal",
2371
2407
  "margin-right": "80px",
2372
2408
  "auto-margin-right": "",
2373
- rules: a(c),
2374
- form: a(n).data
2409
+ rules: a(g),
2410
+ form: a(s).data
2375
2411
  }, {
2376
- default: $(() => [
2377
- (S(!0), C(
2378
- H,
2412
+ default: z(() => [
2413
+ (V(!0), U(
2414
+ G,
2379
2415
  null,
2380
- oe(R.columns[0].list, (W) => (S(), P(De(a(ve).grid), {
2381
- key: R.name,
2382
- setting: W,
2383
- isView: y.isView,
2384
- store: a(n)
2385
- }, null, 8, ["setting", "isView", "store"]))),
2416
+ ie($.columns[0].list, (Y) => (V(), U(
2417
+ G,
2418
+ {
2419
+ key: $.name
2420
+ },
2421
+ [
2422
+ Y.ctrlType == "grid" ? (V(), F(ge(a(re).grid), {
2423
+ key: 0,
2424
+ setting: Y,
2425
+ isView: h.isView,
2426
+ store: a(s)
2427
+ }, null, 8, ["setting", "isView", "store"])) : (V(), F(ge(a(re)[Y.ctrlType]), {
2428
+ key: 1,
2429
+ setting: Y,
2430
+ isView: h.isView,
2431
+ store: a(s)
2432
+ }, null, 8, ["setting", "isView", "store"]))
2433
+ ],
2434
+ 64
2435
+ /* STABLE_FRAGMENT */
2436
+ ))),
2386
2437
  128
2387
2438
  /* KEYED_FRAGMENT */
2388
2439
  ))
2389
2440
  ]),
2390
2441
  _: 2
2391
2442
  /* DYNAMIC */
2392
- }, 1032, ["rules", "form"])
2443
+ }, 1032, ["rules", "form"])) : q("v-if", !0)
2393
2444
  ]),
2394
2445
  _: 2
2395
2446
  /* DYNAMIC */
@@ -2397,28 +2448,28 @@ const Wa = { ...ut, ...rt }, Ha = (s, e, t, n) => {
2397
2448
  ]),
2398
2449
  _: 2
2399
2450
  /* DYNAMIC */
2400
- }, 1032, ["collapsible", "activeKey"])) : (S(), C("div", ys, [
2401
- a(o) ? (S(), P(a(je), {
2451
+ }, 1032, ["collapsible", "activeKey"])) : (V(), U("div", wn, [
2452
+ a(r) ? (V(), F(a(Ie), {
2402
2453
  key: 0,
2403
2454
  ref_for: !0,
2404
- ref: (W) => k(W, R),
2455
+ ref: (Y) => k(Y, $),
2405
2456
  cols: 24,
2406
2457
  "auto-margin-right": "",
2407
2458
  alignType: "horizontal",
2408
2459
  "margin-right": "80px",
2409
- rules: a(c),
2410
- form: a(n).data
2460
+ rules: a(g),
2461
+ form: a(s).data
2411
2462
  }, {
2412
- default: $(() => [
2413
- (S(), P(De(a(ve)[R.ctrlType]), {
2414
- setting: R,
2415
- isView: y.isView,
2416
- store: a(n)
2463
+ default: z(() => [
2464
+ (V(), F(ge(a(re)[$.ctrlType]), {
2465
+ setting: $,
2466
+ isView: h.isView,
2467
+ store: a(s)
2417
2468
  }, null, 8, ["setting", "isView", "store"]))
2418
2469
  ]),
2419
2470
  _: 2
2420
2471
  /* DYNAMIC */
2421
- }, 1032, ["rules", "form"])) : j("v-if", !0)
2472
+ }, 1032, ["rules", "form"])) : q("v-if", !0)
2422
2473
  ]))
2423
2474
  ],
2424
2475
  64
@@ -2431,12 +2482,133 @@ const Wa = { ...ut, ...rt }, Ha = (s, e, t, n) => {
2431
2482
  4
2432
2483
  /* STYLE */
2433
2484
  )), [
2434
- [a(yt)]
2485
+ [a(ht)]
2435
2486
  ])
2436
2487
  ]));
2437
2488
  }
2438
- }), bs = /* @__PURE__ */ me(hs, [["__scopeId", "data-v-425dc9e6"]]), As = pt(bs);
2489
+ }), Dn = /* @__PURE__ */ fe(Cn, [["__scopeId", "data-v-c3b8808e"]]), Vn = {
2490
+ 姓名: { "zh-CN": "姓名", en: "Name", _appCode: "framework" },
2491
+ 状态: { "zh-CN": "状态", en: "Status", _appCode: "framework" },
2492
+ 组织名称: { "zh-CN": "组织名称", en: "Organization Name", _appCode: "framework" },
2493
+ 组织类型: { "zh-CN": "组织类型", en: "Organization Type", _appCode: "framework" },
2494
+ 角色名称: { "zh-CN": "角色名称", en: "Role Name", _appCode: "framework" },
2495
+ 角色类型: { "zh-CN": "角色类型", en: "Role Type", _appCode: "framework" },
2496
+ 角色状态: { "zh-CN": "角色状态", en: "Role Status", _appCode: "framework" },
2497
+ 所属组织路径: { "zh-CN": "所属组织路径", en: "Associated Organization Path", _appCode: "framework" },
2498
+ 岗位名称: { "zh-CN": "岗位名称", en: "Position Name", _appCode: "framework" },
2499
+ 供应商名称: { "zh-CN": "供应商名称", en: "Supplier Name", _appCode: "framework" },
2500
+ 供应商编码: { "zh-CN": "供应商编码", en: "Supplier Code", _appCode: "framework" },
2501
+ 供应商等级: { "zh-CN": "供应商等级", en: "Supplier Level", _appCode: "framework" },
2502
+ 供应商分类: { "zh-CN": "供应商分类", en: "Supplier Classification", _appCode: "framework" },
2503
+ 个人: { "zh-CN": "个人", en: "Individual", _appCode: "framework" },
2504
+ 公司: { "zh-CN": "公司", en: "Company", _appCode: "framework" },
2505
+ 单据编码: { "zh-CN": "单据编码", en: "Document Code", _appCode: "framework" },
2506
+ 联系电话: { "zh-CN": "联系电话", en: "Contact Phone", _appCode: "framework" },
2507
+ 计划领用日期: { "zh-CN": "计划领用日期", en: "Planned Usage Date", _appCode: "framework" },
2508
+ 资产用途: { "zh-CN": "资产用途", en: "Asset Usage", _appCode: "framework" },
2509
+ "*必填": { "zh-CN": "*必填", en: "*Required", _appCode: "framework" },
2510
+ 不能超过: { "zh-CN": "不能超过", en: "Cannot Exceed", _appCode: "framework" },
2511
+ 不能少于: { "zh-CN": "不能少于", en: "Cannot be less than", _appCode: "framework" },
2512
+ 手机号码格式不正确: { "zh-CN": "手机号码格式不正确", en: "Invalid Mobile Number Format", _appCode: "framework" },
2513
+ 请重新输入: { "zh-CN": "请重新输入", en: "Please re-enter", _appCode: "framework" },
2514
+ 电子邮箱格式不正确: { "zh-CN": "电子邮箱格式不正确", en: "Invalid Email Format", _appCode: "framework" },
2515
+ 请输入整数: { "zh-CN": "请输入整数", en: "Please enter an integer", _appCode: "framework" },
2516
+ 请输入相同的值: { "zh-CN": "请输入相同的值", en: "Please enter the same value", _appCode: "framework" },
2517
+ 不能小于: { "zh-CN": "不能小于", en: "Cannot be less than", _appCode: "framework" },
2518
+ 请输入数字: { "zh-CN": "请输入数字", en: "Please enter a number", _appCode: "framework" },
2519
+ 不能大于: { "zh-CN": "不能大于", en: "Cannot be greater than", _appCode: "framework" },
2520
+ 日期必须晚于: { "zh-CN": "日期必须晚于", en: "Date must be later than", _appCode: "framework" },
2521
+ 日期必须早于: { "zh-CN": "日期必须早于", en: "Date must be earlier than", _appCode: "framework" },
2522
+ 日期必须不晚于: { "zh-CN": "日期必须不晚于", en: "Date must not be later than", _appCode: "framework" },
2523
+ 日期必须不早于: { "zh-CN": "日期必须不早于", en: "Date must not be earlier than", _appCode: "framework" },
2524
+ 只能输入指定数字范围: {
2525
+ "zh-CN": "只能输入指定数字范围",
2526
+ en: "Can only enter a specified number range",
2527
+ _appCode: "framework"
2528
+ },
2529
+ 只能输入指定的值: { "zh-CN": "只能输入指定的值", en: "Can only enter specified values", _appCode: "framework" },
2530
+ 只能输入: { "zh-CN": "只能输入", en: "Can only enter", _appCode: "framework" },
2531
+ 位数数字: { "zh-CN": "位数数字", en: "Digit Number", _appCode: "framework" },
2532
+ 只能输入字母: { "zh-CN": "只能输入字母", en: "Can only enter letters", _appCode: "framework" },
2533
+ 只能输入字母空格: { "zh-CN": "只能输入字母空格", en: "Can only enter letters and spaces", _appCode: "framework" },
2534
+ 只能输入字母数字横线下划线: {
2535
+ "zh-CN": "只能输入字母数字横线下划线",
2536
+ en: "Can only enter letters, numbers, hyphens, and underscores",
2537
+ _appCode: "framework"
2538
+ },
2539
+ 只能输入字母数字: {
2540
+ "zh-CN": "只能输入字母数字",
2541
+ en: "Can only enter alphanumeric characters",
2542
+ _appCode: "framework"
2543
+ },
2544
+ 搜索姓名: { "zh-CN": "搜索姓名", en: "Search Name", _appCode: "framework" },
2545
+ 账号: { "zh-CN": "账号", en: "Account", _appCode: "framework" },
2546
+ 手机号: { "zh-CN": "手机号", en: "Phone Number", _appCode: "framework" },
2547
+ 搜索组织名称: { "zh-CN": "搜索组织名称", en: "Search organization name", _appCode: "framework" },
2548
+ 组织编码: { "zh-CN": "组织编码", en: "Organization Code", _appCode: "framework" },
2549
+ 搜索角色名称: { "zh-CN": "搜索角色名称", en: "Search role name", _appCode: "framework" },
2550
+ 职务名称: { "zh-CN": "职务名称", en: "Title Name", _appCode: "framework" },
2551
+ 职务编码: { "zh-CN": "职务编码", en: "Title Code", _appCode: "framework" },
2552
+ 搜索岗位名称: { "zh-CN": "搜索岗位名称", en: "Search job title", _appCode: "framework" },
2553
+ 岗位编码: { "zh-CN": "岗位编码", en: "Post Code", _appCode: "framework" },
2554
+ 搜索供应商编码: { "zh-CN": "搜索供应商编码", en: "Search supplier code", _appCode: "framework" },
2555
+ 名称: { "zh-CN": "名称", en: "Name", _appCode: "framework" },
2556
+ 搜索单据编码: { "zh-CN": "搜索单据编码", en: "Search document code", _appCode: "framework" },
2557
+ 申请人: { "zh-CN": "申请人", en: "Applicant", _appCode: "framework" },
2558
+ 添加用户: { "zh-CN": "添加用户", en: "Add User", _appCode: "framework" },
2559
+ 组织选择器: { "zh-CN": "组织选择器", en: "Organization Selector", _appCode: "framework" },
2560
+ 角色选择器: { "zh-CN": "角色选择器", en: "Role Selector", _appCode: "framework" },
2561
+ 职务选择器: { "zh-CN": "职务选择器", en: "Position Selector", _appCode: "framework" },
2562
+ 岗位选择器: { "zh-CN": "岗位选择器", en: "Post Selector", _appCode: "framework" },
2563
+ 选择供应商: { "zh-CN": "选择供应商", en: "Select Supplier", _appCode: "framework" },
2564
+ 源单选择器: { "zh-CN": "源单选择器", en: "Source Document Selector", _appCode: "framework" },
2565
+ 正常: { "zh-CN": "正常", en: "Normal", _appCode: "framework" },
2566
+ 锁定: { "zh-CN": "锁定", en: "Locked", _appCode: "framework" },
2567
+ 禁用: { "zh-CN": "禁用", en: "Disabled", _appCode: "framework" },
2568
+ 普通: { "zh-CN": "普通", en: "Normal", _appCode: "framework" },
2569
+ 管理员: { "zh-CN": "管理员", en: "Administrator", _appCode: "framework" },
2570
+ 无效: { "zh-CN": "无效", en: "Invalid", _appCode: "framework" },
2571
+ 有效: { "zh-CN": "有效", en: "Valid", _appCode: "framework" },
2572
+ "搜索姓名/账号/手机号": {
2573
+ "zh-CN": "搜索姓名/账号/手机号",
2574
+ en: "Search name/account/phone number",
2575
+ _appCode: "framework"
2576
+ },
2577
+ "搜索组织名称/组织编码": {
2578
+ "zh-CN": "搜索组织名称/组织编码",
2579
+ en: "Search organization name/organization code",
2580
+ _appCode: "framework"
2581
+ },
2582
+ "职务名称/职务编码": { "zh-CN": "职务名称/职务编码", en: "Title Name/Title Code", _appCode: "framework" },
2583
+ "搜索岗位名称/岗位编码": {
2584
+ "zh-CN": "搜索岗位名称/岗位编码",
2585
+ en: "Search position name/position code",
2586
+ _appCode: "framework"
2587
+ },
2588
+ "搜索供应商编码/名称": { "zh-CN": "搜索供应商编码/名称", en: "Search supplier code/name", _appCode: "framework" },
2589
+ "搜索单据编码/申请人": {
2590
+ "zh-CN": "搜索单据编码/申请人",
2591
+ en: "Search document code/applicant",
2592
+ _appCode: "framework"
2593
+ },
2594
+ 供应商类型: { "zh-CN": "供应商类型", en: "Supplier Type", _appCode: "framework" },
2595
+ "手机号码格式不正确,请重新输入": {
2596
+ "zh-CN": "手机号码格式不正确,请重新输入",
2597
+ en: "Incorrect phone number format, please re-enter",
2598
+ _appCode: "framework"
2599
+ },
2600
+ "电子邮箱格式不正确,请重新输入": {
2601
+ "zh-CN": "电子邮箱格式不正确,请重新输入",
2602
+ en: "Incorrect email format, please re-enter",
2603
+ _appCode: "framework"
2604
+ },
2605
+ "个人/公司": { "zh-CN": "个人/公司", en: "Individual/Company", _appCode: "framework" },
2606
+ 选择源单: { "zh-CN": "选择源单", en: "Select Source Document", _appCode: "framework" },
2607
+ 请选择: { "zh-CN": "请选择", en: "Please Select", _appCode: "framework" }
2608
+ };
2609
+ wt(Vn);
2610
+ const xn = pt(Dn);
2439
2611
  export {
2440
- As as DasProcessForm,
2441
- As as default
2612
+ xn as DasProcessForm,
2613
+ xn as default
2442
2614
  };