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,59 +1,58 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<baseTabPane label="流程信息" :showFold="showWfFold" :defaultShowContent="showWfContent">
|
|
2
|
+
<baseTabPane :label="$t1('流程信息')" :showFold="showWfFold" :defaultShowContent="showWfContent">
|
|
3
3
|
<template #default>
|
|
4
4
|
<div class="title-name">
|
|
5
5
|
<b>
|
|
6
|
-
<em
|
|
6
|
+
<em>{{ $t1('流程主题:') }}</em>
|
|
7
7
|
{{ (wfInfo.createDate ? wfInfo.createDate.substring(0, 10) : '') + wfInfo.name }}
|
|
8
8
|
</b>
|
|
9
9
|
<span v-html="wfInfo.statusStr" class="status"></span>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
12
|
<div class="title-second" @click="showOpeaImg = !showOpeaImg"
|
|
13
|
-
style="margin: 14px 0 24px;line-height: 29px;cursor: pointer;"><b
|
|
13
|
+
style="margin: 14px 0 24px;line-height: 29px;cursor: pointer;"><b>{{ $t1('流程操作') }}</b>
|
|
14
14
|
<div class="fr" v-if="showOpeaImg == true" style="font-weight: 400;">
|
|
15
|
-
<span
|
|
15
|
+
<span>{{ $t1('收起') }}</span>
|
|
16
16
|
<i class="el-icon-arrow-up"></i>
|
|
17
17
|
</div>
|
|
18
18
|
<div class="fr" v-else style="font-weight: 400;">
|
|
19
|
-
<span
|
|
19
|
+
<span>{{ $t1('展开') }}</span>
|
|
20
20
|
<i class="el-icon-arrow-down"></i>
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
|
23
23
|
<div v-show="showOpeaImg == true">
|
|
24
24
|
<div class="flow-btn-opeaBtn" ref="opeaBtn">
|
|
25
25
|
<el-button type="primary" class="btn" :class="{on:operateType == 'submit'}" @click="openAgreeDialog('submit')"
|
|
26
|
-
v-show="wfInfo.toSubmit"
|
|
26
|
+
v-show="wfInfo.toSubmit">{{ $t1('通过') }}
|
|
27
27
|
</el-button>
|
|
28
28
|
<el-button type="primary" class="btn" :class="{on:operateType == 'interrupt'}"
|
|
29
|
-
@click="openManualDialog(null)" v-show="wfInfo.toInterrupt"
|
|
29
|
+
@click="openManualDialog(null)" v-show="wfInfo.toInterrupt">{{ $t1('中断') }}
|
|
30
30
|
</el-button>
|
|
31
31
|
<el-button type="primary" class="btn" :class="{on:operateType == 'reject'}"
|
|
32
|
-
@click="rejectWfTask('reject')" v-show="wfInfo.toReject"
|
|
32
|
+
@click="rejectWfTask('reject')" v-show="wfInfo.toReject">{{ $t1('驳回') }}
|
|
33
33
|
</el-button>
|
|
34
34
|
<el-button type="primary" class="btn" :class="{on:operateType == 'transfer'}"
|
|
35
|
-
@click="openChangeWfForm('transfer')" v-show="transferEnabled && wfInfo.toSubmit"
|
|
35
|
+
@click="openChangeWfForm('transfer')" v-show="transferEnabled && wfInfo.toSubmit">{{ $t1('转办') }}
|
|
36
36
|
</el-button>
|
|
37
37
|
<el-button type="primary" class="btn" :class="{on:operateType == 'urging'}"
|
|
38
|
-
@click="openUrgingDialog(null)" v-show="wfInfo.toInterrupt"
|
|
38
|
+
@click="openUrgingDialog(null)" v-show="wfInfo.toInterrupt">{{ $t1('催办') }}
|
|
39
39
|
</el-button>
|
|
40
40
|
<el-button type="primary" class="btn" :class="{on:operateType == 'addIncreaseSign'}"
|
|
41
41
|
@click="openAddIncreaseSign('addIncreaseSign')"
|
|
42
|
-
v-show="increaseSignEnabled && wfInfo.toAddIncreaseSign"
|
|
42
|
+
v-show="increaseSignEnabled && wfInfo.toAddIncreaseSign">{{ $t1('加签') }}
|
|
43
43
|
</el-button>
|
|
44
44
|
<el-button type="primary" class="btn" :class="{on:operateType == 'deleteIncreaseSign'}"
|
|
45
45
|
@click="openDeleteTaskUserDialog(null)"
|
|
46
|
-
v-show="increaseSignEnabled && wfInfo.toDeleteIncreaseSign">
|
|
47
|
-
减签
|
|
46
|
+
v-show="increaseSignEnabled && wfInfo.toDeleteIncreaseSign">{{ $t1('减签') }}
|
|
48
47
|
</el-button>
|
|
49
48
|
<el-button type="primary" class="btn" :class="{on:operateType == 'setCandidate'}"
|
|
50
|
-
@click="openSetCandidateDialog(null)" v-show="wfInfo.toSetCandidate"
|
|
49
|
+
@click="openSetCandidateDialog(null)" v-show="wfInfo.toSetCandidate">{{ $t1('候选人') }}
|
|
51
50
|
</el-button>
|
|
52
51
|
<el-button type="primary" class="btn" :class="{on:operateType == 'revoke'}"
|
|
53
|
-
@click="openRevokeDialog('revoke')" v-show="wfInfo.toRevoke"
|
|
52
|
+
@click="openRevokeDialog('revoke')" v-show="wfInfo.toRevoke">{{ $t1('撤回') }}
|
|
54
53
|
</el-button>
|
|
55
54
|
<el-button type="primary" class="btn" :class="{on:operateType == 'talk'}"
|
|
56
|
-
@click="openTalkDialog(null,null,'talk')" v-if="toTalk && wfInfo.stat!=2"
|
|
55
|
+
@click="openTalkDialog(null,null,'talk')" v-if="toTalk && wfInfo.stat!=2">{{ $t1('沟通') }}
|
|
57
56
|
</el-button>
|
|
58
57
|
</div>
|
|
59
58
|
<template v-if="operateType == 'submit'">
|
|
@@ -63,13 +62,12 @@
|
|
|
63
62
|
<tbody>
|
|
64
63
|
<tr v-if="agreeNodes.length>0">
|
|
65
64
|
<th>
|
|
66
|
-
<span class="t">
|
|
67
|
-
通过节点
|
|
65
|
+
<span class="t">{{ $t1('通过节点') }}
|
|
68
66
|
</span>
|
|
69
67
|
</th>
|
|
70
68
|
<td>
|
|
71
69
|
<el-form-item label="" field="nodeId">
|
|
72
|
-
<el-select v-model="agreeForm.nodeId" placeholder="请选择通过节点">
|
|
70
|
+
<el-select v-model="agreeForm.nodeId" :placeholder="$t1('请选择通过节点')">
|
|
73
71
|
<el-option v-for="(node,index) in agreeNodes" :key="index" :label="node.nodeName"
|
|
74
72
|
:value="node.nodeId"></el-option>
|
|
75
73
|
</el-select>
|
|
@@ -78,16 +76,12 @@
|
|
|
78
76
|
</tr>
|
|
79
77
|
<tr>
|
|
80
78
|
<th>
|
|
81
|
-
<span class="t">
|
|
82
|
-
通过意见
|
|
79
|
+
<span class="t">{{ $t1('通过意见') }}
|
|
83
80
|
</span>
|
|
84
81
|
</th>
|
|
85
82
|
<td colspan="3">
|
|
86
83
|
<el-form-item label="" field="opinion">
|
|
87
|
-
<el-input type="textarea" :rows="8" placeholder="
|
|
88
|
-
注:
|
|
89
|
-
通过默认意见为“同意”
|
|
90
|
-
" v-model="agreeForm.opinion"></el-input>
|
|
84
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请填写您的意见~\n 注:\n 通过默认意见为“同意”\n ')" v-model="agreeForm.opinion"></el-input>
|
|
91
85
|
</el-form-item>
|
|
92
86
|
</td>
|
|
93
87
|
</tr>
|
|
@@ -114,33 +108,31 @@
|
|
|
114
108
|
<tbody>
|
|
115
109
|
<tr>
|
|
116
110
|
<th>
|
|
117
|
-
<span class="t">
|
|
118
|
-
驳回节点
|
|
111
|
+
<span class="t">{{ $t1('驳回节点') }}
|
|
119
112
|
</span>
|
|
120
113
|
</th>
|
|
121
114
|
<td colspan="5">
|
|
122
115
|
<el-form-item label="" field="nodeId">
|
|
123
|
-
<el-select v-model="rejectForm.nodeId" placeholder="请选择驳回节点">
|
|
116
|
+
<el-select v-model="rejectForm.nodeId" :placeholder="$t1('请选择驳回节点')">
|
|
124
117
|
<el-option v-for="(rejectNode,index) in rejectNodes" :key="index" :label="rejectNode.nodeName"
|
|
125
118
|
:value="rejectNode.nodeId"></el-option>
|
|
126
119
|
</el-select>
|
|
127
120
|
<el-radio-group v-if="wfInfo.toRejectNode == false" v-model="rejectForm.rejectSubmitModel"
|
|
128
121
|
style="margin-left: 10px;">
|
|
129
|
-
<el-radio :label="1"
|
|
130
|
-
<el-radio :label="2"
|
|
122
|
+
<el-radio :label="1">{{ $t1('驳回的节点提交顺延下一步') }}</el-radio>
|
|
123
|
+
<el-radio :label="2">{{ $t1('驳回的节点提交回本节点') }}</el-radio>
|
|
131
124
|
</el-radio-group>
|
|
132
125
|
</el-form-item>
|
|
133
126
|
</td>
|
|
134
127
|
</tr>
|
|
135
128
|
<tr>
|
|
136
129
|
<th>
|
|
137
|
-
<span class="t">
|
|
138
|
-
驳回意见
|
|
130
|
+
<span class="t">{{ $t1('驳回意见') }}
|
|
139
131
|
</span>
|
|
140
132
|
</th>
|
|
141
133
|
<td colspan="5">
|
|
142
134
|
<el-form-item label="" field="opinion">
|
|
143
|
-
<el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="rejectForm.opinion"></el-input>
|
|
135
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请输入内容')" v-model="rejectForm.opinion"></el-input>
|
|
144
136
|
</el-form-item>
|
|
145
137
|
</td>
|
|
146
138
|
</tr>
|
|
@@ -165,8 +157,7 @@
|
|
|
165
157
|
<tbody>
|
|
166
158
|
<tr>
|
|
167
159
|
<th>
|
|
168
|
-
<span class="t">
|
|
169
|
-
转办人
|
|
160
|
+
<span class="t">{{ $t1('转办人') }}
|
|
170
161
|
</span>
|
|
171
162
|
</th>
|
|
172
163
|
<td>
|
|
@@ -190,13 +181,12 @@
|
|
|
190
181
|
</tr>
|
|
191
182
|
<tr>
|
|
192
183
|
<th>
|
|
193
|
-
<span class="t">
|
|
194
|
-
转办意见
|
|
184
|
+
<span class="t">{{ $t1('转办意见') }}
|
|
195
185
|
</span>
|
|
196
186
|
</th>
|
|
197
187
|
<td colspan="3">
|
|
198
188
|
<el-form-item label="" field="opinion">
|
|
199
|
-
<el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="changeWfForm.opinion"></el-input>
|
|
189
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请输入内容')" v-model="changeWfForm.opinion"></el-input>
|
|
200
190
|
</el-form-item>
|
|
201
191
|
</td>
|
|
202
192
|
</tr>
|
|
@@ -224,8 +214,7 @@
|
|
|
224
214
|
<tbody>
|
|
225
215
|
<tr>
|
|
226
216
|
<th>
|
|
227
|
-
<span class="t">
|
|
228
|
-
候选人
|
|
217
|
+
<span class="t">{{ $t1('候选人') }}
|
|
229
218
|
</span>
|
|
230
219
|
</th>
|
|
231
220
|
<td>
|
|
@@ -238,7 +227,7 @@
|
|
|
238
227
|
addIncreaseSignUsers = [];
|
|
239
228
|
$forceUpdate();
|
|
240
229
|
"
|
|
241
|
-
placeholder="候选人"
|
|
230
|
+
:placeholder="$t1('候选人')"
|
|
242
231
|
v-el-readonly
|
|
243
232
|
clearable
|
|
244
233
|
>
|
|
@@ -250,13 +239,12 @@
|
|
|
250
239
|
</tr>
|
|
251
240
|
<tr>
|
|
252
241
|
<th>
|
|
253
|
-
<span class="t">
|
|
254
|
-
加签意见
|
|
242
|
+
<span class="t">{{ $t1('加签意见') }}
|
|
255
243
|
</span>
|
|
256
244
|
</th>
|
|
257
245
|
<td colspan="3">
|
|
258
246
|
<el-form-item field="opinion">
|
|
259
|
-
<el-input type="textarea" :rows="8" placeholder="请输入内容"
|
|
247
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请输入内容')"
|
|
260
248
|
v-model="addIncreaseSignForm.opinion"></el-input>
|
|
261
249
|
</el-form-item>
|
|
262
250
|
</td>
|
|
@@ -285,13 +273,12 @@
|
|
|
285
273
|
<tbody>
|
|
286
274
|
<tr>
|
|
287
275
|
<th>
|
|
288
|
-
<span class="t">
|
|
289
|
-
撤回意见
|
|
276
|
+
<span class="t">{{ $t1('撤回意见') }}
|
|
290
277
|
</span>
|
|
291
278
|
</th>
|
|
292
279
|
<td colspan="5">
|
|
293
280
|
<el-form-item label="" field="opinion">
|
|
294
|
-
<el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="revokeForm.opinion"></el-input>
|
|
281
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请输入内容')" v-model="revokeForm.opinion"></el-input>
|
|
295
282
|
</el-form-item>
|
|
296
283
|
</td>
|
|
297
284
|
</tr>
|
|
@@ -316,8 +303,7 @@
|
|
|
316
303
|
<tbody>
|
|
317
304
|
<tr>
|
|
318
305
|
<th>
|
|
319
|
-
<span class="t">
|
|
320
|
-
接收人
|
|
306
|
+
<span class="t">{{ $t1('接收人') }}
|
|
321
307
|
</span>
|
|
322
308
|
</th>
|
|
323
309
|
<td>
|
|
@@ -330,7 +316,7 @@
|
|
|
330
316
|
changeWfForm.receiver = null;
|
|
331
317
|
$forceUpdate();
|
|
332
318
|
"
|
|
333
|
-
placeholder="接收人"
|
|
319
|
+
:placeholder="$t1('接收人')"
|
|
334
320
|
v-el-readonly
|
|
335
321
|
clearable
|
|
336
322
|
>
|
|
@@ -347,20 +333,18 @@
|
|
|
347
333
|
</tr>
|
|
348
334
|
<tr>
|
|
349
335
|
<th>
|
|
350
|
-
<span class="t">
|
|
351
|
-
沟通内容
|
|
336
|
+
<span class="t">{{ $t1('沟通内容') }}
|
|
352
337
|
</span>
|
|
353
338
|
</th>
|
|
354
339
|
<td colspan="3">
|
|
355
340
|
<el-form-item field="content">
|
|
356
|
-
<el-input type="textarea" :rows="8" placeholder="请输入内容" v-model="talkForm.content"></el-input>
|
|
341
|
+
<el-input type="textarea" :rows="8" :placeholder="$t1('请输入内容')" v-model="talkForm.content"></el-input>
|
|
357
342
|
</el-form-item>
|
|
358
343
|
</td>
|
|
359
344
|
</tr>
|
|
360
345
|
<tr>
|
|
361
346
|
<th>
|
|
362
|
-
<span class="t">
|
|
363
|
-
沟通资料
|
|
347
|
+
<span class="t">{{ $t1('沟通资料') }}
|
|
364
348
|
</span>
|
|
365
349
|
</th>
|
|
366
350
|
<td colspan="7">
|
|
@@ -384,20 +368,20 @@
|
|
|
384
368
|
</div>
|
|
385
369
|
|
|
386
370
|
<div class="title-second" @click="showFlowImg = !showFlowImg"
|
|
387
|
-
style="margin: 14px 0 24px;line-height: 29px;cursor: pointer;"><b
|
|
371
|
+
style="margin: 14px 0 24px;line-height: 29px;cursor: pointer;"><b>{{ $t1('流程图') }}</b>
|
|
388
372
|
<div class="fr" v-if="showFlowImg == true" style="font-weight: 400;">
|
|
389
|
-
<span
|
|
373
|
+
<span>{{ $t1('收起') }}</span>
|
|
390
374
|
<i class="el-icon-arrow-up"></i>
|
|
391
375
|
</div>
|
|
392
376
|
<div class="fr" v-else style="font-weight: 400;">
|
|
393
|
-
<span
|
|
377
|
+
<span>{{ $t1('展开') }}</span>
|
|
394
378
|
<i class="el-icon-arrow-down"></i>
|
|
395
379
|
</div>
|
|
396
380
|
</div>
|
|
397
381
|
<div class="flow-tree" style="padding-right:0" v-show="showFlowImg == true">
|
|
398
382
|
<div class="flow-box">
|
|
399
383
|
<img :src="wfImage"/>
|
|
400
|
-
<el-tooltip :enterable="false" class="item" effect="dark" content="放大" placement="bottom">
|
|
384
|
+
<el-tooltip :enterable="false" class="item" effect="dark" :content="$t1('放大')" placement="bottom">
|
|
401
385
|
<i class="el-icon-zoom-in btn-magnifier" @click="$window.open(wfImage)" style="right:0;"></i>
|
|
402
386
|
</el-tooltip>
|
|
403
387
|
</div>
|
|
@@ -422,9 +406,9 @@
|
|
|
422
406
|
</div>
|
|
423
407
|
<div class="title-tab">
|
|
424
408
|
<div>
|
|
425
|
-
<b :class="{on:tabIndex=='1'}" @click="tabIndex='1'"
|
|
426
|
-
<b :class="{on:tabIndex=='2'}" @click="tabIndex='2'" v-if="toTalk"
|
|
427
|
-
<b :class="{on:tabIndex=='3'}" @click="tabIndex='3'" v-if="showAllWfOpinon"
|
|
409
|
+
<b :class="{on:tabIndex=='1'}" @click="tabIndex='1'">{{ $t1('任务情况') }}</b>
|
|
410
|
+
<b :class="{on:tabIndex=='2'}" @click="tabIndex='2'" v-if="toTalk">{{ $t1('流程沟通') }}</b>
|
|
411
|
+
<b :class="{on:tabIndex=='3'}" @click="tabIndex='3'" v-if="showAllWfOpinon">{{ $t1('全部任务情况') }}</b>
|
|
428
412
|
</div>
|
|
429
413
|
</div>
|
|
430
414
|
<div class="task-situation" v-show="tabIndex=='1'" style="max-height: 500px; overflow: hidden auto;">
|
|
@@ -441,13 +425,12 @@
|
|
|
441
425
|
<div class="info">
|
|
442
426
|
<p>
|
|
443
427
|
<span class="name">{{ wftaskLineData.taskName }}</span>
|
|
444
|
-
<span
|
|
445
|
-
<span>
|
|
446
|
-
候选人:
|
|
428
|
+
<span>{{ $t1('执行人:') }}{{ wftaskLineData.approverName }}</span>
|
|
429
|
+
<span>{{ $t1('候选人:') }}
|
|
447
430
|
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
|
448
431
|
</span>
|
|
449
432
|
</p>
|
|
450
|
-
<p class="t"><span class="t1"
|
|
433
|
+
<p class="t"><span class="t1">{{ $t1('备注/意见:') }}</span><span>{{ wftaskLineData.opinion }}</span></p>
|
|
451
434
|
</div>
|
|
452
435
|
</div>
|
|
453
436
|
</div>
|
|
@@ -463,7 +446,7 @@
|
|
|
463
446
|
<div style="margin-bottom: 8px;" class="clearfix">
|
|
464
447
|
<div class="fl">
|
|
465
448
|
<el-button type="primary" class="button-sty" @click="openTalkDialog(null, null, 'talk',1)"
|
|
466
|
-
icon="el-icon-chat-dot-square" v-if="wfInfo.stat!=2"
|
|
449
|
+
icon="el-icon-chat-dot-square" v-if="wfInfo.stat!=2">{{ $t1('沟通') }}
|
|
467
450
|
</el-button>
|
|
468
451
|
</div>
|
|
469
452
|
<div class="fr">
|
|
@@ -479,7 +462,7 @@
|
|
|
479
462
|
@click="openTalkDialog(row.sender, row.senderName, 'talk',1)"
|
|
480
463
|
v-if="wfInfo.stat!=2"
|
|
481
464
|
>
|
|
482
|
-
<el-tooltip :enterable="false" effect="dark" content="沟通" placement="top"
|
|
465
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('沟通')" placement="top"
|
|
483
466
|
popper-class="tooltip-skin">
|
|
484
467
|
<div>
|
|
485
468
|
<i class="el-icon-chat-dot-square"></i>
|
|
@@ -495,7 +478,7 @@
|
|
|
495
478
|
@click="openTalkDialog(row.receiver,row.receiverName,'talk',1)"
|
|
496
479
|
v-if="wfInfo.stat!=2"
|
|
497
480
|
>
|
|
498
|
-
<el-tooltip :enterable="false" effect="dark" content="沟通" placement="top"
|
|
481
|
+
<el-tooltip :enterable="false" effect="dark" :content="$t1('沟通')" placement="top"
|
|
499
482
|
popper-class="tooltip-skin">
|
|
500
483
|
<div>
|
|
501
484
|
<i class="el-icon-chat-dot-square"></i>
|
|
@@ -522,13 +505,12 @@
|
|
|
522
505
|
<div class="info">
|
|
523
506
|
<p>
|
|
524
507
|
<span class="name">{{ wftaskLineData.taskName }}</span>
|
|
525
|
-
<span
|
|
526
|
-
<span>
|
|
527
|
-
候选人:
|
|
508
|
+
<span>{{ $t1('执行人:') }}{{ wftaskLineData.approverName }}</span>
|
|
509
|
+
<span>{{ $t1('候选人:') }}
|
|
528
510
|
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
|
529
511
|
</span>
|
|
530
512
|
</p>
|
|
531
|
-
<p class="t"><span class="t1"
|
|
513
|
+
<p class="t"><span class="t1">{{ $t1('备注/意见:') }}</span><span>{{ wftaskLineData.opinion }}</span></p>
|
|
532
514
|
</div>
|
|
533
515
|
</div>
|
|
534
516
|
</div>
|
|
@@ -546,13 +528,12 @@
|
|
|
546
528
|
v-el-dialog-center
|
|
547
529
|
>
|
|
548
530
|
<template #title>
|
|
549
|
-
<span class="el-dialog__title"
|
|
550
|
-
class="f-red" style="font-size: 12px;"
|
|
531
|
+
<span class="el-dialog__title">{{ $t1('流程中断') }}<span style="margin-left: 10px;margin-right: 10px;">—</span><b
|
|
532
|
+
class="f-red" style="font-size: 12px;">{{ $t1('节点:') }}{{
|
|
551
533
|
wfInfo.taskName
|
|
552
534
|
}}</b></span>
|
|
553
535
|
</template>
|
|
554
|
-
<div class="cont">
|
|
555
|
-
您确定要中断流程吗?
|
|
536
|
+
<div class="cont">{{ $t1('您确定要中断流程吗?') }}
|
|
556
537
|
</div>
|
|
557
538
|
<span slot="footer" class="dialog-footer">
|
|
558
539
|
<el-button type="primary" plain class="button-sty" @click="showWfManualDialog = false"><i
|
package/src/components/wf/wf.js
CHANGED
|
@@ -505,6 +505,12 @@ wfContentMixin = {
|
|
|
505
505
|
},
|
|
506
506
|
config: {
|
|
507
507
|
height: 350,
|
|
508
|
+
// 关闭单行省略后按内容换行。虚拟滚动按固定行高裁切,这里关掉。
|
|
509
|
+
showOverflow: false,
|
|
510
|
+
scrollY: {
|
|
511
|
+
enabled: false,
|
|
512
|
+
gt: -1
|
|
513
|
+
},
|
|
508
514
|
proxyConfig: {
|
|
509
515
|
props: {
|
|
510
516
|
result: "objx", // 配置响应结果列表字段
|
|
@@ -521,10 +527,11 @@ wfContentMixin = {
|
|
|
521
527
|
{
|
|
522
528
|
field: 'wfTaskCandidates',
|
|
523
529
|
title: this.$t2('候选人', 'components.wf.candidate'),
|
|
524
|
-
|
|
530
|
+
minWidth: 450,
|
|
525
531
|
slots: {
|
|
526
|
-
default: ({row
|
|
527
|
-
|
|
532
|
+
default: ({row}) => {
|
|
533
|
+
let list = row.wfTaskCandidateDTOs || [];
|
|
534
|
+
return list.map(item => item.name).filter(Boolean).join(',');
|
|
528
535
|
},
|
|
529
536
|
},
|
|
530
537
|
},
|
|
@@ -537,6 +544,12 @@ wfContentMixin = {
|
|
|
537
544
|
]
|
|
538
545
|
};
|
|
539
546
|
this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
|
|
547
|
+
// 列宽记忆会把候选人列写回固定 width,剩余空间就铺不满
|
|
548
|
+
let column = (opts.columns || []).find(item => item.field === 'wfTaskCandidates');
|
|
549
|
+
if (column) {
|
|
550
|
+
column.minWidth = column.minWidth || 450;
|
|
551
|
+
delete column.width;
|
|
552
|
+
}
|
|
540
553
|
that.candidateOption = opts;
|
|
541
554
|
});
|
|
542
555
|
},
|
|
@@ -1755,12 +1768,12 @@ wfStartMixin = {
|
|
|
1755
1768
|
let btnName = getWfButtonNames().submitBtn;
|
|
1756
1769
|
if (btnName) {
|
|
1757
1770
|
//只能用 $t1(找不到 key 原样返回),$t2 在 i18n 命中 key 时会把拼进去的名字吞掉
|
|
1758
|
-
return this.$t1(
|
|
1771
|
+
return this.$t1("您确定要{name}吗?", { name: btnName });
|
|
1759
1772
|
}
|
|
1760
1773
|
let wfStartOperateName =
|
|
1761
1774
|
settingConfig.wfStartOperateName ||
|
|
1762
1775
|
settingConfig.wfStartButtonName ||
|
|
1763
|
-
|
|
1776
|
+
(window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('启动流程') : '启动流程');
|
|
1764
1777
|
return this.$t2(
|
|
1765
1778
|
"您确定要" + wfStartOperateName + "吗?",
|
|
1766
1779
|
'components.wf.startTip'
|
|
@@ -1295,11 +1295,11 @@ let chartContainers = [],
|
|
|
1295
1295
|
let dropdownItem1 = this.copyNewFieldWidget(
|
|
1296
1296
|
this.getFieldWidgetByType("dropdown-item")
|
|
1297
1297
|
);
|
|
1298
|
-
dropdownItem1.options.label =
|
|
1298
|
+
dropdownItem1.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('下拉按钮1') : '下拉按钮1');
|
|
1299
1299
|
let dropdownItem2 = this.copyNewFieldWidget(
|
|
1300
1300
|
this.getFieldWidgetByType("dropdown-item")
|
|
1301
1301
|
);
|
|
1302
|
-
dropdownItem2.options.label =
|
|
1302
|
+
dropdownItem2.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('下拉按钮2') : '下拉按钮2');
|
|
1303
1303
|
newWidget.widgetList.push(dropdownItem1);
|
|
1304
1304
|
newWidget.widgetList.push(dropdownItem2);
|
|
1305
1305
|
}
|
|
@@ -1431,7 +1431,7 @@ let chartContainers = [],
|
|
|
1431
1431
|
let buttonCon2 = this.copyNewFieldWidget(
|
|
1432
1432
|
this.getFieldWidgetByType("save_button")
|
|
1433
1433
|
);
|
|
1434
|
-
buttonCon2.options.label =
|
|
1434
|
+
buttonCon2.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('保存') : '保存');
|
|
1435
1435
|
|
|
1436
1436
|
newCon.widgetList.push(buttonCon1);
|
|
1437
1437
|
newCon.widgetList.push(buttonCon2);
|
|
@@ -1443,7 +1443,7 @@ let chartContainers = [],
|
|
|
1443
1443
|
let tmpId = baseRefUtil.generateId();
|
|
1444
1444
|
newCol.id = "detail-pane-" + tmpId;
|
|
1445
1445
|
newCol.options.name = "detailPane" + tmpId;
|
|
1446
|
-
newCol.options.label =
|
|
1446
|
+
newCol.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('隐藏信息') : '隐藏信息');
|
|
1447
1447
|
newCol.options.hidden = true;
|
|
1448
1448
|
|
|
1449
1449
|
let tableCon = this.copyNewContainerWidget(
|
|
@@ -1458,7 +1458,7 @@ let chartContainers = [],
|
|
|
1458
1458
|
tmpId = baseRefUtil.generateId();
|
|
1459
1459
|
newCol.id = "detail-pane-" + tmpId;
|
|
1460
1460
|
newCol.options.name = "detailPane" + tmpId;
|
|
1461
|
-
newCol.options.label =
|
|
1461
|
+
newCol.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础信息') : '基础信息');
|
|
1462
1462
|
|
|
1463
1463
|
tableCon = this.copyNewContainerWidget(
|
|
1464
1464
|
this.getContainerByType("table")
|
|
@@ -1472,7 +1472,7 @@ let chartContainers = [],
|
|
|
1472
1472
|
tmpId = baseRefUtil.generateId();
|
|
1473
1473
|
newCol.id = "detail-pane-" + tmpId;
|
|
1474
1474
|
newCol.options.name = "detailPane" + tmpId;
|
|
1475
|
-
newCol.options.label =
|
|
1475
|
+
newCol.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('明细信息') : '明细信息');
|
|
1476
1476
|
newCol.options.tableRef = tableCon.id;
|
|
1477
1477
|
let dataTableCon = this.copyNewContainerWidget(
|
|
1478
1478
|
this.getContainerByType("data-table")
|
|
@@ -1483,7 +1483,7 @@ let chartContainers = [],
|
|
|
1483
1483
|
let buttonCon3 = this.copyNewFieldWidget(
|
|
1484
1484
|
this.getFieldWidgetByType("button")
|
|
1485
1485
|
);
|
|
1486
|
-
buttonCon3.options.label =
|
|
1486
|
+
buttonCon3.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('新增') : '新增');
|
|
1487
1487
|
buttonCon3.options.icon = "el-icon-search";
|
|
1488
1488
|
// buttonCon3.options.onClick = "this.getWidgetRef('" + dataTableCon.options.name + "').addTableData();"
|
|
1489
1489
|
buttonCon3.options.clickBindEvent = CLICK_BIND.ADD_TABLE_DATA;
|
|
@@ -1500,7 +1500,7 @@ let chartContainers = [],
|
|
|
1500
1500
|
tmpId = baseRefUtil.generateId();
|
|
1501
1501
|
newCol.id = "detail-pane-" + tmpId;
|
|
1502
1502
|
newCol.options.name = "detailPane" + tmpId;
|
|
1503
|
-
newCol.options.label =
|
|
1503
|
+
newCol.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('附件信息') : '附件信息');
|
|
1504
1504
|
let vabUploadCon = this.copyNewFieldWidget(
|
|
1505
1505
|
this.getFieldWidgetByType("vabUpload")
|
|
1506
1506
|
); //vabUpload
|
|
@@ -1548,7 +1548,7 @@ let chartContainers = [],
|
|
|
1548
1548
|
let tmpId = baseRefUtil.generateId();
|
|
1549
1549
|
newCol.id = "h5-card-pane-" + tmpId;
|
|
1550
1550
|
newCol.options.name = "h5CardPane" + tmpId;
|
|
1551
|
-
newCol.options.label =
|
|
1551
|
+
newCol.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基本信息') : '基本信息');
|
|
1552
1552
|
newCon.panes.push(newCol);
|
|
1553
1553
|
} else if (newCon.type === "detail-h5") {
|
|
1554
1554
|
// 一张 h5-card:基础信息 / 明细信息 / 附件信息
|
|
@@ -1560,7 +1560,7 @@ let chartContainers = [],
|
|
|
1560
1560
|
// 基础信息:默认放 h5 表格(一行两列),对齐 PC 详情的「基础信息 + 表格」
|
|
1561
1561
|
let basicPane = newCard.panes[0];
|
|
1562
1562
|
if (basicPane) {
|
|
1563
|
-
basicPane.options.label =
|
|
1563
|
+
basicPane.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础信息') : '基础信息');
|
|
1564
1564
|
let h5Table = this.copyNewContainerWidget(
|
|
1565
1565
|
this.getContainerByType("h5-table")
|
|
1566
1566
|
);
|
|
@@ -1571,7 +1571,7 @@ let chartContainers = [],
|
|
|
1571
1571
|
let newCardPane = this.copyNewContainerWidget(
|
|
1572
1572
|
this.getContainerByType("h5-card-pane")
|
|
1573
1573
|
);
|
|
1574
|
-
newCardPane.options.label =
|
|
1574
|
+
newCardPane.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('明细信息') : '明细信息');
|
|
1575
1575
|
newCard.panes.push(newCardPane);
|
|
1576
1576
|
|
|
1577
1577
|
let listH5 = this.copyNewContainerWidget(
|
|
@@ -1583,7 +1583,7 @@ let chartContainers = [],
|
|
|
1583
1583
|
newCardPane = this.copyNewContainerWidget(
|
|
1584
1584
|
this.getContainerByType("h5-card-pane")
|
|
1585
1585
|
);
|
|
1586
|
-
newCardPane.options.label =
|
|
1586
|
+
newCardPane.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('附件信息') : '附件信息');
|
|
1587
1587
|
newCard.panes.push(newCardPane);
|
|
1588
1588
|
|
|
1589
1589
|
let vabUploadCon = this.copyNewFieldWidget(
|
|
@@ -1663,7 +1663,7 @@ let chartContainers = [],
|
|
|
1663
1663
|
searchIdInput.options.disabled = true;
|
|
1664
1664
|
searchIdInput.options.hidden = true;
|
|
1665
1665
|
searchIdInput.options.fixedQuery = true;
|
|
1666
|
-
searchIdInput.options.label =
|
|
1666
|
+
searchIdInput.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('隐藏{p0}ID', { p0: newCon.options.treeLabel }) : '隐藏{p0}ID');
|
|
1667
1667
|
dataTableCon.widgetList.push(searchIdInput);
|
|
1668
1668
|
|
|
1669
1669
|
// 存量表单没有 fixedQuery 开关,仍靠 ignoreFields 兜底刷新按钮;
|
|
@@ -2066,42 +2066,42 @@ let chartContainers = [],
|
|
|
2066
2066
|
|
|
2067
2067
|
if ("editDelete" === formatS) {
|
|
2068
2068
|
columnSelectedWidget.options.prefixIcon = "el-icon-delete";
|
|
2069
|
-
columnSelectedWidget.options.label =
|
|
2069
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('删除') : '删除');
|
|
2070
2070
|
columnSelectedWidget.options.labelHidden = true;
|
|
2071
2071
|
columnSelectedWidget.options.hiddenByWf = true;
|
|
2072
2072
|
columnSelectedWidget.options.onClick =
|
|
2073
2073
|
"let tableParam = this.tableParam;\nlet tableRef = this.getWidgetRef(this.parentWidget.options.name);\ntableRef.deleteRow(tableParam.row,tableParam.rowIndex);";
|
|
2074
2074
|
} else if ("editButton" === formatS) {
|
|
2075
2075
|
columnSelectedWidget.options.prefixIcon = "el-icon-edit";
|
|
2076
|
-
columnSelectedWidget.options.label =
|
|
2076
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('查看') : '查看');
|
|
2077
2077
|
columnSelectedWidget.options.labelHidden = true;
|
|
2078
2078
|
columnSelectedWidget.options.onClick =
|
|
2079
2079
|
"let tableParam = this.tableParam;\nlet tableRef = this.getWidgetRef(this.parentWidget.options.name);\ntableRef.openEditDialog(tableParam.row)";
|
|
2080
2080
|
} else if ("addSiblingEditRow" === formatS) {
|
|
2081
2081
|
columnSelectedWidget.options.prefixIcon = "el-icon-plus";
|
|
2082
|
-
columnSelectedWidget.options.label =
|
|
2082
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('新增兄弟节点') : '新增兄弟节点');
|
|
2083
2083
|
columnSelectedWidget.options.labelHidden = false;
|
|
2084
2084
|
columnSelectedWidget.options.onClick =
|
|
2085
2085
|
"let tableParam = this.tableParam;\nthis.getParentTarget().addSiblingTreeRow(null,tableParam);";
|
|
2086
2086
|
} else if ("addChildTreeRow" === formatS) {
|
|
2087
2087
|
columnSelectedWidget.options.prefixIcon = "el-icon-plus";
|
|
2088
|
-
columnSelectedWidget.options.label =
|
|
2088
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('新增子节点') : '新增子节点');
|
|
2089
2089
|
columnSelectedWidget.options.labelHidden = false;
|
|
2090
2090
|
columnSelectedWidget.options.onClick =
|
|
2091
2091
|
"let tableParam = this.tableParam;\nthis.getParentTarget().addChildTreeRow(null,tableParam);";
|
|
2092
2092
|
} else if ("moveUpRow" === formatS) {
|
|
2093
|
-
columnSelectedWidget.options.label =
|
|
2093
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('↑上移') : '↑上移');
|
|
2094
2094
|
columnSelectedWidget.options.labelHidden = false;
|
|
2095
2095
|
columnSelectedWidget.options.onClick =
|
|
2096
2096
|
"let tableParam = this.tableParam;\nthis.getParentTarget().moveUpRow(tableParam);";
|
|
2097
2097
|
} else if ("moveDownRow" === formatS) {
|
|
2098
|
-
columnSelectedWidget.options.label =
|
|
2098
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('↓下移') : '↓下移');
|
|
2099
2099
|
columnSelectedWidget.options.labelHidden = false;
|
|
2100
2100
|
columnSelectedWidget.options.onClick =
|
|
2101
2101
|
"let tableParam = this.tableParam;\nthis.getParentTarget().moveDownRow(tableParam);";
|
|
2102
2102
|
} else if ("removeTreeRow" === formatS) {
|
|
2103
2103
|
columnSelectedWidget.options.prefixIcon = "el-icon-delete";
|
|
2104
|
-
columnSelectedWidget.options.label =
|
|
2104
|
+
columnSelectedWidget.options.label = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('删除') : '删除');
|
|
2105
2105
|
columnSelectedWidget.options.labelHidden = true;
|
|
2106
2106
|
columnSelectedWidget.options.onClick =
|
|
2107
2107
|
"let tableParam = this.tableParam;\nthis.getParentTarget().removeTreeRow(tableParam);";
|