cloud-web-corejs 1.1.0-dev.74 → 1.1.0-dev.76
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/docs//345/270/270/347/224/250/350/204/232/346/234/254/350/260/203/347/224/250.md +209 -0
- package/src/components/xform/docs//347/272/247/350/201/224/351/200/211/346/213/251/346/207/222/345/212/240/350/275/275/344/275/277/347/224/250/350/257/264/346/230/216.md +177 -0
- 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 +349 -10
- 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 +50 -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/onClear-editor.vue +30 -0
- 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 +99 -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 +3 -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 +7 -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
|
@@ -3,61 +3,61 @@ export default function (hiprint) {
|
|
|
3
3
|
var addElementTypes = function (context) {
|
|
4
4
|
context.removePrintElementTypes("defaultModule");
|
|
5
5
|
context.addPrintElementTypes("defaultModule", [
|
|
6
|
-
new hiprint.PrintElementTypeGroup(
|
|
6
|
+
new hiprint.PrintElementTypeGroup((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('常规') : '常规'), [
|
|
7
7
|
{
|
|
8
8
|
tid: "defaultModule.text",
|
|
9
|
-
title:
|
|
9
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('文本') : '文本'),
|
|
10
10
|
data: "",
|
|
11
11
|
type: "text"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
tid: "defaultModule.image",
|
|
15
|
-
title:
|
|
15
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('图片') : '图片'),
|
|
16
16
|
data: "",
|
|
17
17
|
type: "image"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
tid: "defaultModule.longText",
|
|
21
|
-
title:
|
|
21
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('长文') : '长文'),
|
|
22
22
|
data: "155123456789",
|
|
23
23
|
type: "longText"
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
tid: "defaultModule.table",
|
|
27
27
|
field: "table",
|
|
28
|
-
title:
|
|
28
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('表格') : '表格'),
|
|
29
29
|
type: "table",
|
|
30
30
|
groupFields: ["name"],
|
|
31
31
|
groupFooterFormatter: function (group, option) {
|
|
32
|
-
return
|
|
32
|
+
return (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('这里自定义统计脚信息') : '这里自定义统计脚信息');
|
|
33
33
|
},
|
|
34
34
|
columns: [
|
|
35
35
|
[
|
|
36
36
|
{
|
|
37
|
-
title:
|
|
37
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('行号') : '行号'),
|
|
38
38
|
fixed: true,
|
|
39
39
|
rowspan: 2,
|
|
40
40
|
field: "id",
|
|
41
41
|
width: 70
|
|
42
42
|
},
|
|
43
|
-
{title:
|
|
44
|
-
{title:
|
|
43
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('人员信息') : '人员信息'), colspan: 2},
|
|
44
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('销售统计') : '销售统计'), colspan: 2}
|
|
45
45
|
],
|
|
46
46
|
[
|
|
47
47
|
{
|
|
48
|
-
title:
|
|
48
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('姓名') : '姓名'),
|
|
49
49
|
align: "left",
|
|
50
50
|
field: "name",
|
|
51
51
|
width: 100
|
|
52
52
|
},
|
|
53
|
-
{title:
|
|
53
|
+
{title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('性别') : '性别'), field: "gender", width: 100},
|
|
54
54
|
{
|
|
55
|
-
title:
|
|
55
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('销售数量') : '销售数量'),
|
|
56
56
|
field: "count",
|
|
57
57
|
width: 100
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
title:
|
|
60
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('销售金额') : '销售金额'),
|
|
61
61
|
field: "amount",
|
|
62
62
|
width: 100
|
|
63
63
|
}
|
|
@@ -79,7 +79,7 @@ export default function (hiprint) {
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
tid: "defaultModule.emptyTable",
|
|
82
|
-
title:
|
|
82
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('空白表格') : '空白表格'),
|
|
83
83
|
type: "table",
|
|
84
84
|
columns: [
|
|
85
85
|
[
|
|
@@ -106,13 +106,13 @@ export default function (hiprint) {
|
|
|
106
106
|
},
|
|
107
107
|
{
|
|
108
108
|
tid: "defaultModule.customText",
|
|
109
|
-
title:
|
|
109
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('自定义文本') : '自定义文本'),
|
|
110
110
|
customText: "自定义文本",
|
|
111
111
|
custom: true,
|
|
112
112
|
type: "text"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
tid: 'defaultModule.barcode', title: '条形码', data: 'XS888888888', type: 'text',
|
|
115
|
+
tid: 'defaultModule.barcode', title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('条形码') : '条形码'), data: 'XS888888888', type: 'text',
|
|
116
116
|
options: {
|
|
117
117
|
field: 'barcode',
|
|
118
118
|
testData: 'XS888888888',
|
|
@@ -123,7 +123,7 @@ export default function (hiprint) {
|
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
126
|
-
tid: 'defaultModule.qrcode', title: '二维码', data: 'XS888888888', type: 'text',
|
|
126
|
+
tid: 'defaultModule.qrcode', title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('二维码') : '二维码'), data: 'XS888888888', type: 'text',
|
|
127
127
|
options: {
|
|
128
128
|
field: 'qrcode',
|
|
129
129
|
testData: 'XS888888888',
|
|
@@ -134,25 +134,25 @@ export default function (hiprint) {
|
|
|
134
134
|
}
|
|
135
135
|
},
|
|
136
136
|
]),
|
|
137
|
-
new hiprint.PrintElementTypeGroup(
|
|
137
|
+
new hiprint.PrintElementTypeGroup((window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('辅助') : '辅助'), [
|
|
138
138
|
{
|
|
139
139
|
tid: "defaultModule.hline",
|
|
140
|
-
title:
|
|
140
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('横线') : '横线'),
|
|
141
141
|
type: "hline"
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
144
|
tid: "defaultModule.vline",
|
|
145
|
-
title:
|
|
145
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('竖线') : '竖线'),
|
|
146
146
|
type: "vline"
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
tid: "defaultModule.rect",
|
|
150
|
-
title:
|
|
150
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('矩形') : '矩形'),
|
|
151
151
|
type: "rect"
|
|
152
152
|
},
|
|
153
153
|
{
|
|
154
154
|
tid: "defaultModule.oval",
|
|
155
|
-
title:
|
|
155
|
+
title: (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('椭圆') : '椭圆'),
|
|
156
156
|
type: "oval"
|
|
157
157
|
}
|
|
158
158
|
])
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
text: {
|
|
71
71
|
tabs: [
|
|
72
72
|
{
|
|
73
|
-
name: '基础', options: [
|
|
73
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
74
74
|
{
|
|
75
75
|
name: 'title',
|
|
76
76
|
hidden: false
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
]
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
name: '样式', options: [
|
|
105
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
106
106
|
{
|
|
107
107
|
name: 'dataType',
|
|
108
108
|
hidden: false
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
]
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
name: '边框', options: [
|
|
161
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('边框') : '边框'; }, options: [
|
|
162
162
|
{
|
|
163
163
|
name: 'optionsGroup',
|
|
164
164
|
hidden: false
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
]
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
name: '高级', options: [
|
|
209
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
210
210
|
{
|
|
211
211
|
name: 'textType',
|
|
212
212
|
hidden: false
|
|
@@ -420,7 +420,7 @@
|
|
|
420
420
|
image: {
|
|
421
421
|
tabs: [
|
|
422
422
|
{
|
|
423
|
-
name: '基础', options: [
|
|
423
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
424
424
|
{
|
|
425
425
|
name: 'field',
|
|
426
426
|
hidden: false
|
|
@@ -452,7 +452,7 @@
|
|
|
452
452
|
]
|
|
453
453
|
},
|
|
454
454
|
{
|
|
455
|
-
name: '样式', options: [
|
|
455
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
456
456
|
{
|
|
457
457
|
name: 'transform',
|
|
458
458
|
hidden: false
|
|
@@ -464,7 +464,7 @@
|
|
|
464
464
|
]
|
|
465
465
|
},
|
|
466
466
|
{
|
|
467
|
-
name: '高级', options: [
|
|
467
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
468
468
|
{
|
|
469
469
|
name: 'pageBreak',
|
|
470
470
|
hidden: false
|
|
@@ -543,7 +543,7 @@
|
|
|
543
543
|
longText: {
|
|
544
544
|
tabs: [
|
|
545
545
|
{
|
|
546
|
-
name: '基础', options: [
|
|
546
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
547
547
|
{
|
|
548
548
|
name: 'title',
|
|
549
549
|
hidden: false
|
|
@@ -575,7 +575,7 @@
|
|
|
575
575
|
]
|
|
576
576
|
},
|
|
577
577
|
{
|
|
578
|
-
name: '样式', options: [
|
|
578
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
579
579
|
{
|
|
580
580
|
name: 'fontFamily',
|
|
581
581
|
hidden: false
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
]
|
|
628
628
|
},
|
|
629
629
|
{
|
|
630
|
-
name: '高级', options: [
|
|
630
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
631
631
|
{
|
|
632
632
|
name: 'pageBreak',
|
|
633
633
|
hidden: false
|
|
@@ -813,7 +813,7 @@
|
|
|
813
813
|
table: {
|
|
814
814
|
tabs: [
|
|
815
815
|
{
|
|
816
|
-
name: '基础', options: [
|
|
816
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
817
817
|
{
|
|
818
818
|
name: 'field',
|
|
819
819
|
hidden: false
|
|
@@ -849,7 +849,7 @@
|
|
|
849
849
|
]
|
|
850
850
|
},
|
|
851
851
|
{
|
|
852
|
-
name: '样式', options: [
|
|
852
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
853
853
|
{
|
|
854
854
|
name: 'fontFamily',
|
|
855
855
|
hidden: false
|
|
@@ -930,12 +930,12 @@
|
|
|
930
930
|
},
|
|
931
931
|
// 留空即显示 表格 列 属性
|
|
932
932
|
{
|
|
933
|
-
name: '列', options: [
|
|
933
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('列') : '列'; }, options: [
|
|
934
934
|
|
|
935
935
|
]
|
|
936
936
|
},
|
|
937
937
|
{
|
|
938
|
-
name: '高级', options: [
|
|
938
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
939
939
|
{
|
|
940
940
|
name: 'axis',
|
|
941
941
|
hidden: false
|
|
@@ -1132,7 +1132,7 @@
|
|
|
1132
1132
|
hline: {
|
|
1133
1133
|
tabs: [
|
|
1134
1134
|
{
|
|
1135
|
-
name: '基础', options: [
|
|
1135
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
1136
1136
|
{
|
|
1137
1137
|
name: 'coordinate',
|
|
1138
1138
|
hidden: false
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
]
|
|
1153
1153
|
},
|
|
1154
1154
|
{
|
|
1155
|
-
name: '样式', options: [
|
|
1155
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
1156
1156
|
{
|
|
1157
1157
|
name: 'borderWidth',
|
|
1158
1158
|
hidden: false
|
|
@@ -1176,7 +1176,7 @@
|
|
|
1176
1176
|
]
|
|
1177
1177
|
},
|
|
1178
1178
|
{
|
|
1179
|
-
name: '高级', options: [
|
|
1179
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
1180
1180
|
{
|
|
1181
1181
|
name: 'pageBreak',
|
|
1182
1182
|
hidden: false
|
|
@@ -1243,7 +1243,7 @@
|
|
|
1243
1243
|
vline: {
|
|
1244
1244
|
tabs: [
|
|
1245
1245
|
{
|
|
1246
|
-
name: '基础', options: [
|
|
1246
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
1247
1247
|
{
|
|
1248
1248
|
name: 'coordinate',
|
|
1249
1249
|
hidden: false
|
|
@@ -1263,7 +1263,7 @@
|
|
|
1263
1263
|
]
|
|
1264
1264
|
},
|
|
1265
1265
|
{
|
|
1266
|
-
name: '样式', options: [
|
|
1266
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
1267
1267
|
{
|
|
1268
1268
|
name: 'borderWidth',
|
|
1269
1269
|
hidden: false
|
|
@@ -1287,7 +1287,7 @@
|
|
|
1287
1287
|
]
|
|
1288
1288
|
},
|
|
1289
1289
|
{
|
|
1290
|
-
name: '高级', options: [
|
|
1290
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
1291
1291
|
{
|
|
1292
1292
|
name: 'pageBreak',
|
|
1293
1293
|
hidden: false
|
|
@@ -1354,7 +1354,7 @@
|
|
|
1354
1354
|
rect: {
|
|
1355
1355
|
tabs: [
|
|
1356
1356
|
{
|
|
1357
|
-
name: '基础', options: [
|
|
1357
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
1358
1358
|
{
|
|
1359
1359
|
name: 'coordinate',
|
|
1360
1360
|
hidden: false
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
]
|
|
1375
1375
|
},
|
|
1376
1376
|
{
|
|
1377
|
-
name: '样式', options: [
|
|
1377
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
1378
1378
|
{
|
|
1379
1379
|
name: 'borderWidth',
|
|
1380
1380
|
hidden: false
|
|
@@ -1402,7 +1402,7 @@
|
|
|
1402
1402
|
]
|
|
1403
1403
|
},
|
|
1404
1404
|
{
|
|
1405
|
-
name: '高级', options: [
|
|
1405
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
1406
1406
|
{
|
|
1407
1407
|
name: 'pageBreak',
|
|
1408
1408
|
hidden: false
|
|
@@ -1473,7 +1473,7 @@
|
|
|
1473
1473
|
oval: {
|
|
1474
1474
|
tabs: [
|
|
1475
1475
|
{
|
|
1476
|
-
name: '基础', options: [
|
|
1476
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
1477
1477
|
{
|
|
1478
1478
|
name: 'coordinate',
|
|
1479
1479
|
hidden: false
|
|
@@ -1493,7 +1493,7 @@
|
|
|
1493
1493
|
]
|
|
1494
1494
|
},
|
|
1495
1495
|
{
|
|
1496
|
-
name: '样式', options: [
|
|
1496
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
1497
1497
|
{
|
|
1498
1498
|
name: 'borderWidth',
|
|
1499
1499
|
hidden: false
|
|
@@ -1521,7 +1521,7 @@
|
|
|
1521
1521
|
]
|
|
1522
1522
|
},
|
|
1523
1523
|
{
|
|
1524
|
-
name: '高级', options: [
|
|
1524
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
1525
1525
|
{
|
|
1526
1526
|
name: 'pageBreak',
|
|
1527
1527
|
hidden: false
|
|
@@ -1592,7 +1592,7 @@
|
|
|
1592
1592
|
html: {
|
|
1593
1593
|
tabs: [
|
|
1594
1594
|
{
|
|
1595
|
-
name: '基础', options: [
|
|
1595
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('基础') : '基础'; }, options: [
|
|
1596
1596
|
{
|
|
1597
1597
|
name: 'coordinate',
|
|
1598
1598
|
hidden: false
|
|
@@ -1616,7 +1616,7 @@
|
|
|
1616
1616
|
]
|
|
1617
1617
|
},
|
|
1618
1618
|
{
|
|
1619
|
-
name: '样式', options: [
|
|
1619
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('样式') : '样式'; }, options: [
|
|
1620
1620
|
{
|
|
1621
1621
|
name: 'transform',
|
|
1622
1622
|
hidden: false
|
|
@@ -1628,7 +1628,7 @@
|
|
|
1628
1628
|
]
|
|
1629
1629
|
},
|
|
1630
1630
|
{
|
|
1631
|
-
name: '高级', options: [
|
|
1631
|
+
get name() { return window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('高级') : '高级'; }, options: [
|
|
1632
1632
|
{
|
|
1633
1633
|
name: 'pageBreak',
|
|
1634
1634
|
hidden: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-dialog
|
|
3
|
-
title="模板设计"
|
|
3
|
+
:title="$t1('模板设计')"
|
|
4
4
|
:append-to-body="true"
|
|
5
5
|
:modal-append-to-body="true"
|
|
6
6
|
:close-on-click-modal="false"
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
{{ $t2('取 消', 'system.button.cancel2') }}
|
|
28
28
|
</el-button>-->
|
|
29
29
|
<el-button type="success" class="button-sty" @click="dialogPrimary" style="width: 250px;">
|
|
30
|
-
<i class="el-icon-check el-icon"></i>
|
|
31
|
-
确 认 模 板
|
|
30
|
+
<i class="el-icon-check el-icon"></i>{{ $t1('确 认 模 板') }}
|
|
32
31
|
</el-button>
|
|
33
32
|
</div>
|
|
34
33
|
</el-dialog>
|
|
@@ -68,7 +67,7 @@ export default {
|
|
|
68
67
|
this.$emit("update:visiable", false);
|
|
69
68
|
},
|
|
70
69
|
closeDesignwinEvent(done) {
|
|
71
|
-
this.$baseConfirm('关闭模板设计界面,将不保留本次修改的内容,是否继续关闭?').then(() => {
|
|
70
|
+
this.$baseConfirm(this.$t1('关闭模板设计界面,将不保留本次修改的内容,是否继续关闭?')).then(() => {
|
|
72
71
|
this.dialogClose();
|
|
73
72
|
});
|
|
74
73
|
},
|
|
@@ -13,11 +13,11 @@ export default (function () {
|
|
|
13
13
|
// 创建 DOM
|
|
14
14
|
t.prototype.createTarget = function () {
|
|
15
15
|
let list = [8, 9, 10, 11, 12, 14, 16, 18, 20, 22, 24, 26, 28, 36, 48, 72];
|
|
16
|
-
let fontSizeList = '\n <option value=""
|
|
16
|
+
let fontSizeList = '\n <option value="" >' + (window.$vueRoot && window.$vueRoot.$t1 ? window.$vueRoot.$t1('默认') : '默认') + '</option>';
|
|
17
17
|
list.forEach(function (e) {
|
|
18
18
|
fontSizeList += '\n <option value="' + e + '">' + e + 'pt</option>';
|
|
19
19
|
})
|
|
20
|
-
this.target = $(' <div class="hiprint-option-item">\n <div class="hiprint-option-item-label"
|
|
20
|
+
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 <select class="auto-submit"> </select>\n </div>\n </div>');
|
|
21
21
|
this.target.find(".auto-submit").append($(fontSizeList));
|
|
22
22
|
return this.target;
|
|
23
23
|
},
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
</template>
|
|
17
17
|
<el-popover
|
|
18
18
|
v-model="paperPopVisible"
|
|
19
|
-
title="设置纸张宽高(mm)"
|
|
19
|
+
:title="$t1('设置纸张宽高(mm)')"
|
|
20
20
|
trigger="click"
|
|
21
21
|
width="256"
|
|
22
22
|
>
|
|
23
23
|
<base-input-number
|
|
24
24
|
v-model="paperWidth"
|
|
25
25
|
style="width: 100px !important; text-align: center"
|
|
26
|
-
placeholder="宽(mm)"
|
|
26
|
+
:placeholder="$t1('宽(mm)')"
|
|
27
27
|
/>
|
|
28
28
|
<el-input
|
|
29
29
|
style="
|
|
@@ -38,22 +38,21 @@
|
|
|
38
38
|
<base-input-number
|
|
39
39
|
v-model="paperHeight"
|
|
40
40
|
style="width: 100px !important; text-align: center; border-left: 0"
|
|
41
|
-
placeholder="高(mm)"
|
|
41
|
+
:placeholder="$t1('高(mm)')"
|
|
42
42
|
/>
|
|
43
43
|
<el-button
|
|
44
44
|
type="primary"
|
|
45
45
|
class="button-sty"
|
|
46
46
|
style="width: 100%; margin-top: 8px"
|
|
47
47
|
@click="otherPaper"
|
|
48
|
-
|
|
48
|
+
>{{ $t1('确定') }}
|
|
49
49
|
</el-button>
|
|
50
50
|
<el-button
|
|
51
51
|
size="mini"
|
|
52
52
|
:type="'other' === curPaperType ? 'primary' : ''"
|
|
53
53
|
slot="reference"
|
|
54
54
|
class="button-sty"
|
|
55
|
-
>
|
|
56
|
-
自定义纸张
|
|
55
|
+
>{{ $t1('自定义纸张') }}
|
|
57
56
|
</el-button>
|
|
58
57
|
</el-popover>
|
|
59
58
|
</el-button-group>
|
|
@@ -84,15 +83,15 @@
|
|
|
84
83
|
icon="el-icon-refresh-right"
|
|
85
84
|
@click="rotatePaper()"
|
|
86
85
|
plain
|
|
87
|
-
|
|
86
|
+
>{{ $t1('旋转') }}
|
|
88
87
|
</el-button>
|
|
89
88
|
<el-button type="warning" class="button-sty" icon="el-icon-view" @click="preView"
|
|
90
|
-
|
|
89
|
+
>{{ $t1('预览') }}</el-button
|
|
91
90
|
>
|
|
92
91
|
<el-popover width="219" v-model="visible" @confirm="clearPaper">
|
|
93
|
-
<p><i class="el-icon-warning-outline f-red"></i>
|
|
92
|
+
<p><i class="el-icon-warning-outline f-red"></i> {{ $t1('是否确认清空??') }}</p>
|
|
94
93
|
<div style="text-align: right; margin: 0">
|
|
95
|
-
<el-button size="mini" type="primary" plain @click="visible = false" class="button-sty"
|
|
94
|
+
<el-button size="mini" type="primary" plain @click="visible = false" class="button-sty">{{ $t1('取消') }}</el-button>
|
|
96
95
|
<el-button
|
|
97
96
|
type="primary"
|
|
98
97
|
size="mini"
|
|
@@ -101,7 +100,7 @@
|
|
|
101
100
|
clearPaper();
|
|
102
101
|
visible = false;
|
|
103
102
|
"
|
|
104
|
-
|
|
103
|
+
>{{ $t1('确定清空') }}</el-button
|
|
105
104
|
>
|
|
106
105
|
</div>
|
|
107
106
|
<el-button
|
|
@@ -110,8 +109,7 @@
|
|
|
110
109
|
icon="el-icon-close"
|
|
111
110
|
slot="reference"
|
|
112
111
|
style="margin: 0 10px"
|
|
113
|
-
>
|
|
114
|
-
清空
|
|
112
|
+
>{{ $t1('清空') }}
|
|
115
113
|
</el-button>
|
|
116
114
|
</el-popover>
|
|
117
115
|
<el-button
|
|
@@ -119,14 +117,14 @@
|
|
|
119
117
|
class="button-sty"
|
|
120
118
|
icon="el-icon-download"
|
|
121
119
|
@click="importDefaultTemplate1"
|
|
122
|
-
|
|
120
|
+
>{{ $t1('导入默认模板') }}1
|
|
123
121
|
</el-button>
|
|
124
122
|
<el-button
|
|
125
123
|
type="primary"
|
|
126
124
|
class="button-sty"
|
|
127
125
|
icon="el-icon-download"
|
|
128
126
|
@click="importDefaultTemplate2"
|
|
129
|
-
|
|
127
|
+
>{{ $t1('导入默认模板') }}2
|
|
130
128
|
</el-button>
|
|
131
129
|
<div class="hiprint-printPagination"></div>
|
|
132
130
|
<!-- <el-radio-group size="mini">
|
|
@@ -217,7 +215,7 @@
|
|
|
217
215
|
<el-card>
|
|
218
216
|
<el-row>
|
|
219
217
|
<el-col :span="24" class="rect-printElement-types hiprintEpContainer">
|
|
220
|
-
<el-row class="drag_item_title"
|
|
218
|
+
<el-row class="drag_item_title">{{ $t1('拖拽组件列表') }}</el-row>
|
|
221
219
|
<el-row>
|
|
222
220
|
<el-col :span="8" class="drag_item_box">
|
|
223
221
|
<div>
|
|
@@ -226,7 +224,7 @@
|
|
|
226
224
|
class="glyphicon glyphicon-text-width"
|
|
227
225
|
aria-hidden="true"
|
|
228
226
|
></span>
|
|
229
|
-
<p class="glyphicon-class"
|
|
227
|
+
<p class="glyphicon-class">{{ $t1('文本') }}</p>
|
|
230
228
|
</a>
|
|
231
229
|
</div>
|
|
232
230
|
</el-col>
|
|
@@ -234,7 +232,7 @@
|
|
|
234
232
|
<div>
|
|
235
233
|
<a class="ep-draggable-item" tid="defaultModule.image" style>
|
|
236
234
|
<span class="glyphicon glyphicon-picture" aria-hidden="true"></span>
|
|
237
|
-
<p class="glyphicon-class"
|
|
235
|
+
<p class="glyphicon-class">{{ $t1('图片') }}</p>
|
|
238
236
|
</a>
|
|
239
237
|
</div>
|
|
240
238
|
</el-col>
|
|
@@ -245,7 +243,7 @@
|
|
|
245
243
|
class="glyphicon glyphicon-subscript"
|
|
246
244
|
aria-hidden="true"
|
|
247
245
|
></span>
|
|
248
|
-
<p class="glyphicon-class"
|
|
246
|
+
<p class="glyphicon-class">{{ $t1('长文') }}</p>
|
|
249
247
|
</a>
|
|
250
248
|
</div>
|
|
251
249
|
</el-col>
|
|
@@ -253,7 +251,7 @@
|
|
|
253
251
|
<div>
|
|
254
252
|
<a class="ep-draggable-item" tid="defaultModule.table" style>
|
|
255
253
|
<span class="glyphicon glyphicon-th" aria-hidden="true"></span>
|
|
256
|
-
<p class="glyphicon-class"
|
|
254
|
+
<p class="glyphicon-class">{{ $t1('表格') }}</p>
|
|
257
255
|
</a>
|
|
258
256
|
</div>
|
|
259
257
|
</el-col>
|
|
@@ -261,7 +259,7 @@
|
|
|
261
259
|
<div>
|
|
262
260
|
<a class="ep-draggable-item" tid="defaultModule.emptyTable" style>
|
|
263
261
|
<span class="glyphicon glyphicon-th" aria-hidden="true"></span>
|
|
264
|
-
<p class="glyphicon-class"
|
|
262
|
+
<p class="glyphicon-class">{{ $t1('空白表格') }}</p>
|
|
265
263
|
</a>
|
|
266
264
|
</div>
|
|
267
265
|
</el-col>
|
|
@@ -280,7 +278,7 @@
|
|
|
280
278
|
class="glyphicon glyphicon-text-width"
|
|
281
279
|
aria-hidden="true"
|
|
282
280
|
></span>
|
|
283
|
-
<p class="glyphicon-class"
|
|
281
|
+
<p class="glyphicon-class">{{ $t1('自定义') }}</p>
|
|
284
282
|
</a>
|
|
285
283
|
</div>
|
|
286
284
|
</el-col>
|
|
@@ -292,7 +290,7 @@
|
|
|
292
290
|
class="glyphicon iconfont icon-bar-code-full"
|
|
293
291
|
aria-hidden="true"
|
|
294
292
|
></span>
|
|
295
|
-
<p class="glyphicon-class"
|
|
293
|
+
<p class="glyphicon-class">{{ $t1('条形码') }}</p>
|
|
296
294
|
</a>
|
|
297
295
|
</div>
|
|
298
296
|
</el-col>
|
|
@@ -303,12 +301,12 @@
|
|
|
303
301
|
class="glyphicon iconfont icon-erweima"
|
|
304
302
|
aria-hidden="true"
|
|
305
303
|
></span>
|
|
306
|
-
<p class="glyphicon-class"
|
|
304
|
+
<p class="glyphicon-class">{{ $t1('二维码') }}</p>
|
|
307
305
|
</a>
|
|
308
306
|
</div>
|
|
309
307
|
</el-col>
|
|
310
308
|
</el-row>
|
|
311
|
-
<el-row class="drag_item_title"
|
|
309
|
+
<el-row class="drag_item_title">{{ $t1('辅助') }}</el-row>
|
|
312
310
|
<el-row>
|
|
313
311
|
<el-col :span="8" class="drag_item_box">
|
|
314
312
|
<div>
|
|
@@ -317,7 +315,7 @@
|
|
|
317
315
|
class="glyphicon glyphicon-resize-horizontal"
|
|
318
316
|
aria-hidden="true"
|
|
319
317
|
></span>
|
|
320
|
-
<p class="glyphicon-class"
|
|
318
|
+
<p class="glyphicon-class">{{ $t1('横线') }}</p>
|
|
321
319
|
</a>
|
|
322
320
|
</div>
|
|
323
321
|
</el-col>
|
|
@@ -328,7 +326,7 @@
|
|
|
328
326
|
class="glyphicon glyphicon-resize-vertical"
|
|
329
327
|
aria-hidden="true"
|
|
330
328
|
></span>
|
|
331
|
-
<p class="glyphicon-class"
|
|
329
|
+
<p class="glyphicon-class">{{ $t1('竖线') }}</p>
|
|
332
330
|
</a>
|
|
333
331
|
</div>
|
|
334
332
|
</el-col>
|
|
@@ -339,7 +337,7 @@
|
|
|
339
337
|
class="glyphicon glyphicon-unchecked"
|
|
340
338
|
aria-hidden="true"
|
|
341
339
|
></span>
|
|
342
|
-
<p class="glyphicon-class"
|
|
340
|
+
<p class="glyphicon-class">{{ $t1('矩形') }}</p>
|
|
343
341
|
</a>
|
|
344
342
|
</div>
|
|
345
343
|
</el-col>
|
|
@@ -347,7 +345,7 @@
|
|
|
347
345
|
<div>
|
|
348
346
|
<a class="ep-draggable-item" tid="defaultModule.oval">
|
|
349
347
|
<span class="glyphicon glyphicon-record" aria-hidden="true"></span>
|
|
350
|
-
<p class="glyphicon-class"
|
|
348
|
+
<p class="glyphicon-class">{{ $t1('椭圆') }}</p>
|
|
351
349
|
</a>
|
|
352
350
|
</div>
|
|
353
351
|
</el-col>
|