cloud-web-corejs 1.1.0-dev.73 → 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.
- package/package.json +1 -1
- package/src/components/Qrcode/fileParse.vue +4 -4
- package/src/components/Tinymce/dynamicLoadScript.js +4 -4
- package/src/components/Tinymce/index.vue +1 -1
- package/src/components/VabUpload/fileLibraryDialog.vue +18 -18
- package/src/components/VabUpload/image-viewer.vue +2 -2
- package/src/components/VabUpload/mixins/fileLibraryDialog.js +12 -12
- package/src/components/VabUpload/mixins.js +1 -3
- package/src/components/VabUpload/privateProfileDialog.vue +18 -18
- package/src/components/VabUpload/privateProfileDialogMixins.js +12 -12
- package/src/components/VabUpload/view.vue +1 -1
- package/src/components/base-textarea/index.vue +2 -4
- package/src/components/baseArea/index.vue +8 -8
- package/src/components/baseAutocomplete/README.md +1 -1
- package/src/components/baseAutocomplete/index.vue +11 -1
- package/src/components/bizTab/BizTabListPage.vue +69 -71
- package/src/components/code-editor/async.js +3 -1
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/extendedProperties/view.vue +4 -5
- package/src/components/fileLibrary/fileObjAuthEdit.vue +1 -1
- package/src/components/fileLibrary/fileObjAuthEditDialog.vue +3 -5
- package/src/components/fileLibrary/filterDialog.vue +2 -2
- package/src/components/fileLibrary/index.vue +13 -13
- package/src/components/fileLibrary/mixins/fileObjAuthDialogMixin.js +2 -2
- package/src/components/fileLibrary/mixins/indexMixins.js +4 -4
- package/src/components/fileLibrary/mixins/recycleBinDialogMixins.js +1 -1
- package/src/components/fileLibrary/propertiesDialog.vue +1 -1
- package/src/components/fileLibrary/recycleBinDialog.vue +2 -2
- package/src/components/fileLibrary/recycleBinPropertiesDialog.vue +1 -2
- package/src/components/formDialog/index.vue +1 -1
- package/src/components/formDrawer/drawer.vue +1 -1
- package/src/components/hiprint/etypes/default-etyps-provider.js +22 -22
- package/src/components/hiprint/hiprint.config.js +29 -29
- package/src/components/hiprint/view/design/dialog.vue +3 -4
- package/src/components/hiprint/view/design/font-size.js +2 -2
- package/src/components/hiprint/view/design/index.vue +27 -29
- package/src/components/hiprint/view/design/mixins.js +22 -22
- package/src/components/hiprint/view/design/preview.vue +9 -10
- package/src/components/hiprint/view/design/scale.js +1 -1
- package/src/components/hiprint/view/json-view.vue +6 -6
- package/src/components/jsonImport/exportDialog.vue +2 -2
- package/src/components/langImport/index.vue +1 -2
- package/src/components/luckysheet/dialog.vue +1 -1
- package/src/components/luckysheet/loadResources.js +5 -5
- package/src/components/luckysheet/view.vue +3 -3
- package/src/components/mobile/buttonGroup/index.vue +3 -4
- package/src/components/mobile/file/index.vue +7 -7
- package/src/components/mobile/oplogTable/index.vue +4 -4
- package/src/components/mobile/searchDialog/index.vue +3 -4
- package/src/components/mobile/wf/addTaskUserdialog.vue +18 -19
- package/src/components/mobile/wf/content.vue +14 -14
- package/src/components/mobile/wf/deleteTaskUserDialog.vue +5 -5
- package/src/components/mobile/wf/mixins/wfStartDialogMixin.js +1 -1
- package/src/components/mobile/wf/selectUserDialog.vue +13 -13
- package/src/components/mobile/wf/setCandidateDialog.vue +5 -6
- package/src/components/mobile/wf/urgingDialog.vue +4 -4
- package/src/components/mobile/wf/wfStartDialog.vue +2 -2
- package/src/components/obsUpload/mixins.js +7 -9
- package/src/components/onlineTalk/index.vue +21 -24
- package/src/components/onlineTalk/mixins.js +3 -3
- package/src/components/table/vxeFilter/FilterComplex.vue +6 -6
- package/src/components/table/vxeFilter/FilterInput.vue +1 -1
- package/src/components/wf/addTaskUserdialog.vue +1 -1
- package/src/components/wf/content.vue +8 -10
- package/src/components/wf/content2.vue +58 -77
- package/src/components/wf/formIframeDialog.vue +1 -1
- package/src/components/wf/index.vue +1 -1
- package/src/components/wf/wf.js +18 -5
- package/src/components/xform/form-designer/designer.js +20 -20
- package/src/components/xform/form-designer/form-widget/components/gantt/index.vue +74 -76
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/container-widget/detail-temp-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/container-widget/list-h5-widget.vue +6 -6
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog copy.vue +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/baseFormulaDialog.vue +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/formFieldDialog.vue +5 -5
- package/src/components/xform/form-designer/form-widget/dialog/formulaDialog.vue +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +2 -2
- package/src/components/xform/form-designer/form-widget/dialog/treeMoveDialog.vue +4 -6
- package/src/components/xform/form-designer/form-widget/dialog/vabSearchDialog.vue +3 -3
- package/src/components/xform/form-designer/form-widget/field-widget/area-select-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/autocomplete-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/cascader-widget.vue +155 -9
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-range-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +6 -0
- package/src/components/xform/form-designer/form-widget/field-widget/gantt-widget.vue +176 -176
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +3 -3
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/relativeDateUtil.js +4 -4
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/time-limit-mixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/print-button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/print-detail-button-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/row-col-select-widget.vue +4 -4
- package/src/components/xform/form-designer/form-widget/field-widget/script-input-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/time-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload2-widget.vue +8 -8
- package/src/components/xform/form-designer/form-widget/field-widget/vue-page-widget.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/action-button-config-dialog.vue +21 -21
- package/src/components/xform/form-designer/setting-panel/dataSource-setting.vue +46 -46
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +62 -66
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +53 -61
- package/src/components/xform/form-designer/setting-panel/indexMixin.js +30 -0
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +9 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/censusItems-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/condition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +99 -116
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +17 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/exportItemColumns-dialog.vue +14 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +80 -80
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +1 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-plain/detail-plain-editor.vue +1 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-list-h5/list-h5-editor.vue +14 -16
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +39 -56
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-fullWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree-pane/tree-pane-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/descriptionsItems-editor.vue +8 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +11 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onLazyLoad-editor.vue +34 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +7 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +22 -22
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/addTableData-event-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindActions.js +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/form-host-event-editor.vue +40 -40
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +24 -24
- package/src/components/xform/form-designer/setting-panel/property-editor/field-cascader/cascader-lazy-editor.vue +37 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyName-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyNameEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +11 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +15 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +15 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +25 -25
- package/src/components/xform/form-designer/setting-panel/property-editor/field-gantt/gantt-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +28 -31
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +41 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +4 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +4 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script/script-editor.vue +24 -24
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +7 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +24 -24
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +19 -21
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +13 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-timeLimit-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchField-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabsearchConfigDialog.vue +9 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload/field-vabUpload-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabUpload2/field-vabUpload2-editor.vue +5 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +5 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +9 -9
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue +8 -8
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +5 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/listItems-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +25 -25
- package/src/components/xform/form-designer/setting-panel/property-editor/relative-default-block.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/showRuleFlag-editor.vue +5 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/showText-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/textFlag-editor.vue +11 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/urlValueEnabled-editor.vue +2 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/utcTransformEnabled-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/wfFlag-editor.vue +23 -23
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetShowRuleFlag-editor.vue +9 -9
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +2 -0
- package/src/components/xform/form-designer/setting-panel/wfObjConfigDialog.vue +1 -1
- package/src/components/xform/form-designer/toolbar-panel/index.vue +3 -4
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2 -0
- package/src/components/xform/form-render/container-item/data-table-item.vue +10 -10
- package/src/components/xform/form-render/container-item/data-table-mixin.js +34 -34
- package/src/components/xform/form-render/container-item/detail-item.vue +2 -2
- package/src/components/xform/form-render/container-item/detail-temp-item.vue +1 -1
- package/src/components/xform/form-render/container-item/list-h5-item.vue +13 -13
- package/src/components/xform/form-render/fieldControlEngine.js +17 -17
- package/src/components/xform/form-render/fieldControlMixin.js +14 -14
- package/src/components/xform/form-render/index.vue +2 -2
- package/src/components/xform/form-render/indexMixin.js +21 -21
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/mixins/scriptHttp.js +1 -1
- package/src/components/xform/utils/dynamicSchemaUtil.js +1 -1
- package/src/components/xform/utils/formHttp.js +1 -1
- package/src/components/xform/utils/treeTableUtil.js +44 -44
- package/src/layout/components/createCompany/createCompanyDialog.vue +2 -2
- package/src/layout/components/extractedCode/createDialog.vue +1 -1
- package/src/layout/components/langTool.vue +1 -1
- package/src/utils/vab.js +4 -0
- package/src/views/user/api_request/list.vue +6 -6
- package/src/views/user/area/dialog.vue +1 -1
- package/src/views/user/area/list.vue +1 -1
- package/src/views/user/bill_setting/render.vue +2 -2
- package/src/views/user/error-page/401.vue +9 -9
- package/src/views/user/form/form_ins_list/edit.vue +17 -17
- package/src/views/user/form/form_template/dialog.vue +12 -12
- package/src/views/user/form/form_template/edit.vue +10 -10
- package/src/views/user/form/form_template/itemEdit.vue +18 -18
- package/src/views/user/form/form_template/itemList.vue +13 -13
- package/src/views/user/form/form_template/list.vue +25 -25
- package/src/views/user/form/form_template_field/dialog.vue +3 -3
- package/src/views/user/form/form_type/dialog.vue +5 -5
- package/src/views/user/form/form_type/edit.vue +2 -2
- package/src/views/user/form/form_type/editDialog.vue +3 -3
- package/src/views/user/form/form_type/list.vue +5 -5
- package/src/views/user/form/report_requestaccess/dialog.vue +12 -12
- package/src/views/user/form/report_requestaccess/edit.vue +54 -54
- package/src/views/user/form/report_requestaccess/list.vue +15 -15
- package/src/views/user/form/vform/designer.vue +37 -37
- package/src/views/user/form/vform/render.vue +1 -1
- package/src/views/user/form/view/list.vue +4 -4
- package/src/views/user/home/wjl/content.vue +2 -2
- package/src/views/user/login/default.vue +1 -1
- package/src/views/user/login/indexMixin.js +1 -1
- package/src/views/user/outLink/form_view.vue +1 -1
- package/src/views/user/outLink/index.vue +1 -1
- package/src/views/user/outLink/view.vue +1 -1
- package/src/views/user/push_setting/list.vue +20 -20
- package/src/views/user/request_setting/list.vue +18 -18
- package/src/views/user/sale_org/list.vue +1 -1
- package/src/views/user/sale_org/moveDialog.vue +8 -8
- package/src/views/user/user/edit.vue +3 -3
- package/src/views/user/user/form_list.vue +6 -6
- package/src/views/user/user/info.vue +2 -2
- package/src/views/user/user/infoEdit.vue +1 -1
- package/src/views/user/user/list.vue +1 -1
- package/src/views/user/wf/iframe/index.vue +1 -1
- package/src/views/user/wf/iframe/index2.vue +1 -1
- package/src/views/user/wf/wfReport/index.vue +18 -18
- package/src/views/user/wf/wf_manage/list.vue +1 -1
- package/src/views/user/wf/wf_manage/list2.vue +1 -1
- package/src/views/user/wf/wf_manage/wfContentDialog.vue +93 -93
- package/src/views/user/wf/wf_obj_config/dialog.vue +1 -1
- package/src/views/user/wf/wf_obj_config/importItemDialog.vue +4 -4
- package/src/views/user/wf/wf_obj_config/wfBizDataSettingDialog.vue +3 -3
- package/src/views/user/wf/wf_work_calendar/components/calendar.vue +2 -8
- package/src/views/user/wf/wf_work_calendar/components/calendar2.vue +2 -8
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
class="base-area-search-input"
|
|
20
20
|
size="small"
|
|
21
21
|
clearable
|
|
22
|
-
:placeholder="searchPlaceholder"
|
|
22
|
+
:placeholder="$t1(searchPlaceholder)"
|
|
23
23
|
@input="handleSearchInput"
|
|
24
24
|
@clear="handleSearchClear"
|
|
25
25
|
@focus="searchDropdownVisible = true"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
v-if="!searchLoading && !searchList.length"
|
|
45
45
|
class="base-area-dropdown-empty"
|
|
46
46
|
>
|
|
47
|
-
{{ emptyText }}
|
|
47
|
+
{{ $t1(emptyText) }}
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
50
|
</transition>
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
v-if="!browseLoading && !levelItems.length"
|
|
88
88
|
class="base-area-empty"
|
|
89
89
|
>
|
|
90
|
-
{{ emptyText }}
|
|
90
|
+
{{ $t1(emptyText) }}
|
|
91
91
|
</div>
|
|
92
92
|
</div>
|
|
93
93
|
</div>
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
@click="cancelSelection"
|
|
122
122
|
>
|
|
123
123
|
<i class="el-icon-close el-icon"></i>
|
|
124
|
-
{{ cancelText }}
|
|
124
|
+
{{ $t1(cancelText) }}
|
|
125
125
|
</el-button>
|
|
126
126
|
<el-button
|
|
127
127
|
type="primary"
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
@click="confirmSelection"
|
|
132
132
|
>
|
|
133
133
|
<i class="el-icon-check el-icon"></i>
|
|
134
|
-
{{ confirmText }}
|
|
134
|
+
{{ $t1(confirmText) }}
|
|
135
135
|
</el-button>
|
|
136
136
|
</div>
|
|
137
137
|
</div>
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
:value="displayText"
|
|
144
144
|
:size="size"
|
|
145
145
|
:disabled="disabled"
|
|
146
|
-
:placeholder="placeholder"
|
|
146
|
+
:placeholder="$t1(placeholder)"
|
|
147
147
|
readonly
|
|
148
148
|
@focus="referenceFocused = true"
|
|
149
149
|
@blur="referenceFocused = false"
|
|
@@ -297,7 +297,7 @@ export default {
|
|
|
297
297
|
for (let i = 0; i < this.browseLevelCount; i++) {
|
|
298
298
|
tabs.push({
|
|
299
299
|
level: i + 1,
|
|
300
|
-
label: LEVEL_LABELS[i] ||
|
|
300
|
+
label: this.$t1(LEVEL_LABELS[i]) || this.$t1('第{n}级', { n: i + 1 }),
|
|
301
301
|
selected: this.selectedPath[i] || null,
|
|
302
302
|
});
|
|
303
303
|
}
|
|
@@ -334,7 +334,7 @@ export default {
|
|
|
334
334
|
);
|
|
335
335
|
},
|
|
336
336
|
currentLevelLabel() {
|
|
337
|
-
return LEVEL_LABELS[this.activeLevel - 1] ||
|
|
337
|
+
return this.$t1(LEVEL_LABELS[this.activeLevel - 1]) || this.$t1('第{n}级', { n: this.activeLevel });
|
|
338
338
|
},
|
|
339
339
|
},
|
|
340
340
|
watch: {
|
|
@@ -153,5 +153,5 @@ loadUserById(id, resolve) {
|
|
|
153
153
|
- 关键词为空(含只有空格)时不调用 `load`。
|
|
154
154
|
- 相同关键词且上次有结果时,不再重复请求。
|
|
155
155
|
- 未选中新项就失焦:输入框还原为已保存的 `label`,下拉关闭,关键词高亮清除。已保存的 ID 不变。
|
|
156
|
-
- 点清空:ID 和名称一起变成 `null
|
|
156
|
+
- 点清空:ID 和名称一起变成 `null`,下拉关闭。焦点还在时可以继续输入并重新查询。
|
|
157
157
|
- `disabled`、`readonly` 时不发起查询。
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:disabled="disabled"
|
|
7
7
|
:readonly="readonly"
|
|
8
8
|
:size="size || undefined"
|
|
9
|
-
:placeholder="placeholder"
|
|
9
|
+
:placeholder="$t1(placeholder)"
|
|
10
10
|
:clearable="clearable"
|
|
11
11
|
:fetch-suggestions="querySearchAsync"
|
|
12
12
|
:trigger-on-focus="triggerOnFocus"
|
|
@@ -336,10 +336,20 @@ export default {
|
|
|
336
336
|
this.$emit("update:label", null);
|
|
337
337
|
this.$emit("change", null, oldValue, null);
|
|
338
338
|
this.$emit("clear");
|
|
339
|
+
// 清空按钮会把 el-autocomplete 的 activated 关掉,且不会再次触发 focus。
|
|
340
|
+
// 焦点还在时要重新打开,否则继续输入不会再出下拉。
|
|
341
|
+
this.keepSearching();
|
|
339
342
|
this.$nextTick(() => {
|
|
340
343
|
this.isSelecting = false;
|
|
344
|
+
this.keepSearching();
|
|
341
345
|
});
|
|
342
346
|
},
|
|
347
|
+
keepSearching() {
|
|
348
|
+
const input = this.$refs.input;
|
|
349
|
+
if (!input || !this.focused) return;
|
|
350
|
+
input.activated = true;
|
|
351
|
+
input.suggestionDisabled = false;
|
|
352
|
+
},
|
|
343
353
|
handleInputChange(text) {
|
|
344
354
|
if (this.isSelecting) return;
|
|
345
355
|
this.$emit("input-change", text);
|
|
@@ -163,34 +163,34 @@ export default {
|
|
|
163
163
|
return key;
|
|
164
164
|
},
|
|
165
165
|
/**
|
|
166
|
-
* 打开「详情/编辑」页签。同一单据已开则复用并重新加载,不检查未保存修改。
|
|
166
|
+
* 打开「详情/编辑」页签。同一单据已开则复用并重新加载,不检查未保存修改。
|
|
167
167
|
* option.navRows / option.navIndex 传了就能用「上一单/下一单」翻单,
|
|
168
168
|
* 一般直接把列表的 fullData 和当前行下标丢进来。
|
|
169
169
|
*/
|
|
170
170
|
openDetail(row, param, option) {
|
|
171
171
|
let dataId = row ? row.id : null;
|
|
172
172
|
if (dataId == null || dataId === "") return this.openAdd(param, option);
|
|
173
|
-
let tab = this.getTabByDataId(dataId);
|
|
174
|
-
if (!tab && !this.checkTabLimit()) return null;
|
|
175
|
-
let key = tab ? tab.tabName : this.getAvailableTabName(option?.tabParam?.tabName || dataId);
|
|
176
|
-
let tabParam = {
|
|
177
|
-
tabLabelField: this.titleField,
|
|
178
|
-
navRows: (option && option.navRows) || null,
|
|
179
|
-
navIndex: (option && option.navIndex != null) ? option.navIndex : -1,
|
|
180
|
-
...((option && option.tabParam) || {}),
|
|
181
|
-
tabName: key,
|
|
182
|
-
isAdd: false,
|
|
183
|
-
dataId,
|
|
184
|
-
};
|
|
185
|
-
if (tab) {
|
|
186
|
-
// 已按当前单据定位,直接更新原页签,避免 x-tabs 按 row.id 严格比较时
|
|
187
|
-
// 把数字/字符串 ID 当成两张单据;tabName 始终保留,详情登记关系不变。
|
|
188
|
-
Object.assign(tab, { data: row, param: param || null }, tabParam);
|
|
189
|
-
this.activeName = key;
|
|
190
|
-
this.refreshTab(tab);
|
|
191
|
-
} else {
|
|
192
|
-
this.$refs.xTabs.openEditTab(row, param || null, { tabParam });
|
|
193
|
-
}
|
|
173
|
+
let tab = this.getTabByDataId(dataId);
|
|
174
|
+
if (!tab && !this.checkTabLimit()) return null;
|
|
175
|
+
let key = tab ? tab.tabName : this.getAvailableTabName(option?.tabParam?.tabName || dataId);
|
|
176
|
+
let tabParam = {
|
|
177
|
+
tabLabelField: this.titleField,
|
|
178
|
+
navRows: (option && option.navRows) || null,
|
|
179
|
+
navIndex: (option && option.navIndex != null) ? option.navIndex : -1,
|
|
180
|
+
...((option && option.tabParam) || {}),
|
|
181
|
+
tabName: key,
|
|
182
|
+
isAdd: false,
|
|
183
|
+
dataId,
|
|
184
|
+
};
|
|
185
|
+
if (tab) {
|
|
186
|
+
// 已按当前单据定位,直接更新原页签,避免 x-tabs 按 row.id 严格比较时
|
|
187
|
+
// 把数字/字符串 ID 当成两张单据;tabName 始终保留,详情登记关系不变。
|
|
188
|
+
Object.assign(tab, { data: row, param: param || null }, tabParam);
|
|
189
|
+
this.activeName = key;
|
|
190
|
+
this.refreshTab(tab);
|
|
191
|
+
} else {
|
|
192
|
+
this.$refs.xTabs.openEditTab(row, param || null, { tabParam });
|
|
193
|
+
}
|
|
194
194
|
return key;
|
|
195
195
|
},
|
|
196
196
|
|
|
@@ -216,7 +216,7 @@ export default {
|
|
|
216
216
|
tab.navIndex = 0;
|
|
217
217
|
}
|
|
218
218
|
// 页签 key(tabName) 仍是当初的合成 id:换掉会连带 el-tab-pane 重建、详情被迫重挂载,
|
|
219
|
-
// 正好破坏「保存后不刷详情」的设计。重复打开按当前 dataId 去重。
|
|
219
|
+
// 正好破坏「保存后不刷详情」的设计。重复打开按当前 dataId 去重。
|
|
220
220
|
}
|
|
221
221
|
this.syncTabTitle(tab, info ? info.title : null);
|
|
222
222
|
},
|
|
@@ -289,28 +289,28 @@ export default {
|
|
|
289
289
|
* 翻单会丢掉未保存的修改,所以先过一遍脏数据确认(与关页签同一判据)。
|
|
290
290
|
* @returns {Promise<Boolean>} 是否真的翻了
|
|
291
291
|
*/
|
|
292
|
-
navigateTab(tab, step) {
|
|
293
|
-
let idx = this.canNavigate(tab, step);
|
|
294
|
-
if (idx < 0) return Promise.resolve(false);
|
|
295
|
-
let existing = this.getTabByDataId(tab.navRows[idx].id);
|
|
296
|
-
if (existing && existing !== tab) {
|
|
297
|
-
// 与重复打开一致:直接重新加载目标详情,不检查其未保存修改。
|
|
298
|
-
this.activeName = existing.tabName;
|
|
299
|
-
this.refreshTab(existing);
|
|
300
|
-
return Promise.resolve(true);
|
|
301
|
-
}
|
|
302
|
-
return this.confirmLeaveDetail(tab).then((pass) => {
|
|
292
|
+
navigateTab(tab, step) {
|
|
293
|
+
let idx = this.canNavigate(tab, step);
|
|
294
|
+
if (idx < 0) return Promise.resolve(false);
|
|
295
|
+
let existing = this.getTabByDataId(tab.navRows[idx].id);
|
|
296
|
+
if (existing && existing !== tab) {
|
|
297
|
+
// 与重复打开一致:直接重新加载目标详情,不检查其未保存修改。
|
|
298
|
+
this.activeName = existing.tabName;
|
|
299
|
+
this.refreshTab(existing);
|
|
300
|
+
return Promise.resolve(true);
|
|
301
|
+
}
|
|
302
|
+
return this.confirmLeaveDetail(tab).then((pass) => {
|
|
303
303
|
if (!pass) return false;
|
|
304
304
|
// 确认期间可能已经被关掉或翻走了,重新校一次
|
|
305
|
-
let target = this.canNavigate(tab, step);
|
|
306
|
-
if (target < 0 || !this.isLiveTab(tab)) return false;
|
|
307
|
-
// 确认期间目标单据可能已从其他入口打开。
|
|
308
|
-
let existing = this.getTabByDataId(tab.navRows[target].id);
|
|
309
|
-
if (existing && existing !== tab) {
|
|
310
|
-
this.activeName = existing.tabName;
|
|
311
|
-
this.refreshTab(existing);
|
|
312
|
-
return true;
|
|
313
|
-
}
|
|
305
|
+
let target = this.canNavigate(tab, step);
|
|
306
|
+
if (target < 0 || !this.isLiveTab(tab)) return false;
|
|
307
|
+
// 确认期间目标单据可能已从其他入口打开。
|
|
308
|
+
let existing = this.getTabByDataId(tab.navRows[target].id);
|
|
309
|
+
if (existing && existing !== tab) {
|
|
310
|
+
this.activeName = existing.tabName;
|
|
311
|
+
this.refreshTab(existing);
|
|
312
|
+
return true;
|
|
313
|
+
}
|
|
314
314
|
tab.navIndex = target;
|
|
315
315
|
tab.data = tab.navRows[target];
|
|
316
316
|
tab.dataId = tab.data.id; // 详情不 watch dataId,靠下面的重挂载按新单号取数
|
|
@@ -353,48 +353,46 @@ export default {
|
|
|
353
353
|
getTabs() {
|
|
354
354
|
return this.$refs.xTabs ? this.$refs.xTabs.tabs : [];
|
|
355
355
|
},
|
|
356
|
-
getTab(tabName) {
|
|
357
|
-
return this.getTabs().find((tab) => tab.tabName === tabName) || null;
|
|
358
|
-
},
|
|
359
|
-
getTabByDataId(dataId) {
|
|
360
|
-
if (dataId == null || dataId === "") return null;
|
|
361
|
-
return this.getTabs().find((tab) => {
|
|
362
|
-
if (tab.isAdd) return false;
|
|
363
|
-
const currentId = tab.dataId ?? tab.data?.id;
|
|
364
|
-
return currentId != null && String(currentId) === String(dataId);
|
|
365
|
-
}) || null;
|
|
366
|
-
},
|
|
367
|
-
getAvailableTabName(preferredName) {
|
|
368
|
-
const baseName = String(preferredName);
|
|
369
|
-
let name = baseName;
|
|
370
|
-
let suffix = 1;
|
|
371
|
-
// 翻单后旧页签仍占用原名称;列表页签名称也不可复用。
|
|
372
|
-
while (name === LIST_TAB_NAME || this.getTab(name)) {
|
|
373
|
-
name = baseName + "_" + suffix++;
|
|
374
|
-
}
|
|
375
|
-
return name;
|
|
376
|
-
},
|
|
356
|
+
getTab(tabName) {
|
|
357
|
+
return this.getTabs().find((tab) => tab.tabName === tabName) || null;
|
|
358
|
+
},
|
|
359
|
+
getTabByDataId(dataId) {
|
|
360
|
+
if (dataId == null || dataId === "") return null;
|
|
361
|
+
return this.getTabs().find((tab) => {
|
|
362
|
+
if (tab.isAdd) return false;
|
|
363
|
+
const currentId = tab.dataId ?? tab.data?.id;
|
|
364
|
+
return currentId != null && String(currentId) === String(dataId);
|
|
365
|
+
}) || null;
|
|
366
|
+
},
|
|
367
|
+
getAvailableTabName(preferredName) {
|
|
368
|
+
const baseName = String(preferredName);
|
|
369
|
+
let name = baseName;
|
|
370
|
+
let suffix = 1;
|
|
371
|
+
// 翻单后旧页签仍占用原名称;列表页签名称也不可复用。
|
|
372
|
+
while (name === LIST_TAB_NAME || this.getTab(name)) {
|
|
373
|
+
name = baseName + "_" + suffix++;
|
|
374
|
+
}
|
|
375
|
+
return name;
|
|
376
|
+
},
|
|
377
377
|
isLiveTab(tab) {
|
|
378
378
|
return this.getTabs().indexOf(tab) >= 0;
|
|
379
379
|
},
|
|
380
|
-
hasTab(dataId) {
|
|
381
|
-
return !!this.getTabByDataId(dataId);
|
|
380
|
+
hasTab(dataId) {
|
|
381
|
+
return !!this.getTabByDataId(dataId);
|
|
382
382
|
},
|
|
383
383
|
getTabLabel(tab) {
|
|
384
384
|
let label = tab.data ? tab.data[this.titleField] : null;
|
|
385
|
-
return label == null || label === "" ? this.addTitle : label;
|
|
385
|
+
return label == null || label === "" ? this.$t1(this.addTitle) : label;
|
|
386
386
|
},
|
|
387
387
|
// 多个新增页签标题一样会分不清,第二个起加序号:新增 / 新增2 / 新增3
|
|
388
388
|
buildAddTitle() {
|
|
389
389
|
let count = this.getTabs().filter((tab) => tab.isAdd).length;
|
|
390
|
-
return count > 0 ? this.addTitle + (count + 1) : this.addTitle;
|
|
390
|
+
return count > 0 ? this.$t1(this.addTitle) + (count + 1) : this.$t1(this.addTitle);
|
|
391
391
|
},
|
|
392
392
|
checkTabLimit() {
|
|
393
393
|
if (this.getTabs().length < this.maxTabs) return true;
|
|
394
394
|
this.$message.warning(
|
|
395
|
-
this.$t1
|
|
396
|
-
? this.$t1(`最多同时打开 ${this.maxTabs} 个页签,请先关闭部分页签`)
|
|
397
|
-
: `最多同时打开 ${this.maxTabs} 个页签,请先关闭部分页签`
|
|
395
|
+
this.$t1("最多同时打开 {n} 个页签,请先关闭部分页签", { n: this.maxTabs })
|
|
398
396
|
);
|
|
399
397
|
return false;
|
|
400
398
|
},
|
|
@@ -525,7 +525,7 @@ function getGrid(that, tableRef) {
|
|
|
525
525
|
// URL 上若写死 searchCount,会与本次模式冲突;实际值统一由请求体控制。
|
|
526
526
|
let resolvedUrl = typeof url === "function" ? url() : url;
|
|
527
527
|
if (typeof resolvedUrl !== "string" || !resolvedUrl) {
|
|
528
|
-
throw new Error(
|
|
528
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('无效的导出查询地址') : '无效的导出查询地址'));
|
|
529
529
|
}
|
|
530
530
|
let requestUrl = resolvedUrl
|
|
531
531
|
.replace("searchCount=false", "1=1")
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
size="small"
|
|
33
33
|
v-model="eaInsDataDTO.eaInsSingleDTO[eaInsGroupFieldDTO.fieldName]"
|
|
34
34
|
type="date"
|
|
35
|
-
placeholder="选择日期"
|
|
35
|
+
:placeholder="$t1('选择日期')"
|
|
36
36
|
value-format="yyyy-MM-dd"
|
|
37
37
|
clearable
|
|
38
38
|
/>
|
|
@@ -80,8 +80,7 @@
|
|
|
80
80
|
<template v-else-if="eainsGroupDTO.eaGroupType == 2">
|
|
81
81
|
<baseTabPane :label="eainsGroupDTO.eaGroupDesc" :key="eainsGroupDTOIndex+'_'+eaInsDataDTOIndex">
|
|
82
82
|
<template #button>
|
|
83
|
-
<el-button class="button-sty" @click="addEaInsListDTO(eaInsDataDTO)" icon="el-icon-search">
|
|
84
|
-
新增{{ eainsGroupDTO.eaGroupDesc }}
|
|
83
|
+
<el-button class="button-sty" @click="addEaInsListDTO(eaInsDataDTO)" icon="el-icon-search">{{ $t1('新增') }}{{ eainsGroupDTO.eaGroupDesc }}
|
|
85
84
|
</el-button>
|
|
86
85
|
</template>
|
|
87
86
|
<template #default>
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
clearable/>
|
|
104
103
|
</template>
|
|
105
104
|
<template v-else-if="obj.column.params.fieldStyle == 2">
|
|
106
|
-
<el-date-picker size="small" v-model="obj.row[obj.column.field]" type="date" placeholder="选择日期"
|
|
105
|
+
<el-date-picker size="small" v-model="obj.row[obj.column.field]" type="date" :placeholder="$t1('选择日期')"
|
|
107
106
|
value-format="yyyy-MM-dd" clearable/>
|
|
108
107
|
</template>
|
|
109
108
|
<template v-else-if="obj.column.params.fieldStyle == 3">
|
|
@@ -137,7 +136,7 @@
|
|
|
137
136
|
</template>
|
|
138
137
|
<template #operate="obj">
|
|
139
138
|
<a class="a-link" @click="eaInsDataDTOs[eaInsDataDTOIndex].eaInsListDTOs.splice(obj.$rowIndex, 1)">
|
|
140
|
-
<el-tooltip :enterable="false" effect="dark" content="删除" placement="top"
|
|
139
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('删除')" placement="top"
|
|
141
140
|
popper-class="tooltip-skin"><i class="el-icon-delete"/></el-tooltip>
|
|
142
141
|
</a>
|
|
143
142
|
</template>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="cont" style="height: 550px;">
|
|
17
17
|
<el-form ref="editForm" :model="fileObjAuth" label-width="110px" class="adSearchForm"
|
|
18
18
|
style="width: 362px;height: auto;">
|
|
19
|
-
<el-form-item label="文件路径">
|
|
19
|
+
<el-form-item :label="$t1('文件路径')">
|
|
20
20
|
<el-breadcrumb separator-class="el-icon-arrow-right">
|
|
21
21
|
<template v-for="(treeNode,index) in treeNodeArr">
|
|
22
22
|
<el-breadcrumb-item v-if="!fileObjAuth._isParent || index<treeNodeArr.length-1" :key="index">{{
|
|
@@ -165,12 +165,10 @@
|
|
|
165
165
|
</div>
|
|
166
166
|
<span slot="footer" class="dialog-footer">
|
|
167
167
|
<el-button type="primary" plain class="button-sty" @click="handleClose">
|
|
168
|
-
<i class="el-icon-close el-icon"></i>
|
|
169
|
-
取 消
|
|
168
|
+
<i class="el-icon-close el-icon"></i>{{ $t1('取 消') }}
|
|
170
169
|
</el-button>
|
|
171
170
|
<el-button type="primary" @click="saveData" class="button-sty" v-if="!fileObjAuth._isParent">
|
|
172
|
-
<i class="el-icon-check el-icon"></i>
|
|
173
|
-
确 定
|
|
171
|
+
<i class="el-icon-check el-icon"></i>{{ $t1('确 定') }}
|
|
174
172
|
</el-button>
|
|
175
173
|
</span>
|
|
176
174
|
</el-dialog>
|
|
@@ -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,7 +27,7 @@
|
|
|
27
27
|
<el-radio :label="1">{{ $t1("文件") }}</el-radio>
|
|
28
28
|
</el-radio-group>
|
|
29
29
|
</el-form-item>
|
|
30
|
-
<el-form-item label="文件名">
|
|
30
|
+
<el-form-item :label="$t1('文件名')">
|
|
31
31
|
<el-input v-model="formData.fileName" size="small" clearable />
|
|
32
32
|
</el-form-item>
|
|
33
33
|
<!-- <el-form-item label="所属对象描述">
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
"
|
|
267
267
|
></div>
|
|
268
268
|
<div class="annex-crumbs">
|
|
269
|
-
<span class="tit"><i class="iconfont icon-wenjianjia"></i
|
|
269
|
+
<span class="tit"><i class="iconfont icon-wenjianjia"></i>{{ $t1('文件区') }}</span>
|
|
270
270
|
<span class="tit" style="padding-right: 0"
|
|
271
271
|
>{{ $t2("指定路径", "components.fileLibrary.assignPath") }}:</span
|
|
272
272
|
>
|
|
@@ -288,7 +288,7 @@
|
|
|
288
288
|
@change="changeCheckAll"
|
|
289
289
|
:disabled="checkAllDisabled"
|
|
290
290
|
:indeterminate="checkAllIndeterminate"
|
|
291
|
-
|
|
291
|
+
>{{ $t1('已选中') }} {{ checkList.length }} {{ $t1('项') }}{{
|
|
292
292
|
$t2("", "components.fileLibrary.aa")
|
|
293
293
|
}}
|
|
294
294
|
</el-checkbox>
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
<div class="oper">
|
|
368
368
|
<el-tooltip
|
|
369
369
|
effect="dark"
|
|
370
|
-
content="详情"
|
|
370
|
+
:content="$t1('详情')"
|
|
371
371
|
placement="top"
|
|
372
372
|
v-if="
|
|
373
373
|
!attachment.dirs && isEdit && fileObjAuth.editAuth
|
|
@@ -379,7 +379,7 @@
|
|
|
379
379
|
</el-tooltip>
|
|
380
380
|
<el-tooltip
|
|
381
381
|
effect="dark"
|
|
382
|
-
content="详情"
|
|
382
|
+
:content="$t1('详情')"
|
|
383
383
|
placement="top"
|
|
384
384
|
v-if="attachment.dirs && isEdit && fileObjAuth.editAuth"
|
|
385
385
|
><i
|
|
@@ -395,7 +395,7 @@
|
|
|
395
395
|
>
|
|
396
396
|
<el-tooltip
|
|
397
397
|
effect="dark"
|
|
398
|
-
content="下载"
|
|
398
|
+
:content="$t1('下载')"
|
|
399
399
|
placement="top"
|
|
400
400
|
popper-class="tooltip-skin"
|
|
401
401
|
>
|
|
@@ -408,7 +408,7 @@
|
|
|
408
408
|
<el-dropdown-item
|
|
409
409
|
@click.native="openShareDialog(attachment)"
|
|
410
410
|
v-if="!attachment.dirs && fileObjAuth.shareAuth"
|
|
411
|
-
><i class="el-icon-share"></i
|
|
411
|
+
><i class="el-icon-share"></i>{{ $t1('分享') }}
|
|
412
412
|
</el-dropdown-item>
|
|
413
413
|
<el-dropdown-item
|
|
414
414
|
@click.native="
|
|
@@ -421,7 +421,7 @@
|
|
|
421
421
|
fileObjAuth.replaceAuth
|
|
422
422
|
"
|
|
423
423
|
>
|
|
424
|
-
<i class="el-icon-refresh"></i
|
|
424
|
+
<i class="el-icon-refresh"></i>{{ $t1('替换') }}
|
|
425
425
|
</el-dropdown-item>
|
|
426
426
|
<el-dropdown-item
|
|
427
427
|
@click.native="openFileHistoryDialog(attachment)"
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
fileObjAuth.historyAuth
|
|
432
432
|
"
|
|
433
433
|
>
|
|
434
|
-
<i class="el-icon-s-order"></i
|
|
434
|
+
<i class="el-icon-s-order"></i>{{ $t1('历史') }}
|
|
435
435
|
</el-dropdown-item>
|
|
436
436
|
<el-dropdown-item
|
|
437
437
|
@click.native="deleteAttach(attachment)"
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
fileObjAuth.deleteAuth
|
|
443
443
|
"
|
|
444
444
|
>
|
|
445
|
-
<i class="el-icon-delete"></i
|
|
445
|
+
<i class="el-icon-delete"></i>{{ $t1('删除') }}
|
|
446
446
|
</el-dropdown-item>
|
|
447
447
|
<el-dropdown-item
|
|
448
448
|
@click.native="deleteCategory(attachment)"
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
fileObjAuth.deleteDirAuth
|
|
453
453
|
"
|
|
454
454
|
>
|
|
455
|
-
<i class="el-icon-delete"></i
|
|
455
|
+
<i class="el-icon-delete"></i>{{ $t1('删除') }}
|
|
456
456
|
</el-dropdown-item>
|
|
457
457
|
<template
|
|
458
458
|
v-for="(
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
>
|
|
571
571
|
<template #right>
|
|
572
572
|
<span>
|
|
573
|
-
<span
|
|
573
|
+
<span>{{ $t1('当前记录') }}</span>
|
|
574
574
|
<span class="f-red"> {{ page.records.length }} </span>
|
|
575
575
|
<span>/</span>
|
|
576
576
|
<span class="f-red"> {{ page.total }}</span>
|
|
@@ -950,12 +950,12 @@
|
|
|
950
950
|
</el-select>
|
|
951
951
|
</template>
|
|
952
952
|
</vxe-form-item>-->
|
|
953
|
-
<vxe-form-item title="所属对象描述:" class-name="block">
|
|
953
|
+
<vxe-form-item :title="$t1('所属对象描述:')" class-name="block">
|
|
954
954
|
<template v-slot>
|
|
955
955
|
<el-input v-model="advancedFormData.note" clearable />
|
|
956
956
|
</template>
|
|
957
957
|
</vxe-form-item>
|
|
958
|
-
<vxe-form-item title="创建时间:">
|
|
958
|
+
<vxe-form-item :title="$t1('创建时间:')">
|
|
959
959
|
<template v-slot>
|
|
960
960
|
<el-date-picker
|
|
961
961
|
v-model="advancedFormData.startTime"
|
|
@@ -422,7 +422,7 @@ modules = {
|
|
|
422
422
|
<el-tooltip
|
|
423
423
|
enterable={false}
|
|
424
424
|
effect="dark"
|
|
425
|
-
content=
|
|
425
|
+
content={(window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('查看') : '查看')}
|
|
426
426
|
placement="top"
|
|
427
427
|
popper-class="tooltip-skin"
|
|
428
428
|
>
|
|
@@ -440,7 +440,7 @@ modules = {
|
|
|
440
440
|
<el-tooltip
|
|
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
|
>
|
|
@@ -654,7 +654,7 @@ modules = {
|
|
|
654
654
|
if (attachment) {
|
|
655
655
|
if (attachment.status == 1) {
|
|
656
656
|
this.$message({
|
|
657
|
-
message:
|
|
657
|
+
message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('归档文件不允许删除') : '归档文件不允许删除'),
|
|
658
658
|
type: "error",
|
|
659
659
|
showClose: true,
|
|
660
660
|
duration: 3000,
|
|
@@ -670,7 +670,7 @@ modules = {
|
|
|
670
670
|
checkRows = this.getCheckRows();
|
|
671
671
|
if (checkRows.find((row) => row.status == 1)) {
|
|
672
672
|
this.$message({
|
|
673
|
-
message:
|
|
673
|
+
message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('归档文件不允许删除') : '归档文件不允许删除'),
|
|
674
674
|
type: "error",
|
|
675
675
|
showClose: true,
|
|
676
676
|
duration: 3000,
|
|
@@ -883,13 +883,13 @@ modules = {
|
|
|
883
883
|
width: 250,
|
|
884
884
|
},
|
|
885
885
|
{
|
|
886
|
-
title:
|
|
886
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('状态') : '状态'),
|
|
887
887
|
field: "status",
|
|
888
888
|
width: 150,
|
|
889
889
|
slots: {
|
|
890
890
|
default: ({ row, $rowIndex }) => {
|
|
891
891
|
if (!row.dirs) {
|
|
892
|
-
return row.status == 1 ?
|
|
892
|
+
return row.status == 1 ? (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('已归档') : '已归档') : (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('未归档') : '未归档');
|
|
893
893
|
}
|
|
894
894
|
},
|
|
895
895
|
},
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<th>{{ $t2("分辨率", "components.fileLibrary.widthHeight") }}</th>
|
|
81
81
|
<td>{{ attachmentDTO.widthHeight }}</td>
|
|
82
82
|
<th>{{ $t2("是否归档", "components.fileLibrary.status") }}</th>
|
|
83
|
-
<td>{{ attachmentDTO.status == 1 ?
|
|
83
|
+
<td>{{ attachmentDTO.status == 1 ? $t1('已归档') : $t1('未归档') }}</td>
|
|
84
84
|
</tr>
|
|
85
85
|
<!-- <tr>
|
|
86
86
|
<th>状态</th>
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
<div class="search-box">
|
|
23
23
|
<el-input :placeholder="$t2('请输入文件名/文件夹名','components.fileLibrary.reverPlaceholder')" v-model="formData.fileName" clearable>
|
|
24
24
|
</el-input>
|
|
25
|
-
<el-input v-model="formData.treePathName" placeholder="文件地址" clearable></el-input>
|
|
26
|
-
<el-input v-model="formData.deleteBy" placeholder="删除人" clearable></el-input>
|
|
25
|
+
<el-input v-model="formData.treePathName" :placeholder="$t1('文件地址')" clearable></el-input>
|
|
26
|
+
<el-input v-model="formData.deleteBy" :placeholder="$t1('删除人')" clearable></el-input>
|
|
27
27
|
</div>
|
|
28
28
|
<el-button icon="el-icon-search" class="button-sty icon-btn" @click="searchEvent" type="warning"></el-button>
|
|
29
29
|
<el-button icon="iconfont icon-icmenu2" @click="changeShowType()" class="button-sty icon-btn"
|