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

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 (253) 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/docs//345/270/270/347/224/250/350/204/232/346/234/254/350/260/203/347/224/250.md +209 -0
  69. package/src/components/xform/docs//347/272/247/350/201/224/351/200/211/346/213/251/346/207/222/345/212/240/350/275/275/344/275/277/347/224/250/350/257/264/346/230/216.md +177 -0
  70. package/src/components/xform/form-designer/designer.js +20 -20
  71. package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +74 -76
  72. package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +2 -2
  73. package/src/components/xform/form-designer/form-widget/container-widget/detail-temp-widget.vue +1 -1
  74. package/src/components/xform/form-designer/form-widget/container-widget/list-h5-widget.vue +6 -6
  75. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +1 -1
  76. package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +1 -1
  77. package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +5 -5
  78. package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +2 -2
  79. package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2 -2
  80. package/src/components/xform/form-designer/form-widget/dialog/treeMoveDialog.vue +4 -6
  81. package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +3 -3
  82. package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +2 -2
  83. package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
  84. package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
  85. package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +349 -10
  86. package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
  87. package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +2 -2
  88. package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
  89. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +6 -0
  90. package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +176 -176
  91. package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +3 -3
  92. package/src/components/xform/form-designer/form-widget/field-widget/mixins/relativeDateUtil.js +4 -4
  93. package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +1 -1
  94. package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +2 -2
  95. package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +2 -2
  96. package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +4 -4
  97. package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
  98. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
  99. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
  100. package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
  101. package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +8 -8
  102. package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +2 -2
  103. package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +21 -21
  104. package/src/components/xform/form-designer/setting-panel/dataSource-setting.vue +46 -46
  105. package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +62 -66
  106. package/src/components/xform/form-designer/setting-panel/form-setting.vue +53 -61
  107. package/src/components/xform/form-designer/setting-panel/indexMixin.js +50 -0
  108. package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +9 -9
  109. package/src/components/xform/form-designer/setting-panel/property-editor/censusItems-editor.vue +6 -6
  110. package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +4 -4
  111. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/condition-editor.vue +1 -1
  112. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +99 -116
  113. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +17 -17
  114. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +14 -14
  115. package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +80 -80
  116. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +1 -2
  117. package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-plain/detail-plain-editor.vue +1 -2
  118. package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +14 -16
  119. package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +39 -56
  120. package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-fullWidth-editor.vue +1 -1
  121. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +6 -6
  122. package/src/components/xform/form-designer/setting-panel/property-editor/container-tree-pane/tree-pane-editor.vue +1 -1
  123. package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +1 -1
  124. package/src/components/xform/form-designer/setting-panel/property-editor/descriptionsItems-editor.vue +8 -8
  125. package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +4 -4
  126. package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +11 -12
  127. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onClear-editor.vue +30 -0
  128. package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onLazyLoad-editor.vue +34 -0
  129. package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +7 -7
  130. package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +22 -22
  131. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/addTableData-event-editor.vue +2 -2
  132. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindActions.js +1 -1
  133. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +3 -3
  134. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/form-host-event-editor.vue +40 -40
  135. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +24 -24
  136. package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/cascader-lazy-editor.vue +99 -0
  137. package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyName-editor.vue +6 -6
  138. package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyNameEnabled-editor.vue +1 -1
  139. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +11 -11
  140. package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +2 -2
  141. package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +2 -2
  142. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +15 -15
  143. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +15 -15
  144. package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +25 -25
  145. package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +1 -1
  146. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +28 -31
  147. package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +41 -50
  148. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +4 -5
  149. package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +4 -5
  150. package/src/components/xform/form-designer/setting-panel/property-editor/field-script/script-editor.vue +24 -24
  151. package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +7 -7
  152. package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +24 -24
  153. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +4 -4
  154. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +19 -21
  155. package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +13 -14
  156. package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue +1 -1
  157. package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-timeLimit-editor.vue +3 -3
  158. package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue +1 -1
  159. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +1 -1
  160. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +6 -6
  161. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabsearchConfigDialog.vue +9 -9
  162. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +1 -1
  163. package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +5 -5
  164. package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +5 -5
  165. package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +6 -6
  166. package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +9 -9
  167. package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +1 -1
  168. package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue +8 -8
  169. package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +5 -5
  170. package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +2 -2
  171. package/src/components/xform/form-designer/setting-panel/property-editor/listItems-editor.vue +3 -3
  172. package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +2 -2
  173. package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +2 -2
  174. package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +25 -25
  175. package/src/components/xform/form-designer/setting-panel/property-editor/relative-default-block.vue +14 -15
  176. package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +5 -5
  177. package/src/components/xform/form-designer/setting-panel/property-editor/showText-editor.vue +1 -1
  178. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +2 -2
  179. package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +11 -11
  180. package/src/components/xform/form-designer/setting-panel/property-editor/urlValueEnabled-editor.vue +2 -3
  181. package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +1 -1
  182. package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +23 -23
  183. package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +9 -9
  184. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +3 -0
  185. package/src/components/xform/form-designer/setting-panel/wfObjConfigDialog.vue +1 -1
  186. package/src/components/xform/form-designer/toolbar-panel/index.vue +3 -4
  187. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +7 -0
  188. package/src/components/xform/form-render/container-item/data-table-item.vue +10 -10
  189. package/src/components/xform/form-render/container-item/data-table-mixin.js +34 -34
  190. package/src/components/xform/form-render/container-item/detail-item.vue +2 -2
  191. package/src/components/xform/form-render/container-item/detail-temp-item.vue +1 -1
  192. package/src/components/xform/form-render/container-item/list-h5-item.vue +13 -13
  193. package/src/components/xform/form-render/fieldControlEngine.js +17 -17
  194. package/src/components/xform/form-render/fieldControlMixin.js +14 -14
  195. package/src/components/xform/form-render/index.vue +2 -2
  196. package/src/components/xform/form-render/indexMixin.js +21 -21
  197. package/src/components/xform/mixins/defaultHandle.js +1 -1
  198. package/src/components/xform/mixins/scriptHttp.js +1 -1
  199. package/src/components/xform/utils/dynamicSchemaUtil.js +1 -1
  200. package/src/components/xform/utils/formHttp.js +1 -1
  201. package/src/components/xform/utils/treeTableUtil.js +44 -44
  202. package/src/layout/components/createCompany/createCompanyDialog.vue +2 -2
  203. package/src/layout/components/extractedCode/createDialog.vue +1 -1
  204. package/src/layout/components/langTool.vue +1 -1
  205. package/src/utils/vab.js +4 -0
  206. package/src/views/user/api_request/list.vue +6 -6
  207. package/src/views/user/area/dialog.vue +1 -1
  208. package/src/views/user/area/list.vue +1 -1
  209. package/src/views/user/bill_setting/render.vue +2 -2
  210. package/src/views/user/error-page/401.vue +9 -9
  211. package/src/views/user/form/form_ins_list/edit.vue +17 -17
  212. package/src/views/user/form/form_template/dialog.vue +12 -12
  213. package/src/views/user/form/form_template/edit.vue +10 -10
  214. package/src/views/user/form/form_template/itemEdit.vue +18 -18
  215. package/src/views/user/form/form_template/itemList.vue +13 -13
  216. package/src/views/user/form/form_template/list.vue +25 -25
  217. package/src/views/user/form/form_template_field/dialog.vue +3 -3
  218. package/src/views/user/form/form_type/dialog.vue +5 -5
  219. package/src/views/user/form/form_type/edit.vue +2 -2
  220. package/src/views/user/form/form_type/editDialog.vue +3 -3
  221. package/src/views/user/form/form_type/list.vue +5 -5
  222. package/src/views/user/form/report_requestaccess/dialog.vue +12 -12
  223. package/src/views/user/form/report_requestaccess/edit.vue +54 -54
  224. package/src/views/user/form/report_requestaccess/list.vue +15 -15
  225. package/src/views/user/form/vform/designer.vue +37 -37
  226. package/src/views/user/form/vform/render.vue +1 -1
  227. package/src/views/user/form/view/list.vue +4 -4
  228. package/src/views/user/home/wjl/content.vue +2 -2
  229. package/src/views/user/login/default.vue +1 -1
  230. package/src/views/user/login/indexMixin.js +1 -1
  231. package/src/views/user/outLink/form_view.vue +1 -1
  232. package/src/views/user/outLink/index.vue +1 -1
  233. package/src/views/user/outLink/view.vue +1 -1
  234. package/src/views/user/push_setting/list.vue +20 -20
  235. package/src/views/user/request_setting/list.vue +18 -18
  236. package/src/views/user/sale_org/list.vue +1 -1
  237. package/src/views/user/sale_org/moveDialog.vue +8 -8
  238. package/src/views/user/user/edit.vue +3 -3
  239. package/src/views/user/user/form_list.vue +6 -6
  240. package/src/views/user/user/info.vue +2 -2
  241. package/src/views/user/user/infoEdit.vue +1 -1
  242. package/src/views/user/user/list.vue +1 -1
  243. package/src/views/user/wf/iframe/index.vue +1 -1
  244. package/src/views/user/wf/iframe/index2.vue +1 -1
  245. package/src/views/user/wf/wfReport/index.vue +18 -18
  246. package/src/views/user/wf/wf_manage/list.vue +1 -1
  247. package/src/views/user/wf/wf_manage/list2.vue +1 -1
  248. package/src/views/user/wf/wf_manage/wfContentDialog.vue +93 -93
  249. package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
  250. package/src/views/user/wf/wf_obj_config/importItemDialog.vue +4 -4
  251. package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +3 -3
  252. package/src/views/user/wf/wf_work_calendar/components/calendar.vue +2 -8
  253. package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +2 -8
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.1.0-dev.74",
4
+ "version": "1.1.0-dev.76",
5
5
  "scripts": {
6
6
  "build:ace-resources": "node build/build-ace-resources.js",
7
7
  "build:tinymce-resources": "node build/build-tinymce-resources.js",
@@ -37,7 +37,7 @@
37
37
  <!-- <div>
38
38
  <p>解析结果: {{ showDecodedText }}</p>
39
39
  </div>-->
40
- <el-button type="primary" plain class="button-sty" @click="searchEvent" icon="el-icon-search">查询
40
+ <el-button type="primary" plain class="button-sty" @click="searchEvent" icon="el-icon-search">{{ $t1('查询') }}
41
41
  </el-button>
42
42
  </div>
43
43
  </template>
@@ -128,7 +128,7 @@ export default {
128
128
  },
129
129
  searchEvent(){
130
130
  if(!this.fileRaw){
131
- this.$baseAlert("请选择文件")
131
+ this.$baseAlert(this.$t1('请选择文件'))
132
132
  return
133
133
  }
134
134
  this.handleFileChange(this.fileRaw.raw,{
@@ -172,7 +172,7 @@ export default {
172
172
  } catch (error) {
173
173
  // 处理请求失败或其他错误,并显示错误信息
174
174
  this.showDecodedText = "图片处理失败: " + error.message;
175
- this.$baseAlert("图片处理失败: " + error.message);
175
+ this.$baseAlert(this.$t1('图片处理失败: ') + error.message);
176
176
  }
177
177
  },
178
178
  // 处理文件上传事件
@@ -242,7 +242,7 @@ export default {
242
242
  // 如果解码失败,设置 decodedText 属性为错误信息
243
243
  this.decodedText = null;
244
244
  this.showDecodedText = "未能解析二维码";
245
- this.$baseAlert("未能解析二维码");
245
+ this.$baseAlert(this.$t1('未能解析二维码'));
246
246
  }
247
247
  },
248
248
  },
@@ -9,7 +9,7 @@ export function loadTinymce(src) {
9
9
  const actualBase = new URL(window.tinymce.baseURL || "/", window.location.href).href.replace(/\/$/, "");
10
10
  if (String(window.tinymce.majorVersion) !== "4" || String(window.tinymce.minorVersion) !== "9.2"
11
11
  || (loadedSource !== src && actualBase !== expectedBase)) {
12
- return Promise.reject(new Error(`TinyMCE 已存在不同版本或来源的全局实例,拒绝覆盖:${src}`));
12
+ return Promise.reject(new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('TinyMCE 已存在不同版本或来源的全局实例,拒绝覆盖:{p0}', { p0: src }) : 'TinyMCE 已存在不同版本或来源的全局实例,拒绝覆盖:{p0}')));
13
13
  }
14
14
  return Promise.resolve(window.tinymce);
15
15
  }
@@ -18,7 +18,7 @@ export function loadTinymce(src) {
18
18
  script.src = src;
19
19
  script.dataset.coreResource = "richText";
20
20
  let settled = false;
21
- const timer = setTimeout(() => finish(new Error(`TinyMCE 加载超时:${src}`)), 30000);
21
+ const timer = setTimeout(() => finish(new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('TinyMCE 加载超时:{p0}', { p0: src }) : 'TinyMCE 加载超时:{p0}'))), 30000);
22
22
  function finish(error) {
23
23
  if (settled) return;
24
24
  settled = true;
@@ -34,10 +34,10 @@ export function loadTinymce(src) {
34
34
  }
35
35
  script.onload = () => {
36
36
  if (!window.tinymce || String(window.tinymce.majorVersion) !== "4" || String(window.tinymce.minorVersion) !== "9.2") {
37
- finish(new Error(`TinyMCE 脚本未提供兼容的 4.9.2 实例:${src}`));
37
+ finish(new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('TinyMCE 脚本未提供兼容的 4.9.2 实例:{p0}', { p0: src }) : 'TinyMCE 脚本未提供兼容的 4.9.2 实例:{p0}')));
38
38
  } else finish();
39
39
  };
40
- script.onerror = () => finish(new Error(`TinyMCE 加载失败:${src}`));
40
+ script.onerror = () => finish(new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('TinyMCE 加载失败:{p0}', { p0: src }) : 'TinyMCE 加载失败:{p0}')));
41
41
  document.body.appendChild(script);
42
42
  });
43
43
  pending.set(src, promise);
@@ -6,7 +6,7 @@
6
6
  >
7
7
  <div v-if="resourceError" role="alert">
8
8
  {{ resourceError }}
9
- <button type="button" @click="init">重试</button>
9
+ <button type="button" @click="init">{{ $t1('重试') }}</button>
10
10
  </div>
11
11
  <textarea :id="tinymceId" class="tinymce-textarea" v-if="isActivated" />
12
12
  <!-- <div class="editor-custom-btn-container">
@@ -19,7 +19,7 @@
19
19
  <div class="tree-box tree-annex fl">
20
20
  <div class="tit"><b>{{ title }}</b></div>
21
21
  <div class="tree-form">
22
- <el-input placeholder="请输入文件夹名称" v-model="filterText" class="txt">
22
+ <el-input :placeholder="$t1('请输入文件夹名称')" v-model="filterText" class="txt">
23
23
  <el-button slot="append" icon="el-icon-search"></el-button>
24
24
  </el-input>
25
25
  </div>
@@ -61,20 +61,20 @@
61
61
  }}</span><i
62
62
  class="el-icon-close" @click="deleteBillData(index)"></i></div>
63
63
  </div>
64
- <el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">全部删除
64
+ <el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">{{ $t1('全部删除') }}
65
65
  </el-button>
66
66
  </div>
67
67
  <div class="annex-screen"
68
68
  v-if="fileObjAuth.downloadAuth">
69
69
  <el-button type="primary" class="button-sty" icon="el-icon-download" @click.native="mulDownload2"
70
- v-if="fileObjAuth.downloadAuth">下载
70
+ v-if="fileObjAuth.downloadAuth">{{ $t1('下载') }}
71
71
  </el-button>
72
72
  </div>
73
73
  <div class="line"
74
74
  v-if="fileObjAuth.downloadAuth"></div>
75
75
  <div class="annex-crumbs">
76
- <span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
77
- <span class="tit" style="padding-right: 0;">指定路径:</span>
76
+ <span class="tit"><i class="iconfont icon-wenjianjia"></i>{{ $t1('文件区') }}</span>
77
+ <span class="tit" style="padding-right: 0;">{{ $t1('指定路径:') }}</span>
78
78
  <el-breadcrumb separator-class="el-icon-arrow-right">
79
79
  <el-breadcrumb-item v-for="treeNode in treeNodeArr" :key="treeNode.id" @click.native="doNav(treeNode)">
80
80
  {{
@@ -88,17 +88,17 @@
88
88
  <div class="fl">
89
89
  <div class="oper">
90
90
  <el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
91
- :indeterminate="checkAllIndeterminate">已选中 {{
91
+ :indeterminate="checkAllIndeterminate">{{ $t1('已选中') }} {{
92
92
  checkList.length
93
- }} 项
93
+ }} {{ $t1('项') }}
94
94
  </el-checkbox>
95
95
  </div>
96
96
  <div class="search-box">
97
97
  <template v-if="currentFileCategory && currentFileCategory.id">
98
- <el-input placeholder="请输入文件名" v-model="formData.fileName" clearable>
98
+ <el-input :placeholder="$t1('请输入文件名')" v-model="formData.fileName" clearable>
99
99
  <el-button slot="append" icon="el-icon-search" @click="searchEvent"></el-button>
100
100
  </el-input>
101
- <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">筛选
101
+ <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">{{ $t1('筛选') }}
102
102
  </el-button>
103
103
  </template>
104
104
  </div>
@@ -107,11 +107,11 @@
107
107
  <div class="fr">
108
108
  <el-button type="primary" icon="iconfont icon-icmenu2" @click="changeShowType()"
109
109
  class="button-sty icon-btn"
110
- v-show="showType==1">列表
110
+ v-show="showType==1">{{ $t1('列表') }}
111
111
  </el-button>
112
112
  <el-button type="primary" style="margin-left:0;" icon="el-icon-menu" @click="changeShowType()"
113
113
  class="button-sty icon-btn"
114
- v-show="showType==2">图示
114
+ v-show="showType==2">{{ $t1('图示') }}
115
115
  </el-button>
116
116
  </div>
117
117
  </div>
@@ -131,7 +131,7 @@
131
131
  v-if="!attachment.dirs && fileObjAuth.downloadAuth"
132
132
  @click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.fileName)"
133
133
  >
134
- <el-tooltip effect="dark" content="下载" placement="top"
134
+ <el-tooltip effect="dark" :content="$t1('下载')" placement="top"
135
135
  popper-class="tooltip-skin">
136
136
  <i class="el-icon-download"/>
137
137
  </el-tooltip>
@@ -174,7 +174,7 @@
174
174
  >
175
175
  <template #right>
176
176
  <span>
177
- <span>当前记录</span>
177
+ <span>{{ $t1('当前记录') }}</span>
178
178
  <span class="f-red"> {{ page.records.length }} </span>
179
179
  <span>/</span>
180
180
  <span class="f-red"> {{ page.total }}</span>
@@ -201,7 +201,7 @@
201
201
  >
202
202
  <template #right>
203
203
  <span>
204
- <span>当前记录</span>
204
+ <span>{{ $t1('当前记录') }}</span>
205
205
  <span class="f-red"> {{ page.records.length }} </span>
206
206
  <span>/</span>
207
207
  <span class="f-red"> {{ page.total }}</span>
@@ -232,12 +232,12 @@
232
232
  :formData.sync="advancedFormData" @confirm="searchEvent">
233
233
  <template #form>
234
234
  <vxe-form :model="advancedFormData" title-width="102px" :inline="true" class="adSearchForm">
235
- <vxe-form-item title="属性名称:">
235
+ <vxe-form-item :title="$t1('属性名称:')">
236
236
  <template v-slot>
237
237
  <el-input v-model="advancedFormData.attributeName" clearable/>
238
238
  </template>
239
239
  </vxe-form-item>
240
- <vxe-form-item title="属性值:">
240
+ <vxe-form-item :title="$t1('属性值:')">
241
241
  <template v-slot>
242
242
  <el-input v-model="advancedFormData.attributeValue" clearable/>
243
243
  </template>
@@ -250,12 +250,12 @@
250
250
  </el-select>
251
251
  </template>
252
252
  </vxe-form-item>-->
253
- <vxe-form-item title="说明:" class-name="block">
253
+ <vxe-form-item :title="$t1('说明:')" class-name="block">
254
254
  <template v-slot>
255
255
  <el-input v-model="advancedFormData.note" clearable/>
256
256
  </template>
257
257
  </vxe-form-item>
258
- <vxe-form-item title="创建时间:">
258
+ <vxe-form-item :title="$t1('创建时间:')">
259
259
  <template v-slot>
260
260
  <el-date-picker
261
261
  v-model="advancedFormData.startTime"
@@ -248,7 +248,7 @@ export default {
248
248
  },
249
249
  handleImgError(e) {
250
250
  this.loading = false;
251
- e.target.alt = '加载失败';
251
+ e.target.alt = this.$t1('加载失败');
252
252
  },
253
253
  handleMouseDown(e) {
254
254
  if (this.loading || e.button !== 0) return;
@@ -361,7 +361,7 @@ export default {
361
361
  try {
362
362
  Swiper = await loadSwiper();
363
363
  } catch (error) {
364
- this.$message.error('图片预览组件加载失败,请关闭后重试');
364
+ this.$message.error(this.$t1('图片预览组件加载失败,请关闭后重试'));
365
365
  return;
366
366
  }
367
367
  if (this._isDestroyed) return;
@@ -451,7 +451,7 @@ modules = {
451
451
  columns: [
452
452
  { type: "checkbox", width: 48, resizable: false, fixed: "left" },
453
453
  {
454
- title: "文件名称",
454
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文件名称') : '文件名称'),
455
455
  field: "fileName",
456
456
  width: 250,
457
457
  fixed: "left",
@@ -479,7 +479,7 @@ modules = {
479
479
  props: {
480
480
  enterable: false,
481
481
  effect: "dark",
482
- content: "预览",
482
+ content: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('预览') : '预览'),
483
483
  placement: "top",
484
484
  "popper-class": "tooltip-skin",
485
485
  },
@@ -530,7 +530,7 @@ modules = {
530
530
  },
531
531
  },
532
532
  {
533
- title: "文件大小",
533
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文件大小') : '文件大小'),
534
534
  field: "fileSize",
535
535
  width: 150,
536
536
  slots: {
@@ -542,7 +542,7 @@ modules = {
542
542
  },
543
543
  },
544
544
  {
545
- title: "版本号",
545
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('版本号') : '版本号'),
546
546
  field: "version",
547
547
  width: 150,
548
548
  slots: {
@@ -553,7 +553,7 @@ modules = {
553
553
  },
554
554
  },
555
555
  },
556
- { title: "说明", field: "note", width: 250 },
556
+ { title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('说明') : '说明'), field: "note", width: 250 },
557
557
  /*{
558
558
  title: '状态',
559
559
  field: 'status',
@@ -566,10 +566,10 @@ modules = {
566
566
  }
567
567
  }
568
568
  },*/
569
- { title: "创建人", field: "createBy", width: 150 },
569
+ { title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('创建人') : '创建人'), field: "createBy", width: 150 },
570
570
  {
571
571
  field: "createDate",
572
- title: "创建时间",
572
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('创建时间') : '创建时间'),
573
573
  width: 150,
574
574
  },
575
575
  {
@@ -586,7 +586,7 @@ modules = {
586
586
  return [
587
587
  this.getBtnVnode({
588
588
  class: "el-icon-download",
589
- title: "下载",
589
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('下载') : '下载'),
590
590
  show: fileObjAuth.downloadAuth === 1,
591
591
  click: (event) => {
592
592
  this.$commonFileUtil.downloadFile(
@@ -789,7 +789,7 @@ modules = {
789
789
  let currentFileCategory = category || this.currentFileCategory;
790
790
  if (!currentFileCategory) {
791
791
  this.$message({
792
- message: "请选择文件夹",
792
+ message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('请选择文件夹') : '请选择文件夹'),
793
793
  type: "error",
794
794
  showClose: true,
795
795
  duration: 3000,
@@ -847,7 +847,7 @@ modules = {
847
847
  let checkRows = this.getCheckRows();
848
848
  if (!checkRows.length) {
849
849
  this.$message({
850
- message: "请选择需要下载的文件",
850
+ message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('请选择需要下载的文件') : '请选择需要下载的文件'),
851
851
  type: "error",
852
852
  showClose: true,
853
853
  duration: 3000,
@@ -863,7 +863,7 @@ modules = {
863
863
  let checkRows = this.getCheckRows();
864
864
  if (!checkRows.length) {
865
865
  this.$message({
866
- message: "请选择需要下载的文件",
866
+ message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('请选择需要下载的文件') : '请选择需要下载的文件'),
867
867
  type: "error",
868
868
  showClose: true,
869
869
  duration: 3000,
@@ -1017,7 +1017,7 @@ modules = {
1017
1017
  this.treeFlag = true;
1018
1018
  });
1019
1019
  } else {
1020
- this.$baseAlert("文档工作区未维护");
1020
+ this.$baseAlert((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文档工作区未维护') : '文档工作区未维护'));
1021
1021
  }
1022
1022
  },
1023
1023
  });
@@ -366,9 +366,7 @@ tmixins = {
366
366
  this.dialogVisible = true;
367
367
  },
368
368
  handleExceed(files, fileList) {
369
- let errorMsg = `当前限制选择 ${this.limit} 个文件,本次选择了
370
- ${files.length}
371
- 个文件`;
369
+ let errorMsg = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('当前限制选择 {p0} 个文件,本次选择了\r\n {p1}\r\n 个文件', { p0: this.limit, p1: files.length }) : '当前限制选择 {p0} 个文件,本次选择了\r\n {p1}\r\n 个文件');
372
370
  this.$message({
373
371
  message: this.$t2(errorMsg, "components.VabUpload.warnMsg2", {
374
372
  limit: this.limit,
@@ -19,7 +19,7 @@
19
19
  <div class="tree-box tree-annex fl">
20
20
  <div class="tit"><b>{{ title }}</b></div>
21
21
  <div class="tree-form">
22
- <el-input placeholder="请输入文件夹名称" v-model="filterText" class="txt">
22
+ <el-input :placeholder="$t1('请输入文件夹名称')" v-model="filterText" class="txt">
23
23
  <el-button slot="append" icon="el-icon-search"></el-button>
24
24
  </el-input>
25
25
  </div>
@@ -61,20 +61,20 @@
61
61
  }}</span><i
62
62
  class="el-icon-close" @click="deleteBillData(index)"></i></div>
63
63
  </div>
64
- <el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">全部删除
64
+ <el-button slot="append" icon="el-icon-delete" size="mini" class="an-btn-del" @click="clearBill">{{ $t1('全部删除') }}
65
65
  </el-button>
66
66
  </div>
67
67
  <div class="annex-screen"
68
68
  v-if="fileObjAuth.downloadAuth">
69
69
  <el-button type="primary" class="button-sty" icon="el-icon-download" @click.native="mulDownload2"
70
- v-if="fileObjAuth.downloadAuth">下载
70
+ v-if="fileObjAuth.downloadAuth">{{ $t1('下载') }}
71
71
  </el-button>
72
72
  </div>
73
73
  <div class="line"
74
74
  v-if="fileObjAuth.downloadAuth"></div>
75
75
  <div class="annex-crumbs">
76
- <span class="tit"><i class="iconfont icon-wenjianjia"></i>文件区</span>
77
- <span class="tit" style="padding-right: 0;">指定路径:</span>
76
+ <span class="tit"><i class="iconfont icon-wenjianjia"></i>{{ $t1('文件区') }}</span>
77
+ <span class="tit" style="padding-right: 0;">{{ $t1('指定路径:') }}</span>
78
78
  <el-breadcrumb separator-class="el-icon-arrow-right">
79
79
  <el-breadcrumb-item v-for="treeNode in treeNodeArr" :key="treeNode.id" @click.native="doNav(treeNode)">
80
80
  {{
@@ -88,17 +88,17 @@
88
88
  <div class="fl">
89
89
  <div class="oper">
90
90
  <el-checkbox v-model="checkAll" @change="changeCheckAll" :disabled="checkAllDisabled"
91
- :indeterminate="checkAllIndeterminate">已选中 {{
91
+ :indeterminate="checkAllIndeterminate">{{ $t1('已选中') }} {{
92
92
  checkList.length
93
- }} 项
93
+ }} {{ $t1('项') }}
94
94
  </el-checkbox>
95
95
  </div>
96
96
  <div class="search-box">
97
97
  <template v-if="currentFileCategory && currentFileCategory.id">
98
- <el-input placeholder="请输入文件名" v-model="formData.fileName" clearable>
98
+ <el-input :placeholder="$t1('请输入文件名')" v-model="formData.fileName" clearable>
99
99
  <el-button slot="append" icon="el-icon-search" @click="searchEvent"></el-button>
100
100
  </el-input>
101
- <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">筛选
101
+ <el-button icon="iconfont icon-shaixuan" class="button-sty" @click="showAdvancedSearch = true">{{ $t1('筛选') }}
102
102
  </el-button>
103
103
  </template>
104
104
  </div>
@@ -107,11 +107,11 @@
107
107
  <div class="fr">
108
108
  <el-button type="primary" icon="iconfont icon-icmenu2" @click="changeShowType()"
109
109
  class="button-sty icon-btn"
110
- v-show="showType==1">列表
110
+ v-show="showType==1">{{ $t1('列表') }}
111
111
  </el-button>
112
112
  <el-button type="primary" style="margin-left:0;" icon="el-icon-menu" @click="changeShowType()"
113
113
  class="button-sty icon-btn"
114
- v-show="showType==2">图示
114
+ v-show="showType==2">{{ $t1('图示') }}
115
115
  </el-button>
116
116
  </div>
117
117
  </div>
@@ -131,7 +131,7 @@
131
131
  v-if="!attachment.dirs && fileObjAuth.downloadAuth"
132
132
  @click="$commonFileUtil.downloadFile(attachment.domain + attachment.url, attachment.fileName)"
133
133
  >
134
- <el-tooltip effect="dark" content="下载" placement="top"
134
+ <el-tooltip effect="dark" :content="$t1('下载')" placement="top"
135
135
  popper-class="tooltip-skin">
136
136
  <i class="el-icon-download"/>
137
137
  </el-tooltip>
@@ -174,7 +174,7 @@
174
174
  >
175
175
  <template #right>
176
176
  <span>
177
- <span>当前记录</span>
177
+ <span>{{ $t1('当前记录') }}</span>
178
178
  <span class="f-red"> {{ page.records.length }} </span>
179
179
  <span>/</span>
180
180
  <span class="f-red"> {{ page.total }}</span>
@@ -201,7 +201,7 @@
201
201
  >
202
202
  <template #right>
203
203
  <span>
204
- <span>当前记录</span>
204
+ <span>{{ $t1('当前记录') }}</span>
205
205
  <span class="f-red"> {{ page.records.length }} </span>
206
206
  <span>/</span>
207
207
  <span class="f-red"> {{ page.total }}</span>
@@ -232,12 +232,12 @@
232
232
  :formData.sync="advancedFormData" @confirm="searchEvent">
233
233
  <template #form>
234
234
  <vxe-form :model="advancedFormData" title-width="102px" :inline="true" class="adSearchForm">
235
- <vxe-form-item title="属性名称:">
235
+ <vxe-form-item :title="$t1('属性名称:')">
236
236
  <template v-slot>
237
237
  <el-input v-model="advancedFormData.attributeName" clearable/>
238
238
  </template>
239
239
  </vxe-form-item>
240
- <vxe-form-item title="属性值:">
240
+ <vxe-form-item :title="$t1('属性值:')">
241
241
  <template v-slot>
242
242
  <el-input v-model="advancedFormData.attributeValue" clearable/>
243
243
  </template>
@@ -250,12 +250,12 @@
250
250
  </el-select>
251
251
  </template>
252
252
  </vxe-form-item>-->
253
- <vxe-form-item title="说明:" class-name="block">
253
+ <vxe-form-item :title="$t1('说明:')" class-name="block">
254
254
  <template v-slot>
255
255
  <el-input v-model="advancedFormData.note" clearable/>
256
256
  </template>
257
257
  </vxe-form-item>
258
- <vxe-form-item title="创建时间:">
258
+ <vxe-form-item :title="$t1('创建时间:')">
259
259
  <template v-slot>
260
260
  <el-date-picker
261
261
  v-model="advancedFormData.startTime"
@@ -412,7 +412,7 @@ modules = {
412
412
  columns: [
413
413
  {type: "checkbox", width: 48, resizable: false, fixed: "left"},
414
414
  {
415
- title: "文件名称",
415
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文件名称') : '文件名称'),
416
416
  field: "fileName",
417
417
  width: 250,
418
418
  fixed: "left",
@@ -440,7 +440,7 @@ modules = {
440
440
  props: {
441
441
  enterable: false,
442
442
  effect: "dark",
443
- content: "预览",
443
+ content: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('预览') : '预览'),
444
444
  placement: "top",
445
445
  "popper-class": "tooltip-skin",
446
446
  },
@@ -491,7 +491,7 @@ modules = {
491
491
  },
492
492
  },
493
493
  {
494
- title: "文件大小",
494
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文件大小') : '文件大小'),
495
495
  field: "fileSize",
496
496
  width: 150,
497
497
  slots: {
@@ -503,7 +503,7 @@ modules = {
503
503
  },
504
504
  },
505
505
  {
506
- title: "版本号",
506
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('版本号') : '版本号'),
507
507
  field: "rev",
508
508
  width: 150,
509
509
  slots: {
@@ -514,7 +514,7 @@ modules = {
514
514
  },
515
515
  },
516
516
  },
517
- {title: "说明", field: "note", width: 250},
517
+ {title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('说明') : '说明'), field: "note", width: 250},
518
518
  /*{
519
519
  title: '状态',
520
520
  field: 'status',
@@ -527,10 +527,10 @@ modules = {
527
527
  }
528
528
  }
529
529
  },*/
530
- {title: "创建人", field: "createBy", width: 150},
530
+ {title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('创建人') : '创建人'), field: "createBy", width: 150},
531
531
  {
532
532
  field: "createDate",
533
- title: "创建时间",
533
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('创建时间') : '创建时间'),
534
534
  width: 150,
535
535
  },
536
536
  {
@@ -547,7 +547,7 @@ modules = {
547
547
  return [
548
548
  this.getBtnVnode({
549
549
  class: "el-icon-download",
550
- title: "下载",
550
+ title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('下载') : '下载'),
551
551
  show: fileObjAuth.downloadAuth == 1,
552
552
  click: (event) => {
553
553
  this.$commonFileUtil.downloadFile(
@@ -751,7 +751,7 @@ modules = {
751
751
  let currentFileCategory = category || this.currentFileCategory;
752
752
  if (!currentFileCategory) {
753
753
  this.$message({
754
- message: "请选择文件夹",
754
+ message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('请选择文件夹') : '请选择文件夹'),
755
755
  type: "error",
756
756
  showClose: true,
757
757
  duration: 3000,
@@ -809,7 +809,7 @@ modules = {
809
809
  let checkRows = this.getCheckRows();
810
810
  if (!checkRows.length) {
811
811
  this.$message({
812
- message: "请选择需要下载的文件",
812
+ message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('请选择需要下载的文件') : '请选择需要下载的文件'),
813
813
  type: "error",
814
814
  showClose: true,
815
815
  duration: 3000,
@@ -825,7 +825,7 @@ modules = {
825
825
  let checkRows = this.getCheckRows();
826
826
  if (!checkRows.length) {
827
827
  this.$message({
828
- message: "请选择需要下载的文件",
828
+ message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('请选择需要下载的文件') : '请选择需要下载的文件'),
829
829
  type: "error",
830
830
  showClose: true,
831
831
  duration: 3000,
@@ -974,7 +974,7 @@ modules = {
974
974
  this.treeFlag = true;
975
975
  });
976
976
  } else {
977
- this.$baseAlert("文档工作区未维护");
977
+ this.$baseAlert((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文档工作区未维护') : '文档工作区未维护'));
978
978
  }
979
979
  },
980
980
  });
@@ -178,7 +178,7 @@
178
178
  样式走 xform/styles/h5.scss 块 L 的 .pop-box(全屏 fixed + 内部 flex)。
179
179
  只在宿主传了 h5Preview 时才会被 openPreview 打开,PC 上永远不渲染。 -->
180
180
  <el-dialog
181
- title="文件预览"
181
+ :title="$t1('文件预览')"
182
182
  :modal-append-to-body="false"
183
183
  :close-on-click-modal="false"
184
184
  :visible.sync="showFilePreviewDialog"
@@ -34,8 +34,7 @@
34
34
  </div>
35
35
  <span slot="footer" class="dialog-footer">
36
36
  <el-button type="primary" plain class="button-sty" @click="close">
37
- <i class="el-icon-close el-icon"></i>
38
- 取 消
37
+ <i class="el-icon-close el-icon"></i>{{ $t1('取 消') }}
39
38
  </el-button>
40
39
  <el-button
41
40
  type="primary"
@@ -43,8 +42,7 @@
43
42
  class="button-sty"
44
43
  v-if="!$attrs.disabled && !$attrs.readonly"
45
44
  >
46
- <i class="el-icon-check el-icon"></i>
47
- 确 定
45
+ <i class="el-icon-check el-icon"></i>{{ $t1('确 定') }}
48
46
  </el-button>
49
47
  </span>
50
48
  </el-dialog>