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
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
<el-form-item label-width="0">
|
|
4
4
|
<el-divider class="custom-divider">后端导入设置</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.importEntity"></el-input>
|
|
8
8
|
</el-form-item>
|
|
9
|
-
<el-form-item label="文件大小限制(M)">
|
|
9
|
+
<el-form-item label="文件大小限制(M)" class="form-item-label-top">
|
|
10
10
|
<base-input-number
|
|
11
11
|
v-model="optionModel.importFileLimitSize"
|
|
12
12
|
:max="200"
|
|
13
13
|
></base-input-number>
|
|
14
14
|
</el-form-item>
|
|
15
|
-
<el-form-item label="导入模板文件编码">
|
|
15
|
+
<el-form-item label="导入模板文件编码" class="form-item-label-top">
|
|
16
16
|
<el-input
|
|
17
17
|
class="search-input"
|
|
18
18
|
max="200"
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
<el-form-item label="导入模板文件名称">
|
|
34
34
|
<span>{{ optionModel.importAttachName }}</span>
|
|
35
35
|
</el-form-item>
|
|
36
|
-
<el-form-item label="关联表格唯一名称">
|
|
36
|
+
<el-form-item label="关联表格唯一名称" class="form-item-label-top">
|
|
37
37
|
<el-input v-model="optionModel.tableRef"></el-input>
|
|
38
38
|
</el-form-item>
|
|
39
|
-
<el-form-item label="执行后台脚本编码">
|
|
39
|
+
<el-form-item label="执行后台脚本编码" class="form-item-label-top">
|
|
40
40
|
<el-input v-model="optionModel.importScriptCode"></el-input>
|
|
41
41
|
</el-form-item>
|
|
42
42
|
<el-form-item label="多sheet导入">
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
<el-form-item label="批量导入">
|
|
46
46
|
<el-switch v-model="optionModel.importMultiple"></el-switch>
|
|
47
47
|
</el-form-item>
|
|
48
|
-
<el-form-item label="批量导入大小">
|
|
48
|
+
<el-form-item label="批量导入大小" class="form-item-label-top">
|
|
49
49
|
<base-input-number
|
|
50
50
|
v-model="optionModel.importMultiSize"
|
|
51
51
|
:max="200"
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
<el-form-item label-width="0">
|
|
4
4
|
<el-divider class="custom-divider">前端导入设置</el-divider>
|
|
5
5
|
</el-form-item>
|
|
6
|
-
<el-form-item label="文件大小限制(M)">
|
|
6
|
+
<el-form-item label="文件大小限制(M)" class="form-item-label-top">
|
|
7
7
|
<base-input-number v-model="optionModel.importFileLimitSize" :max="200"></base-input-number>
|
|
8
8
|
</el-form-item>
|
|
9
|
-
<el-form-item label="导入模板文件编码">
|
|
9
|
+
<el-form-item label="导入模板文件编码" class="form-item-label-top">
|
|
10
10
|
<el-input
|
|
11
11
|
class="search-input"
|
|
12
12
|
max="200"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<span>{{ optionModel.importAttachName }}</span>
|
|
22
22
|
</el-form-item>
|
|
23
23
|
|
|
24
|
-
<el-form-item label="关联表格唯一名称">
|
|
24
|
+
<el-form-item label="关联表格唯一名称" class="form-item-label-top">
|
|
25
25
|
<el-input v-model="optionModel.tableRef"></el-input>
|
|
26
26
|
</el-form-item>
|
|
27
27
|
<el-form-item label="点击前置事件" label-width="150px">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.controlsPosition')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.controlsPosition')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.controlsPosition">
|
|
4
4
|
<el-option label="default" value=""></el-option>
|
|
5
5
|
<el-option label="right" value="right"></el-option>
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form-item>
|
|
3
|
-
<span slot="label">{{i18nt('designer.setting.fileTypes')}}
|
|
4
|
-
<el-tooltip effect="light" :content="i18nt('designer.setting.fileTypesHelp')">
|
|
5
|
-
<i class="el-icon-info"></i></el-tooltip>
|
|
6
|
-
</span>
|
|
7
|
-
<el-select multiple allow-create filterable default-first-option
|
|
8
|
-
v-model="optionModel.fileTypes" style="width: 100%">
|
|
9
|
-
<el-option v-for="(ft, ftIdx) in uploadPictureTypes"
|
|
10
|
-
:key="ftIdx"
|
|
11
|
-
:label="ft.label"
|
|
12
|
-
:value="ft.value">
|
|
13
|
-
</el-option>
|
|
14
|
-
</el-select>
|
|
15
|
-
</el-form-item>
|
|
16
|
-
</template>
|
|
17
|
-
|
|
18
|
-
<script>
|
|
19
|
-
import i18n from "../../../../../../components/xform/utils/i18n"
|
|
20
|
-
|
|
21
|
-
export default {
|
|
22
|
-
name: "picture-upload-fileTypes-editor",
|
|
23
|
-
mixins: [i18n],
|
|
24
|
-
props: {
|
|
25
|
-
designer: Object,
|
|
26
|
-
selectedWidget: Object,
|
|
27
|
-
optionModel: Object,
|
|
28
|
-
},
|
|
29
|
-
data() {
|
|
30
|
-
return {
|
|
31
|
-
uploadPictureTypes: [
|
|
32
|
-
{value: 'jpg', label: 'jpg'},
|
|
33
|
-
{value: 'jpeg', label: 'jpeg'},
|
|
34
|
-
{value: 'png', label: 'png'},
|
|
35
|
-
{value: 'gif', label: 'gif'},
|
|
36
|
-
],
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
</script>
|
|
41
|
-
|
|
42
|
-
<style scoped>
|
|
43
|
-
|
|
44
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item class="form-item-label-top">
|
|
3
|
+
<span slot="label">{{i18nt('designer.setting.fileTypes')}}
|
|
4
|
+
<el-tooltip effect="light" :content="i18nt('designer.setting.fileTypesHelp')">
|
|
5
|
+
<i class="el-icon-info"></i></el-tooltip>
|
|
6
|
+
</span>
|
|
7
|
+
<el-select multiple allow-create filterable default-first-option
|
|
8
|
+
v-model="optionModel.fileTypes" style="width: 100%">
|
|
9
|
+
<el-option v-for="(ft, ftIdx) in uploadPictureTypes"
|
|
10
|
+
:key="ftIdx"
|
|
11
|
+
:label="ft.label"
|
|
12
|
+
:value="ft.value">
|
|
13
|
+
</el-option>
|
|
14
|
+
</el-select>
|
|
15
|
+
</el-form-item>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script>
|
|
19
|
+
import i18n from "../../../../../../components/xform/utils/i18n"
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
name: "picture-upload-fileTypes-editor",
|
|
23
|
+
mixins: [i18n],
|
|
24
|
+
props: {
|
|
25
|
+
designer: Object,
|
|
26
|
+
selectedWidget: Object,
|
|
27
|
+
optionModel: Object,
|
|
28
|
+
},
|
|
29
|
+
data() {
|
|
30
|
+
return {
|
|
31
|
+
uploadPictureTypes: [
|
|
32
|
+
{value: 'jpg', label: 'jpg'},
|
|
33
|
+
{value: 'jpeg', label: 'jpeg'},
|
|
34
|
+
{value: 'png', label: 'png'},
|
|
35
|
+
{value: 'gif', label: 'gif'},
|
|
36
|
+
],
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<style scoped>
|
|
43
|
+
|
|
44
|
+
</style>
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-form-item label-width="0">
|
|
4
|
-
<el-divider class="custom-divider">打印设置</el-divider>
|
|
5
|
-
</el-form-item>
|
|
6
|
-
<!-- <el-form-item label="启用自定义按钮名称">
|
|
7
|
-
<el-switch v-model="optionModel.customLabelEnabled"></el-switch>
|
|
8
|
-
</el-form-item> -->
|
|
9
|
-
<el-form-item label="表格唯一名称">
|
|
10
|
-
<el-input v-model="optionModel.printTableRef"></el-input>
|
|
11
|
-
</el-form-item>
|
|
12
|
-
<!-- <el-form-item label="打印自定义条件参数">
|
|
13
|
-
<a href="javascript:void(0);" class="a-link link-oneLind"
|
|
14
|
-
@click="editEventHandler('printCustomCondition', printConditionParams)">
|
|
15
|
-
<span>{{ optionModel.printCustomCondition }}</span>
|
|
16
|
-
<i class="el-icon-edit"></i>
|
|
17
|
-
</a>
|
|
18
|
-
</el-form-item> -->
|
|
19
|
-
<el-form-item label="输出模板编码"></el-form-item>
|
|
20
|
-
<el-form-item label-width="0">
|
|
21
|
-
<draggable
|
|
22
|
-
tag="ul"
|
|
23
|
-
class="draggable-box"
|
|
24
|
-
:list="optionModel.printItems"
|
|
25
|
-
v-bind="{ group: 'optionsGroup', ghostClass: 'ghost', handle: '.drag-option' }"
|
|
26
|
-
>
|
|
27
|
-
<li v-for="(item, index) in optionModel.printItems" :key="index" class="col-item">
|
|
28
|
-
<i class="el-icon-s-operation drag-option"></i>
|
|
29
|
-
<el-input
|
|
30
|
-
v-model="item.code"
|
|
31
|
-
class="cell-span-input"
|
|
32
|
-
style="width: 160px !important"
|
|
33
|
-
></el-input>
|
|
34
|
-
<el-button
|
|
35
|
-
circle
|
|
36
|
-
plain
|
|
37
|
-
size="mini"
|
|
38
|
-
type="danger"
|
|
39
|
-
@click="deleteItem(index)"
|
|
40
|
-
icon="el-icon-minus"
|
|
41
|
-
class="col-delete-button"
|
|
42
|
-
style="position: unset"
|
|
43
|
-
></el-button>
|
|
44
|
-
</li>
|
|
45
|
-
</draggable>
|
|
46
|
-
<div>
|
|
47
|
-
<el-button
|
|
48
|
-
type="text"
|
|
49
|
-
@click="addItem"
|
|
50
|
-
icon="el-icon-circle-plus-outline"
|
|
51
|
-
class="add-option"
|
|
52
|
-
>
|
|
53
|
-
新增
|
|
54
|
-
</el-button>
|
|
55
|
-
</div>
|
|
56
|
-
</el-form-item>
|
|
57
|
-
</div>
|
|
58
|
-
</template>
|
|
59
|
-
|
|
60
|
-
<script>
|
|
61
|
-
import i18n from "../../../../../../components/xform/utils/i18n";
|
|
62
|
-
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
63
|
-
import Draggable from "vuedraggable";
|
|
64
|
-
|
|
65
|
-
export default {
|
|
66
|
-
name: "print-button-editor",
|
|
67
|
-
mixins: [i18n, eventMixin],
|
|
68
|
-
components: {
|
|
69
|
-
Draggable,
|
|
70
|
-
},
|
|
71
|
-
props: {
|
|
72
|
-
designer: Object,
|
|
73
|
-
selectedWidget: Object,
|
|
74
|
-
optionModel: Object,
|
|
75
|
-
},
|
|
76
|
-
data() {
|
|
77
|
-
return {
|
|
78
|
-
eventParams: [],
|
|
79
|
-
printConditionParams: ["dataId", "formCode", "exportTemplate"],
|
|
80
|
-
};
|
|
81
|
-
},
|
|
82
|
-
methods: {
|
|
83
|
-
deleteItem(index) {
|
|
84
|
-
this.optionModel.printItems.splice(index, 1);
|
|
85
|
-
},
|
|
86
|
-
addItem() {
|
|
87
|
-
this.optionModel.printItems.push({ code: null });
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
};
|
|
91
|
-
</script>
|
|
92
|
-
|
|
93
|
-
<style lang="scss" scoped>
|
|
94
|
-
.option-items-pane ul {
|
|
95
|
-
padding-inline-start: 6px;
|
|
96
|
-
padding-left: 6px; /* 重置IE11默认样式 */
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
li.ghost {
|
|
100
|
-
background: #fff;
|
|
101
|
-
border: 2px dotted $--color-primary;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.drag-option {
|
|
105
|
-
cursor: move;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.small-padding-dialog ::v-deep .el-dialog__body {
|
|
109
|
-
padding: 10px 15px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.dialog-footer .el-button {
|
|
113
|
-
width: 100px;
|
|
114
|
-
}
|
|
115
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-form-item label-width="0">
|
|
4
|
+
<el-divider class="custom-divider">打印设置</el-divider>
|
|
5
|
+
</el-form-item>
|
|
6
|
+
<!-- <el-form-item label="启用自定义按钮名称">
|
|
7
|
+
<el-switch v-model="optionModel.customLabelEnabled"></el-switch>
|
|
8
|
+
</el-form-item> -->
|
|
9
|
+
<el-form-item label="表格唯一名称" class="form-item-label-top">
|
|
10
|
+
<el-input v-model="optionModel.printTableRef"></el-input>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
<!-- <el-form-item label="打印自定义条件参数">
|
|
13
|
+
<a href="javascript:void(0);" class="a-link link-oneLind"
|
|
14
|
+
@click="editEventHandler('printCustomCondition', printConditionParams)">
|
|
15
|
+
<span>{{ optionModel.printCustomCondition }}</span>
|
|
16
|
+
<i class="el-icon-edit"></i>
|
|
17
|
+
</a>
|
|
18
|
+
</el-form-item> -->
|
|
19
|
+
<el-form-item label="输出模板编码"></el-form-item>
|
|
20
|
+
<el-form-item class="form-item-label-top" label-width="0">
|
|
21
|
+
<draggable
|
|
22
|
+
tag="ul"
|
|
23
|
+
class="draggable-box"
|
|
24
|
+
:list="optionModel.printItems"
|
|
25
|
+
v-bind="{ group: 'optionsGroup', ghostClass: 'ghost', handle: '.drag-option' }"
|
|
26
|
+
>
|
|
27
|
+
<li v-for="(item, index) in optionModel.printItems" :key="index" class="col-item">
|
|
28
|
+
<i class="el-icon-s-operation drag-option"></i>
|
|
29
|
+
<el-input
|
|
30
|
+
v-model="item.code"
|
|
31
|
+
class="cell-span-input"
|
|
32
|
+
style="width: 160px !important"
|
|
33
|
+
></el-input>
|
|
34
|
+
<el-button
|
|
35
|
+
circle
|
|
36
|
+
plain
|
|
37
|
+
size="mini"
|
|
38
|
+
type="danger"
|
|
39
|
+
@click="deleteItem(index)"
|
|
40
|
+
icon="el-icon-minus"
|
|
41
|
+
class="col-delete-button"
|
|
42
|
+
style="position: unset"
|
|
43
|
+
></el-button>
|
|
44
|
+
</li>
|
|
45
|
+
</draggable>
|
|
46
|
+
<div>
|
|
47
|
+
<el-button
|
|
48
|
+
type="text"
|
|
49
|
+
@click="addItem"
|
|
50
|
+
icon="el-icon-circle-plus-outline"
|
|
51
|
+
class="add-option"
|
|
52
|
+
>
|
|
53
|
+
新增
|
|
54
|
+
</el-button>
|
|
55
|
+
</div>
|
|
56
|
+
</el-form-item>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
|
|
60
|
+
<script>
|
|
61
|
+
import i18n from "../../../../../../components/xform/utils/i18n";
|
|
62
|
+
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
63
|
+
import Draggable from "vuedraggable";
|
|
64
|
+
|
|
65
|
+
export default {
|
|
66
|
+
name: "print-button-editor",
|
|
67
|
+
mixins: [i18n, eventMixin],
|
|
68
|
+
components: {
|
|
69
|
+
Draggable,
|
|
70
|
+
},
|
|
71
|
+
props: {
|
|
72
|
+
designer: Object,
|
|
73
|
+
selectedWidget: Object,
|
|
74
|
+
optionModel: Object,
|
|
75
|
+
},
|
|
76
|
+
data() {
|
|
77
|
+
return {
|
|
78
|
+
eventParams: [],
|
|
79
|
+
printConditionParams: ["dataId", "formCode", "exportTemplate"],
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
methods: {
|
|
83
|
+
deleteItem(index) {
|
|
84
|
+
this.optionModel.printItems.splice(index, 1);
|
|
85
|
+
},
|
|
86
|
+
addItem() {
|
|
87
|
+
this.optionModel.printItems.push({ code: null });
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
</script>
|
|
92
|
+
|
|
93
|
+
<style lang="scss" scoped>
|
|
94
|
+
.option-items-pane ul {
|
|
95
|
+
padding-inline-start: 6px;
|
|
96
|
+
padding-left: 6px; /* 重置IE11默认样式 */
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
li.ghost {
|
|
100
|
+
background: #fff;
|
|
101
|
+
border: 2px dotted $--color-primary;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.drag-option {
|
|
105
|
+
cursor: move;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.small-padding-dialog ::v-deep .el-dialog__body {
|
|
109
|
+
padding: 10px 15px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.dialog-footer .el-button {
|
|
113
|
+
width: 100px;
|
|
114
|
+
}
|
|
115
|
+
</style>
|
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-form-item label-width="0">
|
|
4
|
-
<el-divider class="custom-divider">详情打印设置</el-divider>
|
|
5
|
-
</el-form-item>
|
|
6
|
-
<!-- <el-form-item label="启用自定义按钮名称">
|
|
7
|
-
<el-switch v-model="optionModel.customLabelEnabled"></el-switch>
|
|
8
|
-
</el-form-item> -->
|
|
9
|
-
<el-form-item label="打印自定义条件参数">
|
|
10
|
-
<a
|
|
11
|
-
href="javascript:void(0);"
|
|
12
|
-
class="a-link link-oneLind"
|
|
13
|
-
@click="editEventHandler('printCustomCondition', printConditionParams)"
|
|
14
|
-
>
|
|
15
|
-
<span>{{ optionModel.printCustomCondition }}</span>
|
|
16
|
-
<i class="el-icon-edit"></i>
|
|
17
|
-
</a>
|
|
18
|
-
</el-form-item>
|
|
19
|
-
<el-form-item label="输出模板编码"></el-form-item>
|
|
20
|
-
<el-form-item label-width="0">
|
|
21
|
-
<draggable
|
|
22
|
-
tag="ul"
|
|
23
|
-
class="draggable-box"
|
|
24
|
-
:list="optionModel.printItems"
|
|
25
|
-
v-bind="{ group: 'optionsGroup', ghostClass: 'ghost', handle: '.drag-option' }"
|
|
26
|
-
>
|
|
27
|
-
<li v-for="(item, index) in optionModel.printItems" :key="index" class="col-item">
|
|
28
|
-
<i class="el-icon-s-operation drag-option"></i>
|
|
29
|
-
<el-input
|
|
30
|
-
v-model="item.code"
|
|
31
|
-
class="cell-span-input"
|
|
32
|
-
style="width: 160px !important"
|
|
33
|
-
></el-input>
|
|
34
|
-
<el-button
|
|
35
|
-
circle
|
|
36
|
-
plain
|
|
37
|
-
size="mini"
|
|
38
|
-
type="danger"
|
|
39
|
-
@click="deleteItem(index)"
|
|
40
|
-
icon="el-icon-minus"
|
|
41
|
-
class="col-delete-button"
|
|
42
|
-
style="position: unset"
|
|
43
|
-
></el-button>
|
|
44
|
-
</li>
|
|
45
|
-
</draggable>
|
|
46
|
-
<div>
|
|
47
|
-
<el-button
|
|
48
|
-
type="text"
|
|
49
|
-
@click="addItem"
|
|
50
|
-
icon="el-icon-circle-plus-outline"
|
|
51
|
-
class="add-option"
|
|
52
|
-
>
|
|
53
|
-
新增
|
|
54
|
-
</el-button>
|
|
55
|
-
</div>
|
|
56
|
-
</el-form-item>
|
|
57
|
-
</div>
|
|
58
|
-
</template>
|
|
59
|
-
|
|
60
|
-
<script>
|
|
61
|
-
import i18n from "../../../../../../components/xform/utils/i18n";
|
|
62
|
-
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
63
|
-
import Draggable from "vuedraggable";
|
|
64
|
-
|
|
65
|
-
export default {
|
|
66
|
-
name: "print-detail-button-editor",
|
|
67
|
-
mixins: [i18n, eventMixin],
|
|
68
|
-
components: {
|
|
69
|
-
Draggable,
|
|
70
|
-
},
|
|
71
|
-
props: {
|
|
72
|
-
designer: Object,
|
|
73
|
-
selectedWidget: Object,
|
|
74
|
-
optionModel: Object,
|
|
75
|
-
},
|
|
76
|
-
data() {
|
|
77
|
-
return {
|
|
78
|
-
eventParams: [],
|
|
79
|
-
printConditionParams: ["dataId", "formCode", "exportTemplate"],
|
|
80
|
-
};
|
|
81
|
-
},
|
|
82
|
-
methods: {
|
|
83
|
-
deleteItem(index) {
|
|
84
|
-
this.optionModel.printItems.splice(index, 1);
|
|
85
|
-
},
|
|
86
|
-
addItem() {
|
|
87
|
-
this.optionModel.printItems.push({ code: null });
|
|
88
|
-
},
|
|
89
|
-
},
|
|
90
|
-
};
|
|
91
|
-
</script>
|
|
92
|
-
|
|
93
|
-
<style lang="scss" scoped>
|
|
94
|
-
.option-items-pane ul {
|
|
95
|
-
padding-inline-start: 6px;
|
|
96
|
-
padding-left: 6px; /* 重置IE11默认样式 */
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
li.ghost {
|
|
100
|
-
background: #fff;
|
|
101
|
-
border: 2px dotted $--color-primary;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.drag-option {
|
|
105
|
-
cursor: move;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.small-padding-dialog ::v-deep .el-dialog__body {
|
|
109
|
-
padding: 10px 15px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.dialog-footer .el-button {
|
|
113
|
-
width: 100px;
|
|
114
|
-
}
|
|
115
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-form-item label-width="0">
|
|
4
|
+
<el-divider class="custom-divider">详情打印设置</el-divider>
|
|
5
|
+
</el-form-item>
|
|
6
|
+
<!-- <el-form-item label="启用自定义按钮名称">
|
|
7
|
+
<el-switch v-model="optionModel.customLabelEnabled"></el-switch>
|
|
8
|
+
</el-form-item> -->
|
|
9
|
+
<el-form-item label="打印自定义条件参数">
|
|
10
|
+
<a
|
|
11
|
+
href="javascript:void(0);"
|
|
12
|
+
class="a-link link-oneLind"
|
|
13
|
+
@click="editEventHandler('printCustomCondition', printConditionParams)"
|
|
14
|
+
>
|
|
15
|
+
<span>{{ optionModel.printCustomCondition }}</span>
|
|
16
|
+
<i class="el-icon-edit"></i>
|
|
17
|
+
</a>
|
|
18
|
+
</el-form-item>
|
|
19
|
+
<el-form-item label="输出模板编码"></el-form-item>
|
|
20
|
+
<el-form-item class="form-item-label-top" label-width="0">
|
|
21
|
+
<draggable
|
|
22
|
+
tag="ul"
|
|
23
|
+
class="draggable-box"
|
|
24
|
+
:list="optionModel.printItems"
|
|
25
|
+
v-bind="{ group: 'optionsGroup', ghostClass: 'ghost', handle: '.drag-option' }"
|
|
26
|
+
>
|
|
27
|
+
<li v-for="(item, index) in optionModel.printItems" :key="index" class="col-item">
|
|
28
|
+
<i class="el-icon-s-operation drag-option"></i>
|
|
29
|
+
<el-input
|
|
30
|
+
v-model="item.code"
|
|
31
|
+
class="cell-span-input"
|
|
32
|
+
style="width: 160px !important"
|
|
33
|
+
></el-input>
|
|
34
|
+
<el-button
|
|
35
|
+
circle
|
|
36
|
+
plain
|
|
37
|
+
size="mini"
|
|
38
|
+
type="danger"
|
|
39
|
+
@click="deleteItem(index)"
|
|
40
|
+
icon="el-icon-minus"
|
|
41
|
+
class="col-delete-button"
|
|
42
|
+
style="position: unset"
|
|
43
|
+
></el-button>
|
|
44
|
+
</li>
|
|
45
|
+
</draggable>
|
|
46
|
+
<div>
|
|
47
|
+
<el-button
|
|
48
|
+
type="text"
|
|
49
|
+
@click="addItem"
|
|
50
|
+
icon="el-icon-circle-plus-outline"
|
|
51
|
+
class="add-option"
|
|
52
|
+
>
|
|
53
|
+
新增
|
|
54
|
+
</el-button>
|
|
55
|
+
</div>
|
|
56
|
+
</el-form-item>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
|
|
60
|
+
<script>
|
|
61
|
+
import i18n from "../../../../../../components/xform/utils/i18n";
|
|
62
|
+
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
63
|
+
import Draggable from "vuedraggable";
|
|
64
|
+
|
|
65
|
+
export default {
|
|
66
|
+
name: "print-detail-button-editor",
|
|
67
|
+
mixins: [i18n, eventMixin],
|
|
68
|
+
components: {
|
|
69
|
+
Draggable,
|
|
70
|
+
},
|
|
71
|
+
props: {
|
|
72
|
+
designer: Object,
|
|
73
|
+
selectedWidget: Object,
|
|
74
|
+
optionModel: Object,
|
|
75
|
+
},
|
|
76
|
+
data() {
|
|
77
|
+
return {
|
|
78
|
+
eventParams: [],
|
|
79
|
+
printConditionParams: ["dataId", "formCode", "exportTemplate"],
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
methods: {
|
|
83
|
+
deleteItem(index) {
|
|
84
|
+
this.optionModel.printItems.splice(index, 1);
|
|
85
|
+
},
|
|
86
|
+
addItem() {
|
|
87
|
+
this.optionModel.printItems.push({ code: null });
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
};
|
|
91
|
+
</script>
|
|
92
|
+
|
|
93
|
+
<style lang="scss" scoped>
|
|
94
|
+
.option-items-pane ul {
|
|
95
|
+
padding-inline-start: 6px;
|
|
96
|
+
padding-left: 6px; /* 重置IE11默认样式 */
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
li.ghost {
|
|
100
|
+
background: #fff;
|
|
101
|
+
border: 2px dotted $--color-primary;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.drag-option {
|
|
105
|
+
cursor: move;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.small-padding-dialog ::v-deep .el-dialog__body {
|
|
109
|
+
padding: 10px 15px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.dialog-footer .el-button {
|
|
113
|
+
width: 100px;
|
|
114
|
+
}
|
|
115
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.highThreshold')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.highThreshold')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.highThreshold" :min="optionModel.lowThreshold" :max="optionModel.max"
|
|
4
4
|
class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
5
5
|
</el-form-item>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.lowThreshold')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.lowThreshold')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.lowThreshold" :min="1" :max="optionModel.highThreshold"
|
|
4
4
|
class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
5
5
|
</el-form-item>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.defaultValue')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.defaultValue')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.defaultValue" :max="optionModel.max" style="width: 100%"
|
|
4
4
|
@change="emitDefaultValueChange">
|
|
5
5
|
</el-input-number>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.maxStars')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.maxStars')" class="form-item-label-top">
|
|
3
3
|
<el-input-number v-model="optionModel.max" :min="1" :max="10"
|
|
4
4
|
class="hide-spin-button" style="width: 100%"></el-input-number>
|
|
5
5
|
</el-form-item>
|