ztxkui 4.2.23-430 → 4.2.23-430-i18n

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 (274) hide show
  1. package/dist/Demo.js +230 -228
  2. package/dist/DemoCom/BasicDemo.js +57 -56
  3. package/dist/DemoCom/CodeQueryDemo.js +3 -2
  4. package/dist/DemoCom/CollapseDemo.js +28 -27
  5. package/dist/DemoCom/DragSort.js +11 -10
  6. package/dist/DemoCom/FormDemo.js +119 -118
  7. package/dist/DemoCom/FormDemo1.js +6 -5
  8. package/dist/DemoCom/PrintContainerDemo.js +13 -11
  9. package/dist/DemoCom/PrintDemo.js +15 -14
  10. package/dist/DemoCom/SinaturesDemo.js +11 -10
  11. package/dist/DemoCom/TableAnalyse.js +34 -33
  12. package/dist/DemoCom/TableDemo.js +68 -67
  13. package/dist/DemoCom/TableDemo1.js +34 -33
  14. package/dist/DemoCom/TableDemo2.js +38 -41
  15. package/dist/DemoCom/TestCom.js +22 -19
  16. package/dist/DemoCom/TestDemo.js +8 -7
  17. package/dist/DemoCom/diaobodan.js +59 -58
  18. package/dist/DemoCom/moveTidan.js +46 -45
  19. package/dist/DemoCom/tidan.js +46 -45
  20. package/dist/TableDemo/BasicTable.js +18 -17
  21. package/dist/TableDemo/EditableTable.js +22 -21
  22. package/dist/TableDemo/ElseTable.js +5 -4
  23. package/dist/TableDemo/ModalTable.js +27 -26
  24. package/dist/TableDemo/VirtualTable.js +18 -17
  25. package/dist/TableDemo/data.d.ts +1 -1
  26. package/dist/TableDemo/data.js +11 -10
  27. package/dist/TreeDemo.js +8 -7
  28. package/dist/TreeSelectDemo.js +7 -6
  29. package/dist/UI/Basic/index.js +3 -2
  30. package/dist/UI/ChatRoom/data.d.ts +5 -5
  31. package/dist/UI/ChatRoom/data.js +16 -15
  32. package/dist/UI/ChatRoom/index.js +3 -2
  33. package/dist/UI/Form/index.js +73 -72
  34. package/dist/UI/Modal/hooks.js +14 -13
  35. package/dist/UI/Modal/index.js +5 -4
  36. package/dist/UI/OCRCom/ModalOcr.js +2 -1
  37. package/dist/UI/OCRCom/UserOcr.js +2 -1
  38. package/dist/UI/Table/CheckModal.js +4 -3
  39. package/dist/UI/Table/DefaultTable.js +23 -22
  40. package/dist/UI/Table/EditTable.js +24 -23
  41. package/dist/UI/Table/data.d.ts +2 -2
  42. package/dist/UI/Table/data.js +2 -1
  43. package/dist/UI/Table/hooks.d.ts +1 -1
  44. package/dist/UI/Table/hooks.js +2 -1
  45. package/dist/UI/index.js +12 -11
  46. package/dist/UploadDemo.js +17 -26
  47. package/dist/components/Asr/index.js +2 -1
  48. package/dist/components/Button/button.js +4 -3
  49. package/dist/components/Button/demoComponents/index.js +4 -3
  50. package/dist/components/ChatRoom/components/ChatInput.js +4 -3
  51. package/dist/components/ChatRoom/components/ChatItemTime.js +4 -1
  52. package/dist/components/ChatRoom/components/RoomItem.js +2 -1
  53. package/dist/components/ChatRoom/index.js +2 -1
  54. package/dist/components/Collapse/collapse.js +2 -1
  55. package/dist/components/EnhanceSelect/cacheUtils.js +2 -1
  56. package/dist/components/EnhanceSelect/formInstance.js +4 -3
  57. package/dist/components/EnhanceSelect/index.js +15 -13
  58. package/dist/components/EnhanceTree/index.js +4 -3
  59. package/dist/components/EnhanceTreeSelect/index.js +4 -3
  60. package/dist/components/Export/export.js +5 -4
  61. package/dist/components/Form/form.js +2 -1
  62. package/dist/components/Input/InputModal.js +4 -3
  63. package/dist/components/InputNumber/demoComponents/index.js +2 -1
  64. package/dist/components/InputNumber/input-number.js +3 -2
  65. package/dist/components/NumberCase/demoComponents/test.d.ts +1 -1
  66. package/dist/components/NumberCase/demoComponents/test.js +78 -71
  67. package/dist/components/NumberCase/index.js +29 -29
  68. package/dist/components/OCR/Camera/Container.js +14 -13
  69. package/dist/components/OCR/Camera/cameraUtils.js +3 -2
  70. package/dist/components/OCR/Camera/hooks.js +3 -2
  71. package/dist/components/OCR/Camera/index.js +5 -4
  72. package/dist/components/OCR/Camera/wsCamera.js +5 -4
  73. package/dist/components/OCR/LoadPicture.js +6 -5
  74. package/dist/components/OCR/SelectTemplate.js +3 -2
  75. package/dist/components/OCR/SettingCom.js +20 -19
  76. package/dist/components/OCR/data.d.ts +1 -1
  77. package/dist/components/OCR/data.js +81 -80
  78. package/dist/components/OCR/hooks.js +12 -7
  79. package/dist/components/OCR_COM/Camera/Container.js +13 -12
  80. package/dist/components/OCR_COM/Camera/cameraUtils.js +3 -2
  81. package/dist/components/OCR_COM/Camera/hooks.js +3 -2
  82. package/dist/components/OCR_COM/Camera/index.js +7 -6
  83. package/dist/components/OCR_COM/Camera/wsCamera.js +5 -4
  84. package/dist/components/OCR_COM/DrawerOcr.js +3 -2
  85. package/dist/components/OCR_COM/components/IconGpy.js +2 -1
  86. package/dist/components/OCR_COM/components/IconTop.js +2 -1
  87. package/dist/components/OCR_COM/components/IconUpload.js +2 -1
  88. package/dist/components/OCR_COM/components/ImgPagination.js +6 -5
  89. package/dist/components/OCR_COM/components/Placeholder.js +2 -1
  90. package/dist/components/OCR_COM/components/RectifyImg.js +6 -5
  91. package/dist/components/OCR_COM/components/SettingOcr.js +18 -17
  92. package/dist/components/OCR_COM/components/UploadGroup.js +3 -2
  93. package/dist/components/OCR_COM/components/UploadGroupModal.js +2 -1
  94. package/dist/components/OCR_COM/components/UploadOcr.js +5 -4
  95. package/dist/components/OCR_COM/components/UserList.js +3 -2
  96. package/dist/components/OCR_COM/components/UserOcr.js +3 -2
  97. package/dist/components/OCR_COM/components/UserOcrTable.js +5 -4
  98. package/dist/components/OCR_COM/copyIndex.js +9 -8
  99. package/dist/components/OCR_COM/hooks/useDrawImgFile.js +4 -3
  100. package/dist/components/OCR_COM/hooks/useOcrIdentify.js +3 -2
  101. package/dist/components/OCR_COM/hooks/useRectifyServer.js +3 -2
  102. package/dist/components/OCR_COM/hooks/useSetting.js +5 -4
  103. package/dist/components/OCR_COM/hooks/useUser.js +3 -2
  104. package/dist/components/OCR_COM/index.js +14 -11
  105. package/dist/components/OCR_COM/utils.js +5 -2
  106. package/dist/components/Print/print.js +4 -3
  107. package/dist/components/PrintBox/demoComponents/index.js +16 -12
  108. package/dist/components/PrintBox/hooks/useAutoSeal.js +11 -10
  109. package/dist/components/PrintBox/hooks/useBrowserPrint.js +2 -1
  110. package/dist/components/PrintBox/hooks/useCanExecuteClick.js +3 -2
  111. package/dist/components/PrintBox/hooks/useCreatePdf.js +3 -2
  112. package/dist/components/PrintBox/hooks/useCreateWord.js +2 -1
  113. package/dist/components/PrintBox/hooks/useFont.js +7 -6
  114. package/dist/components/PrintBox/pdf/htmlToPdf.js +2 -1
  115. package/dist/components/PrintBox/pdf/pdf.js +2 -1
  116. package/dist/components/PrintBox/pdf/water.d.ts +3 -3
  117. package/dist/components/PrintBox/pdf/water.js +7 -6
  118. package/dist/components/PrintBox/print-box.js +6 -5
  119. package/dist/components/PrintBox/word/index.js +2 -1
  120. package/dist/components/PrintContainer/AttachPreviewModal.js +3 -2
  121. package/dist/components/PrintContainer/PrintModal.js +4 -3
  122. package/dist/components/PrintContainer/handle.d.ts +2 -4
  123. package/dist/components/PrintContainer/handle.js +3 -2
  124. package/dist/components/PrintContainer/kkJSBridge.js +10 -9
  125. package/dist/components/PrintContainer/lodop.js +2 -1
  126. package/dist/components/PrintContainer/parseParams.js +2 -1
  127. package/dist/components/PrintContainer/print-container.js +77 -77
  128. package/dist/components/PrintContainer/print.d.ts +76 -0
  129. package/dist/components/PrintContainer/print.js +699 -0
  130. package/dist/components/PrintContainer/sealHooks.js +5 -4
  131. package/dist/components/PrintContainer/service.js +19 -15
  132. package/dist/components/PrintContainer/useAboutExport.js +6 -5
  133. package/dist/components/PrintContainer/useFont.js +6 -5
  134. package/dist/components/ProForm/hooks.js +3 -2
  135. package/dist/components/ProForm/index.js +2 -1
  136. package/dist/components/ProForm/item.js +2 -1
  137. package/dist/components/ProForm/search-drawer.js +6 -5
  138. package/dist/components/ProModal/hooks.js +4 -3
  139. package/dist/components/RangePicker/range-picker.js +5 -2
  140. package/dist/components/Table/components/FillDown.js +2 -1
  141. package/dist/components/Table/components/FilterDropdown.js +6 -5
  142. package/dist/components/Table/hooks/useColumns.js +6 -5
  143. package/dist/components/Table/hooks/useSelectSubtotal.js +7 -3
  144. package/dist/components/Table/table-adddel-column.js +4 -3
  145. package/dist/components/Table/table-dynamic.js +9 -8
  146. package/dist/components/Table/table-enhance-cell.js +15 -2
  147. package/dist/components/Table/table-menu.js +6 -4
  148. package/dist/components/Table/table-sort.js +4 -3
  149. package/dist/components/Table/table.js +6 -5
  150. package/dist/components/Table/utils/dom.js +2 -1
  151. package/dist/components/Table/utils/filterHandle.js +14 -11
  152. package/dist/components/Table/utils/getSummaryData.js +3 -2
  153. package/dist/components/Table/utils/shallowEqual.js +2 -1
  154. package/dist/components/Table/utils/validate.js +25 -6
  155. package/dist/components/TranslationButton/DownFile.js +5 -4
  156. package/dist/components/TranslationButton/PreviewFile.js +4 -3
  157. package/dist/components/TranslationButton/TranslationButton.js +10 -9
  158. package/dist/components/TranslationButton/demoComponents/index.js +2 -1
  159. package/dist/components/TranslationButton/hooks.js +2 -1
  160. package/dist/components/Upload/upload-table.js +32 -27
  161. package/dist/components/Upload/upload.js +31 -24
  162. package/dist/components/Upload/useBatchDownload.js +2 -1
  163. package/dist/components/Upload/utils.js +17 -16
  164. package/dist/components/UploadCustom/demoComponents/index.js +23 -22
  165. package/dist/components/UploadCustom/dg-result-button.js +3 -2
  166. package/dist/components/UploadCustom/hooks/useDg.js +9 -8
  167. package/dist/components/UploadCustom/hooks/useFileOperate.js +5 -4
  168. package/dist/components/UploadCustom/index.js +26 -22
  169. package/dist/components/UploadCustom/upload-button-delete.js +4 -3
  170. package/dist/components/UploadCustom/upload-button.js +9 -6
  171. package/dist/components/UploadCustom/upload-custom-table.js +14 -13
  172. package/dist/components/UploadSingle/upload-single.js +5 -4
  173. package/dist/components/WorkflowPrintContainer/component/Header.js +25 -22
  174. package/dist/components/WorkflowPrintContainer/component/ProcessDetail.js +17 -14
  175. package/dist/components/WorkflowPrintContainer/component/association/component/TableList.js +6 -5
  176. package/dist/components/WorkflowPrintContainer/component/association/index.js +3 -2
  177. package/dist/components/WorkflowPrintContainer/component/attention/component/TableList.js +7 -4
  178. package/dist/components/WorkflowPrintContainer/component/attention/index.js +3 -2
  179. package/dist/components/WorkflowPrintContainer/component/audit/component/TableList.js +7 -6
  180. package/dist/components/WorkflowPrintContainer/component/audit/index.js +3 -2
  181. package/dist/components/WorkflowPrintContainer/component/previewTable/component/TableList.js +4 -3
  182. package/dist/components/WorkflowPrintContainer/component/previewTable/index.js +3 -2
  183. package/dist/components/WorkflowPrintContainer/component/send/component/TableList.js +7 -6
  184. package/dist/components/WorkflowPrintContainer/component/send/index.js +3 -2
  185. package/dist/components/WorkflowPrintContainer/component/trail/component/TableList.js +11 -10
  186. package/dist/components/WorkflowPrintContainer/workflow-print-container.js +12 -11
  187. package/dist/components/business/Analyse/index.js +12 -11
  188. package/dist/components/business/CodeQuery/component/SearchForm.js +3 -2
  189. package/dist/components/business/CodeQuery/component/TableList.js +5 -4
  190. package/dist/components/business/CodeQuery/hooks.js +2 -1
  191. package/dist/components/business/CodeQuery/index.js +2 -1
  192. package/dist/components/business/Common/UserForgetPassword/index.js +35 -27
  193. package/dist/components/business/Common/UserInfo/component/MakingForm.js +11 -10
  194. package/dist/components/business/Common/UserInfo/index.js +2 -1
  195. package/dist/components/business/Common/UserPassword/index.js +14 -11
  196. package/dist/components/business/DetailCard/index.js +7 -6
  197. package/dist/components/business/DetailHeader/index.js +7 -6
  198. package/dist/components/business/DetailList/index.js +5 -4
  199. package/dist/components/business/DgColumns/index.js +12 -11
  200. package/dist/components/business/ExportButton/index.js +6 -5
  201. package/dist/components/business/Footer/index.js +4 -1
  202. package/dist/components/business/OperationBtnGroup/index.js +23 -18
  203. package/dist/components/business/SearchContainer/hooks/useDynamic.js +3 -2
  204. package/dist/components/business/SearchContainer/search-drawer.js +6 -5
  205. package/dist/components/business/SearchContainer/search-item.js +2 -1
  206. package/dist/components/business/SearchContainer/search-left.js +2 -1
  207. package/dist/components/business/SearchContainer/search-right.js +4 -3
  208. package/dist/components/business/Signatures/components/AttachOperation.js +8 -7
  209. package/dist/components/business/Signatures/components/CodeModal.js +12 -11
  210. package/dist/components/business/Signatures/components/CompareResult.js +7 -6
  211. package/dist/components/business/Signatures/components/DetailTable.js +50 -45
  212. package/dist/components/business/Signatures/components/QunjSeal.js +5 -4
  213. package/dist/components/business/Signatures/components/SealCheckbox.js +3 -2
  214. package/dist/components/business/Signatures/components/TemplateAttach.js +2 -1
  215. package/dist/components/business/Signatures/index.js +61 -52
  216. package/dist/components/business/SortList/sort-drawer.js +5 -4
  217. package/dist/components/business/Template/index.js +11 -10
  218. package/dist/components/electron-signatures/content.js +44 -36
  219. package/dist/components/electron-signatures/demoComponents/data.js +76 -75
  220. package/dist/components/electron-signatures/demoComponents/detail.js +8 -7
  221. package/dist/components/electron-signatures/demoComponents/index_old.js +12 -11
  222. package/dist/components/electron-signatures/demoComponents/making.js +8 -7
  223. package/dist/components/electron-signatures/demoComponents/makingData.js +15 -14
  224. package/dist/components/electron-signatures/demoComponents/newDetail.js +8 -7
  225. package/dist/components/electron-signatures/demoComponents/singleQjDetail.js +9 -8
  226. package/dist/components/electron-signatures/demoComponents/singleQjMaking.js +9 -8
  227. package/dist/components/electron-signatures/dgComponents/contract-comparison.js +6 -5
  228. package/dist/components/electron-signatures/dgComponents/new-contract-comparison.js +5 -4
  229. package/dist/components/electron-signatures/dgComponents/useContractColumns.js +3 -2
  230. package/dist/components/electron-signatures/electronComponents/electron-seal-batch-download.js +10 -9
  231. package/dist/components/electron-signatures/electronComponents/electron-seal-download.js +4 -3
  232. package/dist/components/electron-signatures/electronComponents/electron-seal-firstLevelPerson.js +4 -1
  233. package/dist/components/electron-signatures/electronComponents/electron-seal-setting.js +3 -2
  234. package/dist/components/electron-signatures/electronComponents/last-qys-modal.js +5 -2
  235. package/dist/components/electron-signatures/electronComponents/useCheckedSealInfoList.js +7 -4
  236. package/dist/components/electron-signatures/electronComponents/useFetchElectronData.js +3 -2
  237. package/dist/components/electron-signatures/electronComponents/useGetDeptInfo.js +3 -2
  238. package/dist/components/electron-signatures/fileComponents/file-operation.js +13 -10
  239. package/dist/components/electron-signatures/fileComponents/file-upload.js +13 -6
  240. package/dist/components/electron-signatures/fileComponents/new-file-operation.js +3 -2
  241. package/dist/components/electron-signatures/fileComponents/useFileTypeColumns.js +2 -1
  242. package/dist/components/electron-signatures/hooks/useGetQjVerifyCode.js +3 -2
  243. package/dist/components/electron-signatures/hooks/useParseElectronListData.js +3 -2
  244. package/dist/components/electron-signatures/hooks/useParseElectronSetting.js +14 -11
  245. package/dist/components/electron-signatures/hooks/useParseIsNeedElectronData.js +4 -3
  246. package/dist/components/electron-signatures/hooks/useParseIsNeedQunjData.js +2 -1
  247. package/dist/components/electron-signatures/hooks/useParseQunjListData.js +7 -6
  248. package/dist/components/electron-signatures/hooks/useParseQunjSingleData.js +5 -4
  249. package/dist/components/electron-signatures/hooks/useParseRecords.js +2 -1
  250. package/dist/components/electron-signatures/index_old.js +49 -41
  251. package/dist/components/electron-signatures/qunjComponents/qunj-check.js +3 -2
  252. package/dist/components/electron-signatures/qunjComponents/qunj-detail.js +13 -12
  253. package/dist/components/electron-signatures/qunjComponents/qunj-list.js +10 -9
  254. package/dist/components/electron-signatures/qunjComponents/useFetchQunjData.js +4 -3
  255. package/dist/components/electron-signatures/qunjComponents/useQunjColumns.js +8 -5
  256. package/dist/components/electron-signatures/translateComponents/useTranslateCom.js +2 -1
  257. package/dist/components/utils/ZtxkContext.js +2 -0
  258. package/dist/components/utils/index.d.ts +2 -0
  259. package/dist/components/utils/index.js +8 -0
  260. package/dist/components/utils/upload.js +6 -3
  261. package/dist/components/utils/useAsr.js +23 -22
  262. package/dist/index.css +19 -1
  263. package/dist/index.css.map +1 -1
  264. package/dist/index.d.ts +1 -2
  265. package/dist/index.js +49 -27
  266. package/dist/initLocale.d.ts +4 -0
  267. package/dist/initLocale.js +46 -0
  268. package/dist/locales/en-US.json +1415 -0
  269. package/dist/locales/zh-CN.json +1415 -0
  270. package/dist/main.d.ts +3 -0
  271. package/dist/main.js +28 -0
  272. package/dist/pages/routes.js +24 -23
  273. package/dist/request.js +6 -5
  274. package/package.json +5 -5
package/dist/Demo.js CHANGED
@@ -1,3 +1,4 @@
1
+ import i18next from 'ztxkutils/dist/i18next';
1
2
  import EnhanceSelect from 'components/EnhanceSelect';
2
3
  import { useEffect, useState } from 'react';
3
4
  import { stringify } from 'qs';
@@ -34,9 +35,9 @@ var defaultList = [
34
35
  levelId: null,
35
36
  levelName: null,
36
37
  depId: '1414852847035002881',
37
- depName: '中拓本部',
38
+ depName: i18next.t('中拓本部'),
38
39
  companyId: '1414851965111283713',
39
- companyName: '浙商中拓集团股份有限公司',
40
+ companyName: i18next.t('浙商中拓集团股份有限公司'),
40
41
  postId: null,
41
42
  postName: null,
42
43
  orgId: 12321,
@@ -55,7 +56,7 @@ var defaultList = [
55
56
  approveUserName: null,
56
57
  isEnableName: null,
57
58
  statusName: null,
58
- sourceName: 'hr系统',
59
+ sourceName: i18next.t('hr系统'),
59
60
  depCode: 'K0ZX',
60
61
  },
61
62
  {
@@ -69,7 +70,7 @@ var defaultList = [
69
70
  isDeleted: 0,
70
71
  xid: null,
71
72
  empNumber: '10002658',
72
- empName: '位静',
73
+ empName: i18next.t('位静'),
73
74
  idCard: '342225199606100022',
74
75
  sex: '2',
75
76
  nativePlace: null,
@@ -85,7 +86,7 @@ var defaultList = [
85
86
  postId: null,
86
87
  postName: null,
87
88
  orgId: 12321,
88
- orgName: '浙商中拓纪检审计部',
89
+ orgName: i18next.t('浙商中拓纪检审计部'),
89
90
  sapOrgCode: '10008061',
90
91
  sort: '001900151817',
91
92
  remark: '10000',
@@ -95,12 +96,12 @@ var defaultList = [
95
96
  isCreateUser: '0',
96
97
  source: 2,
97
98
  avatar: null,
98
- createUserName: '管理员',
99
- updateUserName: '吴海山',
99
+ createUserName: i18next.t('管理员'),
100
+ updateUserName: i18next.t('吴海山'),
100
101
  approveUserName: null,
101
102
  isEnableName: null,
102
- statusName: '已生效',
103
- sourceName: 'hr系统',
103
+ statusName: i18next.t('已生效'),
104
+ sourceName: i18next.t('hr系统'),
104
105
  depCode: 'K0ZX',
105
106
  },
106
107
  {
@@ -114,7 +115,7 @@ var defaultList = [
114
115
  isDeleted: 0,
115
116
  xid: null,
116
117
  empNumber: '00017089',
117
- empName: '李富丰',
118
+ empName: i18next.t('李富丰'),
118
119
  idCard: null,
119
120
  sex: null,
120
121
  nativePlace: null,
@@ -124,11 +125,11 @@ var defaultList = [
124
125
  levelId: null,
125
126
  levelName: null,
126
127
  depId: '1295909488001540097',
127
- depName: '业务一部',
128
+ depName: i18next.t('业务一部'),
128
129
  companyId: '1397074605412696066',
129
- companyName: '浙商中拓集团物流科技有限公司',
130
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
130
131
  postId: '1123598817738675208',
131
- postName: '普通员工',
132
+ postName: i18next.t('普通员工'),
132
133
  orgId: 12321,
133
134
  orgName: null,
134
135
  sapOrgCode: null,
@@ -140,12 +141,12 @@ var defaultList = [
140
141
  isCreateUser: '0',
141
142
  source: 1,
142
143
  avatar: null,
143
- createUserName: '管理员',
144
- updateUserName: '黄琳',
145
- approveUserName: '黄琳',
144
+ createUserName: i18next.t('管理员'),
145
+ updateUserName: i18next.t('黄琳'),
146
+ approveUserName: i18next.t('黄琳'),
146
147
  isEnableName: null,
147
148
  statusName: null,
148
- sourceName: '运管自建',
149
+ sourceName: i18next.t('运管自建'),
149
150
  depCode: 'K0L1',
150
151
  },
151
152
  {
@@ -159,7 +160,7 @@ var defaultList = [
159
160
  isDeleted: 0,
160
161
  xid: null,
161
162
  empNumber: '00017089',
162
- empName: '肖超坚',
163
+ empName: i18next.t('肖超坚'),
163
164
  idCard: null,
164
165
  sex: null,
165
166
  nativePlace: null,
@@ -169,11 +170,11 @@ var defaultList = [
169
170
  levelId: null,
170
171
  levelName: null,
171
172
  depId: '1295909488001540097',
172
- depName: '业务一部',
173
+ depName: i18next.t('业务一部'),
173
174
  companyId: '1397074605412696066',
174
- companyName: '浙商中拓集团物流科技有限公司',
175
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
175
176
  postId: '1123598817738675202',
176
- postName: '首席运营官',
177
+ postName: i18next.t('首席运营官'),
177
178
  orgId: 12321,
178
179
  orgName: null,
179
180
  sapOrgCode: null,
@@ -185,12 +186,12 @@ var defaultList = [
185
186
  isCreateUser: '0',
186
187
  source: 1,
187
188
  avatar: null,
188
- createUserName: '管理员',
189
- updateUserName: '黄琳',
190
- approveUserName: '黄琳',
189
+ createUserName: i18next.t('管理员'),
190
+ updateUserName: i18next.t('黄琳'),
191
+ approveUserName: i18next.t('黄琳'),
191
192
  isEnableName: null,
192
193
  statusName: null,
193
- sourceName: '运管自建',
194
+ sourceName: i18next.t('运管自建'),
194
195
  depCode: 'K0L1',
195
196
  },
196
197
  {
@@ -204,7 +205,7 @@ var defaultList = [
204
205
  isDeleted: 0,
205
206
  xid: null,
206
207
  empNumber: '00017089',
207
- empName: '郑超',
208
+ empName: i18next.t('郑超'),
208
209
  idCard: null,
209
210
  sex: null,
210
211
  nativePlace: null,
@@ -214,11 +215,11 @@ var defaultList = [
214
215
  levelId: null,
215
216
  levelName: null,
216
217
  depId: '1295909488001540097',
217
- depName: '业务一部',
218
+ depName: i18next.t('业务一部'),
218
219
  companyId: '1397074605412696066',
219
- companyName: '浙商中拓集团物流科技有限公司',
220
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
220
221
  postId: '1123598817738675205',
221
- postName: '首席信息官',
222
+ postName: i18next.t('首席信息官'),
222
223
  orgId: 12321,
223
224
  orgName: null,
224
225
  sapOrgCode: null,
@@ -230,12 +231,12 @@ var defaultList = [
230
231
  isCreateUser: '0',
231
232
  source: 1,
232
233
  avatar: null,
233
- createUserName: '管理员',
234
- updateUserName: '黄琳',
235
- approveUserName: '黄琳',
234
+ createUserName: i18next.t('管理员'),
235
+ updateUserName: i18next.t('黄琳'),
236
+ approveUserName: i18next.t('黄琳'),
236
237
  isEnableName: null,
237
238
  statusName: null,
238
- sourceName: '运管自建',
239
+ sourceName: i18next.t('运管自建'),
239
240
  depCode: 'K0L1',
240
241
  },
241
242
  {
@@ -249,7 +250,7 @@ var defaultList = [
249
250
  isDeleted: 0,
250
251
  xid: null,
251
252
  empNumber: '00017089',
252
- empName: '张凡',
253
+ empName: i18next.t('张凡'),
253
254
  idCard: null,
254
255
  sex: null,
255
256
  nativePlace: null,
@@ -259,9 +260,9 @@ var defaultList = [
259
260
  levelId: null,
260
261
  levelName: null,
261
262
  depId: '1295909488001540097',
262
- depName: '业务一部',
263
+ depName: i18next.t('业务一部'),
263
264
  companyId: '1397074605412696066',
264
- companyName: '浙商中拓集团物流科技有限公司',
265
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
265
266
  postId: null,
266
267
  postName: null,
267
268
  orgId: 12321,
@@ -275,12 +276,12 @@ var defaultList = [
275
276
  isCreateUser: '0',
276
277
  source: 1,
277
278
  avatar: null,
278
- createUserName: '黄琳',
279
- updateUserName: '管理员',
280
- approveUserName: '黄琳',
279
+ createUserName: i18next.t('黄琳'),
280
+ updateUserName: i18next.t('管理员'),
281
+ approveUserName: i18next.t('黄琳'),
281
282
  isEnableName: null,
282
283
  statusName: null,
283
- sourceName: '运管自建',
284
+ sourceName: i18next.t('运管自建'),
284
285
  depCode: 'K0L1',
285
286
  },
286
287
  {
@@ -294,7 +295,7 @@ var defaultList = [
294
295
  isDeleted: 0,
295
296
  xid: null,
296
297
  empNumber: '00017089',
297
- empName: '周慧舒',
298
+ empName: i18next.t('周慧舒'),
298
299
  idCard: null,
299
300
  sex: null,
300
301
  nativePlace: null,
@@ -306,9 +307,9 @@ var defaultList = [
306
307
  depId: '1295909488001540097',
307
308
  depName: null,
308
309
  companyId: '1397074605412696066',
309
- companyName: '浙商中拓集团物流科技有限公司',
310
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
310
311
  postId: '1123598817738675208',
311
- postName: '普通员工',
312
+ postName: i18next.t('普通员工'),
312
313
  orgId: 12321,
313
314
  orgName: null,
314
315
  sapOrgCode: null,
@@ -320,12 +321,12 @@ var defaultList = [
320
321
  isCreateUser: '0',
321
322
  source: 1,
322
323
  avatar: null,
323
- createUserName: '管理员',
324
- updateUserName: '管理员',
325
- approveUserName: '管理员',
324
+ createUserName: i18next.t('管理员'),
325
+ updateUserName: i18next.t('管理员'),
326
+ approveUserName: i18next.t('管理员'),
326
327
  isEnableName: null,
327
328
  statusName: null,
328
- sourceName: '运管自建',
329
+ sourceName: i18next.t('运管自建'),
329
330
  depCode: 'K0L1',
330
331
  },
331
332
  {
@@ -339,7 +340,7 @@ var defaultList = [
339
340
  isDeleted: 0,
340
341
  xid: null,
341
342
  empNumber: '00017089',
342
- empName: '金有富',
343
+ empName: i18next.t('金有富'),
343
344
  idCard: null,
344
345
  sex: null,
345
346
  nativePlace: null,
@@ -349,11 +350,11 @@ var defaultList = [
349
350
  levelId: null,
350
351
  levelName: null,
351
352
  depId: '1397081930328424449',
352
- depName: '业务一部',
353
+ depName: i18next.t('业务一部'),
353
354
  companyId: '1397074605412696066',
354
- companyName: '浙商中拓集团物流科技有限公司',
355
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
355
356
  postId: '1123598817738675208',
356
- postName: '普通员工',
357
+ postName: i18next.t('普通员工'),
357
358
  orgId: 12321,
358
359
  orgName: null,
359
360
  sapOrgCode: null,
@@ -365,12 +366,12 @@ var defaultList = [
365
366
  isCreateUser: '0',
366
367
  source: 1,
367
368
  avatar: null,
368
- createUserName: '管理员',
369
- updateUserName: '管理员',
370
- approveUserName: '管理员',
369
+ createUserName: i18next.t('管理员'),
370
+ updateUserName: i18next.t('管理员'),
371
+ approveUserName: i18next.t('管理员'),
371
372
  isEnableName: null,
372
- statusName: '已生效',
373
- sourceName: '运管自建',
373
+ statusName: i18next.t('已生效'),
374
+ sourceName: i18next.t('运管自建'),
374
375
  depCode: 'BM2108001',
375
376
  },
376
377
  {
@@ -384,7 +385,7 @@ var defaultList = [
384
385
  isDeleted: 0,
385
386
  xid: null,
386
387
  empNumber: '00017104',
387
- empName: '罗永',
388
+ empName: i18next.t('罗永'),
388
389
  idCard: null,
389
390
  sex: null,
390
391
  nativePlace: null,
@@ -394,13 +395,13 @@ var defaultList = [
394
395
  levelId: null,
395
396
  levelName: null,
396
397
  depId: '1262995786302324738',
397
- depName: '开发一部',
398
+ depName: i18next.t('开发一部'),
398
399
  companyId: '1397074605412696066',
399
- companyName: '浙商中拓集团物流科技有限公司',
400
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
400
401
  postId: null,
401
402
  postName: null,
402
403
  orgId: 12321,
403
- orgName: '湖南中拓信息科技有限公司',
404
+ orgName: i18next.t('湖南中拓信息科技有限公司'),
404
405
  sapOrgCode: null,
405
406
  sort: '99999999999',
406
407
  remark: '10000',
@@ -410,12 +411,12 @@ var defaultList = [
410
411
  isCreateUser: '0',
411
412
  source: 1,
412
413
  avatar: null,
413
- createUserName: '周丹',
414
- updateUserName: '周丹',
415
- approveUserName: '周丹',
414
+ createUserName: i18next.t('周丹'),
415
+ updateUserName: i18next.t('周丹'),
416
+ approveUserName: i18next.t('周丹'),
416
417
  isEnableName: null,
417
418
  statusName: null,
418
- sourceName: '运管自建',
419
+ sourceName: i18next.t('运管自建'),
419
420
  depCode: 'K041',
420
421
  },
421
422
  {
@@ -429,7 +430,7 @@ var defaultList = [
429
430
  isDeleted: 0,
430
431
  xid: null,
431
432
  empNumber: '00016509',
432
- empName: '袁仁军',
433
+ empName: i18next.t('袁仁军'),
433
434
  idCard: '330106197109074014',
434
435
  sex: '1',
435
436
  nativePlace: null,
@@ -445,7 +446,7 @@ var defaultList = [
445
446
  postId: null,
446
447
  postName: null,
447
448
  orgId: 12321,
448
- orgName: '浙商中拓公司领导',
449
+ orgName: i18next.t('浙商中拓公司领导'),
449
450
  sapOrgCode: '00016572',
450
451
  sort: '000300000001',
451
452
  remark: '1',
@@ -455,12 +456,12 @@ var defaultList = [
455
456
  isCreateUser: '0',
456
457
  source: 2,
457
458
  avatar: '1467033532509933569',
458
- createUserName: '管理员',
459
- updateUserName: '吴海山',
459
+ createUserName: i18next.t('管理员'),
460
+ updateUserName: i18next.t('吴海山'),
460
461
  approveUserName: null,
461
462
  isEnableName: null,
462
- statusName: '已生效',
463
- sourceName: 'hr系统',
463
+ statusName: i18next.t('已生效'),
464
+ sourceName: i18next.t('hr系统'),
464
465
  depCode: 'K0L1',
465
466
  },
466
467
  {
@@ -474,7 +475,7 @@ var defaultList = [
474
475
  isDeleted: 0,
475
476
  xid: null,
476
477
  empNumber: '00017089',
477
- empName: '黄鹏达',
478
+ empName: i18next.t('黄鹏达'),
478
479
  idCard: null,
479
480
  sex: null,
480
481
  nativePlace: null,
@@ -484,11 +485,11 @@ var defaultList = [
484
485
  levelId: null,
485
486
  levelName: null,
486
487
  depId: '1295909488001540097',
487
- depName: '业务一部',
488
+ depName: i18next.t('业务一部'),
488
489
  companyId: '1397074605412696066',
489
- companyName: '浙商中拓集团物流科技有限公司',
490
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
490
491
  postId: '1123598817738675208',
491
- postName: '普通员工',
492
+ postName: i18next.t('普通员工'),
492
493
  orgId: 12321,
493
494
  orgName: null,
494
495
  sapOrgCode: null,
@@ -500,12 +501,12 @@ var defaultList = [
500
501
  isCreateUser: '0',
501
502
  source: 1,
502
503
  avatar: null,
503
- createUserName: '黄琳',
504
- updateUserName: '黄琳',
505
- approveUserName: '黄琳',
504
+ createUserName: i18next.t('黄琳'),
505
+ updateUserName: i18next.t('黄琳'),
506
+ approveUserName: i18next.t('黄琳'),
506
507
  isEnableName: null,
507
508
  statusName: null,
508
- sourceName: '运管自建',
509
+ sourceName: i18next.t('运管自建'),
509
510
  depCode: 'K0L1',
510
511
  },
511
512
  {
@@ -519,7 +520,7 @@ var defaultList = [
519
520
  isDeleted: 0,
520
521
  xid: null,
521
522
  empNumber: '00017089',
522
- empName: '毛西宇',
523
+ empName: i18next.t('毛西宇'),
523
524
  idCard: null,
524
525
  sex: null,
525
526
  nativePlace: null,
@@ -529,11 +530,11 @@ var defaultList = [
529
530
  levelId: null,
530
531
  levelName: null,
531
532
  depId: '1295909488001540097',
532
- depName: '公司领导',
533
+ depName: i18next.t('公司领导'),
533
534
  companyId: '1397074605412696066',
534
- companyName: '浙商中拓集团物流科技有限公司',
535
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
535
536
  postId: '1123598817738675208',
536
- postName: '普通员工',
537
+ postName: i18next.t('普通员工'),
537
538
  orgId: 12321,
538
539
  orgName: null,
539
540
  sapOrgCode: null,
@@ -545,12 +546,12 @@ var defaultList = [
545
546
  isCreateUser: '0',
546
547
  source: 1,
547
548
  avatar: null,
548
- createUserName: '黄琳',
549
- updateUserName: '管理员',
550
- approveUserName: '管理员',
549
+ createUserName: i18next.t('黄琳'),
550
+ updateUserName: i18next.t('管理员'),
551
+ approveUserName: i18next.t('管理员'),
551
552
  isEnableName: null,
552
553
  statusName: null,
553
- sourceName: '运管自建',
554
+ sourceName: i18next.t('运管自建'),
554
555
  depCode: 'K0L1',
555
556
  },
556
557
  {
@@ -564,7 +565,7 @@ var defaultList = [
564
565
  isDeleted: 0,
565
566
  xid: null,
566
567
  empNumber: '00017089',
567
- empName: '李大锤',
568
+ empName: i18next.t('李大锤'),
568
569
  idCard: null,
569
570
  sex: null,
570
571
  nativePlace: null,
@@ -574,11 +575,11 @@ var defaultList = [
574
575
  levelId: null,
575
576
  levelName: null,
576
577
  depId: '1295909488001540097',
577
- depName: '浙江海盐祥龙库',
578
+ depName: i18next.t('浙江海盐祥龙库'),
578
579
  companyId: '1397074605412696066',
579
- companyName: '浙商中拓集团物流科技有限公司',
580
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
580
581
  postId: '1123598817738675208',
581
- postName: '普通员工',
582
+ postName: i18next.t('普通员工'),
582
583
  orgId: 12321,
583
584
  orgName: null,
584
585
  sapOrgCode: null,
@@ -590,12 +591,12 @@ var defaultList = [
590
591
  isCreateUser: '0',
591
592
  source: 1,
592
593
  avatar: null,
593
- createUserName: '管理员',
594
- updateUserName: '管理员',
595
- approveUserName: '管理员',
594
+ createUserName: i18next.t('管理员'),
595
+ updateUserName: i18next.t('管理员'),
596
+ approveUserName: i18next.t('管理员'),
596
597
  isEnableName: null,
597
598
  statusName: null,
598
- sourceName: '运管自建',
599
+ sourceName: i18next.t('运管自建'),
599
600
  depCode: 'K0L1',
600
601
  },
601
602
  {
@@ -619,11 +620,11 @@ var defaultList = [
619
620
  levelId: null,
620
621
  levelName: null,
621
622
  depId: '1295909488001540097',
622
- depName: '业务一部',
623
+ depName: i18next.t('业务一部'),
623
624
  companyId: '1397074605412696066',
624
- companyName: '浙商中拓集团物流科技有限公司',
625
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
625
626
  postId: '1123598817738675202',
626
- postName: '首席运营官',
627
+ postName: i18next.t('首席运营官'),
627
628
  orgId: 12321,
628
629
  orgName: null,
629
630
  sapOrgCode: null,
@@ -635,12 +636,12 @@ var defaultList = [
635
636
  isCreateUser: '0',
636
637
  source: 1,
637
638
  avatar: null,
638
- createUserName: '管理员',
639
- updateUserName: '管理员',
639
+ createUserName: i18next.t('管理员'),
640
+ updateUserName: i18next.t('管理员'),
640
641
  approveUserName: null,
641
642
  isEnableName: null,
642
643
  statusName: null,
643
- sourceName: '运管自建',
644
+ sourceName: i18next.t('运管自建'),
644
645
  depCode: 'K0L1',
645
646
  },
646
647
  {
@@ -654,7 +655,7 @@ var defaultList = [
654
655
  isDeleted: 0,
655
656
  xid: null,
656
657
  empNumber: '00017089',
657
- empName: '周慧舒',
658
+ empName: i18next.t('周慧舒'),
658
659
  idCard: null,
659
660
  sex: null,
660
661
  nativePlace: null,
@@ -664,11 +665,11 @@ var defaultList = [
664
665
  levelId: null,
665
666
  levelName: null,
666
667
  depId: '1295909488001540097',
667
- depName: '综合管理部',
668
+ depName: i18next.t('综合管理部'),
668
669
  companyId: '1397074605412696066',
669
- companyName: '浙商中拓集团物流科技有限公司',
670
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
670
671
  postId: '1123598817738675208',
671
- postName: '普通员工',
672
+ postName: i18next.t('普通员工'),
672
673
  orgId: 12321,
673
674
  orgName: null,
674
675
  sapOrgCode: null,
@@ -680,12 +681,12 @@ var defaultList = [
680
681
  isCreateUser: '0',
681
682
  source: 1,
682
683
  avatar: null,
683
- createUserName: '黄琳',
684
- updateUserName: '黄琳',
685
- approveUserName: '黄琳',
684
+ createUserName: i18next.t('黄琳'),
685
+ updateUserName: i18next.t('黄琳'),
686
+ approveUserName: i18next.t('黄琳'),
686
687
  isEnableName: null,
687
688
  statusName: null,
688
- sourceName: '运管自建',
689
+ sourceName: i18next.t('运管自建'),
689
690
  depCode: 'K0L1',
690
691
  },
691
692
  {
@@ -699,7 +700,7 @@ var defaultList = [
699
700
  isDeleted: 0,
700
701
  xid: null,
701
702
  empNumber: '00017089',
702
- empName: '张瑞玲',
703
+ empName: i18next.t('张瑞玲'),
703
704
  idCard: null,
704
705
  sex: null,
705
706
  nativePlace: null,
@@ -709,11 +710,11 @@ var defaultList = [
709
710
  levelId: null,
710
711
  levelName: null,
711
712
  depId: '1295909488001540097',
712
- depName: '经营管理部',
713
+ depName: i18next.t('经营管理部'),
713
714
  companyId: '1397074605412696066',
714
- companyName: '浙商中拓集团物流科技有限公司',
715
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
715
716
  postId: '1123598817738675208',
716
- postName: '普通员工',
717
+ postName: i18next.t('普通员工'),
717
718
  orgId: 12321,
718
719
  orgName: null,
719
720
  sapOrgCode: null,
@@ -725,12 +726,12 @@ var defaultList = [
725
726
  isCreateUser: '0',
726
727
  source: 1,
727
728
  avatar: null,
728
- createUserName: '黄琳',
729
- updateUserName: '黄琳',
730
- approveUserName: '黄琳',
729
+ createUserName: i18next.t('黄琳'),
730
+ updateUserName: i18next.t('黄琳'),
731
+ approveUserName: i18next.t('黄琳'),
731
732
  isEnableName: null,
732
733
  statusName: null,
733
- sourceName: '运管自建',
734
+ sourceName: i18next.t('运管自建'),
734
735
  depCode: 'K0L1',
735
736
  },
736
737
  {
@@ -744,7 +745,7 @@ var defaultList = [
744
745
  isDeleted: 0,
745
746
  xid: null,
746
747
  empNumber: '00117142',
747
- empName: '王璐',
748
+ empName: i18next.t('王璐'),
748
749
  idCard: '430502198807030048',
749
750
  sex: '2',
750
751
  nativePlace: null,
@@ -760,7 +761,7 @@ var defaultList = [
760
761
  postId: null,
761
762
  postName: null,
762
763
  orgId: 12321,
763
- orgName: '中拓瑞众-财务部',
764
+ orgName: i18next.t('中拓瑞众-财务部'),
764
765
  sapOrgCode: '10001059',
765
766
  sort: '023400240282',
766
767
  remark: '10000',
@@ -770,12 +771,12 @@ var defaultList = [
770
771
  isCreateUser: '0',
771
772
  source: 2,
772
773
  avatar: null,
773
- createUserName: '管理员',
774
- updateUserName: '管理员',
774
+ createUserName: i18next.t('管理员'),
775
+ updateUserName: i18next.t('管理员'),
775
776
  approveUserName: null,
776
777
  isEnableName: null,
777
- statusName: '已生效',
778
- sourceName: 'hr系统',
778
+ statusName: i18next.t('已生效'),
779
+ sourceName: i18next.t('hr系统'),
779
780
  depCode: 'K0ZX',
780
781
  },
781
782
  {
@@ -789,7 +790,7 @@ var defaultList = [
789
790
  isDeleted: 0,
790
791
  xid: null,
791
792
  empNumber: '00139325',
792
- empName: '康雅璐',
793
+ empName: i18next.t('康雅璐'),
793
794
  idCard: '43052319891123822X',
794
795
  sex: '2',
795
796
  nativePlace: null,
@@ -805,7 +806,7 @@ var defaultList = [
805
806
  postId: null,
806
807
  postName: null,
807
808
  orgId: 12321,
808
- orgName: '中拓瑞特-行政综合部',
809
+ orgName: i18next.t('中拓瑞特-行政综合部'),
809
810
  sapOrgCode: '00016612',
810
811
  sort: '023402570538',
811
812
  remark: '10000',
@@ -815,12 +816,12 @@ var defaultList = [
815
816
  isCreateUser: '0',
816
817
  source: 2,
817
818
  avatar: null,
818
- createUserName: '管理员',
819
- updateUserName: '管理员',
819
+ createUserName: i18next.t('管理员'),
820
+ updateUserName: i18next.t('管理员'),
820
821
  approveUserName: null,
821
822
  isEnableName: null,
822
- statusName: '已生效',
823
- sourceName: 'hr系统',
823
+ statusName: i18next.t('已生效'),
824
+ sourceName: i18next.t('hr系统'),
824
825
  depCode: 'K0ZX',
825
826
  },
826
827
  {
@@ -834,7 +835,7 @@ var defaultList = [
834
835
  isDeleted: 0,
835
836
  xid: null,
836
837
  empNumber: '00141663',
837
- empName: '田岗',
838
+ empName: i18next.t('田岗'),
838
839
  idCard: '430923199005101439',
839
840
  sex: '1',
840
841
  nativePlace: null,
@@ -850,7 +851,7 @@ var defaultList = [
850
851
  postId: null,
851
852
  postName: null,
852
853
  orgId: 12321,
853
- orgName: '中拓瑞恒-销售管理部',
854
+ orgName: i18next.t('中拓瑞恒-销售管理部'),
854
855
  sapOrgCode: '10008890',
855
856
  sort: '023402990105',
856
857
  remark: '10000',
@@ -860,12 +861,12 @@ var defaultList = [
860
861
  isCreateUser: '0',
861
862
  source: 2,
862
863
  avatar: null,
863
- createUserName: '管理员',
864
- updateUserName: '管理员',
864
+ createUserName: i18next.t('管理员'),
865
+ updateUserName: i18next.t('管理员'),
865
866
  approveUserName: null,
866
867
  isEnableName: null,
867
- statusName: '已生效',
868
- sourceName: 'hr系统',
868
+ statusName: i18next.t('已生效'),
869
+ sourceName: i18next.t('hr系统'),
869
870
  depCode: 'K0ZX',
870
871
  },
871
872
  {
@@ -879,7 +880,7 @@ var defaultList = [
879
880
  isDeleted: 0,
880
881
  xid: null,
881
882
  empNumber: '00142224',
882
- empName: '裘钢',
883
+ empName: i18next.t('裘钢'),
883
884
  idCard: '330623197403260014',
884
885
  sex: '1',
885
886
  nativePlace: null,
@@ -895,7 +896,7 @@ var defaultList = [
895
896
  postId: null,
896
897
  postName: null,
897
898
  orgId: 12321,
898
- orgName: '浙商中拓板带拓展部',
899
+ orgName: i18next.t('浙商中拓板带拓展部'),
899
900
  sapOrgCode: '10009275',
900
901
  sort: '99999999999',
901
902
  remark: '10000',
@@ -905,12 +906,12 @@ var defaultList = [
905
906
  isCreateUser: '0',
906
907
  source: 2,
907
908
  avatar: null,
908
- createUserName: '管理员',
909
- updateUserName: '管理员',
909
+ createUserName: i18next.t('管理员'),
910
+ updateUserName: i18next.t('管理员'),
910
911
  approveUserName: null,
911
912
  isEnableName: null,
912
- statusName: '已生效',
913
- sourceName: 'hr系统',
913
+ statusName: i18next.t('已生效'),
914
+ sourceName: i18next.t('hr系统'),
914
915
  depCode: 'K0ZX',
915
916
  },
916
917
  {
@@ -924,7 +925,7 @@ var defaultList = [
924
925
  isDeleted: 0,
925
926
  xid: null,
926
927
  empNumber: '10002204',
927
- empName: '张小芳',
928
+ empName: i18next.t('张小芳'),
928
929
  idCard: '430181198805027068',
929
930
  sex: '2',
930
931
  nativePlace: null,
@@ -940,7 +941,7 @@ var defaultList = [
940
941
  postId: null,
941
942
  postName: null,
942
943
  orgId: 12321,
943
- orgName: '中拓瑞诚-销售部',
944
+ orgName: i18next.t('中拓瑞诚-销售部'),
944
945
  sapOrgCode: '10004032',
945
946
  sort: '023400291562',
946
947
  remark: '10000',
@@ -950,12 +951,12 @@ var defaultList = [
950
951
  isCreateUser: '0',
951
952
  source: 2,
952
953
  avatar: null,
953
- createUserName: '管理员',
954
- updateUserName: '管理员',
954
+ createUserName: i18next.t('管理员'),
955
+ updateUserName: i18next.t('管理员'),
955
956
  approveUserName: null,
956
957
  isEnableName: null,
957
- statusName: '已生效',
958
- sourceName: 'hr系统',
958
+ statusName: i18next.t('已生效'),
959
+ sourceName: i18next.t('hr系统'),
959
960
  depCode: 'K0ZX',
960
961
  },
961
962
  {
@@ -969,7 +970,7 @@ var defaultList = [
969
970
  isDeleted: 0,
970
971
  xid: null,
971
972
  empNumber: '10003058',
972
- empName: '张煜琦',
973
+ empName: i18next.t('张煜琦'),
973
974
  idCard: '420102199706231466',
974
975
  sex: '2',
975
976
  nativePlace: null,
@@ -985,7 +986,7 @@ var defaultList = [
985
986
  postId: null,
986
987
  postName: null,
987
988
  orgId: 12321,
988
- orgName: '湖北中拓-综合管理部',
989
+ orgName: i18next.t('湖北中拓-综合管理部'),
989
990
  sapOrgCode: '10002044',
990
991
  sort: '000200612074',
991
992
  remark: '10000',
@@ -995,12 +996,12 @@ var defaultList = [
995
996
  isCreateUser: '0',
996
997
  source: 2,
997
998
  avatar: null,
998
- createUserName: '管理员',
999
- updateUserName: '宋宇环HR',
999
+ createUserName: i18next.t('管理员'),
1000
+ updateUserName: i18next.t('宋宇环HR'),
1000
1001
  approveUserName: null,
1001
1002
  isEnableName: null,
1002
- statusName: '已生效',
1003
- sourceName: 'hr系统',
1003
+ statusName: i18next.t('已生效'),
1004
+ sourceName: i18next.t('hr系统'),
1004
1005
  depCode: 'K0ZX',
1005
1006
  },
1006
1007
  {
@@ -1014,7 +1015,7 @@ var defaultList = [
1014
1015
  isDeleted: 0,
1015
1016
  xid: null,
1016
1017
  empNumber: '00017089',
1017
- empName: '刘辰玥',
1018
+ empName: i18next.t('刘辰玥'),
1018
1019
  idCard: null,
1019
1020
  sex: null,
1020
1021
  nativePlace: null,
@@ -1024,11 +1025,11 @@ var defaultList = [
1024
1025
  levelId: null,
1025
1026
  levelName: null,
1026
1027
  depId: '1295909488001540097',
1027
- depName: '业务一部',
1028
+ depName: i18next.t('业务一部'),
1028
1029
  companyId: '1397074605412696066',
1029
- companyName: '浙商中拓集团物流科技有限公司',
1030
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
1030
1031
  postId: '1123598817738675208',
1031
- postName: '普通员工',
1032
+ postName: i18next.t('普通员工'),
1032
1033
  orgId: 12321,
1033
1034
  orgName: null,
1034
1035
  sapOrgCode: null,
@@ -1040,12 +1041,12 @@ var defaultList = [
1040
1041
  isCreateUser: '0',
1041
1042
  source: 1,
1042
1043
  avatar: null,
1043
- createUserName: '黄琳',
1044
- updateUserName: '黄琳',
1045
- approveUserName: '黄琳',
1044
+ createUserName: i18next.t('黄琳'),
1045
+ updateUserName: i18next.t('黄琳'),
1046
+ approveUserName: i18next.t('黄琳'),
1046
1047
  isEnableName: null,
1047
1048
  statusName: null,
1048
- sourceName: '运管自建',
1049
+ sourceName: i18next.t('运管自建'),
1049
1050
  depCode: 'K0L1',
1050
1051
  },
1051
1052
  {
@@ -1059,7 +1060,7 @@ var defaultList = [
1059
1060
  isDeleted: 0,
1060
1061
  xid: null,
1061
1062
  empNumber: '00017089',
1062
- empName: '杨艺婕',
1063
+ empName: i18next.t('杨艺婕'),
1063
1064
  idCard: null,
1064
1065
  sex: null,
1065
1066
  nativePlace: null,
@@ -1069,11 +1070,11 @@ var defaultList = [
1069
1070
  levelId: null,
1070
1071
  levelName: null,
1071
1072
  depId: '1295909488001540097',
1072
- depName: '业务一部',
1073
+ depName: i18next.t('业务一部'),
1073
1074
  companyId: '1397074605412696066',
1074
- companyName: '浙商中拓集团物流科技有限公司',
1075
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
1075
1076
  postId: '1123598817738675208',
1076
- postName: '普通员工',
1077
+ postName: i18next.t('普通员工'),
1077
1078
  orgId: 12321,
1078
1079
  orgName: null,
1079
1080
  sapOrgCode: null,
@@ -1085,12 +1086,12 @@ var defaultList = [
1085
1086
  isCreateUser: '0',
1086
1087
  source: 1,
1087
1088
  avatar: null,
1088
- createUserName: '黄琳',
1089
- updateUserName: '黄琳',
1090
- approveUserName: '黄琳',
1089
+ createUserName: i18next.t('黄琳'),
1090
+ updateUserName: i18next.t('黄琳'),
1091
+ approveUserName: i18next.t('黄琳'),
1091
1092
  isEnableName: null,
1092
1093
  statusName: null,
1093
- sourceName: '运管自建',
1094
+ sourceName: i18next.t('运管自建'),
1094
1095
  depCode: 'K0L1',
1095
1096
  },
1096
1097
  {
@@ -1104,7 +1105,7 @@ var defaultList = [
1104
1105
  isDeleted: 0,
1105
1106
  xid: null,
1106
1107
  empNumber: '00017089',
1107
- empName: '陈亚雄',
1108
+ empName: i18next.t('陈亚雄'),
1108
1109
  idCard: '430903199404026012',
1109
1110
  sex: null,
1110
1111
  nativePlace: null,
@@ -1114,13 +1115,13 @@ var defaultList = [
1114
1115
  levelId: null,
1115
1116
  levelName: null,
1116
1117
  depId: '1397081930328424449',
1117
- depName: '业务一部',
1118
+ depName: i18next.t('业务一部'),
1118
1119
  companyId: '1295908627984670722',
1119
- companyName: '浙商中拓集团(重庆)有限公司',
1120
+ companyName: i18next.t('浙商中拓集团(重庆)有限公司'),
1120
1121
  postId: null,
1121
1122
  postName: null,
1122
1123
  orgId: 12321,
1123
- orgName: '浙商中拓',
1124
+ orgName: i18next.t('浙商中拓'),
1124
1125
  sapOrgCode: null,
1125
1126
  sort: '99999999999',
1126
1127
  remark: '10000',
@@ -1130,12 +1131,12 @@ var defaultList = [
1130
1131
  isCreateUser: '0',
1131
1132
  source: 1,
1132
1133
  avatar: null,
1133
- createUserName: '管理员',
1134
- updateUserName: '陈亚雄11',
1135
- approveUserName: '陈亚雄11',
1134
+ createUserName: i18next.t('管理员'),
1135
+ updateUserName: i18next.t('陈亚雄11'),
1136
+ approveUserName: i18next.t('陈亚雄11'),
1136
1137
  isEnableName: null,
1137
- statusName: '已生效',
1138
- sourceName: '运管自建',
1138
+ statusName: i18next.t('已生效'),
1139
+ sourceName: i18next.t('运管自建'),
1139
1140
  depCode: 'BM2108001',
1140
1141
  },
1141
1142
  {
@@ -1149,7 +1150,7 @@ var defaultList = [
1149
1150
  isDeleted: 0,
1150
1151
  xid: null,
1151
1152
  empNumber: '00017073',
1152
- empName: '测试15',
1153
+ empName: i18next.t('测试15'),
1153
1154
  idCard: null,
1154
1155
  sex: null,
1155
1156
  nativePlace: null,
@@ -1159,9 +1160,9 @@ var defaultList = [
1159
1160
  levelId: null,
1160
1161
  levelName: null,
1161
1162
  depId: '1414852847035002881',
1162
- depName: '中拓本部',
1163
+ depName: i18next.t('中拓本部'),
1163
1164
  companyId: '1414851965111283713',
1164
- companyName: '浙商中拓集团股份有限公司',
1165
+ companyName: i18next.t('浙商中拓集团股份有限公司'),
1165
1166
  postId: null,
1166
1167
  postName: null,
1167
1168
  orgId: 12321,
@@ -1180,7 +1181,7 @@ var defaultList = [
1180
1181
  approveUserName: null,
1181
1182
  isEnableName: null,
1182
1183
  statusName: null,
1183
- sourceName: '运管自建',
1184
+ sourceName: i18next.t('运管自建'),
1184
1185
  depCode: 'K0ZX',
1185
1186
  },
1186
1187
  {
@@ -1194,7 +1195,7 @@ var defaultList = [
1194
1195
  isDeleted: 0,
1195
1196
  xid: null,
1196
1197
  empNumber: '00017074',
1197
- empName: '测试14',
1198
+ empName: i18next.t('测试14'),
1198
1199
  idCard: null,
1199
1200
  sex: null,
1200
1201
  nativePlace: null,
@@ -1204,9 +1205,9 @@ var defaultList = [
1204
1205
  levelId: null,
1205
1206
  levelName: null,
1206
1207
  depId: '1414852847035002881',
1207
- depName: '中拓本部',
1208
+ depName: i18next.t('中拓本部'),
1208
1209
  companyId: '1414851965111283713',
1209
- companyName: '浙商中拓集团股份有限公司',
1210
+ companyName: i18next.t('浙商中拓集团股份有限公司'),
1210
1211
  postId: null,
1211
1212
  postName: null,
1212
1213
  orgId: 12321,
@@ -1225,7 +1226,7 @@ var defaultList = [
1225
1226
  approveUserName: null,
1226
1227
  isEnableName: null,
1227
1228
  statusName: null,
1228
- sourceName: '运管自建',
1229
+ sourceName: i18next.t('运管自建'),
1229
1230
  depCode: 'K0ZX',
1230
1231
  },
1231
1232
  {
@@ -1239,7 +1240,7 @@ var defaultList = [
1239
1240
  isDeleted: 0,
1240
1241
  xid: null,
1241
1242
  empNumber: '00017104',
1242
- empName: '黄明勇',
1243
+ empName: i18next.t('黄明勇'),
1243
1244
  idCard: null,
1244
1245
  sex: null,
1245
1246
  nativePlace: null,
@@ -1249,13 +1250,13 @@ var defaultList = [
1249
1250
  levelId: null,
1250
1251
  levelName: null,
1251
1252
  depId: '1262995786302324738',
1252
- depName: '业务五部',
1253
+ depName: i18next.t('业务五部'),
1253
1254
  companyId: '1397074605412696066',
1254
- companyName: '浙商中拓集团物流科技有限公司',
1255
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
1255
1256
  postId: null,
1256
1257
  postName: null,
1257
1258
  orgId: 12321,
1258
- orgName: '浙商中拓集团股份有限公司',
1259
+ orgName: i18next.t('浙商中拓集团股份有限公司'),
1259
1260
  sapOrgCode: null,
1260
1261
  sort: '99999999999',
1261
1262
  remark: '10000',
@@ -1265,12 +1266,12 @@ var defaultList = [
1265
1266
  isCreateUser: '0',
1266
1267
  source: 2,
1267
1268
  avatar: null,
1268
- createUserName: '管理员',
1269
- updateUserName: '管理员',
1269
+ createUserName: i18next.t('管理员'),
1270
+ updateUserName: i18next.t('管理员'),
1270
1271
  approveUserName: null,
1271
1272
  isEnableName: null,
1272
1273
  statusName: null,
1273
- sourceName: 'hr系统',
1274
+ sourceName: i18next.t('hr系统'),
1274
1275
  depCode: 'K041',
1275
1276
  },
1276
1277
  {
@@ -1284,7 +1285,7 @@ var defaultList = [
1284
1285
  isDeleted: 0,
1285
1286
  xid: null,
1286
1287
  empNumber: '00017104',
1287
- empName: '陈佳欣',
1288
+ empName: i18next.t('陈佳欣'),
1288
1289
  idCard: null,
1289
1290
  sex: null,
1290
1291
  nativePlace: null,
@@ -1294,28 +1295,28 @@ var defaultList = [
1294
1295
  levelId: null,
1295
1296
  levelName: null,
1296
1297
  depId: '1262995786302324738',
1297
- depName: '业务一部',
1298
+ depName: i18next.t('业务一部'),
1298
1299
  companyId: '1397074605412696066',
1299
- companyName: '浙商中拓集团物流科技有限公司',
1300
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
1300
1301
  postId: null,
1301
1302
  postName: null,
1302
1303
  orgId: 12321,
1303
- orgName: '中拓信息科技-研发部',
1304
+ orgName: i18next.t('中拓信息科技-研发部'),
1304
1305
  sapOrgCode: null,
1305
1306
  sort: '99999999999',
1306
1307
  remark: '10000',
1307
1308
  approveUser: '1123598821738675201',
1308
- approveOpinion: '通过',
1309
+ approveOpinion: i18next.t('通过'),
1309
1310
  approveTime: '2022-03-01 15:29:34',
1310
1311
  isCreateUser: '0',
1311
1312
  source: 2,
1312
1313
  avatar: null,
1313
- createUserName: '管理员',
1314
- updateUserName: '管理员',
1315
- approveUserName: '管理员',
1314
+ createUserName: i18next.t('管理员'),
1315
+ updateUserName: i18next.t('管理员'),
1316
+ approveUserName: i18next.t('管理员'),
1316
1317
  isEnableName: null,
1317
1318
  statusName: null,
1318
- sourceName: 'hr系统',
1319
+ sourceName: i18next.t('hr系统'),
1319
1320
  depCode: 'K041',
1320
1321
  },
1321
1322
  {
@@ -1329,7 +1330,7 @@ var defaultList = [
1329
1330
  isDeleted: 0,
1330
1331
  xid: null,
1331
1332
  empNumber: '00017104',
1332
- empName: '谭云峰',
1333
+ empName: i18next.t('谭云峰'),
1333
1334
  idCard: null,
1334
1335
  sex: null,
1335
1336
  nativePlace: null,
@@ -1339,13 +1340,13 @@ var defaultList = [
1339
1340
  levelId: null,
1340
1341
  levelName: null,
1341
1342
  depId: '1262995786302324738',
1342
- depName: '业务一部',
1343
+ depName: i18next.t('业务一部'),
1343
1344
  companyId: '1397074605412696066',
1344
- companyName: '浙商中拓集团物流科技有限公司',
1345
+ companyName: i18next.t('浙商中拓集团物流科技有限公司'),
1345
1346
  postId: null,
1346
1347
  postName: null,
1347
1348
  orgId: 12321,
1348
- orgName: '湖南中拓信息科技有限公司',
1349
+ orgName: i18next.t('湖南中拓信息科技有限公司'),
1349
1350
  sapOrgCode: null,
1350
1351
  sort: '99999999999',
1351
1352
  remark: '10000',
@@ -1355,12 +1356,12 @@ var defaultList = [
1355
1356
  isCreateUser: '0',
1356
1357
  source: 1,
1357
1358
  avatar: null,
1358
- createUserName: '周丹',
1359
- updateUserName: '周丹',
1360
- approveUserName: '周丹',
1359
+ createUserName: i18next.t('周丹'),
1360
+ updateUserName: i18next.t('周丹'),
1361
+ approveUserName: i18next.t('周丹'),
1361
1362
  isEnableName: null,
1362
1363
  statusName: null,
1363
- sourceName: '运管自建',
1364
+ sourceName: i18next.t('运管自建'),
1364
1365
  depCode: 'K041',
1365
1366
  },
1366
1367
  ];
@@ -1383,14 +1384,14 @@ function Demo() {
1383
1384
  // 模拟接口请求
1384
1385
  useEffect(function () {
1385
1386
  var timeoutId = setTimeout(function () {
1386
- console.log('获取数据');
1387
+ console.log(i18next.t('获取数据'));
1387
1388
  setList(new Array(8000).fill(1).map(function (item, index) {
1388
1389
  // if (index === 3) {
1389
1390
  // return null;
1390
1391
  // }
1391
1392
  return {
1392
1393
  id: index,
1393
- name: '你好' + index,
1394
+ name: i18next.t('你好') + index,
1394
1395
  test1: 'test1' + index,
1395
1396
  test2: 'test2' + index,
1396
1397
  test3: 'test3' + index,
@@ -1399,7 +1400,7 @@ function Demo() {
1399
1400
  setDefaultList([
1400
1401
  {
1401
1402
  id: '1409674614746271746',
1402
- projectName: '项目12',
1403
+ projectName: i18next.t('项目12'),
1403
1404
  },
1404
1405
  ]);
1405
1406
  // setValue('1462433051208762629');
@@ -1421,7 +1422,7 @@ function Demo() {
1421
1422
  React.createElement("div", { onClick: function () {
1422
1423
  setNum(num + 1);
1423
1424
  } },
1424
- "\u8BBE\u7F6E",
1425
+ i18next.t('设置'),
1425
1426
  num),
1426
1427
  React.createElement("div", null,
1427
1428
  React.createElement(EnhanceSelect, { style: selectStyle, list: list, titleKey: "name", joinKey: "test1", isHandAddItem: true, value: value1, showAll: true, onChange: function (value, option, completeData) {
@@ -1445,20 +1446,21 @@ function Demo() {
1445
1446
  React.createElement("div", null),
1446
1447
  React.createElement("button", { onClick: function () {
1447
1448
  console.log(value1, value2, value);
1448
- } }, "\u83B7\u53D6"),
1449
- React.createElement("h1", null, "\u4F5C\u4E3A\u6F14\u793A\u4F7F\u7528"),
1450
- React.createElement("h2", null, "\u5982\u679C\u6570\u636E\u662F\u901A\u8FC7\u5916\u90E8\u83B7\u53D6\u7684\uFF0C\u53EF\u4EE5\u901A\u8FC7\u4F20\u9012list\u5C5E\u6027"),
1451
- React.createElement("h2", null, "\u5F02\u6B65\u83B7\u53D6\u6570\u636E"),
1452
- React.createElement("h2", null, "\u5F02\u6B65\u83B7\u53D6\u6570\u636E\uFF0C\u5E76\u7F13\u5B58\u6570\u636E"),
1453
- React.createElement("h2", null, "\u8FDC\u7A0B\u6A21\u7CCA\u641C\u7D22"),
1454
- React.createElement("button", { onClick: function () { return setValue(['1462433051208762629', 'aaaa']); } }, "\u4FEE\u6539"),
1455
- React.createElement("button", { onClick: function () { return setValue(['aaaa']); } }, "\u8BBE\u7F6E\u4E00\u4E2A\u4E0D\u5B58\u5728\u7684\u503C"),
1456
- React.createElement("button", { onClick: function () { return setValue(['1509866646056808450']); } }, "\u8BBE\u7F6E\u4E00\u4E2A \u5B58\u5728\u7684\u503C"),
1449
+ } }, i18next.t('获取')),
1450
+ React.createElement("h1", null, i18next.t('作为演示使用')),
1451
+ React.createElement("h2", null, i18next.t('如果数据是通过外部获取的,可以通过传递list属性')),
1452
+ React.createElement("h2", null, i18next.t('异步获取数据')),
1453
+ React.createElement("h2", null, i18next.t('异步获取数据,并缓存数据')),
1454
+ React.createElement("h2", null, i18next.t('远程模糊搜索')),
1455
+ React.createElement("button", { onClick: function () { return setValue(['1462433051208762629', 'aaaa']); } }, i18next.t('修改')),
1456
+ React.createElement("button", { onClick: function () { return setValue(['aaaa']); } }, i18next.t('设置一个不存在的值')),
1457
+ React.createElement("button", { onClick: function () { return setValue(['aaaa']); } }, i18next.t('设置一个不存在的值')),
1458
+ React.createElement("button", { onClick: function () { return setValue(['1509866646056808450']); } }, i18next.t('设置一个 存在的值')),
1457
1459
  React.createElement("button", { onClick: function () {
1458
1460
  console.log(value, value3);
1459
- } }, "\u83B7\u53D6\u6570\u636E"),
1460
- React.createElement("p", null, "\u8FDC\u7A0B\u641C\u7D22"),
1461
- React.createElement(EnhanceSelect, { style: selectStyle, defaultList: defaultList, placeholder: "\u53EF\u8FDC\u7A0B\u6A21\u7CCA\u641C\u7D22",
1461
+ } }, i18next.t('获取数据')),
1462
+ React.createElement("p", null, i18next.t('远程搜索')),
1463
+ React.createElement(EnhanceSelect, { style: selectStyle, defaultList: defaultList, placeholder: i18next.t('可远程模糊搜索'),
1462
1464
  // url="http://192.168.0.83:8000/api/zmdms-system/employee/page"
1463
1465
  // request={request}
1464
1466
  // remoteSearch
@@ -1478,14 +1480,14 @@ function Demo() {
1478
1480
  }, mode: "multiple", isPage: true,
1479
1481
  // defaultList={defaultList}
1480
1482
  isClickRequest: false }),
1481
- React.createElement("p", null, "\u4E00\u6B21\u6027\u52A0\u8F7D\u6570\u636E"),
1482
- React.createElement("p", null, "\u5F02\u6B65\u83B7\u53D6\u6570\u636E"),
1483
+ React.createElement("p", null, i18next.t('一次性加载数据')),
1484
+ React.createElement("p", null, i18next.t('异步获取数据')),
1483
1485
  React.createElement("button", { onClick: function () {
1484
1486
  setParams1(JSON.stringify({
1485
1487
  status: 50,
1486
1488
  companyId: '1414851965111283713',
1487
1489
  }));
1488
- } }, "\u4FEE\u6539"),
1490
+ } }, i18next.t('修改')),
1489
1491
  React.createElement("input", { style: { width: '300px' } })));
1490
1492
  }
1491
1493
  export default Demo;