cloud-web-corejs 1.0.54-dev.797 → 1.0.54-dev.799
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 +3 -1
- package/src/components/baseTabs/mixins.js +11 -12
- package/src/components/bizTab/BizBillActions.vue +129 -0
- package/src/components/bizTab/BizTabListPage.vue +391 -0
- package/src/components/bizTab/README.md +378 -0
- package/src/components/bizTab/billTableUtil.js +48 -0
- package/src/components/bizTab/billValidators.js +136 -0
- package/src/components/bizTab/bizBillDetailMixin.js +687 -0
- package/src/components/bizTab/index.js +24 -0
- package/src/components/excelExport/exportFieldDialog.vue +373 -367
- package/src/components/excelExport/exportType.js +49 -0
- package/src/components/excelExport/mixins.js +1153 -1141
- package/src/components/vb-tabs/x-tabs.vue +167 -143
- package/src/components/wf/wfUtil.js +327 -292
- package/src/components/xform/form-designer/designer.js +56 -8
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +59 -5
- package/src/components/xform/form-designer/form-widget/field-widget/baseAttachment-widget.vue +60 -8
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +8 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +120 -92
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +63 -94
- package/src/components/xform/form-designer/index.vue +0 -1
- package/src/components/xform/form-designer/setting-panel/dataSource-setting.vue +397 -397
- package/src/components/xform/form-designer/setting-panel/form-dynamicField-setting.vue +602 -602
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +13 -13
- package/src/components/xform/form-designer/setting-panel/option-items-setting.vue +585 -585
- package/src/components/xform/form-designer/setting-panel/property-editor/a-link-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/a-text-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/alignType-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/censusClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/colorClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/commonAttributeEnabled-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1154 -1154
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail/detail-editor.vue +96 -80
- package/src/components/xform/form-designer/setting-panel/property-editor/container-detail-plain/detail-plain-editor.vue +75 -75
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/colHeight-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid/gutter-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-height-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-offset-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-pull-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-push-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-grid-col/grid-col-span-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/container-h5-card/h5-card-editor.vue +124 -124
- package/src/components/xform/form-designer/setting-panel/property-editor/container-panel/height-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-panel/width-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tab-customClass-editor.vue +119 -119
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tab/tabClass-editor.vue +45 -45
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table/table-dynamicField-editor.vue +344 -344
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table-cell/cellHeight-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-table-cell/cellWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +2 -2
- 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/container-vf-dialog/cancelButtonLabel-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/okButtonLabel-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/title-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-vf-dialog/width-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/containerClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/customClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/descriptionsItems-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/downloadButtonFlag-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/dsName-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/echartHeight-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/endPlaceholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-accessUrl/accessUrl-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaDataType-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaMinLevel-editor.vue +50 -50
- package/src/components/xform/form-designer/setting-panel/property-editor/field-area-select/areaName-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-autocomplete/autocomplete-vabSearchName-editor.vue +7 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/addTableData-event-editor.vue +84 -84
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/button-type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/clickBindEvent-editor.vue +97 -97
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/form-host-event-editor.vue +188 -188
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +237 -237
- package/src/components/xform/form-designer/setting-panel/property-editor/field-common/keyName-editor.vue +74 -67
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-valueFormat-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultTime-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-format-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date-range/date-range-valueFormat-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-divider/contentPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-dropdown-menu/dropdown-menu-editor.vue +59 -59
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-bar-editor.vue +11 -11
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-category-editor.vue +10 -10
- package/src/components/xform/form-designer/setting-panel/property-editor/field-echart/echart-pie-editor.vue +12 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/field-file-upload/file-upload-fileTypes-editor.vue +44 -44
- package/src/components/xform/form-designer/setting-panel/property-editor/field-html-text/htmlContent-editor.vue +29 -29
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import-button-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/field-import-button/import2-button-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-number/controlsPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-picture-upload/picture-upload-fileTypes-editor.vue +44 -44
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-button-editor.vue +115 -115
- package/src/components/xform/form-designer/setting-panel/property-editor/field-print-button/print-detail-button-editor.vue +115 -115
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/highThreshold-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/lowThreshold-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-defaultValue-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-rate/rate-max-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script/script-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-script-input/script-input-editor.vue +4 -4
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/fontSize-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-static-text/textContent-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-status/field-status-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/activeText-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/inactiveText-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-switch/switchWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +74 -71
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time/time-defaultValue-editor.vue +1 -1
- 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 +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-time-range/time-range-defaultValue-editor.vue +1 -1
- 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 +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vabSearch/vabSearchName-editor.vue +2 -2
- 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 +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-vue-page/vue-page-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/fileMaxSize-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/fileTypesSelect.vue +176 -176
- package/src/components/xform/form-designer/setting-panel/property-editor/formScriptEnabled-editor.vue +2 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/formatType-editor.vue +2 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/formula-editor.vue +972 -972
- package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/label-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelAlign-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/labelWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/limit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/max-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/maxLength-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/min-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/minLength-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/name-editor.vue +178 -178
- package/src/components/xform/form-designer/setting-panel/property-editor/oplog-editor.vue +3 -3
- package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue +6 -6
- package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/rows-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/space-editor-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/startPlaceholder-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/step-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTableClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/styleTitClass-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/type-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/uploadTip-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/uploadURL-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/urlValueEnabled-editor.vue +91 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/validation-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/validationHint-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/widgetWidth-editor.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/index.vue +3 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +55 -13
- package/src/components/xform/form-render/container-item/data-table-mixin copy.js +5910 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +59 -13
- package/src/components/xform/form-render/container-item/detail-item.vue +52 -11
- package/src/components/xform/form-render/container-item/tab-item.vue +6 -2
- package/src/components/xform/form-render/indexMixin.js +56 -16
- package/src/components/xform/lang/zh-CN.js +2 -1
- package/src/components/xform/utils/attachmentValueUtil.js +239 -0
- package/src/components/xform/utils/util.js +27 -0
- package/src/mixins/wf/index.js +40 -38
- package/src/router/modules/customer.js +50 -0
- package/src/store/config/index.js +46 -0
- package/src/utils/scrollUtil.js +25 -0
- package/src/views/demo/bizTab/bill/billConfig.js +41 -0
- package/src/views/demo/bizTab/bill/detail.vue +436 -0
- package/src/views/demo/bizTab/bill/list.vue +288 -0
- package/src/views/demo/bizTab/bill/productDialog.vue +176 -0
- package/src/views/demo/bizTab/simple/billApi.js +123 -0
- package/src/views/demo/bizTab/simple/detail.vue +407 -0
- package/src/views/demo/bizTab/simple/list.vue +217 -0
- package/src/views/demo/bizTab/standalone/index.vue +121 -0
- package/src/views/demo/bizTab/wf/billConfig.js +44 -0
- package/src/views/demo/bizTab/wf/detail.vue +661 -0
- package/src/views/demo/bizTab/wf/list.vue +242 -0
- package/src/views/user/outLink/cc_form_view.vue +185 -0
package/src/components/xform/form-designer/setting-panel/property-editor/iconClass-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.iconClass')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.iconClass')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.iconClass">
|
|
4
4
|
<el-option label="统计块" value="el-icon-coin">
|
|
5
5
|
<span><i class="el-icon-coin"></i> 统计块</span>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.label')" v-if="!noLabelSetting">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.label')" v-if="!noLabelSetting" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.label"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/labelAlign-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.labelAlign')" v-if="!noLabelSetting && (selectedWidget.type !== 'button')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.labelAlign')" v-if="!noLabelSetting && (selectedWidget.type !== 'button')" class="form-item-label-top">
|
|
3
3
|
<el-radio-group v-model="optionModel.labelAlign" class="radio-group-custom">
|
|
4
4
|
<el-radio-button label="label-left-align">
|
|
5
5
|
{{i18nt('designer.setting.leftAlign')}}</el-radio-button>
|
package/src/components/xform/form-designer/setting-panel/property-editor/labelColor-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.labelColor')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.labelColor')" class="form-item-label-top">
|
|
3
3
|
<div>
|
|
4
4
|
<el-select style="width: 130px;float: left;margin-right: 5px;" v-model="optionModel.labelColor" clearable>
|
|
5
5
|
<el-option value="#e6a23c" label="橙"></el-option>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.labelIconPosition')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.labelIconPosition')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.labelIconPosition">
|
|
4
4
|
<el-option
|
|
5
5
|
v-for="item in labelIconPosition"
|
package/src/components/xform/form-designer/setting-panel/property-editor/labelWidth-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.labelWidth')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.labelWidth')" class="form-item-label-top">
|
|
3
3
|
<el-input type="number" v-model="optionModel.labelWidth" @input.native="inputNumberHandler"
|
|
4
4
|
min="0" class="hide-spin-button"></el-input>
|
|
5
5
|
</el-form-item>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.limit')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.limit')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.limit" class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.maxValue')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.maxValue')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="maxValue" class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/maxLength-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.maxLength')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.maxLength')" class="form-item-label-top">
|
|
3
3
|
<el-input type="number" @input.native="inputNumberHandler" class="hide-spin-button"
|
|
4
4
|
min="1" v-model="maxLength" style="width: 100%"></el-input>
|
|
5
5
|
</el-form-item>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.minValue')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.minValue')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="minValue" class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/minLength-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.minLength')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.minLength')" class="form-item-label-top">
|
|
3
3
|
<el-input type="number" @input.native="inputNumberHandler" class="hide-spin-button"
|
|
4
4
|
min="0" v-model="minLength" style="width: 100%"></el-input>
|
|
5
5
|
</el-form-item>
|
package/src/components/xform/form-designer/setting-panel/property-editor/multipleLimit-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.multipleLimit')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.multipleLimit')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.multipleLimit"
|
|
4
4
|
class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
5
5
|
</el-form-item>
|
|
@@ -1,178 +1,178 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-form-item prop="name" :rules="nameRequiredRule">
|
|
4
|
-
<span slot="label"
|
|
5
|
-
>{{ i18nt("designer.setting.uniqueName") }}
|
|
6
|
-
<el-tooltip effect="light" :content="i18nt('designer.setting.editNameHelp')">
|
|
7
|
-
<i class="el-icon-info"></i
|
|
8
|
-
></el-tooltip>
|
|
9
|
-
</span>
|
|
10
|
-
<template
|
|
11
|
-
v-if="
|
|
12
|
-
(!!selectedWidget.category && selectedWidget.type !== 'sub-form') || noFieldList
|
|
13
|
-
"
|
|
14
|
-
>
|
|
15
|
-
<el-input
|
|
16
|
-
type="text"
|
|
17
|
-
v-model="optionModel.name"
|
|
18
|
-
:readonly="widgetNameReadonly"
|
|
19
|
-
@change="updateWidgetNameAndRef"
|
|
20
|
-
></el-input>
|
|
21
|
-
</template>
|
|
22
|
-
<template v-else>
|
|
23
|
-
<el-select
|
|
24
|
-
v-model="optionModel.name"
|
|
25
|
-
allow-create
|
|
26
|
-
filterable
|
|
27
|
-
:disabled="true"
|
|
28
|
-
@change="updateWidgetNameAndRef"
|
|
29
|
-
:title="i18nt('designer.setting.editNameHelp')"
|
|
30
|
-
>
|
|
31
|
-
<el-option
|
|
32
|
-
v-for="(sf, sfIdx) in serverFieldList"
|
|
33
|
-
:key="sfIdx"
|
|
34
|
-
:label="sf.label"
|
|
35
|
-
:value="sf.name"
|
|
36
|
-
></el-option>
|
|
37
|
-
</el-select>
|
|
38
|
-
</template>
|
|
39
|
-
</el-form-item>
|
|
40
|
-
<el-form-item label="按钮编码" v-show="showAuthCode">
|
|
41
|
-
<div style="word-break: break-all">
|
|
42
|
-
<el-tooltip effect="light" content="复制">
|
|
43
|
-
<a class="a-link" style="color: unset;" @click="copyAuthCode"><span><i class="el-icon-copy-document" style="margin-right:2px"></i>{{ authCode }}</span></a>
|
|
44
|
-
</el-tooltip>
|
|
45
|
-
</div>
|
|
46
|
-
</el-form-item>
|
|
47
|
-
</div>
|
|
48
|
-
</template>
|
|
49
|
-
|
|
50
|
-
<script>
|
|
51
|
-
import i18n from "../../../../../components/xform/utils/i18n";
|
|
52
|
-
import { isEmptyStr } from "../../../../../components/xform/utils/util";
|
|
53
|
-
import Clipboard from 'clipboard'
|
|
54
|
-
|
|
55
|
-
export default {
|
|
56
|
-
name: "name-editor",
|
|
57
|
-
mixins: [i18n],
|
|
58
|
-
props: {
|
|
59
|
-
designer: Object,
|
|
60
|
-
selectedWidget: Object,
|
|
61
|
-
optionModel: Object,
|
|
62
|
-
parentList: Array,
|
|
63
|
-
},
|
|
64
|
-
inject: ["serverFieldList", "getDesignerConfig", "isDataTableChildWidget"],
|
|
65
|
-
data() {
|
|
66
|
-
return {
|
|
67
|
-
nameRequiredRule: [{ required: true, message: "name required" }],
|
|
68
|
-
};
|
|
69
|
-
},
|
|
70
|
-
computed: {
|
|
71
|
-
noFieldList() {
|
|
72
|
-
return !this.serverFieldList || this.serverFieldList.length <= 0;
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
widgetNameReadonly() {
|
|
76
|
-
return !!this.getDesignerConfig().widgetNameReadonly;
|
|
77
|
-
},
|
|
78
|
-
showAuthCode() {
|
|
79
|
-
// return this.selectedWidget.category !== "container";
|
|
80
|
-
return [
|
|
81
|
-
"button",
|
|
82
|
-
"a-text",
|
|
83
|
-
"a-link",
|
|
84
|
-
"a-link2",
|
|
85
|
-
"search_button",
|
|
86
|
-
"save_button",
|
|
87
|
-
"reset_button",
|
|
88
|
-
"table-export-button",
|
|
89
|
-
"select-export-button",
|
|
90
|
-
"add_button",
|
|
91
|
-
"import-button",
|
|
92
|
-
"import2-button",
|
|
93
|
-
"print-button",
|
|
94
|
-
"print-detail-button",
|
|
95
|
-
"download-button",
|
|
96
|
-
"copy_button",
|
|
97
|
-
"save_submit_wf_button",
|
|
98
|
-
"tempStorage",
|
|
99
|
-
"dropdown",
|
|
100
|
-
"dropdown-item",
|
|
101
|
-
].includes(this.selectedWidget.type);
|
|
102
|
-
},
|
|
103
|
-
authCode() {
|
|
104
|
-
return (
|
|
105
|
-
this.designer.vueInstance?.reportTemplate?.formCode + ":" + this.optionModel.name
|
|
106
|
-
);
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
methods: {
|
|
110
|
-
copyAuthCode(e){
|
|
111
|
-
this.copyToClipboard(this.authCode, e, this.$message, '复制成功', '复制失败');
|
|
112
|
-
},
|
|
113
|
-
copyToClipboard(content, clickEvent, $message, successMsg, errorMsg) {
|
|
114
|
-
const clipboard = new Clipboard(clickEvent.target, {
|
|
115
|
-
text: () => content
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
clipboard.on('success', () => {
|
|
119
|
-
$message.success(successMsg);
|
|
120
|
-
clipboard.destroy();
|
|
121
|
-
})
|
|
122
|
-
|
|
123
|
-
clipboard.on('error', () => {
|
|
124
|
-
$message.error(errorMsg);
|
|
125
|
-
clipboard.destroy();
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
clipboard.onClick(clickEvent);
|
|
129
|
-
},
|
|
130
|
-
updateWidgetNameAndRef(newName) {
|
|
131
|
-
let oldName = this.designer.selectedWidgetName;
|
|
132
|
-
if (isEmptyStr(newName)) {
|
|
133
|
-
this.selectedWidget.options.name = oldName;
|
|
134
|
-
this.$message.info(this.i18nt("designer.hint.nameRequired"));
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
if (!!this.designer.formWidget) {
|
|
139
|
-
let foundRef = this.designer.formWidget.getWidgetRef(newName); // 检查newName是否已存在!!
|
|
140
|
-
|
|
141
|
-
if (!!foundRef) {
|
|
142
|
-
if (this.isDataTableChildWidget()) {
|
|
143
|
-
let parentList = this.parentList;
|
|
144
|
-
for (let i; i < parentList.length; i++) {}
|
|
145
|
-
} else {
|
|
146
|
-
this.selectedWidget.options.name = oldName;
|
|
147
|
-
this.$message.info(this.i18nt("designer.hint.duplicateName") + newName);
|
|
148
|
-
return;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
let widgetInDesign = this.designer.formWidget.getWidgetRef(oldName);
|
|
153
|
-
if (!!widgetInDesign && !!widgetInDesign.registerToRefList) {
|
|
154
|
-
widgetInDesign.registerToRefList(oldName); //注册组件新的ref名称并删除老的ref!!
|
|
155
|
-
let newLabel = this.getLabelByFieldName(newName);
|
|
156
|
-
this.designer.updateSelectedWidgetNameAndLabel(
|
|
157
|
-
this.selectedWidget,
|
|
158
|
-
newName,
|
|
159
|
-
newLabel
|
|
160
|
-
);
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
|
|
165
|
-
getLabelByFieldName(fieldName) {
|
|
166
|
-
for (let i = 0; i < this.serverFieldList.length; i++) {
|
|
167
|
-
if (this.serverFieldList[i].name === fieldName) {
|
|
168
|
-
return this.serverFieldList[i].label;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
return null;
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
};
|
|
176
|
-
</script>
|
|
177
|
-
|
|
178
|
-
<style lang="scss" scoped></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-form-item class="form-item-label-top" prop="name" :rules="nameRequiredRule">
|
|
4
|
+
<span slot="label"
|
|
5
|
+
>{{ i18nt("designer.setting.uniqueName") }}
|
|
6
|
+
<el-tooltip effect="light" :content="i18nt('designer.setting.editNameHelp')">
|
|
7
|
+
<i class="el-icon-info"></i
|
|
8
|
+
></el-tooltip>
|
|
9
|
+
</span>
|
|
10
|
+
<template
|
|
11
|
+
v-if="
|
|
12
|
+
(!!selectedWidget.category && selectedWidget.type !== 'sub-form') || noFieldList
|
|
13
|
+
"
|
|
14
|
+
>
|
|
15
|
+
<el-input
|
|
16
|
+
type="text"
|
|
17
|
+
v-model="optionModel.name"
|
|
18
|
+
:readonly="widgetNameReadonly"
|
|
19
|
+
@change="updateWidgetNameAndRef"
|
|
20
|
+
></el-input>
|
|
21
|
+
</template>
|
|
22
|
+
<template v-else>
|
|
23
|
+
<el-select
|
|
24
|
+
v-model="optionModel.name"
|
|
25
|
+
allow-create
|
|
26
|
+
filterable
|
|
27
|
+
:disabled="true"
|
|
28
|
+
@change="updateWidgetNameAndRef"
|
|
29
|
+
:title="i18nt('designer.setting.editNameHelp')"
|
|
30
|
+
>
|
|
31
|
+
<el-option
|
|
32
|
+
v-for="(sf, sfIdx) in serverFieldList"
|
|
33
|
+
:key="sfIdx"
|
|
34
|
+
:label="sf.label"
|
|
35
|
+
:value="sf.name"
|
|
36
|
+
></el-option>
|
|
37
|
+
</el-select>
|
|
38
|
+
</template>
|
|
39
|
+
</el-form-item>
|
|
40
|
+
<el-form-item label="按钮编码" v-show="showAuthCode">
|
|
41
|
+
<div style="word-break: break-all">
|
|
42
|
+
<el-tooltip effect="light" content="复制">
|
|
43
|
+
<a class="a-link" style="color: unset;" @click="copyAuthCode"><span><i class="el-icon-copy-document" style="margin-right:2px"></i>{{ authCode }}</span></a>
|
|
44
|
+
</el-tooltip>
|
|
45
|
+
</div>
|
|
46
|
+
</el-form-item>
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
49
|
+
|
|
50
|
+
<script>
|
|
51
|
+
import i18n from "../../../../../components/xform/utils/i18n";
|
|
52
|
+
import { isEmptyStr } from "../../../../../components/xform/utils/util";
|
|
53
|
+
import Clipboard from 'clipboard'
|
|
54
|
+
|
|
55
|
+
export default {
|
|
56
|
+
name: "name-editor",
|
|
57
|
+
mixins: [i18n],
|
|
58
|
+
props: {
|
|
59
|
+
designer: Object,
|
|
60
|
+
selectedWidget: Object,
|
|
61
|
+
optionModel: Object,
|
|
62
|
+
parentList: Array,
|
|
63
|
+
},
|
|
64
|
+
inject: ["serverFieldList", "getDesignerConfig", "isDataTableChildWidget"],
|
|
65
|
+
data() {
|
|
66
|
+
return {
|
|
67
|
+
nameRequiredRule: [{ required: true, message: "name required" }],
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
computed: {
|
|
71
|
+
noFieldList() {
|
|
72
|
+
return !this.serverFieldList || this.serverFieldList.length <= 0;
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
widgetNameReadonly() {
|
|
76
|
+
return !!this.getDesignerConfig().widgetNameReadonly;
|
|
77
|
+
},
|
|
78
|
+
showAuthCode() {
|
|
79
|
+
// return this.selectedWidget.category !== "container";
|
|
80
|
+
return [
|
|
81
|
+
"button",
|
|
82
|
+
"a-text",
|
|
83
|
+
"a-link",
|
|
84
|
+
"a-link2",
|
|
85
|
+
"search_button",
|
|
86
|
+
"save_button",
|
|
87
|
+
"reset_button",
|
|
88
|
+
"table-export-button",
|
|
89
|
+
"select-export-button",
|
|
90
|
+
"add_button",
|
|
91
|
+
"import-button",
|
|
92
|
+
"import2-button",
|
|
93
|
+
"print-button",
|
|
94
|
+
"print-detail-button",
|
|
95
|
+
"download-button",
|
|
96
|
+
"copy_button",
|
|
97
|
+
"save_submit_wf_button",
|
|
98
|
+
"tempStorage",
|
|
99
|
+
"dropdown",
|
|
100
|
+
"dropdown-item",
|
|
101
|
+
].includes(this.selectedWidget.type);
|
|
102
|
+
},
|
|
103
|
+
authCode() {
|
|
104
|
+
return (
|
|
105
|
+
this.designer.vueInstance?.reportTemplate?.formCode + ":" + this.optionModel.name
|
|
106
|
+
);
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
methods: {
|
|
110
|
+
copyAuthCode(e){
|
|
111
|
+
this.copyToClipboard(this.authCode, e, this.$message, '复制成功', '复制失败');
|
|
112
|
+
},
|
|
113
|
+
copyToClipboard(content, clickEvent, $message, successMsg, errorMsg) {
|
|
114
|
+
const clipboard = new Clipboard(clickEvent.target, {
|
|
115
|
+
text: () => content
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
clipboard.on('success', () => {
|
|
119
|
+
$message.success(successMsg);
|
|
120
|
+
clipboard.destroy();
|
|
121
|
+
})
|
|
122
|
+
|
|
123
|
+
clipboard.on('error', () => {
|
|
124
|
+
$message.error(errorMsg);
|
|
125
|
+
clipboard.destroy();
|
|
126
|
+
});
|
|
127
|
+
|
|
128
|
+
clipboard.onClick(clickEvent);
|
|
129
|
+
},
|
|
130
|
+
updateWidgetNameAndRef(newName) {
|
|
131
|
+
let oldName = this.designer.selectedWidgetName;
|
|
132
|
+
if (isEmptyStr(newName)) {
|
|
133
|
+
this.selectedWidget.options.name = oldName;
|
|
134
|
+
this.$message.info(this.i18nt("designer.hint.nameRequired"));
|
|
135
|
+
return;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (!!this.designer.formWidget) {
|
|
139
|
+
let foundRef = this.designer.formWidget.getWidgetRef(newName); // 检查newName是否已存在!!
|
|
140
|
+
|
|
141
|
+
if (!!foundRef) {
|
|
142
|
+
if (this.isDataTableChildWidget()) {
|
|
143
|
+
let parentList = this.parentList;
|
|
144
|
+
for (let i; i < parentList.length; i++) {}
|
|
145
|
+
} else {
|
|
146
|
+
this.selectedWidget.options.name = oldName;
|
|
147
|
+
this.$message.info(this.i18nt("designer.hint.duplicateName") + newName);
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
let widgetInDesign = this.designer.formWidget.getWidgetRef(oldName);
|
|
153
|
+
if (!!widgetInDesign && !!widgetInDesign.registerToRefList) {
|
|
154
|
+
widgetInDesign.registerToRefList(oldName); //注册组件新的ref名称并删除老的ref!!
|
|
155
|
+
let newLabel = this.getLabelByFieldName(newName);
|
|
156
|
+
this.designer.updateSelectedWidgetNameAndLabel(
|
|
157
|
+
this.selectedWidget,
|
|
158
|
+
newName,
|
|
159
|
+
newLabel
|
|
160
|
+
);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
getLabelByFieldName(fieldName) {
|
|
166
|
+
for (let i = 0; i < this.serverFieldList.length; i++) {
|
|
167
|
+
if (this.serverFieldList[i].name === fieldName) {
|
|
168
|
+
return this.serverFieldList[i].label;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
return null;
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
</script>
|
|
177
|
+
|
|
178
|
+
<style lang="scss" scoped></style>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<el-form-item :label="i18nt('脚本编码')">
|
|
3
|
+
<el-form-item :label="i18nt('脚本编码')" class="form-item-label-top">
|
|
4
4
|
<el-input type="text" v-model="optionModel.formScriptCode"></el-input>
|
|
5
5
|
</el-form-item>
|
|
6
|
-
<el-form-item :label="i18nt('日志类型')">
|
|
6
|
+
<el-form-item :label="i18nt('日志类型')" class="form-item-label-top">
|
|
7
7
|
<el-input type="text" v-model="optionModel.oplogTypeCode" placeholder="默认表单模板编码"></el-input>
|
|
8
8
|
</el-form-item>
|
|
9
|
-
<el-form-item :label="i18nt('业务唯一字段')">
|
|
9
|
+
<el-form-item :label="i18nt('业务唯一字段')" class="form-item-label-top">
|
|
10
10
|
<el-input type="text" v-model="optionModel.oplogBusinessKey" placeholder="默认单据id"></el-input>
|
|
11
11
|
</el-form-item>
|
|
12
12
|
</div>
|
package/src/components/xform/form-designer/setting-panel/property-editor/placeholder-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.placeholder')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.placeholder')" class="form-item-label-top">
|
|
3
3
|
<el-input type="textarea" :rows="3" v-model="optionModel.placeholder"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/precision-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.precision')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.precision')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.precision" class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/project-tag-editor.vue
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
<el-form-item label-width="0">
|
|
4
4
|
<el-divider class="custom-divider-margin-top">项目标签设置</el-divider>
|
|
5
5
|
</el-form-item>
|
|
6
|
-
<el-form-item label="标签长度">
|
|
6
|
+
<el-form-item label="标签长度" class="form-item-label-top">
|
|
7
7
|
<el-input v-model="optionModel.tagWidth" clearable></el-input>
|
|
8
8
|
</el-form-item>
|
|
9
|
-
<el-form-item label="弹框表单编码">
|
|
9
|
+
<el-form-item label="弹框表单编码" class="form-item-label-top">
|
|
10
10
|
<el-input v-model="optionModel.tagFormCode" clearable></el-input>
|
|
11
11
|
</el-form-item>
|
|
12
12
|
<el-form-item label="弹框查询参数">
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
<i class="el-icon-edit"></i>
|
|
20
20
|
</a>
|
|
21
21
|
</el-form-item>
|
|
22
|
-
<el-form-item label="展示字段">
|
|
22
|
+
<el-form-item label="展示字段" class="form-item-label-top">
|
|
23
23
|
<el-input v-model="optionModel.tagLabelField" clearable></el-input>
|
|
24
24
|
</el-form-item>
|
|
25
|
-
<el-form-item label="唯一关键字段">
|
|
25
|
+
<el-form-item label="唯一关键字段" class="form-item-label-top">
|
|
26
26
|
<el-input v-model="optionModel.tagUniqueField" clearable></el-input>
|
|
27
27
|
</el-form-item>
|
|
28
|
-
<el-form-item label="来源展示字段">
|
|
28
|
+
<el-form-item label="来源展示字段" class="form-item-label-top">
|
|
29
29
|
<el-input v-model="optionModel.tagFormLabelField" clearable></el-input>
|
|
30
30
|
</el-form-item>
|
|
31
|
-
<el-form-item label="来源唯一关键字段">
|
|
31
|
+
<el-form-item label="来源唯一关键字段" class="form-item-label-top">
|
|
32
32
|
<el-input v-model="optionModel.tagFormUniqueField" clearable></el-input>
|
|
33
33
|
</el-form-item>
|
|
34
34
|
|
package/src/components/xform/form-designer/setting-panel/property-editor/requiredHint-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.requiredHint')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.requiredHint')" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.requiredHint"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/space-editor-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.space')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.space')" class="form-item-label-top">
|
|
3
3
|
<el-input-number ref="fieldEditor" v-model="optionModel.space"></el-input-number>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/startPlaceholder-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.startPlaceholder')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.startPlaceholder')" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.startPlaceholder"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.step')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.step')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.step" class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/styleTableClass-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.styleTableClass')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.styleTableClass')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.styleTableClass">
|
|
4
4
|
<el-option v-for="(item, idx) in classList" :key="idx" :label="item.name" :value="item.value"></el-option>
|
|
5
5
|
</el-select>
|
package/src/components/xform/form-designer/setting-panel/property-editor/styleTitClass-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.styleTitClass')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.styleTitClass')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.styleTitClass">
|
|
4
4
|
<el-option v-for="(item, idx) in classList" :key="idx" :label="item.name" :value="item.value"></el-option>
|
|
5
5
|
</el-select>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.displayType')" v-if="selectedWidget.type === 'input'">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.displayType')" v-if="selectedWidget.type === 'input'" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.type">
|
|
4
4
|
<el-option label="text" value="text"></el-option>
|
|
5
5
|
<!-- 当input的type设置为number时,如果输入非数字字符,则v-model拿到的值为空字符串,无法实现输入校验!故屏蔽之!! -->
|
package/src/components/xform/form-designer/setting-panel/property-editor/uploadURL-editor.vue
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<el-form-item label-width="0">
|
|
4
4
|
<el-divider class="custom-divider">{{i18nt('designer.setting.uploadSetting')}}</el-divider>
|
|
5
5
|
</el-form-item>
|
|
6
|
-
<el-form-item :label="i18nt('designer.setting.uploadURL')">
|
|
6
|
+
<el-form-item :label="i18nt('designer.setting.uploadURL')" class="form-item-label-top">
|
|
7
7
|
<el-input type="text" v-model="optionModel.uploadURL"></el-input>
|
|
8
8
|
</el-form-item>
|
|
9
9
|
</div>
|