ztxkui 4.2.18-21 → 4.2.18-220

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 (416) hide show
  1. package/dist/App.js +315 -291
  2. package/dist/Demo.js +64 -43
  3. package/dist/DemoCom/BasicDemo.js +57 -56
  4. package/dist/DemoCom/CodeQueryDemo.js +3 -2
  5. package/dist/DemoCom/CollapseDemo.js +28 -27
  6. package/dist/DemoCom/DragSort.js +11 -10
  7. package/dist/DemoCom/FormDemo.js +36 -30
  8. package/dist/DemoCom/PrintContainerDemo.js +151 -150
  9. package/dist/DemoCom/PrintDemo.js +15 -14
  10. package/dist/DemoCom/SinaturesDemo.js +9 -8
  11. package/dist/DemoCom/SyhDemo.js +21 -20
  12. package/dist/DemoCom/TableAnalyse.js +34 -33
  13. package/dist/DemoCom/TableDemo.js +73 -69
  14. package/dist/DemoCom/TableDemo1.js +84 -34
  15. package/dist/DemoCom/TableDetail.d.ts +9 -0
  16. package/dist/DemoCom/TableDetail.js +259 -0
  17. package/dist/DemoCom/TestCom.js +22 -19
  18. package/dist/DemoCom/data.d.ts +110 -0
  19. package/dist/DemoCom/data.js +2308 -0
  20. package/dist/TableDemo/BasicTable.js +225 -25
  21. package/dist/TableDemo/EditableTable.js +146 -72
  22. package/dist/TableDemo/ModalTable.js +25 -24
  23. package/dist/TableDemo/ProEditableTable.js +30 -29
  24. package/dist/TableDemo/data.d.ts +34 -0
  25. package/dist/TableDemo/data.js +387 -10
  26. package/dist/TableDemo/index.js +3 -3
  27. package/dist/TreeDemo.js +8 -7
  28. package/dist/TreeSelectDemo.js +12 -8
  29. package/dist/UI/Form/index.d.ts +3 -0
  30. package/dist/UI/Form/index.js +347 -0
  31. package/dist/UI/Input/index.d.ts +17 -0
  32. package/dist/UI/Input/index.js +74 -0
  33. package/dist/UI/InputNumber/index.d.ts +3 -0
  34. package/dist/UI/InputNumber/index.js +45 -0
  35. package/dist/UI/OldForm/index.d.ts +9 -0
  36. package/dist/UI/OldForm/index.js +302 -0
  37. package/dist/UI/Select/EmpForQuitDemo.d.ts +15 -0
  38. package/dist/UI/Select/EmpForQuitDemo.js +120 -0
  39. package/dist/UI/Select/index.d.ts +10 -0
  40. package/dist/UI/Select/index.js +207 -0
  41. package/dist/UI/Table/BusinessListDemo.d.ts +15 -0
  42. package/dist/UI/Table/BusinessListDemo.js +227 -0
  43. package/dist/UI/Table/BusinessMemberDemo.d.ts +18 -0
  44. package/dist/UI/Table/BusinessMemberDemo.js +181 -0
  45. package/dist/UI/Table/index.d.ts +10 -0
  46. package/dist/UI/Table/index.js +850 -0
  47. package/dist/UI/TreeSelect/index.d.ts +3 -0
  48. package/dist/UI/TreeSelect/index.js +120 -0
  49. package/dist/UI/index.d.ts +2 -0
  50. package/dist/UI/index.js +34 -0
  51. package/dist/UploadDemo.js +27 -23
  52. package/dist/components/Button/button.d.ts +6 -0
  53. package/dist/components/Button/button.js +11 -4
  54. package/dist/components/Collapse/collapse.js +2 -1
  55. package/dist/components/DatePicker/data-picker.d.ts +3 -1
  56. package/dist/components/EnhanceSelect/index.d.ts +11 -1
  57. package/dist/components/EnhanceSelect/index.js +231 -49
  58. package/dist/components/EnhanceTree/index.js +4 -3
  59. package/dist/components/EnhanceTreeSelect/index.d.ts +5 -1
  60. package/dist/components/EnhanceTreeSelect/index.js +57 -7
  61. package/dist/components/Export/export.js +5 -4
  62. package/dist/components/Form/form.d.ts +11 -1
  63. package/dist/components/Form/form.js +5 -3
  64. package/dist/components/Input/input.d.ts +5 -3
  65. package/dist/components/Input/input.js +72 -3
  66. package/dist/components/InputNumber/input-number.js +3 -2
  67. package/dist/components/Layout/layout.d.ts +4 -4
  68. package/dist/components/Menu/menu.d.ts +1 -1
  69. package/dist/components/NumberCase/index.js +9 -7
  70. package/dist/components/Print/print.js +4 -3
  71. package/dist/components/PrintContainer/AttachPreviewModal.js +3 -2
  72. package/dist/components/PrintContainer/PrintModal.js +4 -3
  73. package/dist/components/PrintContainer/handle.d.ts +2 -4
  74. package/dist/components/PrintContainer/handle.js +3 -2
  75. package/dist/components/PrintContainer/lodop.js +2 -1
  76. package/dist/components/PrintContainer/print-container.js +74 -73
  77. package/dist/components/PrintContainer/service.js +5 -4
  78. package/dist/components/ProForm/hooks.d.ts +23 -0
  79. package/dist/components/ProForm/hooks.js +209 -0
  80. package/dist/components/ProForm/index.d.ts +9 -0
  81. package/dist/components/ProForm/index.js +168 -0
  82. package/dist/components/ProForm/interface.d.ts +200 -0
  83. package/dist/components/ProForm/interface.js +1 -0
  84. package/dist/components/ProForm/item.d.ts +13 -0
  85. package/dist/components/ProForm/item.js +222 -0
  86. package/dist/components/ProForm/items.d.ts +5 -0
  87. package/dist/components/ProForm/items.js +36 -0
  88. package/dist/components/ProForm/record-common-list.d.ts +18 -0
  89. package/dist/components/ProForm/record-common-list.js +83 -0
  90. package/dist/components/ProForm/search-drawer.d.ts +14 -0
  91. package/dist/components/ProForm/search-drawer.js +237 -0
  92. package/dist/components/ProForm/setting.d.ts +5 -0
  93. package/dist/components/ProForm/setting.js +12 -0
  94. package/dist/components/ProForm/useCommonSearch.d.ts +35 -0
  95. package/dist/components/ProForm/useCommonSearch.js +352 -0
  96. package/dist/components/ProFormList/index.d.ts +12 -0
  97. package/dist/components/ProFormList/index.js +34 -0
  98. package/dist/components/RangePicker/range-picker.js +5 -2
  99. package/dist/components/SortableCancel/sortable-cancel.d.ts +1 -0
  100. package/dist/components/SortableCancel/sortable-cancel.js +2 -2
  101. package/dist/components/Table/components/FillDown.js +2 -1
  102. package/dist/components/Table/components/FilterDropdown.d.ts +1 -0
  103. package/dist/components/Table/components/FilterDropdown.js +36 -12
  104. package/dist/components/Table/hooks/useColumns.d.ts +5 -0
  105. package/dist/components/Table/hooks/useColumns.js +396 -22
  106. package/dist/components/Table/hooks/useDropRef.js +2 -1
  107. package/dist/components/Table/hooks/useScuRfresh.d.ts +3 -0
  108. package/dist/components/Table/hooks/useScuRfresh.js +22 -0
  109. package/dist/components/Table/hooks/useSelectSubtotal.js +5 -1
  110. package/dist/components/Table/hooks/useVituralScrollBar.d.ts +10 -0
  111. package/dist/components/Table/hooks/useVituralScrollBar.js +234 -0
  112. package/dist/components/Table/index.d.ts +4 -0
  113. package/dist/components/Table/table-adddel-column.js +4 -3
  114. package/dist/components/Table/table-dynamic.d.ts +1 -0
  115. package/dist/components/Table/table-dynamic.js +447 -60
  116. package/dist/components/Table/table-enhance-cell.d.ts +3 -0
  117. package/dist/components/Table/table-enhance-cell.js +28 -8
  118. package/dist/components/Table/table-menu.d.ts +7 -0
  119. package/dist/components/Table/table-menu.js +359 -0
  120. package/dist/components/Table/table-resizable-title.js +1 -0
  121. package/dist/components/Table/table-sort.js +4 -3
  122. package/dist/components/Table/table.d.ts +16 -0
  123. package/dist/components/Table/table.js +241 -65
  124. package/dist/components/Table/utils/dom.js +2 -1
  125. package/dist/components/Table/utils/filterHandle.d.ts +1 -1
  126. package/dist/components/Table/utils/filterHandle.js +27 -12
  127. package/dist/components/Table/utils/getSummaryData.d.ts +1 -1
  128. package/dist/components/Table/utils/getSummaryData.js +279 -24
  129. package/dist/components/Table/utils/shallowEqual.js +2 -1
  130. package/dist/components/Table/utils/validate.js +25 -6
  131. package/dist/components/Tabs/tabs.d.ts +2 -0
  132. package/dist/components/Tabs/tabs.js +3 -1
  133. package/dist/components/TranslationButton/DownFile.d.ts +7 -0
  134. package/dist/components/TranslationButton/DownFile.js +95 -0
  135. package/dist/components/TranslationButton/PreviewFile.d.ts +5 -0
  136. package/dist/components/TranslationButton/PreviewFile.js +73 -0
  137. package/dist/components/TranslationButton/TranslationButton.d.ts +34 -0
  138. package/dist/components/TranslationButton/TranslationButton.js +245 -0
  139. package/dist/components/TranslationButton/hooks.d.ts +8 -0
  140. package/dist/components/TranslationButton/hooks.js +139 -0
  141. package/dist/components/TranslationButton/index.d.ts +4 -0
  142. package/dist/components/TranslationButton/index.js +4 -0
  143. package/dist/components/TreeSelect/index.d.ts +19 -0
  144. package/dist/components/TreeSelect/index.js +88 -0
  145. package/dist/components/Upload/upload-table.js +31 -26
  146. package/dist/components/Upload/upload.d.ts +20 -1
  147. package/dist/components/Upload/upload.js +172 -27
  148. package/dist/components/Upload/utils.d.ts +9 -2
  149. package/dist/components/Upload/utils.js +153 -38
  150. package/dist/components/UploadCustom/hooks/useDg.d.ts +6 -0
  151. package/dist/components/UploadCustom/hooks/useDg.js +55 -0
  152. package/dist/components/UploadSingle/upload-single.js +5 -4
  153. package/dist/components/Watermark/index.d.ts +2 -0
  154. package/dist/components/Watermark/index.js +2 -0
  155. package/dist/components/Watermark/interface.d.ts +20 -0
  156. package/dist/components/Watermark/interface.js +1 -0
  157. package/dist/components/Watermark/utils.d.ts +1 -0
  158. package/dist/components/Watermark/utils.js +70 -0
  159. package/dist/components/Watermark/water.d.ts +50 -0
  160. package/dist/components/Watermark/water.js +66 -0
  161. package/dist/components/Watermark/watermark-div.d.ts +4 -0
  162. package/dist/components/Watermark/watermark-div.js +41 -0
  163. package/dist/components/Watermark/watermark-shadow.d.ts +6 -0
  164. package/dist/components/Watermark/watermark-shadow.js +116 -0
  165. package/dist/components/Watermark/watermark.d.ts +3 -0
  166. package/dist/components/Watermark/watermark.js +102 -0
  167. package/dist/components/WorkflowPrintContainer/component/Gragh/Gragh.d.ts +9 -0
  168. package/dist/components/WorkflowPrintContainer/component/Gragh/Gragh.js +63 -0
  169. package/dist/components/WorkflowPrintContainer/component/Header.d.ts +12 -0
  170. package/dist/components/WorkflowPrintContainer/component/Header.js +109 -0
  171. package/dist/components/WorkflowPrintContainer/component/ProcessDetail.d.ts +18 -0
  172. package/dist/components/WorkflowPrintContainer/component/ProcessDetail.js +243 -0
  173. package/dist/components/WorkflowPrintContainer/component/Upload/index.d.ts +20 -0
  174. package/dist/components/WorkflowPrintContainer/component/Upload/index.js +59 -0
  175. package/dist/components/WorkflowPrintContainer/component/association/component/TableList.d.ts +10 -0
  176. package/dist/components/WorkflowPrintContainer/component/association/component/TableList.js +75 -0
  177. package/dist/components/WorkflowPrintContainer/component/association/index.d.ts +9 -0
  178. package/dist/components/WorkflowPrintContainer/component/association/index.js +92 -0
  179. package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.d.ts +9 -0
  180. package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.js +38 -0
  181. package/dist/components/WorkflowPrintContainer/component/attention/index.d.ts +10 -0
  182. package/dist/components/WorkflowPrintContainer/component/attention/index.js +95 -0
  183. package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.d.ts +8 -0
  184. package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.js +53 -0
  185. package/dist/components/WorkflowPrintContainer/component/audit/index.d.ts +7 -0
  186. package/dist/components/WorkflowPrintContainer/component/audit/index.js +88 -0
  187. package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.d.ts +9 -0
  188. package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.js +53 -0
  189. package/dist/components/WorkflowPrintContainer/component/previewTable/index.d.ts +11 -0
  190. package/dist/components/WorkflowPrintContainer/component/previewTable/index.js +60 -0
  191. package/dist/components/WorkflowPrintContainer/component/send/component/TableList.d.ts +9 -0
  192. package/dist/components/WorkflowPrintContainer/component/send/component/TableList.js +50 -0
  193. package/dist/components/WorkflowPrintContainer/component/send/index.d.ts +9 -0
  194. package/dist/components/WorkflowPrintContainer/component/send/index.js +92 -0
  195. package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.d.ts +12 -0
  196. package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.js +282 -0
  197. package/dist/components/WorkflowPrintContainer/component/trail/index.d.ts +11 -0
  198. package/dist/components/WorkflowPrintContainer/component/trail/index.js +56 -0
  199. package/dist/components/WorkflowPrintContainer/images.d.ts +2 -0
  200. package/dist/components/WorkflowPrintContainer/images.js +2 -0
  201. package/dist/components/WorkflowPrintContainer/index.d.ts +2 -0
  202. package/dist/components/WorkflowPrintContainer/index.js +2 -0
  203. package/dist/components/WorkflowPrintContainer/service.d.ts +14 -0
  204. package/dist/components/WorkflowPrintContainer/service.js +101 -0
  205. package/dist/components/WorkflowPrintContainer/usePagination.d.ts +14 -0
  206. package/dist/components/WorkflowPrintContainer/usePagination.js +22 -0
  207. package/dist/components/WorkflowPrintContainer/workflow-print-container.d.ts +100 -0
  208. package/dist/components/WorkflowPrintContainer/workflow-print-container.js +236 -0
  209. package/dist/components/ZtIcon/index.js +2 -0
  210. package/dist/components/business/Analyse/index.js +12 -11
  211. package/dist/components/business/CodeQuery/component/SearchForm.js +3 -2
  212. package/dist/components/business/CodeQuery/component/TableList.js +5 -4
  213. package/dist/components/business/CodeQuery/hooks.js +2 -1
  214. package/dist/components/business/CodeQuery/index.js +2 -1
  215. package/dist/components/business/Common/UserForgetPassword/index.js +36 -28
  216. package/dist/components/business/Common/UserInfo/component/MakingForm.js +11 -10
  217. package/dist/components/business/Common/UserInfo/index.js +5 -4
  218. package/dist/components/business/Common/UserPassword/index.js +14 -11
  219. package/dist/components/business/Common/validatePassword.d.ts +1 -1
  220. package/dist/components/business/Common/validatePassword.js +17 -7
  221. package/dist/components/business/DetailCard/index.js +7 -6
  222. package/dist/components/business/DetailHeader/index.js +7 -6
  223. package/dist/components/business/DetailList/index.js +5 -4
  224. package/dist/components/business/DgColumns/index.js +12 -11
  225. package/dist/components/business/ExportButton/index.js +6 -5
  226. package/dist/components/business/Footer/index.js +4 -1
  227. package/dist/components/business/GridList/item.d.ts +1 -1
  228. package/dist/components/business/List/item.d.ts +1 -1
  229. package/dist/components/business/NewList/item.d.ts +1 -1
  230. package/dist/components/business/NewList/item.js +1 -1
  231. package/dist/components/business/OperationBtnGroup/index.js +17 -16
  232. package/dist/components/business/SearchContainer/hooks/useDynamic.d.ts +2 -1
  233. package/dist/components/business/SearchContainer/hooks/useDynamic.js +6 -3
  234. package/dist/components/business/SearchContainer/hooks/useToggle.d.ts +1 -1
  235. package/dist/components/business/SearchContainer/hooks/useToggle.js +31 -12
  236. package/dist/components/business/SearchContainer/record-common-item.d.ts +14 -0
  237. package/dist/components/business/SearchContainer/record-common-item.js +83 -0
  238. package/dist/components/business/SearchContainer/record-common-list.d.ts +3 -0
  239. package/dist/components/business/SearchContainer/record-common-list.js +95 -0
  240. package/dist/components/business/SearchContainer/search-container.d.ts +22 -0
  241. package/dist/components/business/SearchContainer/search-container.js +66 -3
  242. package/dist/components/business/SearchContainer/search-drawer.d.ts +1 -0
  243. package/dist/components/business/SearchContainer/search-drawer.js +167 -13
  244. package/dist/components/business/SearchContainer/search-item.js +48 -5
  245. package/dist/components/business/SearchContainer/search-left.d.ts +8 -0
  246. package/dist/components/business/SearchContainer/search-left.js +105 -68
  247. package/dist/components/business/SearchContainer/search-right.d.ts +4 -0
  248. package/dist/components/business/SearchContainer/search-right.js +62 -5
  249. package/dist/components/business/SearchContainer/useRecordCommonInit.d.ts +18 -0
  250. package/dist/components/business/SearchContainer/useRecordCommonInit.js +258 -0
  251. package/dist/components/business/SearchContainer/useRecordCommonSearch.d.ts +8 -0
  252. package/dist/components/business/SearchContainer/useRecordCommonSearch.js +145 -0
  253. package/dist/components/business/SearchContainer/useRecordCommonSearchContext.d.ts +37 -0
  254. package/dist/components/business/SearchContainer/useRecordCommonSearchContext.js +8 -0
  255. package/dist/components/business/SearchContainer/useTemplate.d.ts +20 -0
  256. package/dist/components/business/SearchContainer/useTemplate.js +347 -0
  257. package/dist/components/business/Signatures/components/AttachOperation.js +7 -6
  258. package/dist/components/business/Signatures/components/CodeModal.d.ts +3 -0
  259. package/dist/components/business/Signatures/components/CodeModal.js +157 -0
  260. package/dist/components/business/Signatures/components/CompareResult.js +7 -6
  261. package/dist/components/business/Signatures/components/DetailTable.js +37 -34
  262. package/dist/components/business/Signatures/components/QunjSeal.js +5 -4
  263. package/dist/components/business/Signatures/components/SealCheckbox.js +3 -2
  264. package/dist/components/business/Signatures/components/TemplateAttach.js +2 -1
  265. package/dist/components/business/Signatures/index.js +64 -53
  266. package/dist/components/business/SortList/sort-drawer.js +5 -4
  267. package/dist/components/business/Template/index.js +11 -10
  268. package/dist/components/electron-signatures/content.d.ts +9 -0
  269. package/dist/components/electron-signatures/content.js +1146 -0
  270. package/dist/components/electron-signatures/demoComponents/coUseDetail.d.ts +8 -0
  271. package/dist/components/electron-signatures/demoComponents/coUseDetail.js +255 -0
  272. package/dist/components/electron-signatures/demoComponents/data.d.ts +58 -0
  273. package/dist/components/electron-signatures/demoComponents/data.js +1307 -0
  274. package/dist/components/electron-signatures/demoComponents/detail.d.ts +6 -0
  275. package/dist/components/electron-signatures/demoComponents/detail.js +283 -0
  276. package/dist/components/electron-signatures/demoComponents/index.d.ts +2 -0
  277. package/dist/components/electron-signatures/demoComponents/index.js +30 -0
  278. package/dist/components/electron-signatures/demoComponents/jgqrd.d.ts +6 -0
  279. package/dist/components/electron-signatures/demoComponents/jgqrd.js +135 -0
  280. package/dist/components/electron-signatures/demoComponents/making.d.ts +6 -0
  281. package/dist/components/electron-signatures/demoComponents/making.js +211 -0
  282. package/dist/components/electron-signatures/demoComponents/makingData.d.ts +675 -0
  283. package/dist/components/electron-signatures/demoComponents/makingData.js +1178 -0
  284. package/dist/components/electron-signatures/demoComponents/newDetail.d.ts +6 -0
  285. package/dist/components/electron-signatures/demoComponents/newDetail.js +283 -0
  286. package/dist/components/electron-signatures/demoComponents/preview.d.ts +3 -0
  287. package/dist/components/electron-signatures/demoComponents/preview.js +9 -0
  288. package/dist/components/electron-signatures/demoComponents/singleQjDetail.d.ts +6 -0
  289. package/dist/components/electron-signatures/demoComponents/singleQjDetail.js +530 -0
  290. package/dist/components/electron-signatures/demoComponents/singleQjMaking.d.ts +6 -0
  291. package/dist/components/electron-signatures/demoComponents/singleQjMaking.js +219 -0
  292. package/dist/components/electron-signatures/demoComponents/test.d.ts +6 -0
  293. package/dist/components/electron-signatures/demoComponents/test.js +119 -0
  294. package/dist/components/electron-signatures/dgComponents/contract-comparison.d.ts +39 -0
  295. package/dist/components/electron-signatures/dgComponents/contract-comparison.js +53 -0
  296. package/dist/components/electron-signatures/dgComponents/file-comparison-btn.d.ts +11 -0
  297. package/dist/components/electron-signatures/dgComponents/file-comparison-btn.js +180 -0
  298. package/dist/components/electron-signatures/dgComponents/new-contract-comparison.d.ts +45 -0
  299. package/dist/components/electron-signatures/dgComponents/new-contract-comparison.js +68 -0
  300. package/dist/components/electron-signatures/dgComponents/useContractColumns.d.ts +21 -0
  301. package/dist/components/electron-signatures/dgComponents/useContractColumns.js +171 -0
  302. package/dist/components/electron-signatures/electron-signatures-fragment.d.ts +8 -0
  303. package/dist/components/electron-signatures/electron-signatures-fragment.js +392 -0
  304. package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.d.ts +52 -0
  305. package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.js +509 -0
  306. package/dist/components/electron-signatures/electronComponents/electron-seal-detail.d.ts +8 -0
  307. package/dist/components/electron-signatures/electronComponents/electron-seal-detail.js +59 -0
  308. package/dist/components/electron-signatures/electronComponents/electron-seal-download.d.ts +16 -0
  309. package/dist/components/electron-signatures/electronComponents/electron-seal-download.js +85 -0
  310. package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.d.ts +9 -0
  311. package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.js +16 -0
  312. package/dist/components/electron-signatures/electronComponents/electron-seal-item-detail.d.ts +15 -0
  313. package/dist/components/electron-signatures/electronComponents/electron-seal-item-detail.js +16 -0
  314. package/dist/components/electron-signatures/electronComponents/electron-seal-item.d.ts +20 -0
  315. package/dist/components/electron-signatures/electronComponents/electron-seal-item.js +47 -0
  316. package/dist/components/electron-signatures/electronComponents/electron-seal-list.d.ts +11 -0
  317. package/dist/components/electron-signatures/electronComponents/electron-seal-list.js +191 -0
  318. package/dist/components/electron-signatures/electronComponents/electron-seal-personal-sign.d.ts +35 -0
  319. package/dist/components/electron-signatures/electronComponents/electron-seal-personal-sign.js +39 -0
  320. package/dist/components/electron-signatures/electronComponents/electron-seal-setting.d.ts +15 -0
  321. package/dist/components/electron-signatures/electronComponents/electron-seal-setting.js +10 -0
  322. package/dist/components/electron-signatures/electronComponents/last-qys-modal.d.ts +7 -0
  323. package/dist/components/electron-signatures/electronComponents/last-qys-modal.js +42 -0
  324. package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.d.ts +3 -0
  325. package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.js +43 -0
  326. package/dist/components/electron-signatures/electronComponents/useElectronColumns.d.ts +30 -0
  327. package/dist/components/electron-signatures/electronComponents/useElectronColumns.js +398 -0
  328. package/dist/components/electron-signatures/electronComponents/useFetchElectronData.d.ts +24 -0
  329. package/dist/components/electron-signatures/electronComponents/useFetchElectronData.js +254 -0
  330. package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.d.ts +3 -0
  331. package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.js +35 -0
  332. package/dist/components/electron-signatures/fileComponents/file-operation.d.ts +7 -0
  333. package/dist/components/electron-signatures/fileComponents/file-operation.js +67 -0
  334. package/dist/components/electron-signatures/fileComponents/file-type-select.d.ts +12 -0
  335. package/dist/components/electron-signatures/fileComponents/file-type-select.js +10 -0
  336. package/dist/components/electron-signatures/fileComponents/file-upload.d.ts +11 -0
  337. package/dist/components/electron-signatures/fileComponents/file-upload.js +146 -0
  338. package/dist/components/electron-signatures/fileComponents/fileUtils.d.ts +17 -0
  339. package/dist/components/electron-signatures/fileComponents/fileUtils.js +36 -0
  340. package/dist/components/electron-signatures/fileComponents/new-file-operation.d.ts +10 -0
  341. package/dist/components/electron-signatures/fileComponents/new-file-operation.js +73 -0
  342. package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.d.ts +13 -0
  343. package/dist/components/electron-signatures/fileComponents/useFetchFileTypeData.js +43 -0
  344. package/dist/components/electron-signatures/fileComponents/useFileColumns.d.ts +38 -0
  345. package/dist/components/electron-signatures/fileComponents/useFileColumns.js +329 -0
  346. package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.d.ts +19 -0
  347. package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.js +72 -0
  348. package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.d.ts +30 -0
  349. package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.js +132 -0
  350. package/dist/components/electron-signatures/hooks/useMergeRecords.d.ts +17 -0
  351. package/dist/components/electron-signatures/hooks/useMergeRecords.js +49 -0
  352. package/dist/components/electron-signatures/hooks/useParseElectronListData.d.ts +49 -0
  353. package/dist/components/electron-signatures/hooks/useParseElectronListData.js +111 -0
  354. package/dist/components/electron-signatures/hooks/useParseElectronSetting.d.ts +111 -0
  355. package/dist/components/electron-signatures/hooks/useParseElectronSetting.js +436 -0
  356. package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.d.ts +40 -0
  357. package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.js +139 -0
  358. package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.d.ts +36 -0
  359. package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.js +48 -0
  360. package/dist/components/electron-signatures/hooks/useParseQunjListData.d.ts +56 -0
  361. package/dist/components/electron-signatures/hooks/useParseQunjListData.js +204 -0
  362. package/dist/components/electron-signatures/hooks/useParseQunjSingleData.d.ts +34 -0
  363. package/dist/components/electron-signatures/hooks/useParseQunjSingleData.js +110 -0
  364. package/dist/components/electron-signatures/hooks/useParseRecords.d.ts +65 -0
  365. package/dist/components/electron-signatures/hooks/useParseRecords.js +165 -0
  366. package/dist/components/electron-signatures/index.d.ts +15 -0
  367. package/dist/components/electron-signatures/index.js +63 -0
  368. package/dist/components/electron-signatures/interface.d.ts +865 -0
  369. package/dist/components/electron-signatures/interface.js +57 -0
  370. package/dist/components/electron-signatures/qunjComponents/qunj-apply.d.ts +6 -0
  371. package/dist/components/electron-signatures/qunjComponents/qunj-apply.js +8 -0
  372. package/dist/components/electron-signatures/qunjComponents/qunj-check.d.ts +21 -0
  373. package/dist/components/electron-signatures/qunjComponents/qunj-check.js +41 -0
  374. package/dist/components/electron-signatures/qunjComponents/qunj-detail.d.ts +35 -0
  375. package/dist/components/electron-signatures/qunjComponents/qunj-detail.js +267 -0
  376. package/dist/components/electron-signatures/qunjComponents/qunj-list.d.ts +24 -0
  377. package/dist/components/electron-signatures/qunjComponents/qunj-list.js +355 -0
  378. package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.d.ts +20 -0
  379. package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.js +66 -0
  380. package/dist/components/electron-signatures/qunjComponents/useQunjColumns.d.ts +36 -0
  381. package/dist/components/electron-signatures/qunjComponents/useQunjColumns.js +321 -0
  382. package/dist/components/electron-signatures/translateComponents/TranslateButton.d.ts +10 -0
  383. package/dist/components/electron-signatures/translateComponents/TranslateButton.js +44 -0
  384. package/dist/components/electron-signatures/translateComponents/useTranslateCom.d.ts +22 -0
  385. package/dist/components/electron-signatures/translateComponents/useTranslateCom.js +50 -0
  386. package/dist/components/electron-signatures/utils.d.ts +26 -0
  387. package/dist/components/electron-signatures/utils.js +67 -0
  388. package/dist/components/utils/MyStorage.d.ts +36 -0
  389. package/dist/components/utils/MyStorage.js +120 -0
  390. package/dist/components/utils/ZtxkContext.d.ts +67 -0
  391. package/dist/components/utils/ZtxkContext.js +20 -0
  392. package/dist/components/utils/checkSealCoUse.d.ts +16 -0
  393. package/dist/components/utils/checkSealCoUse.js +83 -0
  394. package/dist/components/utils/fetch.d.ts +10 -0
  395. package/dist/components/utils/fetch.js +119 -0
  396. package/dist/components/utils/index.d.ts +9 -0
  397. package/dist/components/utils/index.js +11 -0
  398. package/dist/components/utils/processNumber.d.ts +12 -0
  399. package/dist/components/utils/processNumber.js +106 -0
  400. package/dist/components/utils/upload.js +6 -3
  401. package/dist/components/utils/useBaseContext.d.ts +23 -0
  402. package/dist/components/utils/useBaseContext.js +31 -0
  403. package/dist/components/utils/useMemoizedFn.d.ts +4 -0
  404. package/dist/components/utils/useMemoizedFn.js +19 -0
  405. package/dist/components/utils/usePrevious.d.ts +3 -0
  406. package/dist/components/utils/usePrevious.js +13 -0
  407. package/dist/constants.d.ts +1 -1
  408. package/dist/constants.js +1 -1
  409. package/dist/index.css +2205 -58
  410. package/dist/index.css.map +1 -1
  411. package/dist/index.d.ts +12 -1
  412. package/dist/index.js +255 -86
  413. package/dist/locales/en-US.json +828 -0
  414. package/dist/locales/zh-CN.json +828 -0
  415. package/dist/request.js +7 -6
  416. package/package.json +13 -4
@@ -9,6 +9,7 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
+ import i18next from 'ztxkutils/dist/i18next';
12
13
  /**
13
14
  * @author 陈亚雄
14
15
  * @description
@@ -17,42 +18,43 @@ import React, { useState, useCallback, useRef, useEffect } from 'react';
17
18
  // redux
18
19
  // ztxkui公共组件
19
20
  import Table from 'components/Table';
21
+ import { Table as AntTable } from 'antd';
20
22
  import EnhanceSelect from 'components/EnhanceSelect';
21
23
  // 路由配置
22
24
  // store
23
25
  // 自定义组件
24
26
  // 其他文件
25
27
  var companyList = [
26
- { id: '100', name: '百度' },
27
- { id: '200', name: '阿里' },
28
- { id: '300', name: '腾讯' },
28
+ { id: '100', name: i18next.t('百度') },
29
+ { id: '200', name: i18next.t('阿里') },
30
+ { id: '300', name: i18next.t('腾讯') },
29
31
  ];
30
32
  var depListObj = {
31
33
  '100': [
32
- { id: '100100', name: '百度-事业部' },
33
- { id: '100200', name: '百度-电商部' },
34
- { id: '100300', name: '百度-工程部' },
34
+ { id: '100100', name: i18next.t('百度-事业部') },
35
+ { id: '100200', name: i18next.t('百度-电商部') },
36
+ { id: '100300', name: i18next.t('百度-工程部') },
35
37
  ],
36
38
  '200': [
37
- { id: '200100', name: '阿里-事业部' },
38
- { id: '200200', name: '阿里-电商部' },
39
- { id: '200300', name: '阿里-工程部' },
39
+ { id: '200100', name: i18next.t('阿里-事业部') },
40
+ { id: '200200', name: i18next.t('阿里-电商部') },
41
+ { id: '200300', name: i18next.t('阿里-工程部') },
40
42
  ],
41
43
  '300': [
42
- { id: '300100', name: '腾讯-事业部' },
43
- { id: '300200', name: '腾讯-电商部' },
44
- { id: '300300', name: '腾讯-工程部' },
44
+ { id: '300100', name: i18next.t('腾讯-事业部') },
45
+ { id: '300200', name: i18next.t('腾讯-电商部') },
46
+ { id: '300300', name: i18next.t('腾讯-工程部') },
45
47
  ],
46
48
  all: [
47
- { id: '100100', name: '百度-事业部' },
48
- { id: '100200', name: '百度-电商部' },
49
- { id: '100300', name: '百度-工程部' },
50
- { id: '200100', name: '阿里-事业部' },
51
- { id: '200200', name: '阿里-电商部' },
52
- { id: '200300', name: '阿里-工程部' },
53
- { id: '300100', name: '腾讯-事业部' },
54
- { id: '300200', name: '腾讯-电商部' },
55
- { id: '300300', name: '腾讯-工程部' },
49
+ { id: '100100', name: i18next.t('百度-事业部') },
50
+ { id: '100200', name: i18next.t('百度-电商部') },
51
+ { id: '100300', name: i18next.t('百度-工程部') },
52
+ { id: '200100', name: i18next.t('阿里-事业部') },
53
+ { id: '200200', name: i18next.t('阿里-电商部') },
54
+ { id: '200300', name: i18next.t('阿里-工程部') },
55
+ { id: '300100', name: i18next.t('腾讯-事业部') },
56
+ { id: '300200', name: i18next.t('腾讯-电商部') },
57
+ { id: '300300', name: i18next.t('腾讯-工程部') },
56
58
  ],
57
59
  };
58
60
  var TableDemo1 = function () {
@@ -73,7 +75,7 @@ var TableDemo1 = function () {
73
75
  // 表格列配置
74
76
  var columns = [
75
77
  {
76
- title: '序号',
78
+ title: i18next.t('序号'),
77
79
  width: 62,
78
80
  fixed: 'left',
79
81
  align: 'center',
@@ -81,7 +83,7 @@ var TableDemo1 = function () {
81
83
  render: function (_text, _record, index) { return "" + (index + 1); },
82
84
  },
83
85
  {
84
- title: '公司',
86
+ title: i18next.t('公司'),
85
87
  width: 120,
86
88
  key: 'company',
87
89
  dataIndex: 'company',
@@ -89,7 +91,7 @@ var TableDemo1 = function () {
89
91
  return record.company !== preRecord.company;
90
92
  },
91
93
  render: function (_text, _record, index) {
92
- console.log('公司下拉框-render', index);
94
+ console.log(i18next.t('公司下拉框-render'), index);
93
95
  return (React.createElement(EnhanceSelect, { list: companyList, value: _text, onChange: function (value, option, fullData) {
94
96
  var newRecord = {
95
97
  company: value,
@@ -100,7 +102,7 @@ var TableDemo1 = function () {
100
102
  },
101
103
  },
102
104
  {
103
- title: '部门',
105
+ title: i18next.t('部门'),
104
106
  width: 120,
105
107
  key: 'department',
106
108
  dataIndex: 'department',
@@ -109,7 +111,7 @@ var TableDemo1 = function () {
109
111
  record.department !== preRecord.department);
110
112
  },
111
113
  render: function (_text, _record, index) {
112
- console.log('部门下拉框-render', index);
114
+ console.log(i18next.t('部门下拉框-render'), index);
113
115
  var company = _record.company;
114
116
  var depList = depListObj.all;
115
117
  if (company) {
@@ -124,7 +126,7 @@ var TableDemo1 = function () {
124
126
  },
125
127
  },
126
128
  {
127
- title: '输入text',
129
+ title: i18next.t('输入text'),
128
130
  width: 120,
129
131
  key: 'inText',
130
132
  dataIndex: 'inText',
@@ -138,7 +140,7 @@ var TableDemo1 = function () {
138
140
  editable: true,
139
141
  },
140
142
  {
141
- title: '输入text1',
143
+ title: i18next.t('输入text1'),
142
144
  width: 120,
143
145
  key: 'inText1',
144
146
  dataIndex: 'inText1',
@@ -152,7 +154,7 @@ var TableDemo1 = function () {
152
154
  editable: true,
153
155
  },
154
156
  {
155
- title: '输入number',
157
+ title: i18next.t('输入number'),
156
158
  width: 120,
157
159
  key: 'inNumber',
158
160
  dataIndex: 'inNumber',
@@ -169,7 +171,7 @@ var TableDemo1 = function () {
169
171
  },
170
172
  },
171
173
  {
172
- title: '输入number1',
174
+ title: i18next.t('输入number1'),
173
175
  width: 120,
174
176
  key: 'inNumber1',
175
177
  dataIndex: 'inNumber1',
@@ -186,7 +188,7 @@ var TableDemo1 = function () {
186
188
  },
187
189
  },
188
190
  {
189
- title: '下拉框1',
191
+ title: i18next.t('下拉框1'),
190
192
  width: 120,
191
193
  key: 'selector',
192
194
  dataIndex: 'selector',
@@ -194,11 +196,56 @@ var TableDemo1 = function () {
194
196
  return record.selector !== preRecord.selector;
195
197
  },
196
198
  render: function (_text, _record, index) {
197
- console.log('下拉框1-render', index);
199
+ console.log(i18next.t('下拉框1-render'), index);
198
200
  return React.createElement(EnhanceSelect, null);
199
201
  },
200
202
  },
201
203
  ];
204
+ var columns1 = [
205
+ {
206
+ title: '序号',
207
+ width: 62,
208
+ fixed: 'left',
209
+ align: 'center',
210
+ render: function (text, record, index) { return "" + (index + 1); },
211
+ },
212
+ {
213
+ title: '操作时间',
214
+ width: 160,
215
+ align: 'center',
216
+ dataIndex: 'createTime',
217
+ key: 'createTime',
218
+ sorter: function (a, b) {
219
+ return new Date(a.createTime).getTime() - new Date(b.createTime).getTime();
220
+ },
221
+ },
222
+ {
223
+ title: '操作平台',
224
+ width: 100,
225
+ dataIndex: 'mobile',
226
+ key: 'mobile',
227
+ },
228
+ {
229
+ title: '操作人',
230
+ width: 120,
231
+ dataIndex: 'operationName',
232
+ key: 'operationName',
233
+ render: function (text, record, index) { var _a; return text ? text : (_a = record === null || record === void 0 ? void 0 : record.createByName) !== null && _a !== void 0 ? _a : record === null || record === void 0 ? void 0 : record.createBy; },
234
+ },
235
+ {
236
+ title: '操作事项',
237
+ width: 300,
238
+ dataIndex: 'logData',
239
+ key: 'logData',
240
+ ellipsis: false,
241
+ },
242
+ {
243
+ title: '说明',
244
+ dataIndex: 'mark',
245
+ key: 'mark',
246
+ ellipsis: false,
247
+ },
248
+ ];
202
249
  var onEditableSaveHandle = useCallback(function (record, index, _dataIndex) {
203
250
  var _a;
204
251
  if (_dataIndex === void 0) { _dataIndex = ''; }
@@ -212,10 +259,13 @@ var TableDemo1 = function () {
212
259
  }, []);
213
260
  console.log('render');
214
261
  return (React.createElement(React.Fragment, null,
215
- React.createElement(Table, { columns: columns, dataSource: records, rowKey: "id", onEditableSave: onEditableSaveHandle }),
262
+ React.createElement(Table, { columns: columns, dataSource: records, rowKey: "id", onEditableSave: onEditableSaveHandle, scroll: { x: 1000 } }),
263
+ React.createElement(AntTable, { columns: columns, dataSource: records, rowKey: "id", scroll: { x: 1000 } }),
264
+ React.createElement(Table, { columns: columns1, dataSource: records, rowKey: "id", onEditableSave: onEditableSaveHandle }),
265
+ React.createElement(AntTable, { columns: columns1, dataSource: records, rowKey: "id" }),
216
266
  React.createElement("button", { onClick: function () {
217
267
  console.log(records);
218
- } }, "\u83B7\u53D6\u6570\u636E")));
268
+ } }, i18next.t('获取数据'))));
219
269
  };
220
270
  export default TableDemo1;
221
271
  // import React, { useEffect, useState } from 'react';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @author 陈亚雄
3
+ * @description 基础表格,充当列表
4
+ */
5
+ import React from 'react';
6
+ declare const BasicTable: React.FC<{
7
+ dynamicKey?: string;
8
+ }>;
9
+ export default BasicTable;
@@ -0,0 +1,259 @@
1
+ /**
2
+ * @author 陈亚雄
3
+ * @description 基础表格,充当列表
4
+ */
5
+ import React from 'react';
6
+ // redux
7
+ // ztxkui公共组件
8
+ import { Table, NumberCase } from '../index';
9
+ // 路由配置
10
+ // store
11
+ // 自定义组件
12
+ // 其他文件
13
+ import { dataSource } from './data';
14
+ import { toThousand } from 'ztxkutils/dist/tools';
15
+ var tableConfigInfo = {
16
+ test1: {
17
+ isDisplay: false,
18
+ isChangeable: true,
19
+ isRequired: false,
20
+ },
21
+ };
22
+ var BasicTable = function (_a) {
23
+ var dynamicKey = _a.dynamicKey;
24
+ console.log(toThousand(10000.2312));
25
+ console.log(toThousand(toThousand(100.2312)));
26
+ var columns = [
27
+ {
28
+ title: '序号',
29
+ width: 62,
30
+ key: 'index',
31
+ render: function (_text, _record, index) { return "" + (index + 1); },
32
+ },
33
+ {
34
+ title: '测试111',
35
+ width: 100,
36
+ dataIndex: 'test1',
37
+ key: 'test1',
38
+ },
39
+ {
40
+ title: '测试22233',
41
+ width: 100,
42
+ dataIndex: 'test2233',
43
+ key: 'test2233',
44
+ render: function (text, record, index) {
45
+ return 1;
46
+ },
47
+ },
48
+ {
49
+ title: '地址',
50
+ width: 100,
51
+ dataIndex: 'address',
52
+ key: 'address',
53
+ render: function (text, record, index) {
54
+ return record.addressAll + record.address;
55
+ },
56
+ },
57
+ // {
58
+ // title: '库存总计',
59
+ // children: [
60
+ // {
61
+ // title: '财务库存数量',
62
+ // width: 120,
63
+ // dataIndex: 'totalFinanceAvailQuantity',
64
+ // key: 'totalFinanceAvailQuantity',
65
+ // render: (text, record, index) => {
66
+ // if (index % 2 === 0) {
67
+ // return `${index + 2}`;
68
+ // }
69
+ // return `${index + 1}/${index + 2}`;
70
+ // },
71
+ // },
72
+ // {
73
+ // title: '业务库存数量',
74
+ // width: 120,
75
+ // dataIndex: 'totalBusiAvailQuantity',
76
+ // key: 'totalBusiAvailQuantity',
77
+ // render: (text) => 2,
78
+ // },
79
+ // {
80
+ // title: '财务库存金额(不含税)',
81
+ // width: 120,
82
+ // dataIndex: 'totalFinanceStockAmount',
83
+ // key: 'totalFinanceStockAmount',
84
+ // },
85
+ // {
86
+ // title: '业务库存金额(不含税)',
87
+ // width: 120,
88
+ // dataIndex: 'totalBusiStockAmount',
89
+ // key: 'totalBusiStockAmount',
90
+ // },
91
+ // ],
92
+ // },
93
+ // {
94
+ // title: '库存总计1',
95
+ // children: [
96
+ // {
97
+ // title: '财务库存数量',
98
+ // width: 120,
99
+ // dataIndex: 'totalFinanceAvailQuantity',
100
+ // key: 'totalFinanceAvailQuantity',
101
+ // render: (text) => 1,
102
+ // },
103
+ // {
104
+ // title: '业务库存数量',
105
+ // width: 120,
106
+ // dataIndex: 'totalBusiAvailQuantity',
107
+ // key: 'totalBusiAvailQuantity',
108
+ // render: (text) => 2,
109
+ // },
110
+ // {
111
+ // title: '财务库存金额(不含税)',
112
+ // width: 120,
113
+ // dataIndex: 'totalFinanceStockAmount',
114
+ // key: 'totalFinanceStockAmount',
115
+ // },
116
+ // {
117
+ // title: '业务库存金额(不含税)',
118
+ // width: 120,
119
+ // dataIndex: 'totalBusiStockAmount',
120
+ // key: 'totalBusiStockAmount',
121
+ // },
122
+ // ],
123
+ // },
124
+ {
125
+ title: '测试2123',
126
+ width: 100,
127
+ dataIndex: 'test2',
128
+ key: 'test2',
129
+ hideColumn: true,
130
+ },
131
+ {
132
+ title: '测试3',
133
+ width: 100,
134
+ dataIndex: 'test3',
135
+ key: 'test3',
136
+ sorter: false,
137
+ onCell: function () {
138
+ return {
139
+ className: 'test',
140
+ };
141
+ },
142
+ },
143
+ {
144
+ title: '测试4',
145
+ width: 100,
146
+ dataIndex: 'test4',
147
+ key: 'test4',
148
+ },
149
+ {
150
+ title: '测试5',
151
+ width: 100,
152
+ dataIndex: 'test5',
153
+ key: 'test5',
154
+ },
155
+ {
156
+ title: '测试6',
157
+ width: 100,
158
+ dataIndex: 'test6',
159
+ key: 'test6',
160
+ },
161
+ {
162
+ title: '测试7',
163
+ width: 100,
164
+ dataIndex: 'test7',
165
+ key: 'test7',
166
+ },
167
+ {
168
+ title: '测试8',
169
+ width: 100,
170
+ dataIndex: 'test8',
171
+ key: 'test8',
172
+ },
173
+ {
174
+ title: '测试9',
175
+ width: 100,
176
+ dataIndex: 'test9',
177
+ key: 'test9',
178
+ },
179
+ {
180
+ title: '数量',
181
+ width: 100,
182
+ dataIndex: 'test10',
183
+ key: 'test10',
184
+ align: 'center',
185
+ render: function (text, record, index) { return (React.createElement(NumberCase, { num: text }, text)); },
186
+ },
187
+ {
188
+ title: '数量11',
189
+ width: 100,
190
+ dataIndex: 'test101',
191
+ key: 'test101',
192
+ align: 'center',
193
+ },
194
+ {
195
+ title: '测试11',
196
+ width: 100,
197
+ dataIndex: 'test11',
198
+ key: 'test11',
199
+ },
200
+ ];
201
+ // const columns1: ColumnsType<any> = [
202
+ // {
203
+ // title: '流程ID',
204
+ // width: 80,
205
+ // align: 'center',
206
+ // dataIndex: 'associatedProcessInstId',
207
+ // key: 'associatedProcessInstId',
208
+ // },
209
+ // {
210
+ // title: '待退货款N',
211
+ // width: 140,
212
+ // dataIndex: 'pendingRefundAmountTotal',
213
+ // key: 'pendingRefundAmountTotal',
214
+ // render: (text) => toThousand(exactRound(text, 2)),
215
+ // },
216
+ // // {
217
+ // // title: '流程模板',
218
+ // // width: 300,
219
+ // // dataIndex: 'associatedProcessDefName',
220
+ // // key: 'associatedProcessDefName',
221
+ // // },
222
+ // {
223
+ // title: '流程申请人',
224
+ // width: 120,
225
+ // align: 'center',
226
+ // dataIndex: 'associatedProcessApplyPersonName',
227
+ // key: 'associatedProcessApplyPersonName',
228
+ // },
229
+ // {
230
+ // title: '流程申请时间',
231
+ // width: 140,
232
+ // align: 'center',
233
+ // dataIndex: 'associatedProcessApplyTime',
234
+ // key: 'associatedProcessApplyTime',
235
+ // },
236
+ // ];
237
+ return (React.createElement("div", null,
238
+ React.createElement("div", null,
239
+ "\u57FA\u7840\u5C55\u793A\u8868\u683C1\uFF1B",
240
+ React.createElement("br", null),
241
+ React.createElement("b", null, "\u52A8\u6001\u5217\u914D\u7F6E\uFF1B"),
242
+ "\u5982\u679C\u9700\u8981\u7F13\u5B58\u4F4F\u52A8\u6001\u5217\u914D\u7F6E\uFF0C\u9700\u8981\u4F20\u5165showColumnDynamicKey\uFF1B \u8868\u683C\u5185\u90E8\u8FDB\u884C\u4E86\u4F18\u5316\uFF0C\u6570\u636E\u5C06\u5B58\u50A8\u5728\u672C\u5730\u7F13\u5B58\u4E2D\uFF0C\u53EF\u4EE5\u4E0D\u7528\u901A\u8FC7\u5916\u754C\u4F20\u5165\u914D\u7F6E",
243
+ React.createElement("br", null),
244
+ React.createElement("b", null, "\u5217\u4F38\u7F29\uFF1B"),
245
+ "isResizableColumn\u5C5E\u6027\u9ED8\u8BA4\u4E3Atrue\uFF0C\u5982\u679C\u4E0D\u9700\u8981\u5217\u4F38\u7F29\u53EF\u4EE5\u4F20\u5165false"),
246
+ React.createElement(Table, { dataSource: dataSource, columns: columns, rowKey: "id", scroll: { y: 500 },
247
+ // isContextMenu
248
+ showColumnDynamic: true, showColumnDynamicKey: dynamicKey || 'symbol-id-1', configInfo: tableConfigInfo, isNumberInputAlignRight: true, isNumberInputThousandth: true, virtualTableKey: "virtualTableKey",
249
+ // isSort={false}
250
+ // isFilter={false}
251
+ summaryConfig: [
252
+ {
253
+ type: 'subtotal',
254
+ fields: ['test10', 'test101'],
255
+ title: '小计',
256
+ },
257
+ ] })));
258
+ };
259
+ export default BasicTable;
@@ -45,6 +45,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
45
45
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
46
  }
47
47
  };
48
+ import i18next from 'ztxkutils/dist/i18next';
48
49
  import React, { useMemo, useEffect, useState, useImperativeHandle, useCallback, memo, useRef, } from 'react';
49
50
  import Form from '../components/Form';
50
51
  import SearchContainer from '../components/business/SearchContainer';
@@ -246,7 +247,7 @@ var MaterialComp = function (_a) {
246
247
  }
247
248
  })
248
249
  .catch(function (err) {
249
- message.error("\u6839\u636E\u7269\u6599\u53D6\u914D\u7F6E\u4FE1\u606F\u5931\u8D25\uFF0C\u8BF7\u5207\u6362\u91CD\u8BD5!");
250
+ message.error(i18next.t('根据物料取配置信息失败,请切换重试!', {}));
250
251
  });
251
252
  }
252
253
  else {
@@ -336,37 +337,37 @@ var MaterialComp = function (_a) {
336
337
  }, [getKey]);
337
338
  return onlyDetail ? (React.createElement(Row, null,
338
339
  (value === null || value === void 0 ? void 0 : value[getKey('brand')]) ? (React.createElement(Col, { span: 8 },
339
- "\u54C1\u540D\uFF1A",
340
+ i18next.t('品名:'),
340
341
  (value === null || value === void 0 ? void 0 : value[getKey('brand')]) || '')) : (''),
341
342
  (value === null || value === void 0 ? void 0 : value[getKey('texture')]) ? (React.createElement(Col, { span: 8 },
342
- "\u6750\u8D28\uFF1A",
343
+ i18next.t('材质:'),
343
344
  (value === null || value === void 0 ? void 0 : value[getKey('texture')]) || '')) : (''),
344
345
  (value === null || value === void 0 ? void 0 : value[getKey('specification')]) ? (React.createElement(Col, { span: 8 },
345
- "\u89C4\u683C\uFF1A",
346
+ i18next.t('规格:'),
346
347
  (value === null || value === void 0 ? void 0 : value[getKey('specification')]) || '')) : (''),
347
348
  (value === null || value === void 0 ? void 0 : value[getKey('placesteel')]) ? (React.createElement(Col, { span: 8 },
348
- "\u4EA7\u5730\uFF1A",
349
+ i18next.t('产地:'),
349
350
  (value === null || value === void 0 ? void 0 : value[getKey('placesteel')]) || '')) : (''),
350
351
  (value === null || value === void 0 ? void 0 : value[getKey('productModel')]) ? (React.createElement(Col, { span: 8 },
351
- "\u578B\u53F7\uFF1A",
352
+ i18next.t('型号:'),
352
353
  (value === null || value === void 0 ? void 0 : value[getKey('productModel')]) || '')) : (''),
353
354
  (value === null || value === void 0 ? void 0 : value[getKey('workmanship')]) ? (React.createElement(Col, { span: 8 },
354
- "\u5DE5\u827A\uFF1A",
355
+ i18next.t('工艺:'),
355
356
  (value === null || value === void 0 ? void 0 : value[getKey('workmanship')]) || '')) : (''),
356
357
  (value === null || value === void 0 ? void 0 : value[getKey('packingMethod')]) ? (React.createElement(Col, { span: 8 },
357
- "\u5305\u88C5\u65B9\u5F0F\uFF1A",
358
+ i18next.t('包装方式:'),
358
359
  (value === null || value === void 0 ? void 0 : value[getKey('packingMethod')]) || '')) : (''),
359
360
  (value === null || value === void 0 ? void 0 : value[getKey('variety')]) ? (React.createElement(Col, { span: 8 },
360
- "\u54C1\u724C\uFF1A",
361
+ i18next.t('品牌:'),
361
362
  (value === null || value === void 0 ? void 0 : value[getKey('variety')]) || '')) : (''),
362
363
  (value === null || value === void 0 ? void 0 : value[getKey('trademark')]) ? (React.createElement(Col, { span: 8 },
363
- "\u724C\u53F7\uFF1A",
364
+ i18next.t('牌号:'),
364
365
  (value === null || value === void 0 ? void 0 : value[getKey('trademark')]) || '')) : (''),
365
366
  (value === null || value === void 0 ? void 0 : value[getKey('strengthGrade')]) ? (React.createElement(Col, { span: 8 },
366
- "\u5F3A\u5EA6\u7B49\u7EA7\uFF1A",
367
+ i18next.t('强度等级:'),
367
368
  (value === null || value === void 0 ? void 0 : value[getKey('strengthGrade')]) || '')) : (''),
368
369
  (value === null || value === void 0 ? void 0 : value[getKey('purpose')]) ? (React.createElement(Col, { span: 8 },
369
- "\u7528\u9014\uFF1A",
370
+ i18next.t('用途:'),
370
371
  (value === null || value === void 0 ? void 0 : value[getKey('purpose')]) || '')) : (''))) : (React.createElement(Form, { name: "test-list", form: form, className: "table-form" },
371
372
  React.createElement(SearchContainer, null,
372
373
  React.createElement(SearchLeft, { configInfo: configInfo }, Object.keys(aboutFieldObj).map(function (key) {
@@ -402,7 +403,7 @@ var SpecificationsComp = function (_a) {
402
403
  * @description 模态框设置
403
404
  */
404
405
  var dataConfig = function () {
405
- console.log('当前产品层次对应的规格配置', config);
406
+ console.log(i18next.t('当前产品层次对应的规格配置'), config);
406
407
  };
407
408
  /**
408
409
  * @description 模态框关闭隐藏
@@ -436,7 +437,7 @@ var SpecificationsComp = function (_a) {
436
437
  closeModal();
437
438
  }
438
439
  else {
439
- message.info('请填写相关信息!');
440
+ message.info(i18next.t('请填写相关信息!'));
440
441
  }
441
442
  return [3 /*break*/, 3];
442
443
  case 2:
@@ -452,10 +453,10 @@ var SpecificationsComp = function (_a) {
452
453
  }); };
453
454
  return (React.createElement(React.Fragment, null,
454
455
  React.createElement(EnhanceSelect, { url: listDataAbout[objKey].url, params: newParams, defaultList: defaultList, dataKey: "id", titleKey: "specificationName", mustHasParams: "materialId", disabled: disabled, value: value, onChange: onChange, dropdownMatchSelectWidth: 130, isCatch: true, method: "GET", request: request }),
455
- React.createElement(Button, { type: "primary", size: "small", disabled: disabled, onClick: openModal }, "\u65B0\u5EFA"),
456
- React.createElement(Modal, { visible: visible, loading: false, onCancel: closeModal, maskClosable: false, title: "\u9009\u62E9\u89C4\u683C", width: "60%", footer: React.createElement(React.Fragment, null,
457
- React.createElement(Button, { type: "default", onClick: closeModal }, "\u53D6\u6D88"),
458
- React.createElement(Button, { type: "primary", onClick: onSureHandle }, "\u6DFB\u52A0")) },
456
+ React.createElement(Button, { type: "primary", size: "small", disabled: disabled, onClick: openModal }, i18next.t('新建')),
457
+ React.createElement(Modal, { visible: visible, loading: false, onCancel: closeModal, maskClosable: false, title: i18next.t('选择规格'), width: "60%", footer: React.createElement(React.Fragment, null,
458
+ React.createElement(Button, { type: "default", onClick: closeModal }, i18next.t('取消')),
459
+ React.createElement(Button, { type: "primary", onClick: onSureHandle }, i18next.t('添加'))) },
459
460
  React.createElement(Form, { form: form, name: "specifications-form" },
460
461
  React.createElement(SearchContainer, null,
461
462
  React.createElement(SearchLeft, null, Array.isArray(config) &&
@@ -463,7 +464,9 @@ var SpecificationsComp = function (_a) {
463
464
  React.createElement(SearchItem, { label: item.fieldName, name: item.fieldName, rules: [
464
465
  {
465
466
  required: item.isRequired === '1',
466
- message: item.fieldName + "\u672A\u586B!",
467
+ message: i18next.t('{{slot0}}未填!', {
468
+ slot0: item.fieldName,
469
+ }),
467
470
  },
468
471
  ] },
469
472
  React.createElement(Input, { prefix: item.prefix, suffix: item.postfix && item.unit ? (React.createElement("span", null, item.postfix + " " + item.unit)) : item.postfix ? (item.postfix) : (item.unit) })),