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
|
@@ -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="false"
|
|
6
6
|
:close-on-click-modal="false"
|
|
@@ -132,7 +132,7 @@ export default {
|
|
|
132
132
|
if (!id) {
|
|
133
133
|
rows.unshift({
|
|
134
134
|
parent: null,
|
|
135
|
-
name: '全部机构',
|
|
135
|
+
name: this.$t1('全部机构'),
|
|
136
136
|
leaf: true,
|
|
137
137
|
allFileBtn: true,
|
|
138
138
|
id: 0
|
|
@@ -202,7 +202,7 @@ export default {
|
|
|
202
202
|
|
|
203
203
|
if (!this.currentRow) {
|
|
204
204
|
this.$message({
|
|
205
|
-
message: '请选择需要移动的机构',
|
|
205
|
+
message: this.$t1('请选择需要移动的机构'),
|
|
206
206
|
type: 'error',
|
|
207
207
|
duration: 3000,
|
|
208
208
|
});
|
|
@@ -211,7 +211,7 @@ export default {
|
|
|
211
211
|
|
|
212
212
|
if (this.currentRow.id == this.checkRows[0].parent) {
|
|
213
213
|
this.$message({
|
|
214
|
-
message: '数据已在机构['
|
|
214
|
+
message: this.$t1('数据已在机构[{name}]中,不需要移动', { name: this.currentRow.name }),
|
|
215
215
|
type: 'error',
|
|
216
216
|
duration: 3000,
|
|
217
217
|
});
|
|
@@ -223,7 +223,7 @@ export default {
|
|
|
223
223
|
let checkCategory = checkCategorys[i];
|
|
224
224
|
if (this.currentRow.id == checkCategory.id) {
|
|
225
225
|
this.$message({
|
|
226
|
-
message: '目标机构与源机构的不允许为同一个机构',
|
|
226
|
+
message: this.$t1('目标机构与源机构的不允许为同一个机构'),
|
|
227
227
|
type: 'error',
|
|
228
228
|
duration: 3000,
|
|
229
229
|
});
|
|
@@ -231,7 +231,7 @@ export default {
|
|
|
231
231
|
}
|
|
232
232
|
if (this.currentRow.id && this.currentRow.treePath.indexOf(',' + checkCategory.id + ',') != -1) {
|
|
233
233
|
this.$message({
|
|
234
|
-
message: '目标机构是源机构的子机构',
|
|
234
|
+
message: this.$t1('目标机构是源机构的子机构'),
|
|
235
235
|
type: 'error',
|
|
236
236
|
duration: 3000,
|
|
237
237
|
});
|
|
@@ -243,7 +243,7 @@ export default {
|
|
|
243
243
|
let fileItem = this.checkRows.find(item => !item.dirs);
|
|
244
244
|
if (fileItem) {
|
|
245
245
|
this.$message({
|
|
246
|
-
message: '数据不允许移动到[全部机构]',
|
|
246
|
+
message: this.$t1('数据不允许移动到[全部机构]'),
|
|
247
247
|
type: 'error',
|
|
248
248
|
duration: 3000,
|
|
249
249
|
});
|
|
@@ -251,7 +251,7 @@ export default {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
this.$baseConfirm('您确定要移动机构吗?').then(() => {
|
|
254
|
+
this.$baseConfirm(this.$t1('您确定要移动机构吗?')).then(() => {
|
|
255
255
|
this.$http({
|
|
256
256
|
method: 'post',
|
|
257
257
|
url: USER_PREFIX + '/sale_org/move',
|
|
@@ -383,8 +383,8 @@
|
|
|
383
383
|
maxlength="200"
|
|
384
384
|
clearable
|
|
385
385
|
>
|
|
386
|
-
<el-option label="sip话机" value="2"></el-option>
|
|
387
|
-
<el-option label="手机" value="3"></el-option>
|
|
386
|
+
<el-option :label="$t1('sip话机')" value="2"></el-option>
|
|
387
|
+
<el-option :label="$t1('手机')" value="3"></el-option>
|
|
388
388
|
</el-select>
|
|
389
389
|
</td>
|
|
390
390
|
</tr>
|
|
@@ -459,7 +459,7 @@
|
|
|
459
459
|
</span>
|
|
460
460
|
<span>
|
|
461
461
|
<el-form-item
|
|
462
|
-
label="是否默认组织"
|
|
462
|
+
:label="$t1('是否默认组织')"
|
|
463
463
|
:prop="'userCompanyInfoDTOs.' + index1 + '.defaults'"
|
|
464
464
|
:rules="[{ required: false, trigger: 'blur' }]"
|
|
465
465
|
>
|
|
@@ -122,19 +122,19 @@ export default {
|
|
|
122
122
|
fixed: 'left'
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
|
-
title: '登录名',
|
|
125
|
+
title: this.$t1('登录名'),
|
|
126
126
|
field: 'loginAccount',
|
|
127
127
|
width: 250,
|
|
128
128
|
fixed: 'left'
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
field: 'nickName',
|
|
132
|
-
title: '姓名',
|
|
132
|
+
title: this.$t1('姓名'),
|
|
133
133
|
width: 150
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
field: 'groupName',
|
|
137
|
-
title: '用户组',
|
|
137
|
+
title: this.$t1('用户组'),
|
|
138
138
|
width: 150
|
|
139
139
|
},
|
|
140
140
|
{
|
|
@@ -187,9 +187,9 @@ export default {
|
|
|
187
187
|
}
|
|
188
188
|
],
|
|
189
189
|
searchColumns: [
|
|
190
|
-
{title:
|
|
191
|
-
{title:
|
|
192
|
-
{title:
|
|
190
|
+
{title: this.$t1('登录名'), field: "loginAccount", type: "input", common: true},
|
|
191
|
+
{title: this.$t1('姓名'), field: "nickName", type: "input", common: true},
|
|
192
|
+
{title: this.$t1('登录名(批量)'), field: "loginAccounts", type: "inputBatch", common: false},
|
|
193
193
|
{
|
|
194
194
|
title: this.$t1('是否启用'), field: "enabled", type: "select", common: false, itemOption: [
|
|
195
195
|
{label: this.$t1('启用'), value: true},
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
size="small"
|
|
163
163
|
v-model="user.birth"
|
|
164
164
|
type="date"
|
|
165
|
-
placeholder="选择日期"
|
|
165
|
+
:placeholder="$t1('选择日期')"
|
|
166
166
|
value-format="yyyy-MM-dd"
|
|
167
167
|
clearable
|
|
168
168
|
/>
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
<th>{{ $t1("设置") }}</th>
|
|
194
194
|
<td colspan="3">
|
|
195
195
|
<el-checkbox
|
|
196
|
-
label="是否启用"
|
|
196
|
+
:label="$t1('是否启用')"
|
|
197
197
|
v-model="user.enabled"
|
|
198
198
|
></el-checkbox>
|
|
199
199
|
</td>
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
</td>
|
|
87
87
|
<th>{{ $t1('出生日期') }}</th>
|
|
88
88
|
<td>
|
|
89
|
-
<el-date-picker size="small" v-model="user.birth" type="date" placeholder="选择日期"
|
|
89
|
+
<el-date-picker size="small" v-model="user.birth" type="date" :placeholder="$t1('选择日期')"
|
|
90
90
|
value-format="yyyy-MM-dd" clearable/>
|
|
91
91
|
</td>
|
|
92
92
|
<th>{{ $t1('邮编') }}</th>
|
|
@@ -508,7 +508,7 @@ export default {
|
|
|
508
508
|
},
|
|
509
509
|
},
|
|
510
510
|
/*{
|
|
511
|
-
title:
|
|
511
|
+
title: this.$t1('词汇'), field: "dictSn", type: "select", common: true, itemOption: [], syncHandle: () => {
|
|
512
512
|
return this.getDict()
|
|
513
513
|
}
|
|
514
514
|
},*/
|
|
@@ -39,7 +39,7 @@ export default {
|
|
|
39
39
|
this.showWfContent = true;
|
|
40
40
|
const res = await loadViewComponentAsync(url);
|
|
41
41
|
if (res.kind === "remote") {
|
|
42
|
-
this.$message({ message: "该单据归属子应用 "
|
|
42
|
+
this.$message({ message: this.$t1("该单据归属子应用 {owner},请从对应入口打开", { owner: res.owner }), type: "warning" });
|
|
43
43
|
}
|
|
44
44
|
this.wfContent = res.component;
|
|
45
45
|
|
|
@@ -37,7 +37,7 @@ export default {
|
|
|
37
37
|
this.showWfContent = true;
|
|
38
38
|
const res = await loadViewComponentAsync(url);
|
|
39
39
|
if (res.kind === "remote") {
|
|
40
|
-
this.$message({ message: "该单据归属子应用 "
|
|
40
|
+
this.$message({ message: this.$t1("该单据归属子应用 {owner},请从对应入口打开", { owner: res.owner }), type: "warning" });
|
|
41
41
|
}
|
|
42
42
|
this.wfContent = res.component;
|
|
43
43
|
|
|
@@ -112,33 +112,33 @@
|
|
|
112
112
|
</div>
|
|
113
113
|
<div class="sum-statistics">
|
|
114
114
|
<div class="item">
|
|
115
|
-
<p
|
|
115
|
+
<p>{{ $t1('总流程数') }}</p>
|
|
116
116
|
<b>{{ countData.total || 0 }}</b>
|
|
117
117
|
<!-- <p class="f-gray">较上月增长 12%</p> -->
|
|
118
118
|
<i class="ico iconfont icon-liuchengshu"></i>
|
|
119
119
|
</div>
|
|
120
120
|
<div class="item">
|
|
121
|
-
<p
|
|
121
|
+
<p>{{ $t1('快速处理') }}</p>
|
|
122
122
|
<b>{{ countData.count_1 || 0 }}</b>
|
|
123
|
-
<p class="f-gray"
|
|
123
|
+
<p class="f-gray">{{ $t1('<1天完成') }}</p>
|
|
124
124
|
<i class="ico iconfont icon-kuaisuchuli"></i>
|
|
125
125
|
</div>
|
|
126
126
|
<div class="item">
|
|
127
|
-
<p
|
|
127
|
+
<p>{{ $t1('正常处理') }}</p>
|
|
128
128
|
<b>{{ countData.count_1_3 || 0 }}</b>
|
|
129
|
-
<p class="f-gray">1-3
|
|
129
|
+
<p class="f-gray">{{ $t1('1-3天完成') }}</p>
|
|
130
130
|
<i class="ico iconfont icon-zhengchangchuli"></i>
|
|
131
131
|
</div>
|
|
132
132
|
<div class="item">
|
|
133
|
-
<p
|
|
133
|
+
<p>{{ $t1('缓慢处理') }}</p>
|
|
134
134
|
<b>{{ countData.count_3_7 || 0 }}</b>
|
|
135
|
-
<p class="f-gray">3-7
|
|
135
|
+
<p class="f-gray">{{ $t1('3-7天完成') }}</p>
|
|
136
136
|
<i class="ico iconfont icon-huanmanchuli"></i>
|
|
137
137
|
</div>
|
|
138
138
|
<div class="item">
|
|
139
|
-
<p
|
|
139
|
+
<p>{{ $t1('超时处理') }}</p>
|
|
140
140
|
<b>{{ countData.count_7 || 0 }}</b>
|
|
141
|
-
<p class="f-gray"
|
|
141
|
+
<p class="f-gray">{{ $t1('>7天完成') }}</p>
|
|
142
142
|
<i class="ico iconfont icon-chaoshichuli"></i>
|
|
143
143
|
</div>
|
|
144
144
|
</div>
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
<el-col :span="16">
|
|
147
147
|
<el-card class="box-style1">
|
|
148
148
|
<div slot="header" class="clearfix">
|
|
149
|
-
<span
|
|
149
|
+
<span>{{ $t1('流程详情列表') }}</span>
|
|
150
150
|
</div>
|
|
151
151
|
<div style="height: 100%">
|
|
152
152
|
<vxe-grid ref="table-m1" v-bind="vxeOption" :data="tableData">
|
|
@@ -178,27 +178,27 @@
|
|
|
178
178
|
<el-col :span="8">
|
|
179
179
|
<el-card class="box-style1">
|
|
180
180
|
<div slot="header" class="clearfix">
|
|
181
|
-
<span
|
|
181
|
+
<span>{{ $t1('节点详情') }}</span>
|
|
182
182
|
</div>
|
|
183
183
|
<div class="node-box">
|
|
184
184
|
<div class="info" v-if="currentRow.name">
|
|
185
185
|
<p class="tit">{{ currentRow.name }}</p>
|
|
186
|
-
<p
|
|
186
|
+
<p>{{ $t1('总耗时:') }} {{ currentRow.duration }}</p>
|
|
187
187
|
<el-tag type="warning" v-if="currentRow.stat === 1">{{
|
|
188
|
-
$t2(
|
|
188
|
+
$t2($t1('审核中'), "components.wf.wfStatus1")
|
|
189
189
|
}}</el-tag>
|
|
190
190
|
<el-tag type="success" v-if="currentRow.stat === 2">{{
|
|
191
|
-
$t2(
|
|
191
|
+
$t2($t1('已完成'), "components.wf.wfStatus3")
|
|
192
192
|
}}</el-tag>
|
|
193
193
|
<el-tag type="danger" v-if="currentRow.stat === 3">{{
|
|
194
|
-
$t2(
|
|
194
|
+
$t2($t1('已驳回'), "components.wf.wfStatus2")
|
|
195
195
|
}}</el-tag>
|
|
196
196
|
</div>
|
|
197
197
|
<el-steps direction="vertical" :active="1" class="step-box3">
|
|
198
198
|
<el-step v-for="(row, index) in nodeList" :key="index">
|
|
199
199
|
<div slot="title">
|
|
200
200
|
<div class="name">{{ row.task_name }}</div>
|
|
201
|
-
<div class="a-time"
|
|
201
|
+
<div class="a-time">{{ $t1('耗时:') }} {{ row.duration }}</div>
|
|
202
202
|
</div>
|
|
203
203
|
<div slot="description">
|
|
204
204
|
<p>
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
<p v-if="taskStatuses[row.type]" :class="taskStatuses[row.type].class">
|
|
209
209
|
{{ taskStatuses[row.type].value }}
|
|
210
210
|
</p>
|
|
211
|
-
<p v-if="row.opinion"
|
|
211
|
+
<p v-if="row.opinion">{{ $t1('审批意见:') }}{{ row.opinion }}</p>
|
|
212
212
|
</div>
|
|
213
213
|
</el-step>
|
|
214
214
|
</el-steps>
|
|
@@ -332,7 +332,7 @@ export default {
|
|
|
332
332
|
{ field: "name", title: this.$t1("流程主题"), width: 180 },
|
|
333
333
|
{
|
|
334
334
|
field: "stat",
|
|
335
|
-
title:
|
|
335
|
+
title: this.$t1('状态'),
|
|
336
336
|
width: 150,
|
|
337
337
|
slots: {
|
|
338
338
|
default: ({ row }) => {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:close-on-click-modal="false"
|
|
7
7
|
:visible.sync="showWfDialog"
|
|
8
8
|
:modal="false"
|
|
9
|
-
custom-class="el-dialog dialog-style designer-dialog indexUse wf-content-dialog"
|
|
9
|
+
custom-class="el-dialog dialog-style designer-dialog indexUse wf-content-dialog"
|
|
10
10
|
width="100%"
|
|
11
11
|
height="100%"
|
|
12
12
|
top="0px"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
</template>
|
|
42
42
|
|
|
43
43
|
<script>
|
|
44
|
-
import { loadViewComponentAsync } from "@base/utils/resolveViewComponent";
|
|
45
|
-
import { getChunkLoadErrorMessage } from "@base/utils/chunkLoadError";
|
|
44
|
+
import { loadViewComponentAsync } from "@base/utils/resolveViewComponent";
|
|
45
|
+
import { getChunkLoadErrorMessage } from "@base/utils/chunkLoadError";
|
|
46
46
|
export default {
|
|
47
47
|
name: "wfContentDialog",
|
|
48
48
|
props: {
|
|
@@ -57,9 +57,9 @@ export default {
|
|
|
57
57
|
param: {},
|
|
58
58
|
wfContent: null,
|
|
59
59
|
remoteView: null,
|
|
60
|
-
showWfContent: false,
|
|
61
|
-
showWfDialog: true,
|
|
62
|
-
contentLoading: false,
|
|
60
|
+
showWfContent: false,
|
|
61
|
+
showWfDialog: true,
|
|
62
|
+
contentLoading: false,
|
|
63
63
|
};
|
|
64
64
|
},
|
|
65
65
|
created() {
|
|
@@ -91,95 +91,95 @@ export default {
|
|
|
91
91
|
this.$emit("close");
|
|
92
92
|
},
|
|
93
93
|
// 异步:await 之后才置 showWfContent(见方法末尾),否则弹窗先开出空壳
|
|
94
|
-
async openWfDialog() {
|
|
95
|
-
if (this.contentLoading) return;
|
|
96
|
-
this.contentLoading = true;
|
|
97
|
-
this.showWfContent = false;
|
|
98
|
-
this.wfContent = null;
|
|
99
|
-
this.remoteView = null;
|
|
100
|
-
const loading = this.$loading({
|
|
101
|
-
lock: true,
|
|
102
|
-
text: this.$t1("待办详情加载中..."),
|
|
103
|
-
background: "rgba(255, 255, 255, 0.65)"
|
|
104
|
-
});
|
|
105
|
-
try {
|
|
106
|
-
let id = this.option.objId;
|
|
107
|
-
let wfDataId = !id || typeof id == "object" ? 0 : Number(id);
|
|
108
|
-
let param = this.option.param || {};
|
|
109
|
-
if (this.option.url == "form") {
|
|
110
|
-
let formCode = null;
|
|
111
|
-
if (this.option.formCode) {
|
|
112
|
-
formCode = this.option.formCode;
|
|
113
|
-
} else {
|
|
114
|
-
formCode = this.option.objTypeCode.substr(9);
|
|
115
|
-
}
|
|
116
|
-
this.param = Object.assign(param, {
|
|
117
|
-
formCode: formCode,
|
|
118
|
-
dataId: wfDataId,
|
|
119
|
-
});
|
|
120
|
-
// 路径是常量,用字面量 import:生成普通 ImportDependency,不参与 views context
|
|
121
|
-
this.wfContent = (
|
|
122
|
-
await import("@base/views/user/form/vform/render.vue")
|
|
123
|
-
).default;
|
|
124
|
-
} else {
|
|
125
|
-
this.param = Object.assign(param, {
|
|
126
|
-
_dataId: wfDataId,
|
|
127
|
-
});
|
|
128
|
-
let url = this.option.url + ".vue";
|
|
129
|
-
const res = await loadViewComponentAsync(url);
|
|
130
|
-
if (res.error) throw res.error;
|
|
131
|
-
this.remoteView =
|
|
132
|
-
res.kind === "remote"
|
|
133
|
-
? {
|
|
134
|
-
owner: res.owner,
|
|
135
|
-
targetPath: res.targetPath,
|
|
136
|
-
bizParams: this.param,
|
|
137
|
-
viewMeta: { visibleKey: "showWfContent", defaultShowWfContent: true, viewType: 1 },
|
|
138
|
-
}
|
|
139
|
-
: null;
|
|
140
|
-
this.wfContent = res.component;
|
|
141
|
-
if (!this.wfContent && !this.remoteView) {
|
|
142
|
-
throw new Error("待办详情组件不存在或未正确配置");
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
this.showWfContent = true;
|
|
146
|
-
} catch (error) {
|
|
147
|
-
console.error("[wf-content-dialog] 待办详情加载失败:", error);
|
|
148
|
-
this.$message.error(getChunkLoadErrorMessage(error,
|
|
149
|
-
this.wfClose();
|
|
150
|
-
} finally {
|
|
151
|
-
loading.close();
|
|
152
|
-
this.contentLoading = false;
|
|
153
|
-
}
|
|
94
|
+
async openWfDialog() {
|
|
95
|
+
if (this.contentLoading) return;
|
|
96
|
+
this.contentLoading = true;
|
|
97
|
+
this.showWfContent = false;
|
|
98
|
+
this.wfContent = null;
|
|
99
|
+
this.remoteView = null;
|
|
100
|
+
const loading = this.$loading({
|
|
101
|
+
lock: true,
|
|
102
|
+
text: this.$t1("待办详情加载中..."),
|
|
103
|
+
background: "rgba(255, 255, 255, 0.65)"
|
|
104
|
+
});
|
|
105
|
+
try {
|
|
106
|
+
let id = this.option.objId;
|
|
107
|
+
let wfDataId = !id || typeof id == "object" ? 0 : Number(id);
|
|
108
|
+
let param = this.option.param || {};
|
|
109
|
+
if (this.option.url == "form") {
|
|
110
|
+
let formCode = null;
|
|
111
|
+
if (this.option.formCode) {
|
|
112
|
+
formCode = this.option.formCode;
|
|
113
|
+
} else {
|
|
114
|
+
formCode = this.option.objTypeCode.substr(9);
|
|
115
|
+
}
|
|
116
|
+
this.param = Object.assign(param, {
|
|
117
|
+
formCode: formCode,
|
|
118
|
+
dataId: wfDataId,
|
|
119
|
+
});
|
|
120
|
+
// 路径是常量,用字面量 import:生成普通 ImportDependency,不参与 views context
|
|
121
|
+
this.wfContent = (
|
|
122
|
+
await import("@base/views/user/form/vform/render.vue")
|
|
123
|
+
).default;
|
|
124
|
+
} else {
|
|
125
|
+
this.param = Object.assign(param, {
|
|
126
|
+
_dataId: wfDataId,
|
|
127
|
+
});
|
|
128
|
+
let url = this.option.url + ".vue";
|
|
129
|
+
const res = await loadViewComponentAsync(url);
|
|
130
|
+
if (res.error) throw res.error;
|
|
131
|
+
this.remoteView =
|
|
132
|
+
res.kind === "remote"
|
|
133
|
+
? {
|
|
134
|
+
owner: res.owner,
|
|
135
|
+
targetPath: res.targetPath,
|
|
136
|
+
bizParams: this.param,
|
|
137
|
+
viewMeta: { visibleKey: "showWfContent", defaultShowWfContent: true, viewType: 1 },
|
|
138
|
+
}
|
|
139
|
+
: null;
|
|
140
|
+
this.wfContent = res.component;
|
|
141
|
+
if (!this.wfContent && !this.remoteView) {
|
|
142
|
+
throw new Error(this.$t1("待办详情组件不存在或未正确配置"));
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
this.showWfContent = true;
|
|
146
|
+
} catch (error) {
|
|
147
|
+
console.error("[wf-content-dialog] 待办详情加载失败:", error);
|
|
148
|
+
this.$message.error(getChunkLoadErrorMessage(error, this.$t1('待办详情')));
|
|
149
|
+
this.wfClose();
|
|
150
|
+
} finally {
|
|
151
|
+
loading.close();
|
|
152
|
+
this.contentLoading = false;
|
|
153
|
+
}
|
|
154
154
|
},
|
|
155
155
|
},
|
|
156
156
|
};
|
|
157
157
|
</script>
|
|
158
158
|
|
|
159
|
-
<style lang="scss">
|
|
160
|
-
/*
|
|
161
|
-
* 待办详情弹框只允许详情正文滚动。
|
|
162
|
-
*
|
|
163
|
-
* vform 的宿主比普通详情页多两层 div;如果高度链断掉,.designer-view 会退化成
|
|
164
|
-
* 实际滚动容器,详情标题栏和绝对定位的模块导航就会一起被卷走。
|
|
165
|
-
*/
|
|
166
|
-
.wf-content-dialog > .el-dialog__body > #containt {
|
|
167
|
-
> div,
|
|
168
|
-
> div > .designer-view,
|
|
169
|
-
> div > .designer-view > div,
|
|
170
|
-
> div > .designer-view > div > .render-form {
|
|
171
|
-
height: 100%;
|
|
172
|
-
min-height: 0;
|
|
173
|
-
box-sizing: border-box;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
> div > .designer-view {
|
|
177
|
-
overflow: hidden;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
> div > .designer-view > div > .render-form > .container-wrapper {
|
|
181
|
-
height: 100%;
|
|
182
|
-
min-height: 0;
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
</style>
|
|
159
|
+
<style lang="scss">
|
|
160
|
+
/*
|
|
161
|
+
* 待办详情弹框只允许详情正文滚动。
|
|
162
|
+
*
|
|
163
|
+
* vform 的宿主比普通详情页多两层 div;如果高度链断掉,.designer-view 会退化成
|
|
164
|
+
* 实际滚动容器,详情标题栏和绝对定位的模块导航就会一起被卷走。
|
|
165
|
+
*/
|
|
166
|
+
.wf-content-dialog > .el-dialog__body > #containt {
|
|
167
|
+
> div,
|
|
168
|
+
> div > .designer-view,
|
|
169
|
+
> div > .designer-view > div,
|
|
170
|
+
> div > .designer-view > div > .render-form {
|
|
171
|
+
height: 100%;
|
|
172
|
+
min-height: 0;
|
|
173
|
+
box-sizing: border-box;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
> div > .designer-view {
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
> div > .designer-view > div > .render-form > .container-wrapper {
|
|
181
|
+
height: 100%;
|
|
182
|
+
min-height: 0;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
</style>
|
|
@@ -98,7 +98,7 @@ export default {
|
|
|
98
98
|
computed: {
|
|
99
99
|
title() {
|
|
100
100
|
let typeVal = this.typeMap[this.type];
|
|
101
|
-
return
|
|
101
|
+
return typeVal ? this.$t1("单据类型列表({type})", { type: typeVal }) : this.$t1("单据类型列表");
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
data() {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
:on-change="fileChange" accept=".xml">
|
|
17
17
|
<div class="el-upload-dragger">
|
|
18
18
|
<i class="el-icon-upload"></i>
|
|
19
|
-
<div class="el-upload__text"><em>{{ $t2('点击上传', 'components.excelImport.uploadBUtton') }}</em></div>
|
|
19
|
+
<div class="el-upload__text"><em>{{ $t2($t1('点击上传'), 'components.excelImport.uploadBUtton') }}</em></div>
|
|
20
20
|
</div>
|
|
21
21
|
</el-upload>
|
|
22
22
|
<div class="upload-finish" v-if="fileRaw">
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<p class="name">{{ fileRaw.name }}</p>
|
|
25
25
|
<!-- <p>2022-1-17</p> -->
|
|
26
26
|
<el-tooltip :enterable="false" class="item" effect="dark"
|
|
27
|
-
:content="$t2('关闭', 'components.excelImport.closeBUtton')" placement="bottom">
|
|
27
|
+
:content="$t2($t1('关闭'), 'components.excelImport.closeBUtton')" placement="bottom">
|
|
28
28
|
<i
|
|
29
29
|
class="el-icon-error js-close"
|
|
30
30
|
@click="
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
<span slot="footer" class="dialog-footer">
|
|
39
39
|
<el-button type="primary" plain class="button-sty" @click="dialogClose1">
|
|
40
40
|
<i class="el-icon-close el-icon"></i>
|
|
41
|
-
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
41
|
+
{{ $t2($t1('取 消'), 'system.button.cancel2') }}
|
|
42
42
|
</el-button>
|
|
43
43
|
<el-button type="primary" @click="dialogPrimary1" class="button-sty">
|
|
44
44
|
<i class="el-icon-check el-icon"></i>
|
|
45
|
-
{{ $t2('确 定', 'system.button.confirm2') }}
|
|
45
|
+
{{ $t2($t1('确 定'), 'system.button.confirm2') }}
|
|
46
46
|
</el-button>
|
|
47
47
|
</span>
|
|
48
48
|
</el-dialog>
|
|
@@ -141,9 +141,9 @@ export default {
|
|
|
141
141
|
default: ({row}) => {
|
|
142
142
|
return [
|
|
143
143
|
<el-select v-model={row.action} clearable>
|
|
144
|
-
<el-option label=
|
|
145
|
-
<el-option label=
|
|
146
|
-
<el-option label=
|
|
144
|
+
<el-option label={this.$t1('流程启动')} value="start"></el-option>
|
|
145
|
+
<el-option label={this.$t1('流程中断')} value="interrupt"></el-option>
|
|
146
|
+
<el-option label={this.$t1('流程完成')} value="end"></el-option>
|
|
147
147
|
</el-select>
|
|
148
148
|
];
|
|
149
149
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div class="calendar-select weeks">
|
|
20
20
|
<div v-for="(week, index) in weekName" :key="index" class="calendar-select-row">
|
|
21
|
-
<div class="week"> {{ week }}</div>
|
|
21
|
+
<div class="week"> {{ $t1(week) }}</div>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="calendar-select-row" v-show="false">
|
|
24
24
|
<input :id="'calendarSet_calendar_week_input_'+genID()" ref="checkAll" class="checkbox" type="checkbox"
|
|
@@ -40,13 +40,7 @@
|
|
|
40
40
|
<span class="t2">
|
|
41
41
|
<template v-if="!!day.lunarDay">
|
|
42
42
|
{{
|
|
43
|
-
day.lunarDay.lunarFestival
|
|
44
|
-
? day.lunarDay.lunarFestival
|
|
45
|
-
: day.lunarDay.festival
|
|
46
|
-
? day.lunarDay.festival
|
|
47
|
-
: day.lunarDay.IDayCn == "初一"
|
|
48
|
-
? day.lunarDay.IMonthCn
|
|
49
|
-
: day.lunarDay.IDayCn
|
|
43
|
+
$t1(day.lunarDay.lunarFestival ? day.lunarDay.lunarFestival : day.lunarDay.festival ? day.lunarDay.festival : day.lunarDay.IDayCn == "初一" ? day.lunarDay.IMonthCn : day.lunarDay.IDayCn)
|
|
50
44
|
}}
|
|
51
45
|
</template>
|
|
52
46
|
</span>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div class="calendar-select weeks">
|
|
20
20
|
<div v-for="(week, index) in weekName" :key="index" class="calendar-select-row">
|
|
21
|
-
<div class="week"> {{ week }}</div>
|
|
21
|
+
<div class="week"> {{ $t1(week) }}</div>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="calendar-select-row">
|
|
24
24
|
<input :id="'calendarSet_calendar_week_input_'+genID()" ref="checkAll" class="checkbox" type="checkbox"
|
|
@@ -41,13 +41,7 @@
|
|
|
41
41
|
<span class="t2">
|
|
42
42
|
<template v-if="!!day.lunarDay">
|
|
43
43
|
{{
|
|
44
|
-
day.lunarDay.lunarFestival
|
|
45
|
-
? day.lunarDay.lunarFestival
|
|
46
|
-
: day.lunarDay.festival
|
|
47
|
-
? day.lunarDay.festival
|
|
48
|
-
: day.lunarDay.IDayCn == "初一"
|
|
49
|
-
? day.lunarDay.IMonthCn
|
|
50
|
-
: day.lunarDay.IDayCn
|
|
44
|
+
$t1(day.lunarDay.lunarFestival ? day.lunarDay.lunarFestival : day.lunarDay.festival ? day.lunarDay.festival : day.lunarDay.IDayCn == "初一" ? day.lunarDay.IMonthCn : day.lunarDay.IDayCn)
|
|
51
45
|
}}
|
|
52
46
|
</template>
|
|
53
47
|
</span>
|