cloud-web-corejs 1.1.0-dev.74 → 1.1.0-dev.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/index.vue +1 -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
|
<div>
|
|
3
|
-
<h5-card-pane label="流程信息">
|
|
3
|
+
<h5-card-pane :label="$t1('流程信息')">
|
|
4
4
|
<template #default>
|
|
5
5
|
<div class="flowPath-box">
|
|
6
6
|
<!-- 这一行的值是 wfInfo.name(流程主题),标签原先误写成「任务情况」——
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
<div class="m2">
|
|
17
17
|
<div class="t"><span>{{ $t2('流程图', 'components.wf.wfImage') }}</span></div>
|
|
18
18
|
<div class="c">
|
|
19
|
-
<el-button class="btn" @click="showPreviewDialog=true" icon="el-icon-view"
|
|
19
|
+
<el-button class="btn" @click="showPreviewDialog=true" icon="el-icon-view">{{ $t1('查看流程图') }}</el-button>
|
|
20
20
|
</div>
|
|
21
21
|
</div>
|
|
22
22
|
<div class="m2">
|
|
23
23
|
<div class="t"><span>{{ $t2('任务情况', 'components.wf.taskInfo') }}</span></div>
|
|
24
24
|
<div class="c">
|
|
25
|
-
<el-button class="btn" @click="showRenwuDialog=true" icon="iconfont icon-preview"
|
|
25
|
+
<el-button class="btn" @click="showRenwuDialog=true" icon="iconfont icon-preview">{{ $t1('查看任务情况') }}
|
|
26
26
|
</el-button>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
display:none,放在插槽里的弹框会被一起隐藏 —— 表现为「流程信息收起后,
|
|
76
76
|
通过/驳回/转办这些弹框点了没反应」(祖先 display:none 无法被后代覆盖)。 -->
|
|
77
77
|
<el-dialog
|
|
78
|
-
title="流程图预览"
|
|
78
|
+
:title="$t1('流程图预览')"
|
|
79
79
|
:modal-append-to-body="false"
|
|
80
80
|
:close-on-click-modal="false"
|
|
81
81
|
:visible.sync="showPreviewDialog"
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
</el-dialog>
|
|
115
115
|
|
|
116
116
|
<el-dialog
|
|
117
|
-
title="任务情况预览"
|
|
117
|
+
:title="$t1('任务情况预览')"
|
|
118
118
|
:modal-append-to-body="false"
|
|
119
119
|
:close-on-click-modal="false"
|
|
120
120
|
:visible.sync="showRenwuDialog"
|
|
@@ -218,14 +218,14 @@
|
|
|
218
218
|
wfInfo.taskName
|
|
219
219
|
}}</b></p>
|
|
220
220
|
<el-form label-position="top" class="form-box">
|
|
221
|
-
<el-form-item label="驳回节点" field="nodeId">
|
|
221
|
+
<el-form-item :label="$t1('驳回节点')" field="nodeId">
|
|
222
222
|
<el-select v-model="rejectForm.nodeId"
|
|
223
223
|
:placeholder="$t2('请选择驳回节点', 'components.wf.rejectNodePlaceholder')">
|
|
224
224
|
<el-option v-for="(rejectNode,index) in rejectNodes" :label="rejectNode.nodeName"
|
|
225
225
|
:value="rejectNode.nodeId" :key="index"></el-option>
|
|
226
226
|
</el-select>
|
|
227
227
|
</el-form-item>
|
|
228
|
-
<el-form-item label="驳回意见" field="opinion">
|
|
228
|
+
<el-form-item :label="$t1('驳回意见')" field="opinion">
|
|
229
229
|
<el-input type="textarea" :rows="5"
|
|
230
230
|
:placeholder="$t2('请输入内容', 'components.wf.rejectOpinionPlaceholder')"
|
|
231
231
|
v-model="rejectForm.opinion" class="txt"></el-input>
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
wfInfo.taskName
|
|
298
298
|
}}</b></p>
|
|
299
299
|
<el-form label-position="top" class="form-box">
|
|
300
|
-
<el-form-item label="转办人" field="nodeId">
|
|
300
|
+
<el-form-item :label="$t1('转办人')" field="nodeId">
|
|
301
301
|
<el-input
|
|
302
302
|
class="search-input"
|
|
303
303
|
max="200"
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
<i slot="suffix" class="el-input__icon el-icon-search" @click="showUserDialog = true"></i>
|
|
314
314
|
</el-input>
|
|
315
315
|
</el-form-item>
|
|
316
|
-
<el-form-item label="转办意见" field="opinion">
|
|
316
|
+
<el-form-item :label="$t1('转办意见')" field="opinion">
|
|
317
317
|
<el-input type="textarea" :rows="8"
|
|
318
318
|
:placeholder="$t2('请输入内容', 'components.wf.transferOpinionPlaceholder')"
|
|
319
319
|
v-model="changeWfForm.opinion"></el-input>
|
|
@@ -343,7 +343,7 @@
|
|
|
343
343
|
}}</b>
|
|
344
344
|
</p>
|
|
345
345
|
<el-form label-position="top" class="form-box">
|
|
346
|
-
<el-form-item label="候选人">
|
|
346
|
+
<el-form-item :label="$t1('候选人')">
|
|
347
347
|
<el-input
|
|
348
348
|
class="search-input"
|
|
349
349
|
max="200"
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
@click="showAddTaskUserDialog = true"></i>
|
|
361
361
|
</el-input>
|
|
362
362
|
</el-form-item>
|
|
363
|
-
<el-form-item label="加签意见" field="opinion">
|
|
363
|
+
<el-form-item :label="$t1('加签意见')" field="opinion">
|
|
364
364
|
<el-input type="textarea" :rows="8"
|
|
365
365
|
:placeholder="$t2('请输入内容', 'components.wf.addIncreaseSignOpinionPlaceholder')"
|
|
366
366
|
v-model="addIncreaseSignForm.opinion"></el-input>
|
|
@@ -608,9 +608,9 @@ export default {
|
|
|
608
608
|
revokeDialogVisible: false,
|
|
609
609
|
revokeForm: {opinion: null},
|
|
610
610
|
wfStatusMap: {
|
|
611
|
-
1: {label:
|
|
612
|
-
3: {label:
|
|
613
|
-
2: {label:
|
|
611
|
+
1: {label: this.$t1('审核中'), type: "warning"},
|
|
612
|
+
3: {label: this.$t1('已驳回'), type: "danger"},
|
|
613
|
+
2: {label: this.$t1('已完成'), type: "success"}
|
|
614
614
|
}
|
|
615
615
|
};
|
|
616
616
|
},
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
<div class="checkbox-all_list" @scroll="handleScroll">
|
|
31
31
|
<div v-for="(row,rowIndex) in page.records" :key="rowIndex" class="order-item"
|
|
32
32
|
:class="{on:checkList.includes(row.id)}" @click="changeCheck(row,rowIndex)">
|
|
33
|
-
<div class="is-checked" v-if="checkList.includes(row.id)"><i class="el-icon-check"></i
|
|
33
|
+
<div class="is-checked" v-if="checkList.includes(row.id)"><i class="el-icon-check"></i>{{ $t1('已选择') }}</div>
|
|
34
34
|
<div class="t1">
|
|
35
35
|
<i class="icon"></i>
|
|
36
36
|
<span>{{ row.name }}</span>
|
|
37
37
|
</div>
|
|
38
38
|
<div class="t2">
|
|
39
|
-
<p
|
|
39
|
+
<p>{{ $t1('候选人') }}ID:{{ row.id }}</p>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|
|
42
42
|
</div>
|
|
43
43
|
<div class="checkbox-all">
|
|
44
|
-
<div class='ca-t'
|
|
44
|
+
<div class='ca-t'>{{ $t1('已选择候选人:') }}</div>
|
|
45
45
|
<div class="ca-c">
|
|
46
46
|
<span v-for="(checkRow, rowIndex) in checkRows" :key="rowIndex">{{ checkRow.name }}<i
|
|
47
47
|
class="el-icon-delete" @click="changeCheck(checkRow)"></i></span>
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
51
|
<div class="fixed-bottom-btns">
|
|
52
|
-
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close"
|
|
52
|
+
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close">{{ $t1('取 消') }}
|
|
53
53
|
</el-button>
|
|
54
|
-
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check"
|
|
54
|
+
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check">{{ $t1('确 定') }}</el-button>
|
|
55
55
|
</div>
|
|
56
56
|
</div>
|
|
57
57
|
</el-dialog>
|
|
@@ -72,7 +72,7 @@ mixin = {
|
|
|
72
72
|
let wfStartOperateName =
|
|
73
73
|
settingConfig.wfStartOperateName ||
|
|
74
74
|
settingConfig.wfStartButtonName ||
|
|
75
|
-
|
|
75
|
+
(window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('启动流程') : '启动流程');
|
|
76
76
|
let startTip = "您确定要" + wfStartOperateName + "吗?";
|
|
77
77
|
that.$baseConfirm(this.$t2(startTip, 'components.wf.startTip'))
|
|
78
78
|
.then(() => {
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
<div class="selected-flex-box">
|
|
27
27
|
<div class="search-H5box">
|
|
28
28
|
<div class="txt">
|
|
29
|
-
<el-input placeholder="姓名" suffix-icon="el-icon-search" v-model="formData.nickName"
|
|
29
|
+
<el-input :placeholder="$t1('姓名')" suffix-icon="el-icon-search" v-model="formData.nickName"
|
|
30
30
|
@keyup.enter.native="searchEvent">
|
|
31
|
-
<el-button slot="append" @click="searchEvent">
|
|
31
|
+
<el-button slot="append" @click="searchEvent"> {{ $t1('搜索') }}</el-button>
|
|
32
32
|
</el-input>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="icon-screen" @click="popStatus = true">
|
|
@@ -40,24 +40,24 @@
|
|
|
40
40
|
<div class="checkbox-all_list" @scroll="handleScroll">
|
|
41
41
|
<div v-for="(row,rowIndex) in page.records" :key="rowIndex" class="order-item"
|
|
42
42
|
:class="{on:isChecked(row)}" @click="changeCheck(row,rowIndex)">
|
|
43
|
-
<div class="is-checked" v-if="isChecked(row)"><i class="el-icon-check"></i
|
|
43
|
+
<div class="is-checked" v-if="isChecked(row)"><i class="el-icon-check"></i>{{ $t1('已选择') }}</div>
|
|
44
44
|
<div class="t1">
|
|
45
45
|
<i class="icon"></i>
|
|
46
46
|
<span>{{ row.nickName }}</span>
|
|
47
47
|
</div>
|
|
48
48
|
<div class="t2">
|
|
49
|
-
<p
|
|
50
|
-
<p
|
|
51
|
-
<p
|
|
52
|
-
<p
|
|
53
|
-
<p
|
|
54
|
-
<p
|
|
55
|
-
<p
|
|
49
|
+
<p>{{ $t1('登录名:') }}{{ row.loginAccount }}</p>
|
|
50
|
+
<p>{{ $t1('角色:') }}{{ row.roleNames }}</p>
|
|
51
|
+
<p>{{ $t1('机构:') }}{{ row.saleOrgNames }}</p>
|
|
52
|
+
<p>{{ $t1('邮编:') }}{{ row.zipCode }}</p>
|
|
53
|
+
<p>{{ $t1('地址:') }}{{ row.address }}</p>
|
|
54
|
+
<p>{{ $t1('性别:') }}{{ genderMap[row.gender] ? $t1(genderMap[row.gender]) : '' }}</p>
|
|
55
|
+
<p>{{ $t1('所属组织:') }}{{ row.companyNames }}</p>
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
59
59
|
<div class="checkbox-all">
|
|
60
|
-
<div class='ca-t'
|
|
60
|
+
<div class='ca-t'>{{ $t1('已选择用户:') }}</div>
|
|
61
61
|
<div class="ca-c">
|
|
62
62
|
<span v-for="(checkRow, rowIndex) in checkRows" :key="rowIndex">{{ checkRow.nickName }}<i
|
|
63
63
|
class="el-icon-delete" @click="changeCheck(checkRow)"></i></span>
|
|
@@ -67,10 +67,10 @@
|
|
|
67
67
|
<h5SearchDialog v-if="popStatus" :visiable.sync="popStatus" @searchEvent="confirmSearchDialog"
|
|
68
68
|
@resetEvent="resetSearchDialog">
|
|
69
69
|
<el-form label-position="top">
|
|
70
|
-
<el-form-item label="登录名">
|
|
70
|
+
<el-form-item :label="$t1('登录名')">
|
|
71
71
|
<el-input v-model="formData.loginAccount" class="txt" clearable/>
|
|
72
72
|
</el-form-item>
|
|
73
|
-
<el-form-item label="姓名">
|
|
73
|
+
<el-form-item :label="$t1('姓名')">
|
|
74
74
|
<el-input v-model="formData.nickName" class="txt" clearable/>
|
|
75
75
|
</el-form-item>
|
|
76
76
|
</el-form>
|
|
@@ -26,22 +26,21 @@
|
|
|
26
26
|
<div v-for="(row,rowIndex) in page.records" :key="rowIndex" class="order-item">
|
|
27
27
|
<div class="t1">
|
|
28
28
|
<i class="icon"></i>
|
|
29
|
-
<span
|
|
29
|
+
<span>{{ $t1('候选人:') }}{{ getUsernames(row) }}</span>
|
|
30
30
|
</div>
|
|
31
31
|
<div class="t2">
|
|
32
|
-
<p
|
|
32
|
+
<p>{{ $t1('节点名称:') }}{{ row.nodeName }}</p>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="btns">
|
|
35
|
-
<el-button type="primary" plain class="btn" @click="openUserDialig(row, rowIndex)" icon="el-icon-edit">
|
|
36
|
-
设置候选人
|
|
35
|
+
<el-button type="primary" plain class="btn" @click="openUserDialig(row, rowIndex)" icon="el-icon-edit">{{ $t1('设置候选人') }}
|
|
37
36
|
</el-button>
|
|
38
37
|
</div>
|
|
39
38
|
</div>
|
|
40
39
|
</div>
|
|
41
40
|
</div>
|
|
42
41
|
<div class="fixed-bottom-btns">
|
|
43
|
-
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close"
|
|
44
|
-
<el-button type="primary" class="btn" @click="dialogClose" icon="el-icon-check"
|
|
42
|
+
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close">{{ $t1('取 消') }}</el-button>
|
|
43
|
+
<el-button type="primary" class="btn" @click="dialogClose" icon="el-icon-check">{{ $t1('确 定') }}</el-button>
|
|
45
44
|
</div>
|
|
46
45
|
</div>
|
|
47
46
|
</el-dialog>
|
|
@@ -28,18 +28,18 @@
|
|
|
28
28
|
<div class="checkbox-all_list" @scroll="handleScroll">
|
|
29
29
|
<div v-for="(row,rowIndex) in page.records" :key="rowIndex" class="order-item"
|
|
30
30
|
:class="{on:checkList.includes(row.id)}" @click="changeCheck(row,rowIndex)">
|
|
31
|
-
<div class="is-checked" v-if="checkList.includes(row.id)"><i class="el-icon-check"></i
|
|
31
|
+
<div class="is-checked" v-if="checkList.includes(row.id)"><i class="el-icon-check"></i>{{ $t1('已选择') }}</div>
|
|
32
32
|
<div class="t1">
|
|
33
33
|
<i class="icon"></i>
|
|
34
34
|
<span>{{ row.name }}</span>
|
|
35
35
|
</div>
|
|
36
36
|
<div class="t2">
|
|
37
|
-
<p
|
|
37
|
+
<p>{{ $t1('催办人') }}ID:{{ row.id }}</p>
|
|
38
38
|
</div>
|
|
39
39
|
</div>
|
|
40
40
|
</div>
|
|
41
41
|
<div class="checkbox-all">
|
|
42
|
-
<div class='ca-t'
|
|
42
|
+
<div class='ca-t'>{{ $t1('已选择用户:') }}</div>
|
|
43
43
|
<div class="ca-c">
|
|
44
44
|
<span v-for="(checkRow, rowIndex) in checkRows" :key="rowIndex">{{ checkRow.name }}<i
|
|
45
45
|
class="el-icon-delete" @click="changeCheck(checkRow)"></i></span>
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
</div>
|
|
48
48
|
</div>
|
|
49
49
|
<div class="fixed-bottom-btns">
|
|
50
|
-
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close"
|
|
50
|
+
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close">{{ $t1('取 消') }}
|
|
51
51
|
</el-button>
|
|
52
52
|
<el-button type="primary" class="btn" @click="subUrgingForm" icon="el-icon-check">
|
|
53
53
|
{{ $t2('确认催办', 'components.wf.confirmUrging') }}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<div>
|
|
4
4
|
<i class="icon"></i>
|
|
5
5
|
<div class="cont">
|
|
6
|
-
<p class="name"
|
|
6
|
+
<p class="name">{{ $t1('流程启动') }}</p>
|
|
7
7
|
<el-form label-position="top" class="form-box">
|
|
8
8
|
<div class="c">
|
|
9
9
|
<div class="c-item">
|
|
10
|
-
<el-form-item label="流程">
|
|
10
|
+
<el-form-item :label="$t1('流程')">
|
|
11
11
|
<el-radio-group v-model="wfStartForm.modelId">
|
|
12
12
|
<el-radio v-for="(wfDefItem,index) in wfDefItems" :label="wfDefItem.modelId" :key="index">
|
|
13
13
|
{{ wfDefItem.modelName }}
|
|
@@ -312,9 +312,7 @@ tmixins = {
|
|
|
312
312
|
this.dialogVisible = true;
|
|
313
313
|
},
|
|
314
314
|
handleExceed(files, fileList) {
|
|
315
|
-
let errorMsg =
|
|
316
|
-
${files.length}
|
|
317
|
-
个文件`;
|
|
315
|
+
let errorMsg = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('当前限制选择 {p0} 个文件,本次选择了\r\n {p1}\r\n 个文件', { p0: this.limit, p1: files.length }) : '当前限制选择 {p0} 个文件,本次选择了\r\n {p1}\r\n 个文件');
|
|
318
316
|
this.$message({
|
|
319
317
|
message: this.$t2(errorMsg, "components.VabUpload.warnMsg2", {
|
|
320
318
|
limit: this.limit,
|
|
@@ -740,42 +738,42 @@ tmixins = {
|
|
|
740
738
|
throw new TypeError("输入必须是字符串格式");
|
|
741
739
|
}
|
|
742
740
|
if (!fileUrl.trim()) {
|
|
743
|
-
throw new Error(
|
|
741
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('URL不能为空') : 'URL不能为空'));
|
|
744
742
|
}
|
|
745
743
|
|
|
746
744
|
// 基本URL格式验证
|
|
747
745
|
const urlRegex =
|
|
748
746
|
/^(https?:\/\/)?([\w.-]+)(:\d+)?(\/[^?#]*)?(\?[^#]*)?(#.*)?$/i;
|
|
749
747
|
if (!urlRegex.test(fileUrl)) {
|
|
750
|
-
throw new Error(
|
|
748
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('无效的URL格式') : '无效的URL格式'));
|
|
751
749
|
}
|
|
752
750
|
|
|
753
751
|
// 提取域名部分
|
|
754
752
|
const domainRegex = /^(https?:\/\/[^\/]+)/i;
|
|
755
753
|
const domainMatch = fileUrl.match(domainRegex);
|
|
756
754
|
if (!domainMatch) {
|
|
757
|
-
throw new Error(
|
|
755
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('URL缺少协议或域名部分') : 'URL缺少协议或域名部分'));
|
|
758
756
|
}
|
|
759
757
|
const domain = domainMatch[0];
|
|
760
758
|
|
|
761
759
|
// 提取完整路径
|
|
762
760
|
const url = fileUrl.substring(domain.length);
|
|
763
761
|
if (!url || url === "/") {
|
|
764
|
-
throw new Error(
|
|
762
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('URL缺少文件路径部分') : 'URL缺少文件路径部分'));
|
|
765
763
|
}
|
|
766
764
|
|
|
767
765
|
// 提取带扩展名的文件名
|
|
768
766
|
const filenameRegex = /[^\/]+$/;
|
|
769
767
|
const filenameMatch = url.match(filenameRegex);
|
|
770
768
|
if (!filenameMatch) {
|
|
771
|
-
throw new Error(
|
|
769
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('无法从路径中提取文件名') : '无法从路径中提取文件名'));
|
|
772
770
|
}
|
|
773
771
|
const fullFilename = filenameMatch[0];
|
|
774
772
|
|
|
775
773
|
// 验证文件名格式(至少1字符+扩展名)
|
|
776
774
|
const nameFormat = /^.+\..+$/;
|
|
777
775
|
if (!nameFormat.test(fullFilename)) {
|
|
778
|
-
throw new Error(
|
|
776
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('无效的文件名格式: {p0}', { p0: fullFilename }) : '无效的文件名格式: {p0}'));
|
|
779
777
|
}
|
|
780
778
|
|
|
781
779
|
// 修复点:更可靠的文件名和扩展名分离
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div id="containt">
|
|
3
3
|
<div class="ico-online" :class="{no:isExitsRead}" ref="talkRef" @mousedown="bindMove" @click="openDialog"
|
|
4
4
|
v-if="isCanUserTalk">
|
|
5
|
-
<span
|
|
5
|
+
<span>{{ $t1('在线沟通') }}</span>
|
|
6
6
|
</div>
|
|
7
7
|
<el-dialog
|
|
8
8
|
:title="title"
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
:modal="false"
|
|
20
20
|
>
|
|
21
21
|
<el-button class="isFullIcon" v-if="!isFullscreen" @click="isFullscreen = true">
|
|
22
|
-
<el-tooltip effect="dark" content="全屏" placement="top">
|
|
22
|
+
<el-tooltip effect="dark" :content="$t1('全屏')" placement="top">
|
|
23
23
|
<i class="iconfont icon-quanping"></i>
|
|
24
24
|
</el-tooltip>
|
|
25
25
|
|
|
26
26
|
</el-button>
|
|
27
27
|
<el-button class="isFullIcon" v-else @click="isFullscreen = false">
|
|
28
|
-
<el-tooltip effect="dark" content="缩小" placement="top">
|
|
28
|
+
<el-tooltip effect="dark" :content="$t1('缩小')" placement="top">
|
|
29
29
|
<i class="iconfont icon-suoxiao"></i>
|
|
30
30
|
</el-tooltip>
|
|
31
31
|
</el-button>
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
</template>
|
|
49
49
|
<template v-else-if="item.contentType == 2">
|
|
50
50
|
<ul class="onlieTalk-search-list">
|
|
51
|
-
<div class="tit"><i class="el-icon-chat-round"></i><b
|
|
51
|
+
<div class="tit"><i class="el-icon-chat-round"></i><b>{{ $t1('猜你想问') }}</b></div>
|
|
52
52
|
<div class="o-cont">
|
|
53
53
|
<li v-for="(answer,index) in item.answers" :key="index">
|
|
54
54
|
<a href="javascript:void(0);" class="a-link"
|
|
@@ -81,8 +81,7 @@
|
|
|
81
81
|
<p>该商品的<span>有效</span>日期?</p>
|
|
82
82
|
<p><span>有效</span>使用时间是什么时候?</p>
|
|
83
83
|
</div>-->
|
|
84
|
-
<el-input type="textarea" :rows="6" class="txt-textarea" v-model="talkUser.content" placeholder="
|
|
85
|
-
选择此处,可粘贴文件(Ctrl+V)"
|
|
84
|
+
<el-input type="textarea" :rows="6" class="txt-textarea" v-model="talkUser.content" :placeholder="$t1('请输入\n选择此处,可粘贴文件(Ctrl+V)')"
|
|
86
85
|
:disabled="!talkUserId" ref="contentRef" @paste.native="pasteMessage"
|
|
87
86
|
@keydown.ctrl.enter.native="handleEnterWithCtrl">
|
|
88
87
|
</el-input>
|
|
@@ -130,21 +129,19 @@
|
|
|
130
129
|
<div class="fl" v-if="!!talkUserId">
|
|
131
130
|
<el-button type="warning" class="button-sty" slot="trigger" @click="$refs.inputFile.click()">
|
|
132
131
|
<input type="file" multiple @change="changeFile" ref="inputFile" style="display:none;"/>
|
|
133
|
-
<i class="el-icon-plus"></i>
|
|
134
|
-
从本地选择
|
|
132
|
+
<i class="el-icon-plus"></i>{{ $t1('从本地选择') }}
|
|
135
133
|
</el-button>
|
|
136
134
|
<el-button type="success" class="button-sty" @click="showPrivateProfileDialog=true"
|
|
137
135
|
v-if="showPrivateUploadBtn">
|
|
138
|
-
<i class="iconfont icon-wendangshangchuan"></i>
|
|
139
|
-
从个人文档工作区选择
|
|
136
|
+
<i class="iconfont icon-wendangshangchuan"></i>{{ $t1('从个人文档工作区选择') }}
|
|
140
137
|
</el-button>
|
|
141
138
|
<el-button type="info" plain class="button-sty" @click="openHistoryDialog"><i
|
|
142
|
-
class="el-icon-time"></i
|
|
139
|
+
class="el-icon-time"></i>{{ $t1('历史记录') }}
|
|
143
140
|
</el-button>
|
|
144
141
|
</div>
|
|
145
142
|
<div class="fr">
|
|
146
143
|
<span class="t">Ctrl + Enter </span>
|
|
147
|
-
<el-button type="primary" class="button-sty fr" @click="sendMsg" :disabled="!talkUserId"
|
|
144
|
+
<el-button type="primary" class="button-sty fr" @click="sendMsg" :disabled="!talkUserId">{{ $t1('发送') }}
|
|
148
145
|
</el-button>
|
|
149
146
|
</div>
|
|
150
147
|
|
|
@@ -154,12 +151,12 @@
|
|
|
154
151
|
</div>
|
|
155
152
|
<div class="online-user">
|
|
156
153
|
<div class="u-oper">
|
|
157
|
-
<el-input class="search-input" max="200" v-model="keyword" clearable placeholder="搜索"></el-input>
|
|
154
|
+
<el-input class="search-input" max="200" v-model="keyword" clearable :placeholder="$t1('搜索')"></el-input>
|
|
158
155
|
</div>
|
|
159
156
|
<div class="u-oper" style="padding: 2px 18px 0;">
|
|
160
|
-
<el-checkbox class="checkbox-box" v-model="unread"
|
|
157
|
+
<el-checkbox class="checkbox-box" v-model="unread">{{ $t1('未读') }}</el-checkbox>
|
|
161
158
|
<el-button @click="openUserDialog" class="button-sty" type="primary">
|
|
162
|
-
<i class="iconfont icon-tianjiarenyuan"></i
|
|
159
|
+
<i class="iconfont icon-tianjiarenyuan"></i>{{ $t1('选择人员') }}
|
|
163
160
|
</el-button>
|
|
164
161
|
</div>
|
|
165
162
|
<div class="u-list" ref="userBox">
|
|
@@ -182,7 +179,7 @@
|
|
|
182
179
|
<privateProfileDialog v-if="showPrivateProfileDialog" :visiable.sync="showPrivateProfileDialog"
|
|
183
180
|
@confirm="confirmPrivateProfileDialog"></privateProfileDialog>
|
|
184
181
|
<el-dialog
|
|
185
|
-
title="文件名修改"
|
|
182
|
+
:title="$t1('文件名修改')"
|
|
186
183
|
:append-to-body="true"
|
|
187
184
|
:modal-append-to-body="true"
|
|
188
185
|
:close-on-click-modal="false"
|
|
@@ -196,10 +193,10 @@
|
|
|
196
193
|
>
|
|
197
194
|
<div class="cont">
|
|
198
195
|
<el-form ref="editForm" label-width="110px" class="adSearchForm" style="width: 362px;height: auto;">
|
|
199
|
-
<el-form-item label="文件名称">
|
|
196
|
+
<el-form-item :label="$t1('文件名称')">
|
|
200
197
|
<el-input v-model="editFileName" clearable class="all-width"/>
|
|
201
198
|
</el-form-item>
|
|
202
|
-
<el-form-item label="文件格式">
|
|
199
|
+
<el-form-item :label="$t1('文件格式')">
|
|
203
200
|
{{ editFileSuffix }}
|
|
204
201
|
</el-form-item>
|
|
205
202
|
</el-form>
|
|
@@ -217,7 +214,7 @@
|
|
|
217
214
|
</el-dialog>
|
|
218
215
|
|
|
219
216
|
<el-dialog
|
|
220
|
-
title="历史记录"
|
|
217
|
+
:title="$t1('历史记录')"
|
|
221
218
|
:append-to-body="true"
|
|
222
219
|
:modal-append-to-body="true"
|
|
223
220
|
:close-on-click-modal="false"
|
|
@@ -233,16 +230,16 @@
|
|
|
233
230
|
<div class="h-form">
|
|
234
231
|
<div class="search-box">
|
|
235
232
|
<div class="search-classify" v-if="historyType == 2" @click="checkHistoryType(null)"><i
|
|
236
|
-
class="el-icon-files"></i><span
|
|
233
|
+
class="el-icon-files"></i><span>{{ $t1('文件') }}</span><i
|
|
237
234
|
class='el-icon-close'></i></div>
|
|
238
235
|
<div class="search-classify" v-if="historyType == 1" @click="checkHistoryType(null)"><i
|
|
239
|
-
class="el-icon-files"></i><span
|
|
236
|
+
class="el-icon-files"></i><span>{{ $t1('图片') }}</span><i
|
|
240
237
|
class='el-icon-close'></i></div>
|
|
241
238
|
<el-input class="search-input" v-model="historyKeyword" clearable @input="changeHistoryKeyword"></el-input>
|
|
242
239
|
</div>
|
|
243
240
|
<div class="keys-box">
|
|
244
|
-
<span @click="checkHistoryType(2)"
|
|
245
|
-
<span @click="checkHistoryType(1)"
|
|
241
|
+
<span @click="checkHistoryType(2)">{{ $t1('文件') }}</span>
|
|
242
|
+
<span @click="checkHistoryType(1)">{{ $t1('图片') }}</span>
|
|
246
243
|
</div>
|
|
247
244
|
</div>
|
|
248
245
|
<div class="h-list" @scroll="handleScrollH" >
|
|
@@ -259,7 +256,7 @@
|
|
|
259
256
|
</template>
|
|
260
257
|
<template v-else-if="item.contentType == 2">
|
|
261
258
|
<ul class="onlieTalk-search-list">
|
|
262
|
-
<div class="tit"><i class="el-icon-chat-round"></i><b
|
|
259
|
+
<div class="tit"><i class="el-icon-chat-round"></i><b>{{ $t1('猜你想问') }}</b></div>
|
|
263
260
|
<div class="o-cont">
|
|
264
261
|
<li v-for="(answer,index) in item.answers" :key="index">
|
|
265
262
|
<a href="javascript:void(0);" class="a-link">{{index+1}}、{{ answer.question }}</a>
|
|
@@ -50,9 +50,9 @@ tmixins = {
|
|
|
50
50
|
title() {
|
|
51
51
|
if (this.talkUserId) {
|
|
52
52
|
let nickName = this.talkUser.nickName;
|
|
53
|
-
return
|
|
53
|
+
return (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('在线沟通({p0})', { p0: nickName }) : '在线沟通({p0})')
|
|
54
54
|
} else {
|
|
55
|
-
return
|
|
55
|
+
return (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('在线沟通') : '在线沟通')
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
talkUserDatas() {
|
|
@@ -736,7 +736,7 @@ tmixins = {
|
|
|
736
736
|
confirmFileNameDialog() {
|
|
737
737
|
if (!this.editFileName) {
|
|
738
738
|
this.$message({
|
|
739
|
-
message:
|
|
739
|
+
message: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文件名不能为空') : '文件名不能为空'),
|
|
740
740
|
type: "error",
|
|
741
741
|
showClose: true,
|
|
742
742
|
duration: 3000,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
<template>
|
|
3
3
|
<div class="my-filter-complex">
|
|
4
4
|
<div class="my-fc-type">
|
|
5
|
-
<vxe-radio v-model="option.data.type" name="fType" label="lt"
|
|
6
|
-
<vxe-radio v-model="option.data.type" name="fType" label="eq"
|
|
7
|
-
<vxe-radio v-model="option.data.type" name="fType" label="gt"
|
|
5
|
+
<vxe-radio v-model="option.data.type" name="fType" label="lt">{{ $t1('小于') }}</vxe-radio>
|
|
6
|
+
<vxe-radio v-model="option.data.type" name="fType" label="eq">{{ $t1('等于') }}</vxe-radio>
|
|
7
|
+
<vxe-radio v-model="option.data.type" name="fType" label="gt">{{ $t1('大于') }}</vxe-radio>
|
|
8
8
|
</div>
|
|
9
|
-
<div class="my-fc-name"><el-input v-model="option.data.name" type="text" placeholder="请输入数量" @input="changeOptionEvent()" ><i slot="suffix" class="el-input__icon el-icon-search" ></i></el-input></div>
|
|
9
|
+
<div class="my-fc-name"><el-input v-model="option.data.name" type="text" :placeholder="$t1('请输入数量')" @input="changeOptionEvent()" ><i slot="suffix" class="el-input__icon el-icon-search" ></i></el-input></div>
|
|
10
10
|
<div class="my-fc-footer">
|
|
11
|
-
<el-button :disabled="!option.data.name" type="text" @click="confirmEvent" class="item"
|
|
12
|
-
<el-button style="margin-left: 0" type="text" @click="resetEvent" class="item"
|
|
11
|
+
<el-button :disabled="!option.data.name" type="text" @click="confirmEvent" class="item">{{ $t1('筛选') }}</el-button>
|
|
12
|
+
<el-button style="margin-left: 0" type="text" @click="resetEvent" class="item">{{ $t1('重置') }}</el-button>
|
|
13
13
|
</div>
|
|
14
14
|
</div>
|
|
15
15
|
</template>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// FilterInput.vue
|
|
2
2
|
<template>
|
|
3
3
|
<div class="my-filter-input">
|
|
4
|
-
<vxe-input type="text" v-model="option.data" placeholder="支持回车筛选" @keyup="keyupEvent" @input="changeOptionEvent" className="txt"><i slot="suffix" class="el-input__icon el-icon-search"></i></vxe-input>
|
|
4
|
+
<vxe-input type="text" v-model="option.data" :placeholder="$t1('支持回车筛选')" @keyup="keyupEvent" @input="changeOptionEvent" className="txt"><i slot="suffix" class="el-input__icon el-icon-search"></i></vxe-input>
|
|
5
5
|
</div>
|
|
6
6
|
</template>
|
|
7
7
|
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
</div>
|
|
80
80
|
</div>
|
|
81
81
|
<span slot="footer" class="dialog-footer">
|
|
82
|
-
<span class="fl tips" v-if="!selectMulti">$t2('注:双击确认选择(单选)', 'system.button.singleCheckTip')</span>
|
|
82
|
+
<span class="fl tips" v-if="!selectMulti">$t2('{{ $t1('注:双击确认选择(单选)') }}', 'system.button.singleCheckTip')</span>
|
|
83
83
|
<el-button type="primary" plain class="button-sty" @click="dialogClose">
|
|
84
84
|
<i class="el-icon-close el-icon"></i>
|
|
85
85
|
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
</div>
|
|
184
184
|
</div>
|
|
185
185
|
<div v-show="tabIndex == '1'">
|
|
186
|
-
<div class="title-five"><b
|
|
186
|
+
<div class="title-five"><b>{{ $t1('任务流程') }}</b></div>
|
|
187
187
|
<div class="task-situation" style="padding-left: 14px">
|
|
188
188
|
<div
|
|
189
189
|
class="item"
|
|
@@ -434,15 +434,13 @@
|
|
|
434
434
|
</div>
|
|
435
435
|
<template v-if="showCandidate">
|
|
436
436
|
<div v-show="tabIndex == '4'">
|
|
437
|
-
<
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
></vxe-grid>
|
|
445
|
-
</div>
|
|
437
|
+
<vxe-grid
|
|
438
|
+
ref="table-candidate"
|
|
439
|
+
v-bind="candidateOption"
|
|
440
|
+
:data="candidateDatas"
|
|
441
|
+
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
442
|
+
@custom="$vxeTableUtil.customHandle"
|
|
443
|
+
></vxe-grid>
|
|
446
444
|
</div>
|
|
447
445
|
</template>
|
|
448
446
|
</div>
|