cloud-web-corejs 1.1.0-dev.74 → 1.1.0-dev.75

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 (250) hide show
  1. package/package.json +1 -1
  2. package/src/components/Qrcode/fileParse.vue +4 -4
  3. package/src/components/Tinymce/dynamicLoadScript.js +4 -4
  4. package/src/components/Tinymce/index.vue +1 -1
  5. package/src/components/VabUpload/fileLibraryDialog.vue +18 -18
  6. package/src/components/VabUpload/image-viewer.vue +2 -2
  7. package/src/components/VabUpload/mixins/fileLibraryDialog.js +12 -12
  8. package/src/components/VabUpload/mixins.js +1 -3
  9. package/src/components/VabUpload/privateProfileDialog.vue +18 -18
  10. package/src/components/VabUpload/privateProfileDialogMixins.js +12 -12
  11. package/src/components/VabUpload/view.vue +1 -1
  12. package/src/components/base-textarea/index.vue +2 -4
  13. package/src/components/baseArea/index.vue +8 -8
  14. package/src/components/baseAutocomplete/index.vue +1 -1
  15. package/src/components/bizTab/BizTabListPage.vue +69 -71
  16. package/src/components/code-editor/async.js +3 -1
  17. package/src/components/excelExport/mixins.js +1 -1
  18. package/src/components/extendedProperties/view.vue +4 -5
  19. package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
  20. package/src/components/fileLibrary/fileObjAuthEditDialog.vue +3 -5
  21. package/src/components/fileLibrary/filterDialog.vue +2 -2
  22. package/src/components/fileLibrary/index.vue +13 -13
  23. package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +2 -2
  24. package/src/components/fileLibrary/mixins/indexMixins.js +4 -4
  25. package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
  26. package/src/components/fileLibrary/propertiesDialog.vue +1 -1
  27. package/src/components/fileLibrary/recycleBinDialog.vue +2 -2
  28. package/src/components/fileLibrary/recycleBinPropertiesDialog.vue +1 -2
  29. package/src/components/formDialog/index.vue +1 -1
  30. package/src/components/formDrawer/drawer.vue +1 -1
  31. package/src/components/hiprint/etypes/default-etyps-provider.js +22 -22
  32. package/src/components/hiprint/hiprint.config.js +29 -29
  33. package/src/components/hiprint/view/design/dialog.vue +3 -4
  34. package/src/components/hiprint/view/design/font-size.js +2 -2
  35. package/src/components/hiprint/view/design/index.vue +27 -29
  36. package/src/components/hiprint/view/design/mixins.js +22 -22
  37. package/src/components/hiprint/view/design/preview.vue +9 -10
  38. package/src/components/hiprint/view/design/scale.js +1 -1
  39. package/src/components/hiprint/view/json-view.vue +6 -6
  40. package/src/components/jsonImport/exportDialog.vue +2 -2
  41. package/src/components/langImport/index.vue +1 -2
  42. package/src/components/luckysheet/dialog.vue +1 -1
  43. package/src/components/luckysheet/loadResources.js +5 -5
  44. package/src/components/luckysheet/view.vue +3 -3
  45. package/src/components/mobile/buttonGroup/index.vue +3 -4
  46. package/src/components/mobile/file/index.vue +7 -7
  47. package/src/components/mobile/oplogTable/index.vue +4 -4
  48. package/src/components/mobile/searchDialog/index.vue +3 -4
  49. package/src/components/mobile/wf/addTaskUserdialog.vue +18 -19
  50. package/src/components/mobile/wf/content.vue +14 -14
  51. package/src/components/mobile/wf/deleteTaskUserDialog.vue +5 -5
  52. package/src/components/mobile/wf/mixins/wfStartDialogMixin.js +1 -1
  53. package/src/components/mobile/wf/selectUserDialog.vue +13 -13
  54. package/src/components/mobile/wf/setCandidateDialog.vue +5 -6
  55. package/src/components/mobile/wf/urgingDialog.vue +4 -4
  56. package/src/components/mobile/wf/wfStartDialog.vue +2 -2
  57. package/src/components/obsUpload/mixins.js +7 -9
  58. package/src/components/onlineTalk/index.vue +21 -24
  59. package/src/components/onlineTalk/mixins.js +3 -3
  60. package/src/components/table/vxeFilter/FilterComplex.vue +6 -6
  61. package/src/components/table/vxeFilter/FilterInput.vue +1 -1
  62. package/src/components/wf/addTaskUserdialog.vue +1 -1
  63. package/src/components/wf/content.vue +8 -10
  64. package/src/components/wf/content2.vue +58 -77
  65. package/src/components/wf/formIframeDialog.vue +1 -1
  66. package/src/components/wf/index.vue +1 -1
  67. package/src/components/wf/wf.js +18 -5
  68. package/src/components/xform/form-designer/designer.js +20 -20
  69. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +74 -76
  70. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +2 -2
  71. package/src/components/xform/form-designer/form-widget/container-widget/detail-temp-widget.vue +1 -1
  72. package/src/components/xform/form-designer/form-widget/container-widget/list-h5-widget.vue +6 -6
  73. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +1 -1
  74. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +1 -1
  75. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +5 -5
  76. package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +2 -2
  77. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2 -2
  78. package/src/components/xform/form-designer/form-widget/dialog/treeMoveDialog.vue +4 -6
  79. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +3 -3
  80. package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +2 -2
  81. package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
  82. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
  83. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +155 -9
  84. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
  85. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +2 -2
  86. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
  87. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +6 -0
  88. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +176 -176
  89. package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +3 -3
  90. package/src/components/xform/form-designer/form-widget/field-widget/mixins/relativeDateUtil.js +4 -4
  91. package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +1 -1
  92. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +2 -2
  93. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +2 -2
  94. package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +4 -4
  95. package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
  96. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
  97. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
  98. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
  99. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +8 -8
  100. package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +2 -2
  101. package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +21 -21
  102. package/src/components/xform/form-designer/setting-panel/dataSource-setting.vue +46 -46
  103. package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +62 -66
  104. package/src/components/xform/form-designer/setting-panel/form-setting.vue +53 -61
  105. package/src/components/xform/form-designer/setting-panel/indexMixin.js +30 -0
  106. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +9 -9
  107. package/src/components/xform/form-designer/setting-panel/property-editor/censusItems-editor.vue +6 -6
  108. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +4 -4
  109. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/condition-editor.vue +1 -1
  110. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +99 -116
  111. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +17 -17
  112. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +14 -14
  113. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +80 -80
  114. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +1 -2
  115. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-plain/detail-plain-editor.vue +1 -2
  116. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +14 -16
  117. package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +39 -56
  118. package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-fullWidth-editor.vue +1 -1
  119. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +6 -6
  120. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree-pane/tree-pane-editor.vue +1 -1
  121. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +1 -1
  122. package/src/components/xform/form-designer/setting-panel/property-editor/descriptionsItems-editor.vue +8 -8
  123. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +4 -4
  124. package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +11 -12
  125. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onLazyLoad-editor.vue +34 -0
  126. package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +7 -7
  127. package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +22 -22
  128. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/addTableData-event-editor.vue +2 -2
  129. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindActions.js +1 -1
  130. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +3 -3
  131. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/form-host-event-editor.vue +40 -40
  132. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +24 -24
  133. package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/cascader-lazy-editor.vue +37 -0
  134. package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyName-editor.vue +6 -6
  135. package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyNameEnabled-editor.vue +1 -1
  136. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +11 -11
  137. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +2 -2
  138. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +2 -2
  139. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +15 -15
  140. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +15 -15
  141. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +25 -25
  142. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +1 -1
  143. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +28 -31
  144. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +41 -50
  145. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +4 -5
  146. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +4 -5
  147. package/src/components/xform/form-designer/setting-panel/property-editor/field-script/script-editor.vue +24 -24
  148. package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +7 -7
  149. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +24 -24
  150. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +4 -4
  151. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +19 -21
  152. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +13 -14
  153. package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue +1 -1
  154. package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-timeLimit-editor.vue +3 -3
  155. package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue +1 -1
  156. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +1 -1
  157. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +6 -6
  158. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabsearchConfigDialog.vue +9 -9
  159. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +1 -1
  160. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +5 -5
  161. package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +5 -5
  162. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +6 -6
  163. package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +9 -9
  164. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +1 -1
  165. package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue +8 -8
  166. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +5 -5
  167. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +2 -2
  168. package/src/components/xform/form-designer/setting-panel/property-editor/listItems-editor.vue +3 -3
  169. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +2 -2
  170. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +2 -2
  171. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +25 -25
  172. package/src/components/xform/form-designer/setting-panel/property-editor/relative-default-block.vue +14 -15
  173. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +5 -5
  174. package/src/components/xform/form-designer/setting-panel/property-editor/showText-editor.vue +1 -1
  175. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +2 -2
  176. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +11 -11
  177. package/src/components/xform/form-designer/setting-panel/property-editor/urlValueEnabled-editor.vue +2 -3
  178. package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +1 -1
  179. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +23 -23
  180. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +9 -9
  181. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
  182. package/src/components/xform/form-designer/setting-panel/wfObjConfigDialog.vue +1 -1
  183. package/src/components/xform/form-designer/toolbar-panel/index.vue +3 -4
  184. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2 -0
  185. package/src/components/xform/form-render/container-item/data-table-item.vue +10 -10
  186. package/src/components/xform/form-render/container-item/data-table-mixin.js +34 -34
  187. package/src/components/xform/form-render/container-item/detail-item.vue +2 -2
  188. package/src/components/xform/form-render/container-item/detail-temp-item.vue +1 -1
  189. package/src/components/xform/form-render/container-item/list-h5-item.vue +13 -13
  190. package/src/components/xform/form-render/fieldControlEngine.js +17 -17
  191. package/src/components/xform/form-render/fieldControlMixin.js +14 -14
  192. package/src/components/xform/form-render/index.vue +2 -2
  193. package/src/components/xform/form-render/indexMixin.js +21 -21
  194. package/src/components/xform/mixins/defaultHandle.js +1 -1
  195. package/src/components/xform/mixins/scriptHttp.js +1 -1
  196. package/src/components/xform/utils/dynamicSchemaUtil.js +1 -1
  197. package/src/components/xform/utils/formHttp.js +1 -1
  198. package/src/components/xform/utils/treeTableUtil.js +44 -44
  199. package/src/layout/components/createCompany/createCompanyDialog.vue +2 -2
  200. package/src/layout/components/extractedCode/createDialog.vue +1 -1
  201. package/src/layout/components/langTool.vue +1 -1
  202. package/src/utils/vab.js +4 -0
  203. package/src/views/user/api_request/list.vue +6 -6
  204. package/src/views/user/area/dialog.vue +1 -1
  205. package/src/views/user/area/list.vue +1 -1
  206. package/src/views/user/bill_setting/render.vue +2 -2
  207. package/src/views/user/error-page/401.vue +9 -9
  208. package/src/views/user/form/form_ins_list/edit.vue +17 -17
  209. package/src/views/user/form/form_template/dialog.vue +12 -12
  210. package/src/views/user/form/form_template/edit.vue +10 -10
  211. package/src/views/user/form/form_template/itemEdit.vue +18 -18
  212. package/src/views/user/form/form_template/itemList.vue +13 -13
  213. package/src/views/user/form/form_template/list.vue +25 -25
  214. package/src/views/user/form/form_template_field/dialog.vue +3 -3
  215. package/src/views/user/form/form_type/dialog.vue +5 -5
  216. package/src/views/user/form/form_type/edit.vue +2 -2
  217. package/src/views/user/form/form_type/editDialog.vue +3 -3
  218. package/src/views/user/form/form_type/list.vue +5 -5
  219. package/src/views/user/form/report_requestaccess/dialog.vue +12 -12
  220. package/src/views/user/form/report_requestaccess/edit.vue +54 -54
  221. package/src/views/user/form/report_requestaccess/list.vue +15 -15
  222. package/src/views/user/form/vform/designer.vue +37 -37
  223. package/src/views/user/form/vform/render.vue +1 -1
  224. package/src/views/user/form/view/list.vue +4 -4
  225. package/src/views/user/home/wjl/content.vue +2 -2
  226. package/src/views/user/login/default.vue +1 -1
  227. package/src/views/user/login/indexMixin.js +1 -1
  228. package/src/views/user/outLink/form_view.vue +1 -1
  229. package/src/views/user/outLink/index.vue +1 -1
  230. package/src/views/user/outLink/view.vue +1 -1
  231. package/src/views/user/push_setting/list.vue +20 -20
  232. package/src/views/user/request_setting/list.vue +18 -18
  233. package/src/views/user/sale_org/list.vue +1 -1
  234. package/src/views/user/sale_org/moveDialog.vue +8 -8
  235. package/src/views/user/user/edit.vue +3 -3
  236. package/src/views/user/user/form_list.vue +6 -6
  237. package/src/views/user/user/info.vue +2 -2
  238. package/src/views/user/user/infoEdit.vue +1 -1
  239. package/src/views/user/user/list.vue +1 -1
  240. package/src/views/user/wf/iframe/index.vue +1 -1
  241. package/src/views/user/wf/iframe/index2.vue +1 -1
  242. package/src/views/user/wf/wfReport/index.vue +18 -18
  243. package/src/views/user/wf/wf_manage/list.vue +1 -1
  244. package/src/views/user/wf/wf_manage/list2.vue +1 -1
  245. package/src/views/user/wf/wf_manage/wfContentDialog.vue +93 -93
  246. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  247. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +4 -4
  248. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +3 -3
  249. package/src/views/user/wf/wf_work_calendar/components/calendar.vue +2 -8
  250. package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +2 -8
@@ -117,90 +117,90 @@ export default {
117
117
  // 格式化日期
118
118
  gantt.locale.date = {
119
119
  month_full: [
120
- "1月",
121
- "2月",
122
- "3月",
123
- "4月",
124
- "5月",
125
- "6月",
126
- "7月",
127
- "8月",
128
- "9月",
129
- "10月",
130
- "11月",
131
- "12月",
120
+ this.$t1('1月'),
121
+ this.$t1('2月'),
122
+ this.$t1('3月'),
123
+ this.$t1('4月'),
124
+ this.$t1('5月'),
125
+ this.$t1('6月'),
126
+ this.$t1('7月'),
127
+ this.$t1('8月'),
128
+ this.$t1('9月'),
129
+ this.$t1('10月'),
130
+ this.$t1('11月'),
131
+ this.$t1('12月'),
132
132
  ],
133
133
  month_short: [
134
- "1月",
135
- "2月",
136
- "3月",
137
- "4月",
138
- "5月",
139
- "6月",
140
- "7月",
141
- "8月",
142
- "9月",
143
- "10月",
144
- "11月",
145
- "12月",
134
+ this.$t1('1月'),
135
+ this.$t1('2月'),
136
+ this.$t1('3月'),
137
+ this.$t1('4月'),
138
+ this.$t1('5月'),
139
+ this.$t1('6月'),
140
+ this.$t1('7月'),
141
+ this.$t1('8月'),
142
+ this.$t1('9月'),
143
+ this.$t1('10月'),
144
+ this.$t1('11月'),
145
+ this.$t1('12月'),
146
146
  ],
147
- day_full: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
148
- day_short: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
147
+ day_full: [this.$t1('星期日'), this.$t1('星期一'), this.$t1('星期二'), this.$t1('星期三'), this.$t1('星期四'), this.$t1('星期五'), this.$t1('星期六')],
148
+ day_short: [this.$t1('星期日'), this.$t1('星期一'), this.$t1('星期二'), this.$t1('星期三'), this.$t1('星期四'), this.$t1('星期五'), this.$t1('星期六')],
149
149
  };
150
150
 
151
151
  gantt.locale.labels = {
152
- dhx_cal_today_button: "今天",
153
- day_tab: "日",
154
- week_tab: "周",
155
- month_tab: "月",
156
- new_event: "新建日程",
157
- icon_save: "保存",
158
- icon_cancel: "关闭",
159
- icon_details: "详细",
160
- icon_edit: "编辑",
161
- icon_delete: "删除",
162
- confirm_closing: "请确认是否撤销修改!", //Your changes will be lost, are your sure?
163
- confirm_deleting: "是否删除计划?",
164
- section_description: "描述:",
165
- section_time: "时间范围:",
166
- section_type: "类型:",
167
- section_text: "计划名称:",
168
- section_test: "测试:",
169
- section_projectClass: "项目类型:",
170
- taskProjectType_0: "项目任务",
171
- taskProjectType_1: "普通任务",
172
- section_head: "负责人:",
173
- section_priority: "优先级:",
174
- taskProgress: "任务状态",
175
- taskProgress_0: "未开始",
176
- taskProgress_1: "进行中",
177
- taskProgress_2: "已完成",
178
- taskProgress_3: "已延期",
179
- taskProgress_4: "搁置中",
152
+ dhx_cal_today_button: this.$t1('今天'),
153
+ day_tab: this.$t1('日'),
154
+ week_tab: this.$t1('周'),
155
+ month_tab: this.$t1('月'),
156
+ new_event: this.$t1('新建日程'),
157
+ icon_save: this.$t1('保存'),
158
+ icon_cancel: this.$t1('关闭'),
159
+ icon_details: this.$t1('详细'),
160
+ icon_edit: this.$t1('编辑'),
161
+ icon_delete: this.$t1('删除'),
162
+ confirm_closing: this.$t1('请确认是否撤销修改!'), //Your changes will be lost, are your sure?
163
+ confirm_deleting: this.$t1('是否删除计划?'),
164
+ section_description: this.$t1('描述:'),
165
+ section_time: this.$t1('时间范围:'),
166
+ section_type: this.$t1('类型:'),
167
+ section_text: this.$t1('计划名称:'),
168
+ section_test: this.$t1('测试:'),
169
+ section_projectClass: this.$t1('项目类型:'),
170
+ taskProjectType_0: this.$t1('项目任务'),
171
+ taskProjectType_1: this.$t1('普通任务'),
172
+ section_head: this.$t1('负责人:'),
173
+ section_priority: this.$t1('优先级:'),
174
+ taskProgress: this.$t1('任务状态'),
175
+ taskProgress_0: this.$t1('未开始'),
176
+ taskProgress_1: this.$t1('进行中'),
177
+ taskProgress_2: this.$t1('已完成'),
178
+ taskProgress_3: this.$t1('已延期'),
179
+ taskProgress_4: this.$t1('搁置中'),
180
180
  section_template: "Details",
181
181
  /* grid columns */
182
- column_text: "计划名称",
183
- column_start_date: "开始时间",
184
- column_duration: "持续时间",
182
+ column_text: this.$t1('计划名称'),
183
+ column_start_date: this.$t1('开始时间'),
184
+ column_duration: this.$t1('持续时间'),
185
185
  column_add: "",
186
- column_priority: "难度",
186
+ column_priority: this.$t1('难度'),
187
187
  /* link confirmation */
188
- link: "关联",
189
- confirm_link_deleting: "将被删除",
190
- message_ok: "确定",
191
- message_cancel: "取消",
192
- link_start: " (开始)",
193
- link_end: " (结束)",
188
+ link: this.$t1('关联'),
189
+ confirm_link_deleting: this.$t1('将被删除'),
190
+ message_ok: this.$t1('确定'),
191
+ message_cancel: this.$t1('取消'),
192
+ link_start: this.$t1(' (开始)'),
193
+ link_end: this.$t1(' (结束)'),
194
194
 
195
- type_task: "任务",
196
- type_project: "项目",
197
- type_milestone: "里程碑",
198
- minutes: "分钟",
199
- hours: "小时",
200
- days: "天",
201
- weeks: "周",
202
- months: "月",
203
- years: "年",
195
+ type_task: this.$t1('任务'),
196
+ type_project: this.$t1('项目'),
197
+ type_milestone: this.$t1('里程碑'),
198
+ minutes: this.$t1('分钟'),
199
+ hours: this.$t1('小时'),
200
+ days: this.$t1('天'),
201
+ weeks: this.$t1('周'),
202
+ months: this.$t1('月'),
203
+ years: this.$t1('年'),
204
204
  };
205
205
 
206
206
  //自适应甘特图的尺寸大小, 使得在不出现滚动条的情况下, 显示全部任务
@@ -330,9 +330,7 @@ export default {
330
330
 
331
331
  // 配置工具提示模板
332
332
  gantt.templates.tooltip_text = function (start, end, task) {
333
- return `<b>任务名称:</b> ${task.text}<br/>
334
- <b>开始时间:</b> ${gantt.templates.tooltip_date_format(start)}<br/>
335
- <b>结束时间:</b> ${gantt.templates.tooltip_date_format(end)}`;
333
+ return '<b>' + this.$t1('任务名称:') + '</b> ${task.text}<br/>\n <b>' + this.$t1('开始时间:') + '</b> ${gantt.templates.tooltip_date_format(start)}<br/>\n <b>' + this.$t1('结束时间:') + '</b> ${gantt.templates.tooltip_date_format(end)}';
336
334
  };
337
335
 
338
336
  this.ganttInstance = gantt.init(this.$refs.gantt);
@@ -66,10 +66,10 @@
66
66
  <div class="fr">
67
67
  <!-- <vxe-button icon="el-icon-view" class="button-sty" @click="searchEvent">显示总记录数</vxe-button> -->
68
68
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
69
- plain>刷新
69
+ plain>{{ $t1('刷新') }}
70
70
  </vxe-button>
71
71
 
72
- <vxe-button v-if="!widget.options.isNotShowQueryButton" status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索
72
+ <vxe-button v-if="!widget.options.isNotShowQueryButton" status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{ $t1('搜索') }}
73
73
  </vxe-button>
74
74
  </div>
75
75
  </div>
@@ -16,7 +16,7 @@
16
16
 
17
17
  <div class="detail-temp-box" :class="widget.options.styleTempClass" v-for="(paneWidget, index) in widget.panes" :key="paneWidget.id">
18
18
  <div class="detail-temp-header">
19
- <span class="detail-temp-label">{{ paneWidget.options.label || '模块' }}</span>
19
+ <span class="detail-temp-label">{{ paneWidget.options.label || $t1('模块') }}</span>
20
20
  </div>
21
21
  <div class="detail-temp-body">
22
22
  <draggable
@@ -16,11 +16,11 @@
16
16
  <div class="h5-header">{{ widget.options.label }}</div>
17
17
  <div class="h5-search-box" v-if="widget.options.isQueryTable">
18
18
  <el-input
19
- placeholder="请选择" class="txt">
19
+ :placeholder="$t1('请选择')" class="txt">
20
20
  <i slot="suffix" class="el-input__icon el-icon-search"></i>
21
- <el-button slot="append" class="btn">搜索</el-button>
21
+ <el-button slot="append" class="btn">{{ $t1('搜索') }}</el-button>
22
22
  </el-input>
23
- <div class="icon-screen"><i class="iconfont icon-chaxuntiaojianshezhi"></i>筛选</div>
23
+ <div class="icon-screen"><i class="iconfont icon-chaxuntiaojianshezhi"></i>{{ $t1('筛选') }}</div>
24
24
  </div>
25
25
  <div class="h5-list-box">
26
26
  <div class="item">
@@ -53,7 +53,7 @@
53
53
  </div>
54
54
  <div v-if="widget.options.isQueryTable" class="h5-oper-btns" title-width="92px" title-align="right"
55
55
  @click.stop="selectWidget(widget)">
56
- <div class="tit">操作按钮区域</div>
56
+ <div class="tit">{{ $t1('操作按钮区域') }}</div>
57
57
  <el-form label-position="top">
58
58
  <draggable
59
59
  :list="widget.buttons"
@@ -97,7 +97,7 @@
97
97
  </div>
98
98
  <div class="h5-oper-btns" title-width="92px" title-align="right"
99
99
  @click.stop="selectWidget(widget)">
100
- <div class="tit">行操作按钮区域</div>
100
+ <div class="tit">{{ $t1('行操作按钮区域') }}</div>
101
101
  <el-form label-position="top">
102
102
  <draggable
103
103
  :list="widget.lineButtons"
@@ -141,7 +141,7 @@
141
141
  </div>
142
142
  <div v-if="widget.options.isQueryTable" class="h5-oper-btns" title-width="92px" title-align="right"
143
143
  @click.stop="selectWidget(widget)">
144
- <div class="tit">筛选字段区域</div>
144
+ <div class="tit">{{ $t1('筛选字段区域') }}</div>
145
145
  <draggable
146
146
  :list="widget.widgetList"
147
147
  v-bind="{ group: 'dragGroup', ghostClass: 'ghost', animation: 200 }"
@@ -691,7 +691,7 @@ export default {
691
691
  content:
692
692
  '<span class="cg">' +
693
693
  this.i18nt("designer.hint.formulaSample") +
694
- ':</span><span class="fname">SUM</span><span class="cg">(</span><span class="cs">参数1</span><span class="cg">,</span><span class="cs">参数2</span><span class="cg">)</span>',
694
+ ':</span><span class="fname">SUM</span><span class="cg">(</span><span class="cs">' + this.$t1('参数1') + '</span><span class="cg">,</span><span class="cs">' + this.$t1('参数2') + '</span><span class="cg">)</span>',
695
695
  };
696
696
  },
697
697
 
@@ -691,7 +691,7 @@ export default {
691
691
  content:
692
692
  '<span class="cg">' +
693
693
  this.i18nt("designer.hint.formulaSample") +
694
- ':</span><span class="fname">SUM</span><span class="cg">(</span><span class="cs">参数1</span><span class="cg">,</span><span class="cs">参数2</span><span class="cg">)</span>',
694
+ ':</span><span class="fname">SUM</span><span class="cg">(</span><span class="cs">' + this.$t1('参数1') + '</span><span class="cg">,</span><span class="cs">' + this.$t1('参数2') + '</span><span class="cg">)</span>',
695
695
  };
696
696
  },
697
697
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="表单字段列表"
3
+ :title="$t1('表单字段列表')"
4
4
  :append-to-body="true"
5
5
  :modal-append-to-body="true"
6
6
  :close-on-click-modal="falseValue"
@@ -27,9 +27,9 @@
27
27
  <div class="clearfix screen-btns">
28
28
  <div class="fr">
29
29
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
- plain>刷新
30
+ plain>{{ $t1('刷新') }}
31
31
  </vxe-button>
32
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
32
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{ $t1('搜索') }}</vxe-button>
33
33
  </div>
34
34
  </div>
35
35
  <!-- <vxe-form class="screen-box" title-width="92px" title-align="right" :data="formData" @submit="searchEvent"
@@ -118,13 +118,13 @@ export default {
118
118
  columns: [
119
119
  {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
120
120
  {
121
- title: "字段描述",
121
+ title: this.$t1('字段描述'),
122
122
  field: "fieldDesc",
123
123
  width: 150,
124
124
  fixed: 'left'
125
125
  },
126
126
  {
127
- title: "字段key",
127
+ title: this.$t1('字段key'),
128
128
  field: "fieldName",
129
129
  width: 150
130
130
  },
@@ -425,7 +425,7 @@ export default {
425
425
  let newParamCode = `{{${fieldNode.id}.[${fieldNode.label}].field}}`;
426
426
  formula = formula.replaceAll(`[${paramCode}]`, newParamCode);
427
427
  } else {
428
- let newParamCode = `{{${paramCode}.[paramCode(未定义)].field}}`;
428
+ let newParamCode = this.$t1('{{{p0}.[paramCode(未定义)].field}}', { p0: paramCode });
429
429
  formula = formula.replaceAll(`[${paramCode}]`, newParamCode);
430
430
  }
431
431
  });
@@ -519,7 +519,7 @@ export default {
519
519
  content:
520
520
  '<span class="cg">' +
521
521
  this.i18nt("designer.hint.formulaSample") +
522
- ':</span><span class="fname">SUM</span><span class="cg">(</span><span class="cs">参数1</span><span class="cg">,</span><span class="cs">参数2</span><span class="cg">)</span>',
522
+ ':</span><span class="fname">SUM</span><span class="cg">(</span><span class="cs">' + this.$t1('参数1') + '</span><span class="cg">,</span><span class="cs">' + this.$t1('参数2') + '</span><span class="cg">)</span>',
523
523
  };
524
524
  },
525
525
 
@@ -2256,9 +2256,9 @@ tmixins = {
2256
2256
  a.href = url;
2257
2257
  let fileName = null;
2258
2258
  if (this.resultType) {
2259
- fileName = `导入结果(成功).xlsx`;
2259
+ fileName = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('导入结果(成功).xlsx') : '导入结果(成功).xlsx');
2260
2260
  } else {
2261
- fileName = `导入结果(失败).xlsx`;
2261
+ fileName = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('导入结果(失败).xlsx') : '导入结果(失败).xlsx');
2262
2262
  }
2263
2263
  a.download = fileName;
2264
2264
  a.click();
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="排序"
3
+ :title="$t1('排序')"
4
4
  :append-to-body="true"
5
5
  :modal-append-to-body="true"
6
6
  :close-on-click-modal="false"
@@ -18,12 +18,10 @@
18
18
  </div>
19
19
  <span slot="footer" class="dialog-footer">
20
20
  <el-button type="primary" plain class="button-sty" @click="handleClose">
21
- <i class="el-icon-close el-icon"></i>
22
- 取 消
21
+ <i class="el-icon-close el-icon"></i>{{ $t1('取 消') }}
23
22
  </el-button>
24
23
  <el-button type="primary" @click="saveSort" class="button-sty">
25
- <i class="el-icon-check el-icon"></i>
26
- 确 定
24
+ <i class="el-icon-check el-icon"></i>{{ $t1('确 定') }}
27
25
  </el-button>
28
26
  </span>
29
27
  </el-dialog>
@@ -95,7 +93,7 @@ export default {
95
93
  },
96
94
  header: () => {
97
95
  return [
98
- <el-tooltip v-model={this.showHelpTip2} content="按住后可以上下拖动排序!" enterable class="drag-btn">
96
+ <el-tooltip v-model={this.showHelpTip2} content={this.$t1('按住后可以上下拖动排序!')} enterable class="drag-btn">
99
97
  <i
100
98
  class="el-icon-menu "
101
99
  onClick={() => {
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <el-dialog
3
- title="单据列表"
3
+ :title="$t1('单据列表')"
4
4
  :append-to-body="true"
5
5
  :modal-append-to-body="true"
6
6
  :close-on-click-modal="falseValue"
@@ -27,9 +27,9 @@
27
27
  <div class="clearfix screen-btns">
28
28
  <div class="fr">
29
29
  <vxe-button icon="el-icon-brush" class="button-sty" @click="resetEvent" type="text" status="primary"
30
- plain>刷新
30
+ plain>{{ $t1('刷新') }}
31
31
  </vxe-button>
32
- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">搜索</vxe-button>
32
+ <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="searchEvent">{{ $t1('搜索') }}</vxe-button>
33
33
  </div>
34
34
  </div>
35
35
  <template v-if="searchFields.length>0">
@@ -18,7 +18,7 @@
18
18
  readonly
19
19
  disabled
20
20
  :size="field.options.size || 'small'"
21
- :placeholder="getI18nLabel(field.options.placeholder || '请选择地区')"
21
+ :placeholder="getI18nLabel(field.options.placeholder || $t1('请选择地区'))"
22
22
  />
23
23
  <baseArea
24
24
  v-else
@@ -35,7 +35,7 @@
35
35
  :disabled="field.options.disabled"
36
36
  :readonly="field.options.readonly"
37
37
  :clearable="field.options.clearable"
38
- :placeholder="getI18nLabel(field.options.placeholder || '请选择地区')"
38
+ :placeholder="getI18nLabel(field.options.placeholder || $t1('请选择地区'))"
39
39
  :size="field.options.size || 'small'"
40
40
  @input="handleAreaInput"
41
41
  @change="handleAreaChange"
@@ -11,7 +11,7 @@
11
11
  :disabled="field.options.disabled"
12
12
  :readonly="field.options.readonly"
13
13
  :size="field.options.size"
14
- :placeholder="getI18nLabel(field.options.placeholder || '请输入关键词搜索')"
14
+ :placeholder="getI18nLabel(field.options.placeholder || $t1('请输入关键词搜索'))"
15
15
  :clearable="field.options.clearable"
16
16
  :fetch-suggestions="querySearchAsync"
17
17
  :trigger-on-focus="false"
@@ -171,7 +171,7 @@ export default {
171
171
  this.$set(this.field.options, 'disabled', false);
172
172
  }
173
173
  this.option = {
174
- title: '附件',
174
+ title: this.$t1('附件'),
175
175
  edit: !this.field.options.disabled,
176
176
  showViewButton: this.field.options.showViewButton !== false,
177
177
  uploadConfig: {
@@ -13,7 +13,8 @@
13
13
  >
14
14
  <el-cascader
15
15
  ref="fieldEditor"
16
- :options="field.options.optionItems"
16
+ :key="lazyRenderKey"
17
+ :options="cascaderOptions"
17
18
  v-model="fieldModel"
18
19
  v-show="!isReadMode"
19
20
  class="full-width-input"
@@ -25,14 +26,7 @@
25
26
  field.options.placeholder || i18nt('render.hint.selectPlaceholder')
26
27
  "
27
28
  :show-all-levels="showFullPath"
28
- :props="{
29
- checkStrictly: field.options.checkStrictly,
30
- multiple: field.options.multiple,
31
- expandTrigger: 'hover',
32
- value: valueKey,
33
- label: labelKey,
34
- children: childrenKey,
35
- }"
29
+ :props="cascaderProps"
36
30
  @visible-change="hideDropDownOnClick"
37
31
  @expand-change="hideDropDownOnClick"
38
32
  @focus="handleFocusCustomEvent"
@@ -91,9 +85,36 @@ export default {
91
85
  oldFieldValue: null, //field组件change之前的值
92
86
  fieldModel: null,
93
87
  rules: [],
88
+ lazyEmptyOptions: [],
89
+ lazyRenderKey: 0,
90
+ lazyLabelMap: {},
94
91
  };
95
92
  },
96
93
  computed: {
94
+ lazyEnabled() {
95
+ return !!this.field.options.lazy && !this.designState;
96
+ },
97
+
98
+ cascaderOptions() {
99
+ return this.lazyEnabled
100
+ ? this.lazyEmptyOptions
101
+ : this.field.options.optionItems;
102
+ },
103
+
104
+ cascaderProps() {
105
+ return {
106
+ checkStrictly: !!this.field.options.checkStrictly,
107
+ multiple: !!this.field.options.multiple,
108
+ expandTrigger: "hover",
109
+ value: this.valueKey,
110
+ label: this.labelKey,
111
+ children: this.childrenKey,
112
+ leaf: "leaf",
113
+ lazy: this.lazyEnabled,
114
+ lazyLoad: this.lazyLoadNode,
115
+ };
116
+ },
117
+
97
118
  labelKey() {
98
119
  return this.field.options.labelKey || "label";
99
120
  },
@@ -114,6 +135,37 @@ export default {
114
135
  },
115
136
 
116
137
  contentForReadMode() {
138
+ if (this.lazyEnabled) {
139
+ if (
140
+ this.fieldModel === null ||
141
+ this.fieldModel === undefined ||
142
+ this.fieldModel === ""
143
+ ) {
144
+ return "--";
145
+ }
146
+ const text = this.resolveDisplayValue(this.fieldModel);
147
+ if (text === null || text === undefined || text === "") return "--";
148
+ if (Array.isArray(text)) {
149
+ if (text.some((item) => Array.isArray(item))) {
150
+ return (
151
+ text
152
+ .map((item) => (Array.isArray(item) ? item.join(" / ") : item))
153
+ .join(", ") || "--"
154
+ );
155
+ }
156
+ return text.join(" / ") || "--";
157
+ }
158
+ if (!this.showFullPath && typeof text === "string") {
159
+ return (
160
+ text
161
+ .split(", ")
162
+ .map((item) => item.split(" / ").pop())
163
+ .filter(Boolean)
164
+ .join(", ") || "--"
165
+ );
166
+ }
167
+ return text;
168
+ }
117
169
  if (!!this.field.options.multiple) {
118
170
  //console.log('test======', this.$refs.fieldEditor.presentTags)
119
171
  const curTags = this.$refs.fieldEditor.presentTags;
@@ -152,11 +204,105 @@ export default {
152
204
  },
153
205
 
154
206
  methods: {
207
+ // 重新加载懒加载节点(上级条件变化后清空已展开数据)
208
+ reloadLazyNodes() {
209
+ this.lazyLabelMap = {};
210
+ this.lazyRenderKey += 1;
211
+ },
212
+ lazyPathKey(path) {
213
+ return JSON.stringify(path);
214
+ },
215
+ rememberLazyNodes(parentNode, list) {
216
+ if (!Array.isArray(list)) return;
217
+ const valueKey = this.valueKey;
218
+ const labelKey = this.labelKey;
219
+ const basePath =
220
+ parentNode && parentNode.level > 0 && Array.isArray(parentNode.path)
221
+ ? parentNode.path.slice()
222
+ : [];
223
+ list.forEach((item) => {
224
+ if (!item || typeof item !== "object") return;
225
+ const value = item[valueKey];
226
+ if (value === undefined) return;
227
+ const path = basePath.concat(value);
228
+ this.$set(this.lazyLabelMap, this.lazyPathKey(path), {
229
+ path: path,
230
+ label: item[labelKey],
231
+ });
232
+ });
233
+ },
234
+ lazyLoadNode(node, resolve) {
235
+ if (!this.lazyEnabled) {
236
+ resolve([]);
237
+ return;
238
+ }
239
+ const handler = this.field.options.onLazyLoad;
240
+ if (!handler) {
241
+ resolve([]);
242
+ return;
243
+ }
244
+ let settled = false;
245
+ const done = (list) => {
246
+ if (settled) return;
247
+ settled = true;
248
+ const nodes = Array.isArray(list) ? list : [];
249
+ this.rememberLazyNodes(node, nodes);
250
+ resolve(nodes);
251
+ };
252
+ try {
253
+ this.handleCustomEvent(handler, ["node", "resolve"], [node, done]);
254
+ } catch (e) {
255
+ done([]);
256
+ }
257
+ },
258
+ resolveLazyDisplayValue(rawValue) {
259
+ if (!this.lazyLabelMap || !Object.keys(this.lazyLabelMap).length) {
260
+ return null;
261
+ }
262
+ const labelOf = (path) => {
263
+ const labels = [];
264
+ for (let i = 0; i < path.length; i++) {
265
+ const seg = this.lazyLabelMap[this.lazyPathKey(path.slice(0, i + 1))];
266
+ if (!seg) return null;
267
+ labels.push(this.$t1 ? this.$t1(seg.label) : seg.label);
268
+ }
269
+ return labels.join(" / ");
270
+ };
271
+ const resolveOne = (value) => {
272
+ if (Array.isArray(value)) return labelOf(value);
273
+ let matched = null;
274
+ Object.keys(this.lazyLabelMap).forEach((key) => {
275
+ const seg = this.lazyLabelMap[key];
276
+ if (
277
+ seg &&
278
+ seg.path.length &&
279
+ seg.path[seg.path.length - 1] === value
280
+ ) {
281
+ matched = seg;
282
+ }
283
+ });
284
+ return matched ? labelOf(matched.path) : null;
285
+ };
286
+ if (
287
+ this.field.options.multiple &&
288
+ Array.isArray(rawValue) &&
289
+ rawValue.some((item) => Array.isArray(item))
290
+ ) {
291
+ const parts = rawValue.map(resolveOne);
292
+ if (parts.some((item) => !item)) return null;
293
+ return parts.join(", ");
294
+ }
295
+ return resolveOne(rawValue);
296
+ },
155
297
  // 对比展示:级联值(叶子value 或 value路径数组) → 逐级 label 路径
156
298
  resolveDisplayValue(rawValue) {
157
299
  if (rawValue === null || rawValue === undefined || rawValue === "") {
158
300
  return rawValue;
159
301
  }
302
+ if (this.lazyEnabled) {
303
+ const lazyText = this.resolveLazyDisplayValue(rawValue);
304
+ return lazyText == null || lazyText === "" ? rawValue : lazyText;
305
+ }
160
306
  let options = this.field.options.optionItems || [];
161
307
  let vk = this.valueKey;
162
308
  let lk = this.labelKey;
@@ -79,7 +79,7 @@
79
79
  await formRef.prepareTreeTablesForCopy()
80
80
  }
81
81
  } catch (error) {
82
- this.$message.error(error?.message || "树表数据尚未准备完成")
82
+ this.$message.error(error?.message || this.$t1('树表数据尚未准备完成'))
83
83
  return
84
84
  }
85
85
  let copyData = this.$baseLodash.cloneDeep(this.formModel);