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
|
@@ -90,7 +90,7 @@ modules = {
|
|
|
90
90
|
"panels": [
|
|
91
91
|
{
|
|
92
92
|
"index": 0,
|
|
93
|
-
"name": "默认面板名称",
|
|
93
|
+
"name": this.$t1("默认面板名称"),
|
|
94
94
|
"paperType": "A4",
|
|
95
95
|
}
|
|
96
96
|
]
|
|
@@ -117,7 +117,7 @@ modules = {
|
|
|
117
117
|
}
|
|
118
118
|
return null;
|
|
119
119
|
}, t.prototype.createTarget = function () {
|
|
120
|
-
return this.target = $('<div class="hiprint-option-item">\n <div class="hiprint-option-item-label"
|
|
120
|
+
return this.target = $('<div class="hiprint-option-item">\n <div class="hiprint-option-item-label">' + '\n ' + (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('元素层级2') : '元素层级2') + '\n ' + '</div>\n <div class="hiprint-option-item-field">\n <input type="number" class="auto-submit"/>\n </div>\n </div>'), this.target;
|
|
121
121
|
}, t.prototype.getValue = function () {
|
|
122
122
|
var t = this.target.find("input").val();
|
|
123
123
|
if (t) return parseInt(t.toString());
|
|
@@ -133,11 +133,11 @@ modules = {
|
|
|
133
133
|
tabs: [
|
|
134
134
|
// 隐藏部分
|
|
135
135
|
{
|
|
136
|
-
// name: '测试', // tab名称 可忽略
|
|
136
|
+
// get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('测试') : '测试'; }, // tab名称 可忽略
|
|
137
137
|
options: [] // 必须包含 options
|
|
138
138
|
},// 当修改第二个 tabs 时,必须把他之前的 tabs 都列举出来.
|
|
139
139
|
{
|
|
140
|
-
name: '样式', options: [
|
|
140
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
141
141
|
{
|
|
142
142
|
name: 'scale',
|
|
143
143
|
after: 'transform', // 自定义参数,插入在 transform 之后
|
|
@@ -167,7 +167,7 @@ modules = {
|
|
|
167
167
|
{
|
|
168
168
|
// 整体替换
|
|
169
169
|
replace: true,
|
|
170
|
-
name: '基本', options: [
|
|
170
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基本') : '基本'; }, options: [
|
|
171
171
|
{
|
|
172
172
|
name: 'field',
|
|
173
173
|
hidden: false
|
|
@@ -216,12 +216,12 @@ modules = {
|
|
|
216
216
|
// 或者使用 hiprintTemplate.setFontList([])
|
|
217
217
|
// 或元素中 options.fontList: []
|
|
218
218
|
fontList: [
|
|
219
|
-
{title: '微软雅黑', value: 'Microsoft YaHei'},
|
|
220
|
-
{title: '黑体', value: 'STHeitiSC-Light'},
|
|
221
|
-
{title: '思源黑体', value: 'SourceHanSansCN-Normal'},
|
|
222
|
-
{title: '王羲之书法体', value: '王羲之书法体'},
|
|
223
|
-
{title: '宋体', value: 'SimSun'},
|
|
224
|
-
{title: '华为楷体', value: 'STKaiti'},
|
|
219
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('微软雅黑') : '微软雅黑'), value: 'Microsoft YaHei'},
|
|
220
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('黑体') : '黑体'), value: 'STHeitiSC-Light'},
|
|
221
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('思源黑体') : '思源黑体'), value: 'SourceHanSansCN-Normal'},
|
|
222
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('王羲之书法体') : '王羲之书法体'), value: '王羲之书法体'},
|
|
223
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('宋体') : '宋体'), value: 'SimSun'},
|
|
224
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('华为楷体') : '华为楷体'), value: 'STKaiti'},
|
|
225
225
|
{title: 'cursive', value: 'cursive'},
|
|
226
226
|
],
|
|
227
227
|
dataMode: 1, // 1:getJson 其他:getJsonTid 默认1
|
|
@@ -235,9 +235,9 @@ modules = {
|
|
|
235
235
|
},
|
|
236
236
|
settingContainer: '#PrintElementOptionSetting',
|
|
237
237
|
paginationContainer: '.hiprint-printPagination',
|
|
238
|
-
defaultPanelName:
|
|
238
|
+
defaultPanelName: this.$t1("默认面板名称"),
|
|
239
239
|
onPanelAddClick: (panel, createPanel) => {
|
|
240
|
-
panel.name =
|
|
240
|
+
panel.name = this.$t1("新面板{n}", { n: panel.index + 1 });
|
|
241
241
|
/*that.$message.success('弹出个东西,让你们知道,在这里可以自定义面板名称');
|
|
242
242
|
that.$notification.success({
|
|
243
243
|
placement: 'topRight',
|
|
@@ -287,7 +287,7 @@ modules = {
|
|
|
287
287
|
hiprintTemplate.setPaper(value.width, value.height);
|
|
288
288
|
}
|
|
289
289
|
} catch (error) {
|
|
290
|
-
this.$message.error(
|
|
290
|
+
this.$message.error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('操作失败: {p0}', { p0: error }) : '操作失败: {p0}'));
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
otherPaper() {
|
|
@@ -320,7 +320,7 @@ modules = {
|
|
|
320
320
|
preView() {
|
|
321
321
|
// 测试, 点预览更新拖拽元素
|
|
322
322
|
hiprint.updateElementType('defaultModule.text', (type) => {
|
|
323
|
-
type.title = '这是更新后的元素';
|
|
323
|
+
type.title = (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('这是更新后的元素') : '这是更新后的元素');
|
|
324
324
|
;
|
|
325
325
|
return type;
|
|
326
326
|
});
|
|
@@ -374,7 +374,7 @@ modules = {
|
|
|
374
374
|
let that = this;
|
|
375
375
|
if (window.hiwebSocket.opened) {
|
|
376
376
|
let hiprintTemplate = this.$print2(undefined, panel, printData, {
|
|
377
|
-
printer: '', title: 'Api单独打印',
|
|
377
|
+
printer: '', title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('Api单独打印') : 'Api单独打印'),
|
|
378
378
|
styleHandler: () => {
|
|
379
379
|
// let css = '<link href="http://hiprint.io/Content/hiprint/css/print-lock.css" media="print" rel="stylesheet">';
|
|
380
380
|
let css = '<style>.hiprint-printElement-text{color:red !important;}</style>'
|
|
@@ -387,21 +387,21 @@ modules = {
|
|
|
387
387
|
key: key,
|
|
388
388
|
placement: 'topRight',
|
|
389
389
|
message: key + ' 打印成功',
|
|
390
|
-
description: 'Api单独直接打印回调',
|
|
390
|
+
description: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('Api单独直接打印回调') : 'Api单独直接打印回调'),
|
|
391
391
|
});
|
|
392
392
|
});
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
|
-
this.$message.error('客户端未连接,无法直接打印');
|
|
395
|
+
this.$message.error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('客户端未连接,无法直接打印') : '客户端未连接,无法直接打印'));
|
|
396
396
|
},
|
|
397
397
|
print() {
|
|
398
398
|
if (window.hiwebSocket.opened) {
|
|
399
399
|
const printerList = hiprintTemplate.getPrinterList();
|
|
400
400
|
console.log(printerList);
|
|
401
|
-
hiprintTemplate.print2(printData, {printer: '', title: 'hiprint测试打印'});
|
|
401
|
+
hiprintTemplate.print2(printData, {printer: '', title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('hiprint测试打印') : 'hiprint测试打印')});
|
|
402
402
|
return;
|
|
403
403
|
}
|
|
404
|
-
this.$message.error('客户端未连接,无法直接打印');
|
|
404
|
+
this.$message.error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('客户端未连接,无法直接打印') : '客户端未连接,无法直接打印'));
|
|
405
405
|
},
|
|
406
406
|
clearPaper() {
|
|
407
407
|
try {
|
|
@@ -425,7 +425,7 @@ modules = {
|
|
|
425
425
|
]
|
|
426
426
|
});
|
|
427
427
|
} catch (error) {
|
|
428
|
-
this.$message.error(
|
|
428
|
+
this.$message.error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('操作失败: {p0}', { p0: error }) : '操作失败: {p0}'));
|
|
429
429
|
}
|
|
430
430
|
},
|
|
431
431
|
ippPrintAttr() {
|
|
@@ -565,7 +565,7 @@ modules = {
|
|
|
565
565
|
try {
|
|
566
566
|
hiprintTemplate.update(JSON.parse(this.jsonIn));
|
|
567
567
|
} catch (e) {
|
|
568
|
-
this.$message.error(
|
|
568
|
+
this.$message.error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('更新失败: {p0}', { p0: e }) : '更新失败: {p0}'));
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
},
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
<template slot="title">
|
|
19
19
|
<div>
|
|
20
|
-
<div class="name"
|
|
20
|
+
<div class="name">{{ $t1('打印预览') }}</div>
|
|
21
21
|
<el-button
|
|
22
22
|
:loading="waitShowPrinter"
|
|
23
23
|
type="primary"
|
|
24
24
|
class="button-sty"
|
|
25
25
|
icon="el-icon-printer"
|
|
26
26
|
@click.stop="print"
|
|
27
|
-
|
|
27
|
+
>{{ $t1('打印') }}
|
|
28
28
|
</el-button>
|
|
29
29
|
<el-button
|
|
30
30
|
type="primary"
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
@click="hideModal"
|
|
43
43
|
class="button-sty"
|
|
44
44
|
icon="el-icon-close"
|
|
45
|
-
>
|
|
46
|
-
关闭
|
|
45
|
+
>{{ $t1('关闭') }}
|
|
47
46
|
</el-button>
|
|
48
47
|
</template>
|
|
49
48
|
</el-dialog>
|
|
@@ -114,12 +113,12 @@ export default {
|
|
|
114
113
|
// 或者使用 hiprintTemplate.setFontList([])
|
|
115
114
|
// 或元素中 options.fontList: []
|
|
116
115
|
fontList: [
|
|
117
|
-
{ title:
|
|
118
|
-
{ title:
|
|
119
|
-
{ title:
|
|
120
|
-
{ title:
|
|
121
|
-
{ title:
|
|
122
|
-
{ title:
|
|
116
|
+
{ title: this.$t1('微软雅黑'), value: "Microsoft YaHei" },
|
|
117
|
+
{ title: this.$t1('黑体'), value: "STHeitiSC-Light" },
|
|
118
|
+
{ title: this.$t1('思源黑体'), value: "SourceHanSansCN-Normal" },
|
|
119
|
+
{ title: this.$t1('王羲之书法体'), value: "王羲之书法体" },
|
|
120
|
+
{ title: this.$t1('宋体'), value: "SimSun" },
|
|
121
|
+
{ title: this.$t1('华为楷体'), value: "STKaiti" },
|
|
123
122
|
{ title: "cursive", value: "cursive" },
|
|
124
123
|
],
|
|
125
124
|
dataMode: 1, // 1:getJson 其他:getJsonTid 默认1
|
|
@@ -13,7 +13,7 @@ export default (function () {
|
|
|
13
13
|
},
|
|
14
14
|
// 创建 DOM
|
|
15
15
|
t.prototype.createTarget = function (t, i, e) { // t: 元素对象,i: 元素options, e: 元素printElementType
|
|
16
|
-
return this.target = $('<div class="hiprint-option-item">\n <div class="hiprint-option-item-label"
|
|
16
|
+
return this.target = $('<div class="hiprint-option-item">\n <div class="hiprint-option-item-label">' + '\n ' + (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('缩放') : '缩放') + '\n ' + '</div>\n <div class="hiprint-option-item-field">\n <input type="number" value="1" step="0.1" min="0.1" max="3" class="auto-submit"/>\n </div>\n </div>'), this.target;
|
|
17
17
|
},
|
|
18
18
|
// 获取值
|
|
19
19
|
t.prototype.getValue = function () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<span>
|
|
3
|
-
<el-button type="primary" class="button-sty" @click="show"> 查看模板json </el-button>
|
|
3
|
+
<el-button type="primary" class="button-sty" @click="show"> {{ $t1('查看模板') }}json </el-button>
|
|
4
4
|
<el-dialog :visible.sync="visible" :close-on-click-modal="false" @close="hideModal">
|
|
5
5
|
<!-- <el-spin :spinning="spinning" style="min-height: 100px"> -->
|
|
6
6
|
<el-input type="textarea" :rows="2" style="width: 40vw" v-model="jsonOut" />
|
|
@@ -9,21 +9,21 @@
|
|
|
9
9
|
<div>
|
|
10
10
|
<div style="margin-right: 20px">JSON</div>
|
|
11
11
|
<el-switch
|
|
12
|
-
active-text="tid模式"
|
|
13
|
-
inactive-text="默认"
|
|
12
|
+
:active-text="$t1('tid模式')"
|
|
13
|
+
:inactive-text="$t1('默认')"
|
|
14
14
|
v-model="tidMode"
|
|
15
15
|
@change="onModeChange"
|
|
16
16
|
/>
|
|
17
17
|
<el-switch
|
|
18
|
-
active-text="美化"
|
|
19
|
-
inactive-text="压缩"
|
|
18
|
+
:active-text="$t1('美化')"
|
|
19
|
+
:inactive-text="$t1('压缩')"
|
|
20
20
|
v-model="beautify"
|
|
21
21
|
@change="onModeChange"
|
|
22
22
|
/>
|
|
23
23
|
</div>
|
|
24
24
|
</template>
|
|
25
25
|
<template slot="footer">
|
|
26
|
-
<el-button key="close" type="info" @click="hideModal"> 关闭 </el-button>
|
|
26
|
+
<el-button key="close" type="info" @click="hideModal"> {{ $t1('关闭') }} </el-button>
|
|
27
27
|
</template>
|
|
28
28
|
</el-dialog>
|
|
29
29
|
</span>
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
<td>
|
|
17
17
|
<el-form-item field="modelId" label-width="120">
|
|
18
18
|
<el-radio-group v-model="abc">
|
|
19
|
-
<el-radio label="A"
|
|
20
|
-
<el-radio label="B"
|
|
19
|
+
<el-radio label="A">{{ $t1('公开') }}</el-radio>
|
|
20
|
+
<el-radio label="B">{{ $t1('私密') }}</el-radio>
|
|
21
21
|
</el-radio-group>
|
|
22
22
|
</el-form-item>
|
|
23
23
|
</td>
|
|
@@ -125,8 +125,7 @@
|
|
|
125
125
|
<template #form>
|
|
126
126
|
<div class="clearfix screen-btns">
|
|
127
127
|
<div class="fl">
|
|
128
|
-
<vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">
|
|
129
|
-
导出
|
|
128
|
+
<vxe-button status="primary" class="button-sty" icon="el-icon-upload2" @click="exportToExcel()">{{ $t1('导出') }}
|
|
130
129
|
</vxe-button>
|
|
131
130
|
</div>
|
|
132
131
|
<div class="fr"></div>
|
|
@@ -18,7 +18,7 @@ function loadElement(url, tag) {
|
|
|
18
18
|
if (existing && (tag === "link" ? existing.sheet : existing.dataset.coreLoaded === "true")) return Promise.resolve(existing);
|
|
19
19
|
const element = existing || document.createElement(tag);
|
|
20
20
|
const promise = new Promise((resolve, reject) => {
|
|
21
|
-
const timer = setTimeout(() => finish(new Error(
|
|
21
|
+
const timer = setTimeout(() => finish(new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('Luckysheet 资源加载超时:{p0}', { p0: url }) : 'Luckysheet 资源加载超时:{p0}'))), 30000);
|
|
22
22
|
function finish(error) {
|
|
23
23
|
clearTimeout(timer);
|
|
24
24
|
element.onload = element.onerror = null;
|
|
@@ -31,7 +31,7 @@ function loadElement(url, tag) {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
element.onload = () => finish();
|
|
34
|
-
element.onerror = () => finish(new Error(
|
|
34
|
+
element.onerror = () => finish(new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('Luckysheet 资源加载失败:{p0}', { p0: url }) : 'Luckysheet 资源加载失败:{p0}')));
|
|
35
35
|
if (!existing) {
|
|
36
36
|
if (tag === "link") { element.rel = "stylesheet"; element.href = url; document.head.appendChild(element); }
|
|
37
37
|
else { element.src = url; document.body.appendChild(element); }
|
|
@@ -46,10 +46,10 @@ export async function loadLuckysheet(base) {
|
|
|
46
46
|
const source = base + "luckysheet.umd.js";
|
|
47
47
|
if (window.luckysheet) {
|
|
48
48
|
if (!isCompatible(window.luckysheet)) {
|
|
49
|
-
throw new Error(
|
|
49
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('页面已存在不兼容的 window.luckysheet 全局变量') : '页面已存在不兼容的 window.luckysheet 全局变量'));
|
|
50
50
|
}
|
|
51
51
|
if (window.__CORE_LUCKYSHEET_SOURCE__ && window.__CORE_LUCKYSHEET_SOURCE__ !== source) {
|
|
52
|
-
throw new Error(
|
|
52
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('Luckysheet 已存在不同来源的全局实例:{p0}', { p0: window.__CORE_LUCKYSHEET_SOURCE__ }) : 'Luckysheet 已存在不同来源的全局实例:{p0}'));
|
|
53
53
|
}
|
|
54
54
|
return window.luckysheet;
|
|
55
55
|
}
|
|
@@ -57,7 +57,7 @@ export async function loadLuckysheet(base) {
|
|
|
57
57
|
for (const file of scripts) await loadElement(base + file, "script");
|
|
58
58
|
if (!isCompatible(window.luckysheet)) {
|
|
59
59
|
removeResource(source, "script");
|
|
60
|
-
throw new Error(
|
|
60
|
+
throw new Error((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('Luckysheet 脚本未提供兼容实例:{p0}', { p0: source }) : 'Luckysheet 脚本未提供兼容实例:{p0}'));
|
|
61
61
|
}
|
|
62
62
|
window.__CORE_LUCKYSHEET_SOURCE__ = source;
|
|
63
63
|
return window.luckysheet;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div style="height: 100%">
|
|
3
3
|
<div v-if="resourceError" role="alert">
|
|
4
4
|
{{ resourceError }}
|
|
5
|
-
<button type="button" @click="initialize"
|
|
5
|
+
<button type="button" @click="initialize">{{ $t1('重试') }}</button>
|
|
6
6
|
</div>
|
|
7
7
|
<div
|
|
8
8
|
:id="containerId"
|
|
@@ -96,7 +96,7 @@ export default {
|
|
|
96
96
|
api = await loadLuckysheet(base);
|
|
97
97
|
if (this.destroyed) return;
|
|
98
98
|
if (window.__CORE_LUCKYSHEET_OWNER__) {
|
|
99
|
-
throw new Error(
|
|
99
|
+
throw new Error(this.$t1('Luckysheet 2.1.13 是全局单例,同一页面只能挂载一个电子表格组件'));
|
|
100
100
|
}
|
|
101
101
|
} catch (error) {
|
|
102
102
|
this.resourceError = error.message;
|
|
@@ -116,7 +116,7 @@ export default {
|
|
|
116
116
|
} catch (error) {
|
|
117
117
|
this.sheetApi = null;
|
|
118
118
|
window.__CORE_LUCKYSHEET_OWNER__ = null;
|
|
119
|
-
this.resourceError =
|
|
119
|
+
this.resourceError = this.$t1('Luckysheet 初始化失败:{p0}', { p0: error.message });
|
|
120
120
|
this.$emit("resource-error", error);
|
|
121
121
|
}
|
|
122
122
|
},
|
|
@@ -3,18 +3,17 @@
|
|
|
3
3
|
<div class="btn-l">
|
|
4
4
|
<template v-if="wfEnabled">
|
|
5
5
|
<el-button class="btn" type="success"
|
|
6
|
-
icon="iconfont icon-tongguo" v-if="parentVue.showWfStartBtn" @click="parentVue.openStartWfDialog()">
|
|
7
|
-
流程启动
|
|
6
|
+
icon="iconfont icon-tongguo" v-if="parentVue.showWfStartBtn" @click="parentVue.openStartWfDialog()">{{ $t1('流程启动') }}
|
|
8
7
|
</el-button>
|
|
9
8
|
<el-button class="btn" type="primary" icon="el-icon-edit"
|
|
10
|
-
v-if="parentVue.showWfModifyBtn" @click="parentVue.openWfModifyDialog()"
|
|
9
|
+
v-if="parentVue.showWfModifyBtn" @click="parentVue.openWfModifyDialog()">{{ $t1('修改单据') }}
|
|
11
10
|
</el-button>
|
|
12
11
|
</template>
|
|
13
12
|
<slot></slot>
|
|
14
13
|
</div>
|
|
15
14
|
<div class="btn-r" @click="parentVue.$refs.wfCardPane.$el.scrollIntoView()" v-if="wfEnabled && parentVue.hasWf">
|
|
16
15
|
<i class="iconfont icon-chakanliucheng"></i>
|
|
17
|
-
<span
|
|
16
|
+
<span>{{ $t1('流程查看') }}</span>
|
|
18
17
|
</div>
|
|
19
18
|
</div>
|
|
20
19
|
</template>
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
的文件
|
|
23
23
|
</div>-->
|
|
24
24
|
<!-- 上传按钮 -->
|
|
25
|
-
<el-button class="add-upload" icon="el-icon-plus" v-if="showUploadBtn"
|
|
25
|
+
<el-button class="add-upload" icon="el-icon-plus" v-if="showUploadBtn">{{ $t1('选取文件') }}</el-button>
|
|
26
26
|
</el-upload>
|
|
27
27
|
<div class="h5-upload-box" v-if="uploadType>0 && showUploadBtn" @click="appUpload">
|
|
28
28
|
<div class="el-upload el-upload--text">
|
|
29
|
-
<el-button class="add-upload" icon="el-icon-plus"
|
|
29
|
+
<el-button class="add-upload" icon="el-icon-plus">{{ $t1('选取文件') }}</el-button>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
32
|
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
<div class="pop-box" v-if="showPreviewDialog">
|
|
55
55
|
<div>
|
|
56
56
|
<div class="header-box">
|
|
57
|
-
<i class="back el-icon-close" @click="showPreviewDialog=false"></i
|
|
57
|
+
<i class="back el-icon-close" @click="showPreviewDialog=false"></i>{{ $t1('文件预览') }}
|
|
58
58
|
</div>
|
|
59
59
|
<el-form label-position="top" class="form-box">
|
|
60
60
|
<div class="flex">
|
|
@@ -264,7 +264,7 @@ export default {
|
|
|
264
264
|
let fileExt = this.$commonFileUtil.getFileSuffix(fileName);
|
|
265
265
|
const isTypeOk = this.fileType.includes(fileExt);
|
|
266
266
|
if (!isTypeOk) {
|
|
267
|
-
this.$baseAlert(
|
|
267
|
+
this.$baseAlert(this.$t1('文件格式不正确'));
|
|
268
268
|
return false;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
@@ -272,7 +272,7 @@ export default {
|
|
|
272
272
|
if (this.fileSize) {
|
|
273
273
|
const isLt = file.size / 1024 / 1024 < this.fileSize;
|
|
274
274
|
if (!isLt) {
|
|
275
|
-
this.$baseAlert(
|
|
275
|
+
this.$baseAlert(this.$t1('上传文件大小不能超过 {p0} MB!', { p0: this.fileSize }));
|
|
276
276
|
return false;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
@@ -297,11 +297,11 @@ export default {
|
|
|
297
297
|
},
|
|
298
298
|
// 文件个数超出
|
|
299
299
|
handleExceed() {
|
|
300
|
-
this.$baseAlert(
|
|
300
|
+
this.$baseAlert(this.$t1('上传文件数量不能超过 {p0} 个!', { p0: this.limit }));
|
|
301
301
|
},
|
|
302
302
|
// 上传失败
|
|
303
303
|
handleUploadError(err) {
|
|
304
|
-
this.$baseAlert(
|
|
304
|
+
this.$baseAlert(this.$t1('上传文件失败,请重试'));
|
|
305
305
|
// this.$modal.closeLoading()
|
|
306
306
|
this.loadingObj && this.loadingObj.close();
|
|
307
307
|
},
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
</template>
|
|
14
|
-
<div class="show-more" v-if="oplogDTOs.length>5" @click="showDialog=true"><i class="iconfont icon-kuaijie"></i
|
|
14
|
+
<div class="show-more" v-if="oplogDTOs.length>5" @click="showDialog=true"><i class="iconfont icon-kuaijie"></i>{{ $t1('查看更多') }}
|
|
15
15
|
</div>
|
|
16
16
|
<div class="pop-box" v-if="showDialog">
|
|
17
17
|
<div>
|
|
18
|
-
<div class="header-box"><i class="back el-icon-close" @click="showDialog=false"></i
|
|
18
|
+
<div class="header-box"><i class="back el-icon-close" @click="showDialog=false"></i>{{ $t1('操作日志') }}</div>
|
|
19
19
|
<div class="flex">
|
|
20
20
|
<div class="checkbox-all_list">
|
|
21
21
|
<div v-for="(row,rowIndex) in oplogDTOs" :key="rowIndex" class="order-item">
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
32
|
<div class="fixed-bottom-btns">
|
|
33
|
-
<el-button type="primary" plain class="btn" @click="showDialog=false" icon="el-icon-close"
|
|
34
|
-
<el-button type="primary" class="btn" @click="showDialog=false" icon="el-icon-check"
|
|
33
|
+
<el-button type="primary" plain class="btn" @click="showDialog=false" icon="el-icon-close">{{ $t1('取 消') }}</el-button>
|
|
34
|
+
<el-button type="primary" class="btn" @click="showDialog=false" icon="el-icon-check">{{ $t1('确 定') }}</el-button>
|
|
35
35
|
</div>
|
|
36
36
|
</div>
|
|
37
37
|
</div>
|
|
@@ -3,16 +3,15 @@
|
|
|
3
3
|
<div @click.stop>
|
|
4
4
|
<div class="header-box">
|
|
5
5
|
<i class="back el-icon-close" @click="dialogClose"></i>
|
|
6
|
-
<span
|
|
6
|
+
<span>{{ $t1('高级筛选') }}</span>
|
|
7
7
|
</div>
|
|
8
8
|
<div class="p-cont">
|
|
9
9
|
<slot></slot>
|
|
10
10
|
</div>
|
|
11
11
|
<div class='p-btn'>
|
|
12
|
-
<el-button type="primary" plain class="btn" @click="reset" icon="el-icon-refresh-right"
|
|
13
|
-
置
|
|
12
|
+
<el-button type="primary" plain class="btn" @click="reset" icon="el-icon-refresh-right">{{ $t1('重 置') }}
|
|
14
13
|
</el-button>
|
|
15
|
-
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check"
|
|
14
|
+
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check">{{ $t1('确 定') }}</el-button>
|
|
16
15
|
</div>
|
|
17
16
|
</div>
|
|
18
17
|
</div>
|
|
@@ -17,43 +17,42 @@
|
|
|
17
17
|
>
|
|
18
18
|
<div>
|
|
19
19
|
<div class="header-box">
|
|
20
|
-
<i class="back el-icon-close" @click="dialogClose"></i>
|
|
21
|
-
选择用户
|
|
20
|
+
<i class="back el-icon-close" @click="dialogClose"></i>{{ $t1('选择用户') }}
|
|
22
21
|
</div>
|
|
23
22
|
<div class="search-H5box">
|
|
24
23
|
<div class="txt">
|
|
25
|
-
<el-input placeholder="姓名" suffix-icon="el-icon-search" v-model="formData.nickName"
|
|
24
|
+
<el-input :placeholder="$t1('姓名')" suffix-icon="el-icon-search" v-model="formData.nickName"
|
|
26
25
|
@keyup.enter.native="searchEvent">
|
|
27
|
-
<el-button slot="append" @click="searchEvent">
|
|
26
|
+
<el-button slot="append" @click="searchEvent"> {{ $t1('搜索') }}</el-button>
|
|
28
27
|
</el-input>
|
|
29
28
|
</div>
|
|
30
29
|
<div class="icon-screen" @click="popStatus = true">
|
|
31
30
|
<i class="iconfont icon-shaixuan1"></i>
|
|
32
|
-
<span
|
|
31
|
+
<span>{{ $t1('高级筛选') }}</span>
|
|
33
32
|
</div>
|
|
34
33
|
</div>
|
|
35
34
|
<div class="flex">
|
|
36
35
|
<div class="checkbox-all_list" @scroll="handleScroll">
|
|
37
36
|
<div v-for="(row,rowIndex) in page.records" :key="rowIndex" class="order-item"
|
|
38
37
|
:class="{on:checkList.includes(row.id)}" @click="changeCheck(row,rowIndex)">
|
|
39
|
-
<div class="is-checked" v-if="checkList.includes(row.id)"><i class="el-icon-check"></i
|
|
38
|
+
<div class="is-checked" v-if="checkList.includes(row.id)"><i class="el-icon-check"></i>{{ $t1('已选择') }}</div>
|
|
40
39
|
<div class="t1">
|
|
41
40
|
<i class="icon"></i>
|
|
42
41
|
<span>{{ row.nickName }}</span>
|
|
43
42
|
</div>
|
|
44
43
|
<div class="t2">
|
|
45
|
-
<p
|
|
46
|
-
<p
|
|
47
|
-
<p
|
|
48
|
-
<p
|
|
49
|
-
<p
|
|
50
|
-
<p
|
|
51
|
-
<p
|
|
44
|
+
<p>{{ $t1('登录名:') }}{{ row.loginAccount }}</p>
|
|
45
|
+
<p>{{ $t1('角色:') }}{{ row.roleNames }}</p>
|
|
46
|
+
<p>{{ $t1('机构:') }}{{ row.saleOrgNames }}</p>
|
|
47
|
+
<p>{{ $t1('邮编:') }}{{ row.zipCode }}</p>
|
|
48
|
+
<p>{{ $t1('地址:') }}{{ row.address }}</p>
|
|
49
|
+
<p>{{ $t1('性别:') }}{{ genderMap[row.gender] ? $t1(genderMap[row.gender]) : '' }}</p>
|
|
50
|
+
<p>{{ $t1('所属组织:') }}{{ row.companyNames }}</p>
|
|
52
51
|
</div>
|
|
53
52
|
</div>
|
|
54
53
|
</div>
|
|
55
54
|
<div class="checkbox-all">
|
|
56
|
-
<div class='ca-t'
|
|
55
|
+
<div class='ca-t'>{{ $t1('已选择用户:') }}</div>
|
|
57
56
|
<div class="ca-c">
|
|
58
57
|
<span v-for="(checkRow, rowIndex) in checkRows" :key="rowIndex">{{ checkRow.nickName }}<i
|
|
59
58
|
class="el-icon-delete" @click="changeCheck(checkRow)"></i></span>
|
|
@@ -61,20 +60,20 @@
|
|
|
61
60
|
</div>
|
|
62
61
|
</div>
|
|
63
62
|
<div class="fixed-bottom-btns">
|
|
64
|
-
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close"
|
|
63
|
+
<el-button type="primary" plain class="btn" @click="dialogClose" icon="el-icon-close">{{ $t1('取 消') }}
|
|
65
64
|
</el-button>
|
|
66
|
-
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check"
|
|
65
|
+
<el-button type="primary" class="btn" @click="dialogPrimary" icon="el-icon-check">{{ $t1('确 定') }}</el-button>
|
|
67
66
|
</div>
|
|
68
67
|
<h5SearchDialog v-if="popStatus" :visiable.sync="popStatus" @searchEvent="confirmSearchDialog"
|
|
69
68
|
@resetEvent="resetSearchDialog">
|
|
70
69
|
<el-form label-position="top">
|
|
71
|
-
<el-form-item label="登录名">
|
|
70
|
+
<el-form-item :label="$t1('登录名')">
|
|
72
71
|
<el-input v-model="formData.loginAccount" class="txt" clearable/>
|
|
73
72
|
</el-form-item>
|
|
74
|
-
<el-form-item label="姓名">
|
|
73
|
+
<el-form-item :label="$t1('姓名')">
|
|
75
74
|
<el-input v-model="formData.nickName" class="txt" clearable/>
|
|
76
75
|
</el-form-item>
|
|
77
|
-
<el-form-item label="手机号">
|
|
76
|
+
<el-form-item :label="$t1('手机号')">
|
|
78
77
|
<el-input v-model="formData.mobile" class="txt" clearable/>
|
|
79
78
|
</el-form-item>
|
|
80
79
|
</el-form>
|