agilebuilder-ui 1.1.65-tmp30 → 1.1.65-tmp32

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 (643) hide show
  1. package/es/chat-embed/src/index.vue.mjs +1 -1
  2. package/es/chat-embed/src/index.vue2.mjs +104 -100
  3. package/es/chat-embed/src/voice/js/crypto-js.mjs +46 -50
  4. package/es/chat-embed/src/voice/voice.vue.mjs +8 -11
  5. package/es/date-picker-range/index.vue.mjs +1 -1
  6. package/es/date-picker-range/index.vue2.mjs +41 -33
  7. package/es/department-tree-inline/src/department-tree-service.mjs +0 -1
  8. package/es/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.mjs +14 -11
  9. package/es/department-user-tree-inline/src/department-user-single-tree-inline.vue.mjs +6 -6
  10. package/es/department-user-tree-inline/src/department-user-tree-multi-service.mjs +19 -20
  11. package/es/department-user-tree-inline/src/department-user-tree-single-service.mjs +0 -1
  12. package/es/department-user-tree-inline/src/search-result.vue.mjs +4 -4
  13. package/es/department-user-tree-mobile/src/department-user-tree-inline-app.vue.mjs +2 -2
  14. package/es/dynamic-source-select/src/dynamic-source-select.vue.mjs +86 -85
  15. package/es/fs-preview/src/fs-preview.vue.mjs +73 -59
  16. package/es/fs-upload/src/fs-upload-multi.vue.mjs +3 -3
  17. package/es/fs-upload-list/src/fs-upload-list.vue.mjs +5 -6
  18. package/es/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.mjs +15 -17
  19. package/es/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.mjs +19 -19
  20. package/es/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.mjs +2 -2
  21. package/es/fs-upload-new/src/fs-preview-new.vue.mjs +1 -1
  22. package/es/fs-upload-new/src/fs-preview-new.vue2.mjs +50 -50
  23. package/es/i18n-setting/index.mjs +7 -0
  24. package/es/i18n-setting/src/i18n-setting-dialog.vue.mjs +23 -0
  25. package/es/i18n-setting/src/i18n-setting.mjs +14 -0
  26. package/es/i18n-setting/src/index.vue.mjs +47 -0
  27. package/es/index.mjs +46 -41
  28. package/es/multipart-upload/src/multipart-upload-form.vue.mjs +5 -5
  29. package/es/multipart-upload/src/multipart-upload-list.vue.mjs +6 -6
  30. package/es/organization-input/src/organization-input.vue.mjs +58 -58
  31. package/es/remove-department/src/remove-dept-service.mjs +4 -5
  32. package/es/remove-user/src/remove-user-service.mjs +0 -1
  33. package/es/remove-workgroup/src/remove-workgroup-service.mjs +0 -1
  34. package/es/rich-editor/index.vue.mjs +43 -84
  35. package/es/scan-code-input/src/scan-code-input.vue.mjs +1 -1
  36. package/es/scan-code-input-browser/src/scan-code-input.vue.mjs +20 -9
  37. package/es/src/api/sso-service.mjs +0 -1
  38. package/es/src/i18n/langs/cn.mjs +1 -1
  39. package/es/src/i18n/langs/en.mjs +1 -1
  40. package/es/src/permission.mjs +7 -10
  41. package/es/src/router/index.mjs +0 -1
  42. package/es/src/store/index.mjs +0 -1
  43. package/es/src/store/modules/app.mjs +0 -1
  44. package/es/src/utils/common-util.mjs +143 -143
  45. package/es/src/utils/i18n-util.mjs +32 -30
  46. package/es/src/utils/iconUtils.mjs +0 -1
  47. package/es/src/utils/jump-page-utils.mjs +1 -1
  48. package/es/src/utils/permission.mjs +25 -26
  49. package/es/src/utils/permissionAuth.mjs +0 -1
  50. package/es/src/utils/restful-interface-utils.mjs +5 -6
  51. package/es/src/utils/watermark.mjs +2 -7
  52. package/es/src/utils/workflow-util.mjs +6 -6
  53. package/es/src/views/dsc-component/Sidebar/Item.vue.mjs +1 -1
  54. package/es/src/views/dsc-component/Sidebar/Item.vue2.mjs +1 -1
  55. package/es/src/views/layout/components/Menubar/Item.vue.mjs +1 -1
  56. package/es/src/views/layout/components/Menubar/Item.vue2.mjs +8 -8
  57. package/es/src/views/layout/components/Menubar/SidebarItem.vue.mjs +11 -11
  58. package/es/style.css +1 -3103
  59. package/es/super-grid/src/apis.mjs +155 -151
  60. package/es/super-grid/src/components/mobile-table-card.mjs +14 -10
  61. package/es/super-grid/src/components/select-input.vue.mjs +66 -66
  62. package/es/super-grid/src/custom-formatter.mjs +5 -6
  63. package/es/super-grid/src/dynamic-input.vue.mjs +31 -39
  64. package/es/super-grid/src/formValidatorUtil.mjs +0 -1
  65. package/es/super-grid/src/normal-column-content.vue.mjs +1 -2
  66. package/es/super-grid/src/normal-column.vue.mjs +12 -10
  67. package/es/super-grid/src/row-operation.vue.mjs +3 -3
  68. package/es/super-grid/src/search-form-item.vue.mjs +18 -14
  69. package/es/super-grid/src/search-form-number.vue.mjs +7 -6
  70. package/es/super-grid/src/search-form-open.vue.mjs +3 -2
  71. package/es/super-grid/src/search-form-open.vue2.mjs +4 -0
  72. package/es/super-grid/src/search-form-ordinarySearch.vue.mjs +1 -1
  73. package/es/super-grid/src/super-grid.vue.mjs +254 -242
  74. package/es/super-grid/src/utils.mjs +6 -6
  75. package/es/super-grid/src/view-image-dialog.vue.mjs +5 -5
  76. package/es/super-nine-grid/src/super-nine-grid.vue.mjs +89 -83
  77. package/es/utils/utils.mjs +0 -1
  78. package/es/utils/value-set.mjs +0 -1
  79. package/es/workflow-history-list/src/workflow-history-list.vue.mjs +11 -10
  80. package/es/workgroup-tree-inline/src/workgroup-tree-service.mjs +0 -1
  81. package/es/workgroup-user-tree-inline/src/workgroup-tree-inline-service.mjs +0 -1
  82. package/es/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.mjs +2 -2
  83. package/package.json +6 -2
  84. package/src/styles/index.scss +4 -0
  85. package/src/styles/theme/dark-blue/select.scss +27 -1
  86. package/src/styles/theme/forest-green/select.scss +27 -1
  87. package/src/styles/theme/green/select.scss +27 -1
  88. package/src/styles/theme/ocean-blue/select.scss +27 -1
  89. package/src/styles/theme/tiffany-blue-mobile/select.scss +29 -2
  90. package/.eslintrc.cjs +0 -28
  91. package/.prettierrc.json +0 -12
  92. package/dist/favicon.svg +0 -29
  93. package/dist/index.full.min.js +0 -16659
  94. package/dist/style.css +0 -3104
  95. package/index.html +0 -19
  96. package/lib/IntervalSelection/index.cjs +0 -5
  97. package/lib/IntervalSelection/src/sectionDate.vue.cjs +0 -45
  98. package/lib/IntervalSelection/src/sectionDate.vue2.cjs +0 -2
  99. package/lib/_virtual/__vite-browser-external.cjs +0 -2
  100. package/lib/_virtual/_plugin-vue_export-helper.cjs +0 -7
  101. package/lib/breadcrumb/index.cjs +0 -5
  102. package/lib/breadcrumb/src/breadcrumb.vue.cjs +0 -37
  103. package/lib/breadcrumb/src/breadcrumb.vue2.cjs +0 -2
  104. package/lib/chat-embed/index.cjs +0 -5
  105. package/lib/chat-embed/src/chat-addition-data.vue.cjs +0 -5
  106. package/lib/chat-embed/src/chat-addition-data.vue2.cjs +0 -15
  107. package/lib/chat-embed/src/chat-addition-data.vue3.cjs +0 -2
  108. package/lib/chat-embed/src/chat-ai-answer-tip.vue.cjs +0 -5
  109. package/lib/chat-embed/src/chat-ai-answer-tip.vue2.cjs +0 -26
  110. package/lib/chat-embed/src/chat-ai-answer-tip.vue3.cjs +0 -2
  111. package/lib/chat-embed/src/chat-bubble-footer.vue.cjs +0 -5
  112. package/lib/chat-embed/src/chat-bubble-footer.vue2.cjs +0 -28
  113. package/lib/chat-embed/src/chat-bubble-footer.vue3.cjs +0 -2
  114. package/lib/chat-embed/src/chat-embed-message.cjs +0 -16
  115. package/lib/chat-embed/src/chat-sender.vue.cjs +0 -5
  116. package/lib/chat-embed/src/chat-sender.vue2.cjs +0 -145
  117. package/lib/chat-embed/src/chat-sender.vue3.cjs +0 -2
  118. package/lib/chat-embed/src/components/answer-auto-chart.vue.cjs +0 -5
  119. package/lib/chat-embed/src/components/answer-auto-chart.vue2.cjs +0 -50
  120. package/lib/chat-embed/src/components/answer-auto-chart.vue3.cjs +0 -2
  121. package/lib/chat-embed/src/components/answer-home-chart.vue.cjs +0 -5
  122. package/lib/chat-embed/src/components/answer-home-chart.vue2.cjs +0 -3
  123. package/lib/chat-embed/src/components/answer-home-chart.vue3.cjs +0 -2
  124. package/lib/chat-embed/src/components/answer-interaction-data.vue.cjs +0 -5
  125. package/lib/chat-embed/src/components/answer-interaction-data.vue2.cjs +0 -107
  126. package/lib/chat-embed/src/components/answer-interaction-data.vue3.cjs +0 -2
  127. package/lib/chat-embed/src/components/history-detail.vue.cjs +0 -5
  128. package/lib/chat-embed/src/components/history-detail.vue2.cjs +0 -50
  129. package/lib/chat-embed/src/components/history-detail.vue3.cjs +0 -2
  130. package/lib/chat-embed/src/header.vue.cjs +0 -5
  131. package/lib/chat-embed/src/header.vue2.cjs +0 -39
  132. package/lib/chat-embed/src/header.vue3.cjs +0 -2
  133. package/lib/chat-embed/src/index.vue.cjs +0 -5
  134. package/lib/chat-embed/src/index.vue2.cjs +0 -281
  135. package/lib/chat-embed/src/index.vue3.cjs +0 -2
  136. package/lib/chat-embed/src/recommendation-message.vue.cjs +0 -5
  137. package/lib/chat-embed/src/recommendation-message.vue2.cjs +0 -8
  138. package/lib/chat-embed/src/recommendation-message.vue3.cjs +0 -2
  139. package/lib/chat-embed/src/sidebar-item.vue.cjs +0 -5
  140. package/lib/chat-embed/src/sidebar-item.vue2.cjs +0 -109
  141. package/lib/chat-embed/src/sidebar-item.vue3.cjs +0 -2
  142. package/lib/chat-embed/src/type.cjs +0 -3
  143. package/lib/chat-embed/src/util/chat-embed-util.cjs +0 -51
  144. package/lib/chat-embed/src/util/history-message-util.cjs +0 -74
  145. package/lib/chat-embed/src/util/mcp-utils.cjs +0 -50
  146. package/lib/chat-embed/src/util/text-file-util.cjs +0 -8
  147. package/lib/chat-embed/src/voice/index.cjs +0 -5
  148. package/lib/chat-embed/src/voice/js/crypto-js.cjs +0 -1005
  149. package/lib/chat-embed/src/voice/js/processor/index.umd.cjs +0 -170
  150. package/lib/chat-embed/src/voice/js/timer.cjs +0 -8
  151. package/lib/chat-embed/src/voice/voice.vue.cjs +0 -96
  152. package/lib/date-picker-range/index.cjs +0 -5
  153. package/lib/date-picker-range/index.vue.cjs +0 -5
  154. package/lib/date-picker-range/index.vue2.cjs +0 -89
  155. package/lib/date-picker-range/index.vue3.cjs +0 -2
  156. package/lib/department-tree/index.cjs +0 -5
  157. package/lib/department-tree/src/department-tree.vue.cjs +0 -17
  158. package/lib/department-tree-inline/index.cjs +0 -5
  159. package/lib/department-tree-inline/src/department-multi-tree-inline.vue.cjs +0 -81
  160. package/lib/department-tree-inline/src/department-multi-tree-inline.vue2.cjs +0 -2
  161. package/lib/department-tree-inline/src/department-single-tree-inline.vue.cjs +0 -54
  162. package/lib/department-tree-inline/src/department-single-tree-inline.vue2.cjs +0 -2
  163. package/lib/department-tree-inline/src/department-tree-inline.vue.cjs +0 -12
  164. package/lib/department-tree-inline/src/department-tree-service.cjs +0 -106
  165. package/lib/department-tree-inline/src/search-result.vue.cjs +0 -36
  166. package/lib/department-tree-inline/src/search-result.vue2.cjs +0 -2
  167. package/lib/department-tree-mobile/index.cjs +0 -5
  168. package/lib/department-tree-mobile/src/department-tree-app.vue.cjs +0 -13
  169. package/lib/department-tree-mobile/src/department-tree-app.vue2.cjs +0 -2
  170. package/lib/department-tree-mobile/src/department-tree-app.vue3.cjs +0 -3
  171. package/lib/department-tree-mobile/src/department-tree-inline-app.vue.cjs +0 -110
  172. package/lib/department-tree-mobile/src/department-tree-inline-app.vue2.cjs +0 -3
  173. package/lib/department-tree-mobile/src/department-tree-service.cjs +0 -47
  174. package/lib/department-tree-mobile/src/dept-path.vue.cjs +0 -13
  175. package/lib/department-tree-mobile/src/dept-path.vue2.cjs +0 -3
  176. package/lib/department-tree-mobile/src/dept-result.vue.cjs +0 -14
  177. package/lib/department-tree-mobile/src/dept-result.vue2.cjs +0 -3
  178. package/lib/department-user-tree/index.cjs +0 -5
  179. package/lib/department-user-tree/src/department-user-multiple-tree.vue.cjs +0 -16
  180. package/lib/department-user-tree/src/department-user-multiple-tree.vue2.cjs +0 -2
  181. package/lib/department-user-tree/src/department-user-single-tree.vue.cjs +0 -14
  182. package/lib/department-user-tree/src/department-user-tree.vue.cjs +0 -21
  183. package/lib/department-user-tree-inline/index.cjs +0 -5
  184. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue.cjs +0 -154
  185. package/lib/department-user-tree-inline/src/department-user-multiple-tree-inline.vue2.cjs +0 -2
  186. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue.cjs +0 -57
  187. package/lib/department-user-tree-inline/src/department-user-single-tree-inline.vue2.cjs +0 -2
  188. package/lib/department-user-tree-inline/src/department-user-tree-inline.vue.cjs +0 -11
  189. package/lib/department-user-tree-inline/src/department-user-tree-multi-service.cjs +0 -78
  190. package/lib/department-user-tree-inline/src/department-user-tree-single-service.cjs +0 -51
  191. package/lib/department-user-tree-inline/src/group-user/group-input.vue.cjs +0 -34
  192. package/lib/department-user-tree-inline/src/group-user/group-list.vue.cjs +0 -22
  193. package/lib/department-user-tree-inline/src/group-user/group-user.vue.cjs +0 -10
  194. package/lib/department-user-tree-inline/src/group-user-multiple-tree.vue.cjs +0 -72
  195. package/lib/department-user-tree-inline/src/group-user-single-tree.vue.cjs +0 -28
  196. package/lib/department-user-tree-inline/src/group-user-tree-service.cjs +0 -33
  197. package/lib/department-user-tree-inline/src/search-result.vue.cjs +0 -38
  198. package/lib/department-user-tree-inline/src/search-result.vue2.cjs +0 -2
  199. package/lib/department-user-tree-mobile/index.cjs +0 -5
  200. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue.cjs +0 -13
  201. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue2.cjs +0 -2
  202. package/lib/department-user-tree-mobile/src/department-user-tree-app.vue3.cjs +0 -3
  203. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue.cjs +0 -124
  204. package/lib/department-user-tree-mobile/src/department-user-tree-inline-app.vue2.cjs +0 -3
  205. package/lib/department-user-tree-mobile/src/department-user-tree-service.cjs +0 -28
  206. package/lib/department-user-tree-mobile/src/dept-path.vue.cjs +0 -13
  207. package/lib/department-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
  208. package/lib/department-user-tree-mobile/src/dept-result.vue.cjs +0 -14
  209. package/lib/department-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
  210. package/lib/directives/prevent-reclick.cjs +0 -14
  211. package/lib/dynamic-source-select/index.cjs +0 -5
  212. package/lib/dynamic-source-select/src/dynamic-source-select-service.cjs +0 -30
  213. package/lib/dynamic-source-select/src/dynamic-source-select.vue.cjs +0 -266
  214. package/lib/dynamic-source-select/src/dynamic-source-select.vue2.cjs +0 -2
  215. package/lib/dynamic-source-select/src/dynamic-source-select.vue3.cjs +0 -2
  216. package/lib/dynamic-source-select/src/events.cjs +0 -28
  217. package/lib/empty-state/index.vue.cjs +0 -6
  218. package/lib/empty-state/index.vue2.cjs +0 -3
  219. package/lib/favicon.svg +0 -29
  220. package/lib/fs-preview/index.cjs +0 -5
  221. package/lib/fs-preview/src/fs-preview.vue.cjs +0 -119
  222. package/lib/fs-preview/src/fs-preview.vue2.cjs +0 -2
  223. package/lib/fs-upload/index.cjs +0 -5
  224. package/lib/fs-upload/src/fs-upload-multi.vue.cjs +0 -63
  225. package/lib/fs-upload/src/fs-upload-single.vue.cjs +0 -64
  226. package/lib/fs-upload/src/fs-upload.vue.cjs +0 -18
  227. package/lib/fs-upload/src/see-big-picture.vue.cjs +0 -9
  228. package/lib/fs-upload-list/index.cjs +0 -5
  229. package/lib/fs-upload-list/src/fs-upload-list.vue.cjs +0 -91
  230. package/lib/fs-upload-list/src/fs-upload-list.vue2.cjs +0 -2
  231. package/lib/fs-upload-new/index.cjs +0 -5
  232. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue.cjs +0 -57
  233. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-app.vue2.cjs +0 -3
  234. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue.cjs +0 -170
  235. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-browser.vue2.cjs +0 -3
  236. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue.cjs +0 -5
  237. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue2.cjs +0 -32
  238. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-component.vue3.cjs +0 -2
  239. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue.cjs +0 -41
  240. package/lib/fs-upload-new/src/file-upload-mobile/file-upload-input.vue2.cjs +0 -3
  241. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue.cjs +0 -29
  242. package/lib/fs-upload-new/src/file-upload-mobile/file-upload.vue2.cjs +0 -3
  243. package/lib/fs-upload-new/src/fs-button-upload.vue.cjs +0 -5
  244. package/lib/fs-upload-new/src/fs-button-upload.vue2.cjs +0 -55
  245. package/lib/fs-upload-new/src/fs-button-upload.vue3.cjs +0 -2
  246. package/lib/fs-upload-new/src/fs-drag-upload.vue.cjs +0 -5
  247. package/lib/fs-upload-new/src/fs-drag-upload.vue2.cjs +0 -55
  248. package/lib/fs-upload-new/src/fs-drag-upload.vue3.cjs +0 -2
  249. package/lib/fs-upload-new/src/fs-preview-new.vue.cjs +0 -5
  250. package/lib/fs-upload-new/src/fs-preview-new.vue2.cjs +0 -84
  251. package/lib/fs-upload-new/src/fs-preview-new.vue3.cjs +0 -2
  252. package/lib/fs-upload-new/src/fs-preview-new.vue4.cjs +0 -2
  253. package/lib/fs-upload-new/src/fs-upload-new.vue.cjs +0 -54
  254. package/lib/fs-upload-new/src/fs-upload-new.vue2.cjs +0 -3
  255. package/lib/hamburger/index.cjs +0 -5
  256. package/lib/hamburger/src/hamburger.vue.cjs +0 -11
  257. package/lib/hamburger/src/hamburger.vue2.cjs +0 -2
  258. package/lib/index.cjs +0 -41
  259. package/lib/json-view/json-view-dialog.vue.cjs +0 -16
  260. package/lib/json-view/json-view-dialog.vue2.cjs +0 -3
  261. package/lib/json-view/json-view.vue.cjs +0 -3
  262. package/lib/json-view/json-view.vue2.cjs +0 -32
  263. package/lib/multipart-upload/index.cjs +0 -5
  264. package/lib/multipart-upload/src/index.vue.cjs +0 -10
  265. package/lib/multipart-upload/src/multipart-upload-form.vue.cjs +0 -73
  266. package/lib/multipart-upload/src/multipart-upload-list.vue.cjs +0 -96
  267. package/lib/organization-input/index.cjs +0 -5
  268. package/lib/organization-input/src/organization-input.vue.cjs +0 -218
  269. package/lib/organization-input/src/organization-input.vue2.cjs +0 -2
  270. package/lib/plugins/export-data-new.cjs +0 -229
  271. package/lib/plugins/export-data.cjs +0 -173
  272. package/lib/plugins/index.cjs +0 -5
  273. package/lib/plugins/public-method.cjs +0 -13
  274. package/lib/remove-department/index.cjs +0 -5
  275. package/lib/remove-department/src/remove-department.vue.cjs +0 -27
  276. package/lib/remove-department/src/remove-dept-service.cjs +0 -12
  277. package/lib/remove-user/index.cjs +0 -5
  278. package/lib/remove-user/src/remove-user-service.cjs +0 -12
  279. package/lib/remove-user/src/remove-user.vue.cjs +0 -29
  280. package/lib/remove-workgroup/index.cjs +0 -5
  281. package/lib/remove-workgroup/src/remove-workgroup-service.cjs +0 -12
  282. package/lib/remove-workgroup/src/remove-workgroup.vue.cjs +0 -25
  283. package/lib/rich-editor/index.cjs +0 -5
  284. package/lib/rich-editor/index.vue.cjs +0 -67
  285. package/lib/rich-editor/tinymce/zh_CN.cjs +0 -2
  286. package/lib/rich-editor/viewer.vue.cjs +0 -24
  287. package/lib/row-form/index.cjs +0 -5
  288. package/lib/row-form/index.vue.cjs +0 -5
  289. package/lib/row-form/index.vue2.cjs +0 -56
  290. package/lib/row-form/index.vue3.cjs +0 -2
  291. package/lib/row-form/operation.vue.cjs +0 -28
  292. package/lib/row-form/operation.vue2.cjs +0 -3
  293. package/lib/scan-code-input/index.cjs +0 -5
  294. package/lib/scan-code-input/src/events.cjs +0 -13
  295. package/lib/scan-code-input/src/scan-code-input.vue.cjs +0 -26
  296. package/lib/scan-code-input-browser/index.cjs +0 -5
  297. package/lib/scan-code-input-browser/src/scan-code-input.vue.cjs +0 -34
  298. package/lib/secret-info/index.cjs +0 -5
  299. package/lib/secret-info/index.vue.cjs +0 -13
  300. package/lib/src/api/sso-service.cjs +0 -55
  301. package/lib/src/api/tab.cjs +0 -14
  302. package/lib/src/assets/401/401.gif.cjs +0 -2
  303. package/lib/src/assets/404/404-cloud.png.cjs +0 -2
  304. package/lib/src/assets/404/404.png.cjs +0 -2
  305. package/lib/src/assets/chat-embed/robot.gif.cjs +0 -2
  306. package/lib/src/assets/chat-embed/robot.svg.cjs +0 -2
  307. package/lib/src/assets/nonemessage.png.cjs +0 -2
  308. package/lib/src/components/Affix/index.vue.cjs +0 -5
  309. package/lib/src/components/Affix/index.vue2.cjs +0 -81
  310. package/lib/src/components/Affix/index.vue3.cjs +0 -2
  311. package/lib/src/components/Card/index.cjs +0 -46
  312. package/lib/src/components/Scrollbar/index.vue.cjs +0 -48
  313. package/lib/src/components/Scrollbar/index.vue2.cjs +0 -2
  314. package/lib/src/directives/permission/index.cjs +0 -5
  315. package/lib/src/directives/permission/permission.cjs +0 -9
  316. package/lib/src/i18n/i18n.cjs +0 -3
  317. package/lib/src/i18n/langs/cn.cjs +0 -2
  318. package/lib/src/i18n/langs/en.cjs +0 -2
  319. package/lib/src/mixins/resizeMixin.cjs +0 -20
  320. package/lib/src/permission.cjs +0 -76
  321. package/lib/src/router/index.cjs +0 -16
  322. package/lib/src/store/getters.cjs +0 -2
  323. package/lib/src/store/index.cjs +0 -16
  324. package/lib/src/store/modules/app.cjs +0 -40
  325. package/lib/src/store/modules/chat-ai-store.cjs +0 -33
  326. package/lib/src/store/modules/permission.cjs +0 -30
  327. package/lib/src/store/modules/system.cjs +0 -10
  328. package/lib/src/store/modules/tab-content.cjs +0 -18
  329. package/lib/src/store/modules/table.cjs +0 -17
  330. package/lib/src/store/modules/user.cjs +0 -133
  331. package/lib/src/utils/auth-api.cjs +0 -132
  332. package/lib/src/utils/auth.cjs +0 -86
  333. package/lib/src/utils/calculator/calculator-factory-wf.cjs +0 -166
  334. package/lib/src/utils/calculator/calculator-factory.cjs +0 -92
  335. package/lib/src/utils/calculator/calculator-util.cjs +0 -53
  336. package/lib/src/utils/chat-ai-util.cjs +0 -26
  337. package/lib/src/utils/common-util.cjs +0 -362
  338. package/lib/src/utils/eventBus.cjs +0 -3
  339. package/lib/src/utils/file-util.cjs +0 -22
  340. package/lib/src/utils/global-prop.cjs +0 -22
  341. package/lib/src/utils/guid.cjs +0 -7
  342. package/lib/src/utils/i18n-util.cjs +0 -62
  343. package/lib/src/utils/iconUtils.cjs +0 -19
  344. package/lib/src/utils/index.cjs +0 -32
  345. package/lib/src/utils/insert_css.cjs +0 -18
  346. package/lib/src/utils/json-util.cjs +0 -45
  347. package/lib/src/utils/jump-page-utils.cjs +0 -256
  348. package/lib/src/utils/local-storage.cjs +0 -18
  349. package/lib/src/utils/menu.cjs +0 -13
  350. package/lib/src/utils/permission.cjs +0 -41
  351. package/lib/src/utils/permissionAuth.cjs +0 -120
  352. package/lib/src/utils/range-selector.cjs +0 -101
  353. package/lib/src/utils/request.cjs +0 -131
  354. package/lib/src/utils/resize.cjs +0 -11
  355. package/lib/src/utils/restful-interface-utils.cjs +0 -15
  356. package/lib/src/utils/util.cjs +0 -341
  357. package/lib/src/utils/validate.cjs +0 -12
  358. package/lib/src/utils/voice-setting-cache.cjs +0 -199
  359. package/lib/src/utils/watermark-cache.cjs +0 -10
  360. package/lib/src/utils/watermark.cjs +0 -33
  361. package/lib/src/utils/workflow-util.cjs +0 -41
  362. package/lib/src/views/dsc-component/Sidebar/Item.vue.cjs +0 -5
  363. package/lib/src/views/dsc-component/Sidebar/Item.vue2.cjs +0 -9
  364. package/lib/src/views/dsc-component/Sidebar/Item.vue3.cjs +0 -2
  365. package/lib/src/views/dsc-component/Sidebar/Link.vue.cjs +0 -11
  366. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue.cjs +0 -46
  367. package/lib/src/views/dsc-component/Sidebar/SidebarItem.vue2.cjs +0 -2
  368. package/lib/src/views/dsc-component/Sidebar/index.vue.cjs +0 -103
  369. package/lib/src/views/dsc-component/tabs/tab-content.vue.cjs +0 -61
  370. package/lib/src/views/dsc-component/tabs/tab-content.vue2.cjs +0 -2
  371. package/lib/src/views/dsc-component/tabs/tab-content.vue3.cjs +0 -2
  372. package/lib/src/views/error-page/401.vue.cjs +0 -11
  373. package/lib/src/views/error-page/401.vue2.cjs +0 -2
  374. package/lib/src/views/error-page/404.vue.cjs +0 -8
  375. package/lib/src/views/error-page/404.vue2.cjs +0 -2
  376. package/lib/src/views/layout/EmptyLayout.vue.cjs +0 -7
  377. package/lib/src/views/layout/Layout.vue.cjs +0 -21
  378. package/lib/src/views/layout/Layout.vue2.cjs +0 -2
  379. package/lib/src/views/layout/NewLayout.vue.cjs +0 -7
  380. package/lib/src/views/layout/components/AppMain.vue.cjs +0 -11
  381. package/lib/src/views/layout/components/AppMain.vue2.cjs +0 -2
  382. package/lib/src/views/layout/components/Breadcrumb/index.vue.cjs +0 -56
  383. package/lib/src/views/layout/components/Breadcrumb/index.vue2.cjs +0 -2
  384. package/lib/src/views/layout/components/Menubar/Item.vue.cjs +0 -5
  385. package/lib/src/views/layout/components/Menubar/Item.vue2.cjs +0 -13
  386. package/lib/src/views/layout/components/Menubar/Item.vue3.cjs +0 -2
  387. package/lib/src/views/layout/components/Menubar/Link.vue.cjs +0 -11
  388. package/lib/src/views/layout/components/Menubar/SidebarItem.vue.cjs +0 -47
  389. package/lib/src/views/layout/components/Menubar/SidebarItem.vue2.cjs +0 -2
  390. package/lib/src/views/layout/components/Menubar/index.vue.cjs +0 -79
  391. package/lib/src/views/layout/components/Sidebar/Item.vue.cjs +0 -7
  392. package/lib/src/views/layout/components/Sidebar/Item.vue2.cjs +0 -3
  393. package/lib/src/views/layout/components/Sidebar/Link.vue.cjs +0 -9
  394. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue.cjs +0 -16
  395. package/lib/src/views/layout/components/Sidebar/SidebarItem.vue2.cjs +0 -2
  396. package/lib/src/views/layout/components/Sidebar/index.vue.cjs +0 -51
  397. package/lib/src/views/layout/components/iframe-page.vue.cjs +0 -12
  398. package/lib/src/views/layout/components/iframe-page.vue2.cjs +0 -2
  399. package/lib/src/views/layout/components/tabs/tab-content.vue.cjs +0 -60
  400. package/lib/src/views/layout/components/tabs/tab-content.vue2.cjs +0 -2
  401. package/lib/src/views/layout/components/tabs/tab-content.vue3.cjs +0 -2
  402. package/lib/src/views/layout/mixin/ResizeHandler.cjs +0 -14
  403. package/lib/src/views/layout/tab-content-iframe-index.vue.cjs +0 -12
  404. package/lib/src/views/layout/tab-content-iframe-index.vue2.cjs +0 -2
  405. package/lib/src/views/layout/tab-content-index.vue.cjs +0 -22
  406. package/lib/src/views/layout/tab-content-index.vue2.cjs +0 -2
  407. package/lib/src/views/login/authredirect.vue.cjs +0 -6
  408. package/lib/src/views/redirect/index.vue.cjs +0 -17
  409. package/lib/src/views/super-icon/index.cjs +0 -5
  410. package/lib/src/views/super-icon/src/index.vue.cjs +0 -5
  411. package/lib/src/views/super-icon/src/index.vue2.cjs +0 -10
  412. package/lib/src/views/super-icon/src/index.vue3.cjs +0 -2
  413. package/lib/src/views/svg-icon/src/svg-icon.vue.cjs +0 -2
  414. package/lib/src/views/svg-icon/src/svg-icon.vue2.cjs +0 -12
  415. package/lib/src/views/wf-history/tache-subprocess-history.vue.cjs +0 -12
  416. package/lib/src/views/wf-history/tache-subprocess-history.vue2.cjs +0 -2
  417. package/lib/style.css +0 -3103
  418. package/lib/super-grid/index.cjs +0 -5
  419. package/lib/super-grid/src/apis.cjs +0 -477
  420. package/lib/super-grid/src/columns-config.vue.cjs +0 -76
  421. package/lib/super-grid/src/components/grid-icon.vue.cjs +0 -39
  422. package/lib/super-grid/src/components/grid-radio-input.vue.cjs +0 -22
  423. package/lib/super-grid/src/components/grid-radio-input.vue2.cjs +0 -3
  424. package/lib/super-grid/src/components/mobile-table-card.cjs +0 -99
  425. package/lib/super-grid/src/components/select-input.vue.cjs +0 -141
  426. package/lib/super-grid/src/components/select-input.vue2.cjs +0 -3
  427. package/lib/super-grid/src/custom-formatter.cjs +0 -163
  428. package/lib/super-grid/src/dynamic-input.vue.cjs +0 -465
  429. package/lib/super-grid/src/eventBus.cjs +0 -3
  430. package/lib/super-grid/src/events.cjs +0 -35
  431. package/lib/super-grid/src/formValidatorUtil.cjs +0 -106
  432. package/lib/super-grid/src/formatter.cjs +0 -69
  433. package/lib/super-grid/src/group-column.vue.cjs +0 -19
  434. package/lib/super-grid/src/header-context-menu.vue.cjs +0 -12
  435. package/lib/super-grid/src/header-context-menu.vue2.cjs +0 -2
  436. package/lib/super-grid/src/index-column.vue.cjs +0 -19
  437. package/lib/super-grid/src/normal-column-content.vue.cjs +0 -303
  438. package/lib/super-grid/src/normal-column-content.vue2.cjs +0 -2
  439. package/lib/super-grid/src/normal-column.vue.cjs +0 -90
  440. package/lib/super-grid/src/normal-column.vue2.cjs +0 -2
  441. package/lib/super-grid/src/public-methods.cjs +0 -20
  442. package/lib/super-grid/src/row-detail.vue.cjs +0 -11
  443. package/lib/super-grid/src/row-operation.vue.cjs +0 -82
  444. package/lib/super-grid/src/row-operation.vue2.cjs +0 -2
  445. package/lib/super-grid/src/scan-util.cjs +0 -98
  446. package/lib/super-grid/src/search-button.vue.cjs +0 -20
  447. package/lib/super-grid/src/search-condition-input.vue.cjs +0 -13
  448. package/lib/super-grid/src/search-condition-list.vue.cjs +0 -17
  449. package/lib/super-grid/src/search-form-advancedQuery.vue.cjs +0 -106
  450. package/lib/super-grid/src/search-form-advancedQuery.vue2.cjs +0 -2
  451. package/lib/super-grid/src/search-form-dialog.vue.cjs +0 -23
  452. package/lib/super-grid/src/search-form-item.vue.cjs +0 -120
  453. package/lib/super-grid/src/search-form-item.vue2.cjs +0 -2
  454. package/lib/super-grid/src/search-form-mobile.vue.cjs +0 -32
  455. package/lib/super-grid/src/search-form-mobile.vue2.cjs +0 -2
  456. package/lib/super-grid/src/search-form-number.vue.cjs +0 -21
  457. package/lib/super-grid/src/search-form-open.vue.cjs +0 -46
  458. package/lib/super-grid/src/search-form-ordinarySearch.vue.cjs +0 -33
  459. package/lib/super-grid/src/search-form-ordinarySearch.vue2.cjs +0 -2
  460. package/lib/super-grid/src/search-form.vue.cjs +0 -194
  461. package/lib/super-grid/src/search-form.vue2.cjs +0 -2
  462. package/lib/super-grid/src/search-methods.cjs +0 -163
  463. package/lib/super-grid/src/selection-column.vue.cjs +0 -9
  464. package/lib/super-grid/src/store.cjs +0 -3
  465. package/lib/super-grid/src/super-grid-service.cjs +0 -253
  466. package/lib/super-grid/src/super-grid.vue.cjs +0 -1083
  467. package/lib/super-grid/src/super-grid.vue2.cjs +0 -2
  468. package/lib/super-grid/src/utils.cjs +0 -373
  469. package/lib/super-grid/src/view-image-dialog.vue.cjs +0 -60
  470. package/lib/super-icon/index.cjs +0 -5
  471. package/lib/super-icon/src/index.vue.cjs +0 -5
  472. package/lib/super-icon/src/index.vue2.cjs +0 -10
  473. package/lib/super-icon/src/index.vue3.cjs +0 -2
  474. package/lib/super-nine-grid/index.cjs +0 -5
  475. package/lib/super-nine-grid/src/apis.cjs +0 -33
  476. package/lib/super-nine-grid/src/custom-formatter.cjs +0 -33
  477. package/lib/super-nine-grid/src/formatter.cjs +0 -36
  478. package/lib/super-nine-grid/src/search-form-number.vue.cjs +0 -9
  479. package/lib/super-nine-grid/src/search-form.vue.cjs +0 -84
  480. package/lib/super-nine-grid/src/search-form.vue2.cjs +0 -2
  481. package/lib/super-nine-grid/src/search-methods.cjs +0 -47
  482. package/lib/super-nine-grid/src/store.cjs +0 -3
  483. package/lib/super-nine-grid/src/super-grid-service.cjs +0 -35
  484. package/lib/super-nine-grid/src/super-nine-grid.vue.cjs +0 -215
  485. package/lib/super-nine-grid/src/super-nine-grid.vue2.cjs +0 -2
  486. package/lib/super-nine-grid/src/utils.cjs +0 -36
  487. package/lib/svg-icon/index.cjs +0 -5
  488. package/lib/svg-icon/src/svg-icon.vue.cjs +0 -12
  489. package/lib/svg-icon/src/svg-icon.vue2.cjs +0 -2
  490. package/lib/utils/gogocodeTransfer.cjs +0 -28
  491. package/lib/utils/memory-cache-utils.cjs +0 -28
  492. package/lib/utils/organization.cjs +0 -55
  493. package/lib/utils/utils.cjs +0 -85
  494. package/lib/utils/value-set.cjs +0 -92
  495. package/lib/valid-code/index.cjs +0 -5
  496. package/lib/valid-code/src/valid-code.vue.cjs +0 -20
  497. package/lib/valid-code/src/valid-code.vue2.cjs +0 -2
  498. package/lib/workflow-button/index.cjs +0 -5
  499. package/lib/workflow-button/src/workflow-button.vue.cjs +0 -80
  500. package/lib/workflow-history-list/index.cjs +0 -5
  501. package/lib/workflow-history-list/src/api.cjs +0 -5
  502. package/lib/workflow-history-list/src/workflow-history-list.vue.cjs +0 -83
  503. package/lib/workflow-history-list/src/workflow-history-list.vue2.cjs +0 -2
  504. package/lib/workgroup-tree/index.cjs +0 -5
  505. package/lib/workgroup-tree/src/workgroup-tree.vue.cjs +0 -17
  506. package/lib/workgroup-tree-inline/index.cjs +0 -5
  507. package/lib/workgroup-tree-inline/src/search-result.vue.cjs +0 -35
  508. package/lib/workgroup-tree-inline/src/search-result.vue2.cjs +0 -2
  509. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue.cjs +0 -119
  510. package/lib/workgroup-tree-inline/src/workgroup-tree-inline.vue2.cjs +0 -2
  511. package/lib/workgroup-tree-inline/src/workgroup-tree-service.cjs +0 -33
  512. package/lib/workgroup-tree-mobile/index.cjs +0 -5
  513. package/lib/workgroup-tree-mobile/src/dept-result.vue.cjs +0 -14
  514. package/lib/workgroup-tree-mobile/src/dept-result.vue2.cjs +0 -3
  515. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue.cjs +0 -13
  516. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue2.cjs +0 -2
  517. package/lib/workgroup-tree-mobile/src/workgroup-tree-app.vue3.cjs +0 -3
  518. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue.cjs +0 -99
  519. package/lib/workgroup-tree-mobile/src/workgroup-tree-inline-app.vue2.cjs +0 -3
  520. package/lib/workgroup-tree-mobile/src/workgroup-tree-service.cjs +0 -25
  521. package/lib/workgroup-user-tree/index.cjs +0 -5
  522. package/lib/workgroup-user-tree/src/workgroup-user-tree.vue.cjs +0 -17
  523. package/lib/workgroup-user-tree-inline/index.cjs +0 -5
  524. package/lib/workgroup-user-tree-inline/src/search-result.vue.cjs +0 -35
  525. package/lib/workgroup-user-tree-inline/src/search-result.vue2.cjs +0 -2
  526. package/lib/workgroup-user-tree-inline/src/workgroup-tree-inline-service.cjs +0 -71
  527. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue.cjs +0 -163
  528. package/lib/workgroup-user-tree-inline/src/workgroup-user-tree-inline.vue2.cjs +0 -2
  529. package/lib/workgroup-user-tree-mobile/src/dept-path.vue.cjs +0 -13
  530. package/lib/workgroup-user-tree-mobile/src/dept-path.vue2.cjs +0 -3
  531. package/lib/workgroup-user-tree-mobile/src/dept-result.vue.cjs +0 -14
  532. package/lib/workgroup-user-tree-mobile/src/dept-result.vue2.cjs +0 -3
  533. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue.cjs +0 -13
  534. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue2.cjs +0 -2
  535. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-app.vue3.cjs +0 -3
  536. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue.cjs +0 -124
  537. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-inline-app.vue2.cjs +0 -3
  538. package/lib/workgroup-user-tree-mobile/src/workgroup-user-tree-service.cjs +0 -20
  539. package/lib/year-range-picker/index.cjs +0 -5
  540. package/lib/year-range-picker/src/year-range-picker.vue.cjs +0 -11
  541. package/src/api/sso-service.js +0 -222
  542. package/src/api/tab.js +0 -36
  543. package/src/assets/401/401.gif +0 -0
  544. package/src/assets/404/404-cloud.png +0 -0
  545. package/src/assets/404/404.png +0 -0
  546. package/src/assets/chat-embed/background.png +0 -0
  547. package/src/assets/chat-embed/robot.gif +0 -0
  548. package/src/assets/chat-embed/robot.svg +0 -32
  549. package/src/assets/cloud.png +0 -0
  550. package/src/assets/nonemessage.png +0 -0
  551. package/src/assets/tab-selectWhite.png +0 -0
  552. package/src/components/Affix/index.vue +0 -272
  553. package/src/components/Card/index.jsx +0 -227
  554. package/src/components/Scrollbar/index.vue +0 -224
  555. package/src/directives/permission/index.js +0 -14
  556. package/src/directives/permission/permission.js +0 -27
  557. package/src/i18n/i18n.js +0 -16
  558. package/src/i18n/langs/cn.js +0 -344
  559. package/src/i18n/langs/en.js +0 -344
  560. package/src/index.js +0 -22
  561. package/src/mixins/resizeMixin.js +0 -49
  562. package/src/permission.js +0 -252
  563. package/src/plugins.js +0 -18
  564. package/src/router/index.js +0 -92
  565. package/src/store/getters.js +0 -26
  566. package/src/store/index.js +0 -23
  567. package/src/store/modules/app.js +0 -96
  568. package/src/store/modules/chat-ai-store.ts +0 -85
  569. package/src/store/modules/permission.js +0 -143
  570. package/src/store/modules/system.js +0 -35
  571. package/src/store/modules/tab-content.js +0 -42
  572. package/src/store/modules/table.js +0 -76
  573. package/src/store/modules/user.js +0 -448
  574. package/src/utils/auth-api.js +0 -370
  575. package/src/utils/auth.js +0 -194
  576. package/src/utils/calculator/calculator-factory-wf.js +0 -465
  577. package/src/utils/calculator/calculator-factory.js +0 -133
  578. package/src/utils/calculator/calculator-util.js +0 -184
  579. package/src/utils/chat-ai-util.ts +0 -41
  580. package/src/utils/common-util.js +0 -1019
  581. package/src/utils/dingtalk-util.ts +0 -43
  582. package/src/utils/eventBus.js +0 -10
  583. package/src/utils/file-util.ts +0 -42
  584. package/src/utils/global-prop.ts +0 -44
  585. package/src/utils/guid.js +0 -13
  586. package/src/utils/i18n-util.js +0 -145
  587. package/src/utils/iconUtils.js +0 -37
  588. package/src/utils/iframe-communicator.js +0 -234
  589. package/src/utils/index.js +0 -102
  590. package/src/utils/insert_css.js +0 -47
  591. package/src/utils/json-util.ts +0 -85
  592. package/src/utils/jump-page-utils.js +0 -829
  593. package/src/utils/local-storage.js +0 -33
  594. package/src/utils/menu.js +0 -19
  595. package/src/utils/permission.js +0 -126
  596. package/src/utils/permissionAuth.js +0 -311
  597. package/src/utils/range-selector.js +0 -204
  598. package/src/utils/request.js +0 -407
  599. package/src/utils/resize.js +0 -19
  600. package/src/utils/restful-interface-utils.js +0 -57
  601. package/src/utils/util.js +0 -1000
  602. package/src/utils/validate.js +0 -34
  603. package/src/utils/voice-setting-cache.js +0 -497
  604. package/src/utils/watermark-cache.js +0 -13
  605. package/src/utils/watermark.js +0 -119
  606. package/src/utils/workflow-util.js +0 -107
  607. package/src/views/404.vue +0 -248
  608. package/src/views/dsc-component/Sidebar/Item.vue +0 -95
  609. package/src/views/dsc-component/Sidebar/Link.vue +0 -38
  610. package/src/views/dsc-component/Sidebar/SidebarItem.vue +0 -245
  611. package/src/views/dsc-component/Sidebar/index.vue +0 -258
  612. package/src/views/dsc-component/tabs/tab-content.vue +0 -230
  613. package/src/views/error-page/401.vue +0 -106
  614. package/src/views/error-page/404.vue +0 -248
  615. package/src/views/layout/EmptyLayout.vue +0 -3
  616. package/src/views/layout/Layout.vue +0 -85
  617. package/src/views/layout/NewLayout.vue +0 -18
  618. package/src/views/layout/components/AppMain.vue +0 -46
  619. package/src/views/layout/components/Breadcrumb/index.vue +0 -158
  620. package/src/views/layout/components/Menubar/Item.vue +0 -125
  621. package/src/views/layout/components/Menubar/Link.vue +0 -38
  622. package/src/views/layout/components/Menubar/SidebarItem.vue +0 -333
  623. package/src/views/layout/components/Menubar/index.vue +0 -250
  624. package/src/views/layout/components/Sidebar/Item.vue +0 -33
  625. package/src/views/layout/components/Sidebar/Link.vue +0 -38
  626. package/src/views/layout/components/Sidebar/SidebarItem.vue +0 -179
  627. package/src/views/layout/components/Sidebar/index.vue +0 -141
  628. package/src/views/layout/components/iframe-page.vue +0 -38
  629. package/src/views/layout/components/index.js +0 -4
  630. package/src/views/layout/components/tabs/tab-content.vue +0 -273
  631. package/src/views/layout/mixin/ResizeHandler.js +0 -41
  632. package/src/views/layout/tab-content-iframe-index.vue +0 -38
  633. package/src/views/layout/tab-content-index.vue +0 -92
  634. package/src/views/login/authredirect.vue +0 -10
  635. package/src/views/login/index.vue +0 -296
  636. package/src/views/login/update-password.vue +0 -246
  637. package/src/views/redirect/index.vue +0 -14
  638. package/src/views/super-icon/index.js +0 -6
  639. package/src/views/super-icon/src/index.vue +0 -52
  640. package/src/views/svg-icon/index.js +0 -6
  641. package/src/views/svg-icon/src/svg-icon.vue +0 -43
  642. package/src/views/wf-history/tache-subprocess-history.vue +0 -45
  643. package/vite.config.js +0 -103
@@ -1,829 +0,0 @@
1
- import * as Vue from 'vue'
2
- import { analysisCondition, analysisValue, getEntityFieldValue, setEntityFieldValue } from './util'
3
- import { getSystemFrontendUrl, getUuidv4, isMobileBrowser } from './common-util'
4
- // 解析初始化条件,api方法;additionalParamMap是上个页面传过来的附加参数集合
5
- export function initialization(
6
- jumpPage,
7
- entity,
8
- isSql,
9
- additionalParamerter,
10
- contextParameter,
11
- tableName,
12
- parentFormData,
13
- gridParams
14
- ) {
15
- const result = {}
16
- if (jumpPage) {
17
- // 页面附加参数
18
- result.visible = true
19
- let additionalParameterMap = {}
20
- if (additionalParamerter && typeof additionalParamerter === 'string' && additionalParamerter !== '') {
21
- additionalParameterMap = JSON.parse(additionalParamerter)
22
- } else if (additionalParamerter && typeof additionalParamerter === 'object') {
23
- additionalParameterMap = additionalParamerter
24
- }
25
- // 环境变量,例如:当前用户id、当前用户登录名等
26
- let contextParameterMap = {}
27
- if (contextParameter && typeof contextParameter === 'string' && contextParameter !== '') {
28
- contextParameterMap = JSON.parse(contextParameter)
29
- } else if (contextParameter && typeof contextParameter === 'object') {
30
- contextParameterMap = contextParameter
31
- }
32
- if (Array.isArray(jumpPage)) {
33
- for (let i = 0; i < jumpPage.length; i++) {
34
- let enable = false
35
- const jumpPageItem = jumpPage[i]
36
- if (jumpPageItem.jumpConditionType === 'none') {
37
- enable = true
38
- } else if (jumpPageItem.jumpConditionType === 'config') {
39
- if (jumpPageItem.conditions && jumpPageItem.conditions.length > 0) {
40
- const visible = analysisCondition(
41
- JSON.stringify(jumpPageItem.conditions),
42
- entity,
43
- additionalParameterMap,
44
- contextParameterMap,
45
- isSql,
46
- tableName,
47
- parentFormData,
48
- gridParams.pageContext
49
- )
50
- enable = visible ? true : false
51
- } else {
52
- enable = true
53
- }
54
- } else if (jumpPageItem.jumpConditionType === 'customFunc') {
55
- const param = {
56
- row: entity,
57
- additionalParamMap: gridParams.additionalParamMap
58
- }
59
- const funcResult = gridParams.options['eventCallBack'][jumpPageItem.customFunc].call(this, param)
60
- enable = funcResult ? true : false
61
- }
62
- if (enable) {
63
- const jumpPageResult = initialization(
64
- jumpPageItem.jumpPageSetting,
65
- entity,
66
- isSql,
67
- additionalParamerter,
68
- contextParameter,
69
- tableName,
70
- parentFormData,
71
- gridParams
72
- )
73
- if (jumpPageResult && jumpPageResult.visible) {
74
- const res = { ...jumpPageResult }
75
- res.jumpPageSetting = JSON.stringify(jumpPageItem.jumpPageSetting)
76
- res.jumpPageItem = jumpPageItem
77
- return res
78
- }
79
- }
80
- }
81
- return { visible: false }
82
- } else {
83
- result.displayTextJudge = jumpPage.displayTextJudge
84
- if (jumpPage.displayTextJudge) {
85
- // 例如:${obj.menu_code}-#-#${input.---}-#-#${context.currentTransactor}
86
- const label = analysisValue(
87
- jumpPage.displayText,
88
- entity,
89
- additionalParameterMap,
90
- contextParameterMap,
91
- gridParams.pageContext
92
- )
93
- result.label = label
94
- }
95
- if (jumpPage.icon) {
96
- result.icon = jumpPage.icon
97
- }
98
- if (jumpPage.linkTips) {
99
- result.title = jumpPage.linkTips
100
- }
101
- if (jumpPage.buttonDisplayConditionsList) {
102
- let displayJudgment = ''
103
- if (jumpPage.buttonDisplayConditionsList) {
104
- displayJudgment = JSON.stringify(jumpPage.buttonDisplayConditionsList)
105
- }
106
- if (displayJudgment && displayJudgment !== '') {
107
- const visible = analysisCondition(
108
- displayJudgment,
109
- entity,
110
- additionalParameterMap,
111
- contextParameterMap,
112
- isSql,
113
- tableName,
114
- parentFormData,
115
- gridParams.pageContext
116
- )
117
- result.visible = visible
118
- }
119
- }
120
- }
121
- }
122
- return result
123
- }
124
-
125
- /**
126
- * 弹框方法
127
- * @param {*} pageSetting 格式为:
128
- * {
129
- * jumpPageSetting:{
130
- * jumpPageUrl:'弹出的页面编码或路径',
131
- * jumpPageAdditional:{附加参数},
132
- * isNeedId:true/false 是否拼接id参数默认是true,
133
- * jumpPageOpenMode:'popup/newTab/refresh 页面显示方式'
134
- * jumpPageWidth: '500弹框宽度',
135
- * jumpPageHeight: '600弹框高度'
136
- * },
137
- * system:{frontendUrl:'http://localhost:8080/dsc',code:xxx},
138
- * dataId: 1,
139
- * entity:{业务实体信息},
140
- * additionalParamMap:{上个页面传过来的附加参数},
141
- * ids:[1,2],
142
- * parentFormData: {父表单实体,用于解析${parent.xxx}参数}
143
- * }
144
- */
145
- export function openPage(pageSetting) {
146
- if (pageSetting) {
147
- const jumpPageSetting = pageSetting.jumpPageSetting
148
- const system = pageSetting.system
149
- const dataId = pageSetting.dataId
150
- const ids = pageSetting.ids
151
- const buttonCode = pageSetting.buttonCode
152
- // 上个页面传过来的附加参数
153
- const additionalParamMap = pageSetting.additionalParamMap
154
- const entity = pageSetting.entity
155
- const parentFormData = pageSetting.parentFormData
156
- jumpToPage(jumpPageSetting, system, dataId, entity, additionalParamMap, ids, buttonCode, parentFormData).then(
157
- (openPageParams) => {
158
- let jumpMode
159
- if (openPageParams) {
160
- jumpMode = openPageParams.jumpMode
161
- }
162
- if (openPageParams) {
163
- const popPageSetting = openPageParams
164
- const path = popPageSetting._path
165
- if (jumpMode === 'popup') {
166
- let jumpPageWidth
167
- let jumpPageHeight
168
-
169
- if (openPageParams.jumpPageWidth) {
170
- jumpPageWidth = openPageParams.jumpPageWidth
171
- } else {
172
- jumpPageWidth = window.innerWidth - 150
173
- }
174
-
175
- if (openPageParams.jumpPageHeight) {
176
- jumpPageHeight = openPageParams.jumpPageHeight
177
- } else {
178
- jumpPageHeight = window.innerHeight - 150
179
- }
180
- // 弹出页面
181
- window.open(
182
- path,
183
- '',
184
- `height=` +
185
- jumpPageHeight +
186
- `,width=` +
187
- jumpPageWidth +
188
- `,top=100,left=100,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no`
189
- )
190
- } else if (jumpMode === 'refresh') {
191
- window.location.href = path
192
- }
193
- }
194
- }
195
- )
196
- }
197
- }
198
-
199
- // 附加参数中是否设值了ID参数。如果添加了id参数,则不需要自动添加dataId参数
200
- function isHasIdAdditionalParam(jumpPageAdditional) {
201
- if (jumpPageAdditional && jumpPageAdditional.length > 0) {
202
- for (let i = 0; i < jumpPageAdditional.length; i++) {
203
- const item = jumpPageAdditional[i]
204
- if (item.paramName && (item.paramName === 'id' || item.paramName === 'ID')) {
205
- return true
206
- }
207
- }
208
- }
209
- }
210
-
211
- // 页面跳转处理,api方法;additionalParamMap是上个页面传过来的附加参数集合;
212
- // isFromChart 是否是从chart方面来,如果是,则弹窗和刷新页面都用winows方式打开
213
- export function jumpToPage(
214
- jumpPageSetting,
215
- system,
216
- dataId,
217
- entity,
218
- additionalParamMap,
219
- ids,
220
- buttonCode,
221
- parentFormData
222
- ) {
223
- return new Promise((resolve, reject) => {
224
- if (jumpPageSetting && typeof jumpPageSetting === 'string' && jumpPageSetting !== '') {
225
- jumpPageSetting = JSON.parse(jumpPageSetting)
226
- }
227
- if (!jumpPageSetting.jumpPageUrl) {
228
- resolve()
229
- }
230
- getSystem(system, jumpPageSetting.jumpPageUrl, jumpPageSetting.isNewPage, jumpPageSetting)
231
- .then((system) => {
232
- if (
233
- (jumpPageSetting.jumpPageAdditional && jumpPageSetting.jumpPageAdditional.length > 0) ||
234
- (jumpPageSetting.jumpPageTitle && jumpPageSetting.jumpPageTitle.indexOf('${') >= 0)
235
- ) {
236
- // 发送请求,获取附加参数,并存入缓存
237
- const paramPath =
238
- window.$vueApp.config.globalProperties.baseAPI + '/component/super-pages/parsing-additional-parameters'
239
- const paramMap = {}
240
- paramMap.jumpPageAdditional = JSON.stringify(jumpPageSetting.jumpPageAdditional)
241
- paramMap.jumpPageTitle = jumpPageSetting.jumpPageTitle
242
- // 表单页面
243
- paramMap.entity = entity
244
- // 把pageData封装到附加参数中
245
- let pageData = jumpPageSetting._pageData
246
- if (!pageData) {
247
- pageData = {}
248
- }
249
- if (!additionalParamMap) {
250
- additionalParamMap = {}
251
- }
252
- Object.assign(additionalParamMap, pageData)
253
- paramMap.additionalParamMap = additionalParamMap
254
- console.log('paramMap.parentFormData', parentFormData)
255
- paramMap.parentFormData = parentFormData
256
- const isHasIdParam = isHasIdAdditionalParam(jumpPageSetting.jumpPageAdditional)
257
-
258
- window.$vueApp.config.globalProperties.$http.post(paramPath, paramMap).then((result) => {
259
- // 新页面设计中page信息当作附加参数传达跳转到的页面
260
- getParamMapWithPageData(jumpPageSetting, result)
261
- // 存入缓存
262
- jumpToPageTwo(jumpPageSetting, system, dataId, ids, buttonCode, isHasIdParam).then((openPageParams) => {
263
- // openPageParams:xxx弹框打开页面时需要的参数 或 刷新页面时路由查询参数
264
- resolve(openPageParams)
265
- })
266
- })
267
- } else {
268
- // 新页面设计中page信息当作附加参数传达跳转到的页面
269
- getParamMapWithPageData(jumpPageSetting)
270
- jumpToPageTwo(jumpPageSetting, system, dataId, ids, buttonCode, false).then((openPageParams) => {
271
- // openPageParams:xxx弹框打开页面时需要的参数 或 刷新页面时路由查询参数
272
- resolve(openPageParams)
273
- })
274
- }
275
- })
276
- .catch((error) => {
277
- console.log(error)
278
- reject(error)
279
- })
280
- })
281
- }
282
-
283
- // 新页面设计中page信息当作附加参数传达跳转到的页面
284
- function getParamMapWithPageData(jumpPageSetting, paramResult) {
285
- let pageData = jumpPageSetting._pageData
286
- if (!pageData) {
287
- pageData = {}
288
- }
289
- if (!paramResult) {
290
- paramResult = {}
291
- }
292
- if (jumpPageSetting._pageData && Object.keys(jumpPageSetting._pageData).length > 0) {
293
- // 表示新页面中page数据需要作为跳转页面的附加参数
294
- if (!paramResult.uuid) {
295
- paramResult.uuid = getUuidv4()
296
- }
297
- pageData = jumpPageSetting._pageData
298
- }
299
- if (!paramResult.paramMap) {
300
- paramResult.paramMap = {}
301
- }
302
- const paramMap = { ...pageData, ...paramResult.paramMap }
303
- let paramStoreId = ''
304
- if (paramResult && paramResult.uuid) {
305
- paramStoreId = paramResult.uuid + '_additionalParamMap'
306
- window.sessionStorage.setItem(paramStoreId, JSON.stringify(paramMap))
307
- }
308
- jumpPageSetting.paramStoreId = paramStoreId
309
- // 解析标题的值
310
- if (paramResult && paramResult.jumpPageTitle) {
311
- // 格式如:${obj.ID}aasdfd${obj.name}
312
- jumpPageSetting.jumpPageTitle = paramResult.jumpPageTitle
313
- }
314
- }
315
-
316
- function getSystem(system, jumpPageUrl, isNewPage, jumpPageSetting) {
317
- return new Promise((resolve, reject) => {
318
- if (isFullPath(jumpPageUrl)) {
319
- resolve(null)
320
- } else {
321
- if (
322
- !system ||
323
- system === null ||
324
- (jumpPageSetting.jumpSystemCode && jumpPageSetting.jumpSystemCode !== system.code)
325
- ) {
326
- if (jumpPageUrl.indexOf('page:') === 0) {
327
- const pageCode = jumpPageUrl.substring(jumpPageUrl.indexOf('page:') + 'page:'.length)
328
- const path =
329
- window.$vueApp.config.globalProperties.baseAPI +
330
- '/component/business-systems/with-page-codes/' +
331
- pageCode +
332
- '?isNewPage=' +
333
- isNewPage
334
- window.$vueApp.config.globalProperties.$http
335
- .get(path)
336
- .then((data) => {
337
- resolve(data)
338
- })
339
- .catch((error) => {
340
- reject(error)
341
- })
342
- } else {
343
- // 则根据当前系统编码获得系统
344
- let systemCode = window.$vueApp.config.globalProperties.customSystem
345
- if (!systemCode) {
346
- systemCode = window.$vueApp.config.globalProperties.systemCode
347
- }
348
- const path = window.$vueApp.config.globalProperties.baseAPI + '/component/business-systems/' + systemCode
349
- window.$vueApp.config.globalProperties.$http
350
- .get(path)
351
- .then((data) => {
352
- resolve(data)
353
- })
354
- .catch((error) => {
355
- reject(error)
356
- })
357
- }
358
- } else {
359
- resolve(system)
360
- }
361
- }
362
- })
363
- }
364
-
365
- // 表示是全路径
366
- function isFullPath(path) {
367
- return path.indexOf('http:') === 0 || path.indexOf('https:') === 0
368
- }
369
- // 正式跳转
370
- function jumpToPageTwo(jumpPageSetting, system, dataId, ids, buttonCode, isHasIdParam) {
371
- return new Promise((resolve, reject) => {
372
- const jumpPageUrl = jumpPageSetting.jumpPageUrl
373
- if (!jumpPageUrl) {
374
- return
375
- }
376
- const isMobile = isMobileBrowser()
377
- if (jumpPageUrl.indexOf('page:') === 0) {
378
- // 表示是自定义系统跳转页面编码
379
- jumpWithSuperPage(jumpPageUrl, system, dataId, jumpPageSetting, ids, buttonCode, isHasIdParam, isMobile).then(
380
- (openPageParams) => {
381
- resolve(openPageParams)
382
- }
383
- )
384
- } else {
385
- const additionalParameterStr = analysisAdditionalParameter(jumpPageSetting.paramStoreId)
386
- // 表示是路径,格式如:http://www.baidu.com 或 http://localhost:9600/demo/#/demo/plan/list 或 /demo/plan/list
387
- let path = jumpPageUrl
388
- if (jumpPageUrl.indexOf('path:') >= 0) {
389
- // 兼容历史数据
390
- path = jumpPageUrl.substring(jumpPageUrl.indexOf('path:') + 'path:'.length)
391
- }
392
- if (isFullPath(path)) {
393
- // 表示是全路径,例如:http://www.baidu.com 或 http://localhost:9600/demo/#/demo/plan/list
394
- } else if (system) {
395
- // 表示是路由路径,例如:/demo/plan/list
396
- const frontendUrl = getSystemFrontendUrl(system.frontendUrl)
397
- path = frontendUrl + '/#' + path
398
- }
399
- const systemName = getSystemNameWithLanguage(system)
400
- // 移动端时会有返回值
401
- const fullPath = jumpToPageWithFullPath(
402
- dataId,
403
- path,
404
- additionalParameterStr,
405
- jumpPageSetting,
406
- ids,
407
- buttonCode,
408
- isHasIdParam,
409
- systemName,
410
- isMobile
411
- )
412
- if (fullPath) {
413
- // 移动端时返回的全路径
414
- jumpPageSetting._path = fullPath
415
- }
416
- resolve(jumpPageSetting)
417
- }
418
- })
419
- }
420
- /**
421
- * 全路径时跳转页面处理
422
- * @param {*} dataId
423
- * @param {*} path
424
- * @param {*} additionalParameterStr
425
- * @param {*} jumpPage
426
- */
427
- function jumpToPageWithFullPath(
428
- dataId,
429
- path,
430
- additionalParameterStr,
431
- jumpPage,
432
- ids,
433
- buttonCode,
434
- isHasIdParam,
435
- systemName,
436
- isMobile
437
- ) {
438
- path = packagePathParams(dataId, path, jumpPage, ids, buttonCode, isHasIdParam)
439
- // 保持这种情况参数传递,是为了解决不同域时获得不到window.sessionStorage中存的附加参数问题
440
- if (additionalParameterStr && additionalParameterStr !== '') {
441
- let systemNameParam = ''
442
- if (systemName) {
443
- systemNameParam = '&_systemName_=' + encodeURI(systemName)
444
- }
445
- if (path.indexOf('?') !== -1) {
446
- path += '&'
447
- path += additionalParameterStr + systemNameParam
448
- } else {
449
- path += '?'
450
- path += additionalParameterStr + systemNameParam
451
- }
452
- }
453
- if (isMobile) {
454
- // 如果是移动端返回全路径即可
455
- return path
456
- }
457
- let jumpMode = 'refresh'
458
- if (jumpPage) {
459
- if (jumpPage.jumpPageOpenMode) {
460
- jumpMode = jumpPage.jumpPageOpenMode
461
- }
462
- }
463
- if (jumpMode === 'popup') {
464
- // 弹框
465
- let jumpPageWidth
466
- let jumpPageHeight
467
-
468
- if (jumpPage.jumpPageWidth) {
469
- jumpPageWidth = jumpPage.jumpPageWidth
470
- } else {
471
- jumpPageWidth = window.innerWidth - 150
472
- }
473
-
474
- if (jumpPage.jumpPageHeight) {
475
- jumpPageHeight = jumpPage.jumpPageHeight
476
- } else {
477
- jumpPageHeight = window.innerHeight - 150
478
- }
479
- const features =
480
- 'height=' +
481
- jumpPageHeight +
482
- ', width=' +
483
- jumpPageWidth +
484
- ', top=0, left=0, toolbar=no, menubar=no,' +
485
- 'scrollbars=no,resizable=no, location=no, status=no' // 设置新窗口的特性
486
- window.open(path, 'newW', features) // 打开新窗口
487
- } else if (jumpMode === 'newTab') {
488
- // 新页签
489
- window.open(path)
490
- } else {
491
- // 刷新页面
492
- location.href = path
493
- }
494
- }
495
-
496
- // path封装参数
497
- function packagePathParams(dataId, path, jumpPage, ids, buttonCode, isHasIdParam) {
498
- if (jumpPage.isNeedId === undefined || jumpPage.isNeedId === null || jumpPage.isNeedId === true) {
499
- if (!isHasIdParam && dataId) {
500
- // 表示是修改或查看页面,封装id参数
501
- let paramSeparator = '?'
502
- if (path.indexOf('?') > 0) {
503
- paramSeparator = '&'
504
- }
505
- path = path + paramSeparator + 'id=' + dataId
506
- }
507
- }
508
- // window.sessionStorage中存储附加参数的key
509
- const paramStoreId = jumpPage.paramStoreId
510
- if (paramStoreId && paramStoreId !== '') {
511
- const paramStoreIdParam = 'paramStoreId=' + paramStoreId
512
- if (path.indexOf('?') !== -1) {
513
- path += '&'
514
- path += paramStoreIdParam
515
- } else {
516
- path += '?'
517
- path += paramStoreIdParam
518
- }
519
- }
520
- if (ids && ids.length > 0) {
521
- const idsStr = ids.join(',')
522
- const idsPath = 'ids=' + idsStr + '&_idsStr=' + idsStr
523
- if (path.indexOf('?') !== -1) {
524
- path += '&'
525
- path += idsPath
526
- } else {
527
- path += '?'
528
- path += idsPath
529
- }
530
- }
531
- if (buttonCode) {
532
- if (path.indexOf('?') !== -1) {
533
- path += '&buttonCode=' + buttonCode
534
- } else {
535
- path += '?buttonCode=' + buttonCode
536
- }
537
- }
538
- if (jumpPage.isNewPage !== undefined && jumpPage.isNewPage === true) {
539
- let paramSeparator = ''
540
- if (path.indexOf('?') !== -1) {
541
- paramSeparator = '&'
542
- } else {
543
- paramSeparator = '?'
544
- }
545
- path = path + paramSeparator + 'isNewPage=true'
546
- }
547
- return path
548
- }
549
-
550
- function getPageCode(jumpPageUrl) {
551
- let pageCode
552
- if (jumpPageUrl && jumpPageUrl.indexOf('page:') !== -1) {
553
- pageCode = jumpPageUrl.substring(jumpPageUrl.indexOf('page:') + 'page:'.length)
554
- }
555
- return pageCode
556
- }
557
- // 适配移动端跳转页面打开方式
558
- function refreshMobileDialogType(jumpPageSetting, isMobile) {
559
- if (jumpPageSetting && isMobile) {
560
- let openMode = jumpPageSetting.jumpPageMobileOpenMode
561
- if (!openMode) {
562
- if (jumpPageSetting.jumpPageOpenMode) {
563
- // 表示没有配移动端打开方式,根据pc端打开方式适配移动端
564
- openMode = jumpPageSetting.jumpPageOpenMode
565
- if (openMode === 'newTab') {
566
- // 移动端不支持新页签,适配为刷新区域
567
- openMode = 'refresh'
568
- }
569
- } else {
570
- // 表示没有配置任何打开方式,默认是刷新区域
571
- openMode = 'refresh'
572
- }
573
- }
574
- if (openMode === 'refresh') {
575
- // 如果是刷新区域,则解析时为全屏抽屉
576
- jumpPageSetting.dialogType = 'drawer'
577
- jumpPageSetting.jumpPageWidth = '100%'
578
- jumpPageSetting.isRefreshWhenClosePopup = true
579
- }
580
- jumpPageSetting.jumpPageMobileOpenMode = openMode
581
- // if(!jumpPageSetting.jumpPageTitle){
582
- // jumpPageSetting.jumpPageTitle = 'QMS质量管理系统'
583
- // }
584
- }
585
- }
586
-
587
- // 使用页面组件内部调整
588
- function jumpWithSuperPage(jumpPageUrl, system, dataId, jumpPageSetting, ids, buttonCode, isHasIdParam, isMobile) {
589
- return new Promise((resolve, reject) => {
590
- // 表示是自定义系统跳转页面编码
591
- console.log('----jumpWithSuperPage---', jumpPageUrl, system, dataId, jumpPageSetting)
592
- const pageCode = getPageCode(jumpPageUrl)
593
- // 移动端newTab时更新页面打开方式为refresh
594
- refreshMobileDialogType(jumpPageSetting, isMobile)
595
- let jumpMode
596
- if (isMobile && jumpPageSetting && jumpPageSetting.jumpPageMobileOpenMode) {
597
- // 移动端时,获得移动端打开方式
598
- jumpMode = jumpPageSetting.jumpPageMobileOpenMode
599
- }
600
- if (!jumpMode && jumpPageSetting) {
601
- // 移动端没有配置则以 打开方式为准
602
- jumpMode = jumpPageSetting.jumpPageOpenMode
603
- }
604
- if (!jumpMode) {
605
- // 默认是刷新页面
606
- jumpMode = 'refresh'
607
- }
608
- const jumpJsonData = {
609
- jumpMode: jumpMode
610
- }
611
- window.sessionStorage.setItem(pageCode + '-jumpMode', JSON.stringify(jumpJsonData))
612
- if (jumpMode === 'popup') {
613
- const path = packageOpenUrl(system, pageCode, dataId, jumpPageSetting, jumpMode, ids, buttonCode, isHasIdParam)
614
- // 页面布局中的按钮打开
615
- const popPageSetting = openDialogWhenPopup(jumpPageSetting, system, pageCode, dataId, jumpMode, ids, buttonCode)
616
- if (
617
- popPageSetting &&
618
- jumpPageSetting.isRefreshWhenClosePopup !== undefined &&
619
- jumpPageSetting.isRefreshWhenClosePopup !== null
620
- ) {
621
- popPageSetting.isRefreshWhenClosePopup = jumpPageSetting.isRefreshWhenClosePopup
622
- }
623
- popPageSetting._path = path
624
- popPageSetting.customSystem = system.code
625
- resolve(popPageSetting)
626
- } else if (jumpMode === 'newTab') {
627
- // 新页签打开
628
- const path =
629
- packageOpenUrl(system, pageCode, dataId, jumpPageSetting, jumpMode, ids, buttonCode, isHasIdParam) +
630
- '&_t_=' +
631
- new Date().getTime()
632
- const popPageSetting = {
633
- _path: path,
634
- pageCode: pageCode,
635
- customSystem: system.code,
636
- jumpMode: jumpMode
637
- }
638
- console.log('----jumpWithSuperPage---', isMobile, popPageSetting)
639
- if (!isMobile) {
640
- // 不是移动端时直接open打开pc新页签
641
- window.open(path)
642
- }
643
- resolve(popPageSetting)
644
- } else {
645
- // 刷新页面
646
- const queryParam = {
647
- pageCode: pageCode,
648
- customSystem: system.code,
649
- jumpMode: jumpMode,
650
- buttonCode: buttonCode,
651
- ids: ids ? ids.join(',') : ''
652
- }
653
- if (
654
- jumpPageSetting.isNeedId === undefined ||
655
- jumpPageSetting.isNeedId === null ||
656
- jumpPageSetting.isNeedId === true
657
- ) {
658
- if (!isHasIdParam && dataId) {
659
- // 表示是修改或查看页面,封装id参数
660
- queryParam.id = dataId
661
- }
662
- }
663
- const paramStoreId = jumpPageSetting.paramStoreId
664
- if (paramStoreId && paramStoreId !== '') {
665
- queryParam['paramStoreId'] = paramStoreId
666
- }
667
- const path = packageOpenUrl(system, pageCode, dataId, jumpPageSetting, jumpMode, ids, buttonCode, isHasIdParam)
668
- queryParam._path = path
669
- resolve(queryParam)
670
- }
671
- })
672
- }
673
- /**
674
- * 使用dialog打开弹框,页面布局中的按钮、自定义按钮等使用该方法
675
- * @param {*} jumpPageSetting
676
- * @param {*} system
677
- * @param {*} pageCode
678
- * @param {*} dataId
679
- * @param {*} jumpMode
680
- * @param {*} ids
681
- * @param {*} buttonCode
682
- */
683
- function openDialogWhenPopup(jumpPageSetting, system, pageCode, dataId, jumpMode, ids, buttonCode) {
684
- const popPageSetting = {}
685
- if (jumpPageSetting) {
686
- popPageSetting.jumpPageTitle = jumpPageSetting.jumpPageTitle
687
- popPageSetting.jumpPageWidth = jumpPageSetting.jumpPageWidth
688
- popPageSetting.jumpPageHeight = jumpPageSetting.jumpPageHeight
689
- popPageSetting.valueMappings = jumpPageSetting.valueMappings
690
- popPageSetting.updateValueEvent = jumpPageSetting.updateValueEvent
691
- popPageSetting.closeEvent = jumpPageSetting.closeEvent
692
- popPageSetting.isRefreshWhenClosePopup = jumpPageSetting.isRefreshWhenClosePopup
693
- }
694
- // 是否是自定义系统
695
- let isDsc = false
696
- if (typeof system.standard !== 'undefined') {
697
- isDsc = !system.standard
698
- }
699
- popPageSetting.pageCode = pageCode
700
- if (
701
- jumpPageSetting.isNeedId === undefined ||
702
- jumpPageSetting.isNeedId === null ||
703
- jumpPageSetting.isNeedId === true
704
- ) {
705
- if (dataId) {
706
- // 表示是修改或查看页面,封装id参数
707
- popPageSetting.dataId = dataId
708
- }
709
- }
710
- popPageSetting.isDsc = isDsc
711
- // 用于获取window.sessionStorage中缓存的附加参数的key值
712
- popPageSetting.paramStoreId = jumpPageSetting.paramStoreId
713
- // 打开方式
714
- popPageSetting.jumpMode = jumpMode
715
- popPageSetting.ids = ids
716
- popPageSetting.buttonCode = buttonCode
717
- // eventBus.$emit('showDialogPage', buttonSetting)
718
- return popPageSetting
719
- }
720
-
721
- function packageOpenUrl(system, pageCode, dataId, jumpPageSetting, jumpMode, ids, buttonCode, isHasIdParam) {
722
- const frontendUrl = getSystemFrontendUrl(system.frontendUrl)
723
- let path =
724
- frontendUrl +
725
- '/#/dsc-full-screen/page?customSystem=' +
726
- system.code +
727
- '&pageCode=' +
728
- pageCode +
729
- '&jumpMode=' +
730
- jumpMode
731
- const systemName = getSystemNameWithLanguage(system)
732
- if (systemName) {
733
- path += '&_systemName_=' + encodeURI(systemName)
734
- }
735
- return packagePathParams(dataId, path, jumpPageSetting, ids, buttonCode, isHasIdParam)
736
- }
737
-
738
- function getSystemNameWithLanguage(system) {
739
- if (system) {
740
- let locale = 'cn'
741
- if (window.$locale) {
742
- locale = window.$locale
743
- }
744
- if (locale === 'cn') {
745
- return system.name
746
- } else {
747
- return system.enName
748
- }
749
- }
750
- }
751
-
752
- // 解析跳转页面附带参数
753
- function analysisAdditionalParameter(paramStoreId) {
754
- const additionalParamMap = window.sessionStorage.getItem(paramStoreId)
755
- return analysisAdditionalParameterWithMap(additionalParamMap)
756
- }
757
-
758
- // 解析跳转页面附带参数
759
- function analysisAdditionalParameterWithMap(additionalParamMap) {
760
- let additionalParameterStr = ''
761
- if (additionalParamMap) {
762
- const additionalParameterMap = JSON.parse(additionalParamMap)
763
- const keys = Object.keys(additionalParameterMap)
764
- console.log('analysisAdditionalParameterWithMap--Object.keys(additionalParameterMap)=', keys)
765
- for (let i = 0; i < keys.length; i++) {
766
- if (additionalParameterStr !== '') {
767
- additionalParameterStr += '&'
768
- }
769
- additionalParameterStr += keys[i]
770
- additionalParameterStr += '='
771
- additionalParameterStr += additionalParameterMap[keys[i]]
772
- }
773
- }
774
- return additionalParameterStr
775
- }
776
-
777
- export function updateWithPageValue(
778
- sourceModel,
779
- sourceTableName,
780
- jumpPageSetting,
781
- entity,
782
- targetTableName,
783
- isNeedReplaceFieldName
784
- ) {
785
- if (
786
- sourceModel &&
787
- sourceModel !== null &&
788
- entity &&
789
- entity !== null &&
790
- jumpPageSetting &&
791
- jumpPageSetting !== null &&
792
- jumpPageSetting.valueMappings
793
- ) {
794
- let sourceEntity = sourceModel
795
- if (Array.isArray(sourceModel) && sourceModel.length > 0) {
796
- // 弹出框中列表选择了多行时,默认只赋值第一行记录
797
- sourceEntity = sourceModel[0]
798
- }
799
- const valueMappings = jumpPageSetting.valueMappings
800
- valueMappings.forEach((valueMapping) => {
801
- let sourceField = valueMapping.source
802
- let targetValue = getEntityFieldValue(sourceEntity, sourceField)
803
- // sql查询时,会把点“.”改为两个下划线"__"
804
- const replaceDot = '__'
805
- if (targetValue === undefined || targetValue === null) {
806
- // 如果通过字段没有获得字段,则再拼接表名作为字段,重新获得字段值
807
- if (sourceField && sourceTableName && sourceField.indexOf('.') > 0) {
808
- // 表示包括点“.”,需要把两个下划线"__"重新改为点“.”,否则会导致查询报500错误
809
- sourceField = sourceTableName + replaceDot + sourceField
810
- }
811
- // 重新获得字段值
812
- targetValue = getEntityFieldValue(sourceEntity, sourceField)
813
- }
814
-
815
- let targetField = valueMapping.target
816
- if (
817
- isNeedReplaceFieldName !== undefined &&
818
- isNeedReplaceFieldName === true &&
819
- targetField &&
820
- targetTableName &&
821
- targetField.indexOf('.') > 0
822
- ) {
823
- // 表示包括点“.”,需要把两个下划线"__"重新改为点“.”,否则会导致查询报500错误
824
- targetField = targetTableName + replaceDot + targetField
825
- }
826
- setEntityFieldValue(entity, targetField, targetValue)
827
- })
828
- }
829
- }