cloud-web-corejs 1.0.54-dev.798 → 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 -1144
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<el-form-item :label="i18nt('designer.setting.customClass')">
|
|
3
|
+
<el-form-item :label="i18nt('designer.setting.customClass')" class="form-item-label-top">
|
|
4
4
|
<el-select v-model="optionModel.customClass" multiple filterable allow-create
|
|
5
5
|
default-first-option>
|
|
6
6
|
<el-option v-for="(item, idx) in cssClassList" :key="idx" :label="item" :value="item"></el-option>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<el-form-item label="禁用本地筛选">
|
|
10
10
|
<el-switch v-model="optionModel.disLocalFilter"></el-switch>
|
|
11
11
|
</el-form-item>
|
|
12
|
-
<el-form-item label="筛选类型">
|
|
12
|
+
<el-form-item label="筛选类型" class="form-item-label-top">
|
|
13
13
|
<el-select v-model="optionModel.treeFilterType">
|
|
14
14
|
<el-option :value="0" label="文本"></el-option>
|
|
15
15
|
<el-option :value="1" label="日期"></el-option>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.cancelButtonLabel')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.cancelButtonLabel')" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.cancelButtonLabel"></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.okButtonLabel')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.okButtonLabel')" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.okButtonLabel"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/containerClass-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.containerClass')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.containerClass')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.containerClass">
|
|
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/customClass-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.customClass')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.customClass')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.customClass" multiple filterable allow-create
|
|
4
4
|
default-first-option>
|
|
5
5
|
<el-option v-for="(item, idx) in cssClassList" :key="idx" :label="item" :value="item"></el-option>
|
package/src/components/xform/form-designer/setting-panel/property-editor/defaultValue-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item v-if="!hasConfig('optionItems')" :label="i18nt('designer.setting.defaultValue')">
|
|
2
|
+
<el-form-item v-if="!hasConfig('optionItems')" :label="i18nt('designer.setting.defaultValue')" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.defaultValue"
|
|
4
4
|
@change="emitDefaultValueChange"></el-input>
|
|
5
5
|
</el-form-item>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<el-form-item :label="'操作区文本'"><el-input v-model="optionModel.extra" /></el-form-item>
|
|
4
|
-
<el-form-item :label="'一行列数'"><base-input-number v-model="optionModel.column" /></el-form-item>
|
|
5
|
-
<el-form-item :label="'排列方向'">
|
|
3
|
+
<el-form-item :label="'操作区文本'" class="form-item-label-top"><el-input v-model="optionModel.extra" /></el-form-item>
|
|
4
|
+
<el-form-item :label="'一行列数'" class="form-item-label-top"><base-input-number v-model="optionModel.column" /></el-form-item>
|
|
5
|
+
<el-form-item :label="'排列方向'" class="form-item-label-top">
|
|
6
6
|
<el-select v-model="optionModel.direction" filterable="" clearable="" placeholder="排列方向" size="mini">
|
|
7
7
|
<el-option value="vertical" label="vertical"></el-option>
|
|
8
8
|
<el-option value="horizontal" label="horizontal"></el-option>
|
|
9
9
|
</el-select>
|
|
10
10
|
</el-form-item>
|
|
11
|
-
<el-form-item :label="'列表尺寸'">
|
|
11
|
+
<el-form-item :label="'列表尺寸'" class="form-item-label-top">
|
|
12
12
|
<el-select v-model="optionModel.descriptionsSize" filterable="" clearable="" placeholder="列表尺寸" size="mini">
|
|
13
13
|
<el-option value="medium " label="medium "></el-option>
|
|
14
14
|
<el-option value="small " label="small "></el-option>
|
|
@@ -3,13 +3,13 @@
|
|
|
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.dataTableName" 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.attachmentType" clearable></el-input>
|
|
11
11
|
</el-form-item>
|
|
12
|
-
<el-form-item label="文件名">
|
|
12
|
+
<el-form-item label="文件名" class="form-item-label-top">
|
|
13
13
|
<el-input v-model="optionModel.fileName" clearable></el-input>
|
|
14
14
|
</el-form-item>
|
|
15
15
|
</div>
|
package/src/components/xform/form-designer/setting-panel/property-editor/dropdownFlag-editor.vue
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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-select
|
|
8
8
|
v-model="optionModel.dropdownType"
|
|
9
9
|
placeholder="请选择按钮样式"
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<el-option label="链接" value="link"></el-option>
|
|
13
13
|
</el-select>
|
|
14
14
|
</el-form-item>
|
|
15
|
-
<el-form-item label="下拉触发方式">
|
|
15
|
+
<el-form-item label="下拉触发方式" class="form-item-label-top">
|
|
16
16
|
<el-select
|
|
17
17
|
v-model="optionModel.dropdownTrigger"
|
|
18
18
|
placeholder="请选择下拉触发方式"
|
package/src/components/xform/form-designer/setting-panel/property-editor/echartHeight-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.echartHeight')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.echartHeight')" class="form-item-label-top">
|
|
3
3
|
<el-input v-model="optionModel.echartHeight" class="hide-spin-button"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
package/src/components/xform/form-designer/setting-panel/property-editor/endPlaceholder-editor.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.endPlaceholder')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.endPlaceholder')" class="form-item-label-top">
|
|
3
3
|
<el-input type="text" v-model="optionModel.endPlaceholder"></el-input>
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
|
@@ -3,7 +3,7 @@
|
|
|
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-select v-model="optionModel.accessReturnType">
|
|
8
8
|
<el-option value="1" label="集合List"></el-option>
|
|
9
9
|
<el-option value="2" label="分页集合数据"></el-option><!--
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<el-switch v-model="optionModel.formScriptEnabled"></el-switch>
|
|
15
15
|
</el-form-item>-->
|
|
16
16
|
<template>
|
|
17
|
-
<el-form-item label="表单脚本编码">
|
|
17
|
+
<el-form-item label="表单脚本编码" class="form-item-label-top">
|
|
18
18
|
<el-input v-model="optionModel.formScriptCode" clearable></el-input>
|
|
19
19
|
</el-form-item>
|
|
20
20
|
<el-form-item label="查询参数">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.areaDataType')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.areaDataType')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.areaDataType" style="width: 100%">
|
|
4
4
|
<el-option :label="i18nt('designer.setting.areaDataType0')" :value="0" />
|
|
5
5
|
<el-option :label="i18nt('designer.setting.areaDataType1')" :value="1" />
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form-item>
|
|
3
|
-
<span slot="label"
|
|
4
|
-
>{{ i18nt("designer.setting.areaMinLevel") }}
|
|
5
|
-
<el-tooltip
|
|
6
|
-
effect="light"
|
|
7
|
-
:content="i18nt('designer.setting.areaMinLevelHint')"
|
|
8
|
-
>
|
|
9
|
-
<i class="el-icon-info"></i>
|
|
10
|
-
</el-tooltip>
|
|
11
|
-
</span>
|
|
12
|
-
<el-select v-model="minLevel" style="width: 100%">
|
|
13
|
-
<el-option
|
|
14
|
-
:label="i18nt('designer.setting.areaMinLevelNone')"
|
|
15
|
-
:value="null"
|
|
16
|
-
/>
|
|
17
|
-
<el-option :label="i18nt('designer.setting.areaMinLevel0')" :value="0" />
|
|
18
|
-
<el-option :label="i18nt('designer.setting.areaMinLevel1')" :value="1" />
|
|
19
|
-
<el-option :label="i18nt('designer.setting.areaMinLevel2')" :value="2" />
|
|
20
|
-
<el-option :label="i18nt('designer.setting.areaMinLevel3')" :value="3" />
|
|
21
|
-
</el-select>
|
|
22
|
-
</el-form-item>
|
|
23
|
-
</template>
|
|
24
|
-
|
|
25
|
-
<script>
|
|
26
|
-
import i18n from "@base/components/xform/utils/i18n";
|
|
27
|
-
import propertyMixin from "@base/components/xform/form-designer/setting-panel/property-editor/propertyMixin";
|
|
28
|
-
|
|
29
|
-
export default {
|
|
30
|
-
name: "areaMinLevel-editor",
|
|
31
|
-
mixins: [i18n, propertyMixin],
|
|
32
|
-
props: {
|
|
33
|
-
designer: Object,
|
|
34
|
-
selectedWidget: Object,
|
|
35
|
-
optionModel: Object,
|
|
36
|
-
},
|
|
37
|
-
computed: {
|
|
38
|
-
minLevel: {
|
|
39
|
-
get() {
|
|
40
|
-
const val = this.optionModel.areaMinLevel;
|
|
41
|
-
return val == null || val === "" ? null : val;
|
|
42
|
-
},
|
|
43
|
-
set(val) {
|
|
44
|
-
/* 旧表单的 options 上可能没有该 key,需 $set 保证响应式 */
|
|
45
|
-
this.$set(this.optionModel, "areaMinLevel", val);
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
};
|
|
50
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<el-form-item class="form-item-label-top">
|
|
3
|
+
<span slot="label"
|
|
4
|
+
>{{ i18nt("designer.setting.areaMinLevel") }}
|
|
5
|
+
<el-tooltip
|
|
6
|
+
effect="light"
|
|
7
|
+
:content="i18nt('designer.setting.areaMinLevelHint')"
|
|
8
|
+
>
|
|
9
|
+
<i class="el-icon-info"></i>
|
|
10
|
+
</el-tooltip>
|
|
11
|
+
</span>
|
|
12
|
+
<el-select v-model="minLevel" style="width: 100%">
|
|
13
|
+
<el-option
|
|
14
|
+
:label="i18nt('designer.setting.areaMinLevelNone')"
|
|
15
|
+
:value="null"
|
|
16
|
+
/>
|
|
17
|
+
<el-option :label="i18nt('designer.setting.areaMinLevel0')" :value="0" />
|
|
18
|
+
<el-option :label="i18nt('designer.setting.areaMinLevel1')" :value="1" />
|
|
19
|
+
<el-option :label="i18nt('designer.setting.areaMinLevel2')" :value="2" />
|
|
20
|
+
<el-option :label="i18nt('designer.setting.areaMinLevel3')" :value="3" />
|
|
21
|
+
</el-select>
|
|
22
|
+
</el-form-item>
|
|
23
|
+
</template>
|
|
24
|
+
|
|
25
|
+
<script>
|
|
26
|
+
import i18n from "@base/components/xform/utils/i18n";
|
|
27
|
+
import propertyMixin from "@base/components/xform/form-designer/setting-panel/property-editor/propertyMixin";
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
name: "areaMinLevel-editor",
|
|
31
|
+
mixins: [i18n, propertyMixin],
|
|
32
|
+
props: {
|
|
33
|
+
designer: Object,
|
|
34
|
+
selectedWidget: Object,
|
|
35
|
+
optionModel: Object,
|
|
36
|
+
},
|
|
37
|
+
computed: {
|
|
38
|
+
minLevel: {
|
|
39
|
+
get() {
|
|
40
|
+
const val = this.optionModel.areaMinLevel;
|
|
41
|
+
return val == null || val === "" ? null : val;
|
|
42
|
+
},
|
|
43
|
+
set(val) {
|
|
44
|
+
/* 旧表单的 options 上可能没有该 key,需 $set 保证响应式 */
|
|
45
|
+
this.$set(this.optionModel, "areaMinLevel", val);
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.areaName')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.areaName')" class="form-item-label-top">
|
|
3
3
|
<el-input v-model="optionModel.areaName" :placeholder="i18nt('designer.setting.areaNameHint')" />
|
|
4
4
|
</el-form-item>
|
|
5
5
|
</template>
|
|
@@ -4,45 +4,45 @@
|
|
|
4
4
|
<el-divider class="custom-divider-margin-top">自动完成设置</el-divider>
|
|
5
5
|
</el-form-item>
|
|
6
6
|
|
|
7
|
-
<el-form-item label="展示字段">
|
|
7
|
+
<el-form-item label="展示字段" class="form-item-label-top">
|
|
8
8
|
<el-input
|
|
9
9
|
type="text"
|
|
10
10
|
v-model="optionModel.vabSearchName"
|
|
11
11
|
placeholder="表单中存储名称的字段"
|
|
12
12
|
></el-input>
|
|
13
13
|
</el-form-item>
|
|
14
|
-
<el-form-item label="关联来源字段">
|
|
14
|
+
<el-form-item label="关联来源字段" class="form-item-label-top">
|
|
15
15
|
<el-input
|
|
16
16
|
type="text"
|
|
17
17
|
v-model="optionModel.valueField"
|
|
18
18
|
placeholder="候选数据中作为值/ID的字段(默认字段本身),值存入字段本身"
|
|
19
19
|
></el-input>
|
|
20
20
|
</el-form-item>
|
|
21
|
-
<el-form-item label="展示来源字段">
|
|
21
|
+
<el-form-item label="展示来源字段" class="form-item-label-top">
|
|
22
22
|
<el-input
|
|
23
23
|
type="text"
|
|
24
24
|
v-model="optionModel.labelSourceField"
|
|
25
25
|
placeholder="候选数据中作为名称的字段(默认取展示字段)"
|
|
26
26
|
></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
|
|
30
30
|
type="text"
|
|
31
31
|
v-model="optionModel.queryField"
|
|
32
32
|
placeholder="condition格式时为字段名,否则为参数名(默认 keyword)"
|
|
33
33
|
></el-input>
|
|
34
34
|
</el-form-item>
|
|
35
|
-
<el-form-item label="condition传值格式">
|
|
35
|
+
<el-form-item label="condition传值格式" class="form-item-label-top">
|
|
36
36
|
<el-switch v-model="optionModel.conditionFormat"></el-switch>
|
|
37
37
|
</el-form-item>
|
|
38
|
-
<el-form-item label="查询数据表">
|
|
38
|
+
<el-form-item label="查询数据表" class="form-item-label-top">
|
|
39
39
|
<el-input
|
|
40
40
|
type="text"
|
|
41
41
|
v-model="optionModel.conditionTaBm"
|
|
42
42
|
placeholder="condition查询的数据表taBm(留空取字段本身)"
|
|
43
43
|
></el-input>
|
|
44
44
|
</el-form-item>
|
|
45
|
-
<el-form-item label="查询条数">
|
|
45
|
+
<el-form-item label="查询条数" class="form-item-label-top">
|
|
46
46
|
<el-input-number
|
|
47
47
|
v-model="optionModel.conditionSize"
|
|
48
48
|
:min="1"
|
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<el-form-item label="关联表格ID">
|
|
4
|
-
<el-input type="text" v-model="eventConfig.tableRef"></el-input>
|
|
5
|
-
</el-form-item>
|
|
6
|
-
<el-form-item label="默认表格数据">
|
|
7
|
-
<el-button type="primary" plain="" round="" @click="openTableDataEdit">{{
|
|
8
|
-
i18nt('designer.setting.editAction')
|
|
9
|
-
}}
|
|
10
|
-
</el-button>
|
|
11
|
-
</el-form-item>
|
|
12
|
-
<el-dialog
|
|
13
|
-
v-if="dataDialogVisible"
|
|
14
|
-
custom-class="dialog-style list-dialog"
|
|
15
|
-
:title="i18nt('designer.setting.tableDataEdit')"
|
|
16
|
-
:visible.sync="dataDialogVisible"
|
|
17
|
-
:show-close="!0"
|
|
18
|
-
append-to-body=""
|
|
19
|
-
:close-on-click-modal="!1"
|
|
20
|
-
:close-on-press-escape="!1"
|
|
21
|
-
:destroy-on-close="!0"
|
|
22
|
-
width="75%"
|
|
23
|
-
v-dialog-drag
|
|
24
|
-
>
|
|
25
|
-
<template slot="footer">
|
|
26
|
-
<div class="dialog-footer">
|
|
27
|
-
<el-button type="" @click="dataDialogVisible = !1" class="button-sty" icon="el-icon-close">
|
|
28
|
-
{{ i18nt('designer.hint.cancel') }}
|
|
29
|
-
</el-button>
|
|
30
|
-
<el-button type="primary" @click="saveTableData" class="button-sty" icon="el-icon-check">
|
|
31
|
-
{{ i18nt('designer.hint.confirm') }}
|
|
32
|
-
</el-button>
|
|
33
|
-
</div>
|
|
34
|
-
</template>
|
|
35
|
-
<code-editor mode="json" :readonly="!1" v-model="tableDataOptions"></code-editor>
|
|
36
|
-
</el-dialog>
|
|
37
|
-
</div>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script>
|
|
41
|
-
import i18n from "../../../../../../components/xform/utils/i18n"
|
|
42
|
-
|
|
43
|
-
export default {
|
|
44
|
-
mixins: [i18n],
|
|
45
|
-
props: {
|
|
46
|
-
designer: Object,
|
|
47
|
-
selectedWidget: Object,
|
|
48
|
-
optionModel: Object,
|
|
49
|
-
},
|
|
50
|
-
data(){
|
|
51
|
-
return {
|
|
52
|
-
dataDialogVisible:false,
|
|
53
|
-
tableData:[],
|
|
54
|
-
tableDataOptions:null
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
computed:{
|
|
58
|
-
eventConfig(){
|
|
59
|
-
return this.optionModel.addTableDataConfig || {};
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
created() {
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
methods:{
|
|
66
|
-
openTableDataEdit: function () {
|
|
67
|
-
this.tableDataOptions = JSON.stringify(this.eventConfig.tableData, null, ' ');
|
|
68
|
-
this.dataDialogVisible = !0;
|
|
69
|
-
},
|
|
70
|
-
saveTableData: function () {
|
|
71
|
-
try {
|
|
72
|
-
this.eventConfig.tableData = JSON.parse(this.tableDataOptions);
|
|
73
|
-
this.dataDialogVisible = !1;
|
|
74
|
-
} catch (e) {
|
|
75
|
-
this.$message.error(this.i18nt('designer.hint.invalidOptionsData') + e.message);
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
</script>
|
|
81
|
-
|
|
82
|
-
<style scoped>
|
|
83
|
-
|
|
84
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<el-form-item class="form-item-label-top" label="关联表格ID">
|
|
4
|
+
<el-input type="text" v-model="eventConfig.tableRef"></el-input>
|
|
5
|
+
</el-form-item>
|
|
6
|
+
<el-form-item label="默认表格数据">
|
|
7
|
+
<el-button type="primary" plain="" round="" @click="openTableDataEdit">{{
|
|
8
|
+
i18nt('designer.setting.editAction')
|
|
9
|
+
}}
|
|
10
|
+
</el-button>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
<el-dialog
|
|
13
|
+
v-if="dataDialogVisible"
|
|
14
|
+
custom-class="dialog-style list-dialog"
|
|
15
|
+
:title="i18nt('designer.setting.tableDataEdit')"
|
|
16
|
+
:visible.sync="dataDialogVisible"
|
|
17
|
+
:show-close="!0"
|
|
18
|
+
append-to-body=""
|
|
19
|
+
:close-on-click-modal="!1"
|
|
20
|
+
:close-on-press-escape="!1"
|
|
21
|
+
:destroy-on-close="!0"
|
|
22
|
+
width="75%"
|
|
23
|
+
v-dialog-drag
|
|
24
|
+
>
|
|
25
|
+
<template slot="footer">
|
|
26
|
+
<div class="dialog-footer">
|
|
27
|
+
<el-button type="" @click="dataDialogVisible = !1" class="button-sty" icon="el-icon-close">
|
|
28
|
+
{{ i18nt('designer.hint.cancel') }}
|
|
29
|
+
</el-button>
|
|
30
|
+
<el-button type="primary" @click="saveTableData" class="button-sty" icon="el-icon-check">
|
|
31
|
+
{{ i18nt('designer.hint.confirm') }}
|
|
32
|
+
</el-button>
|
|
33
|
+
</div>
|
|
34
|
+
</template>
|
|
35
|
+
<code-editor mode="json" :readonly="!1" v-model="tableDataOptions"></code-editor>
|
|
36
|
+
</el-dialog>
|
|
37
|
+
</div>
|
|
38
|
+
</template>
|
|
39
|
+
|
|
40
|
+
<script>
|
|
41
|
+
import i18n from "../../../../../../components/xform/utils/i18n"
|
|
42
|
+
|
|
43
|
+
export default {
|
|
44
|
+
mixins: [i18n],
|
|
45
|
+
props: {
|
|
46
|
+
designer: Object,
|
|
47
|
+
selectedWidget: Object,
|
|
48
|
+
optionModel: Object,
|
|
49
|
+
},
|
|
50
|
+
data(){
|
|
51
|
+
return {
|
|
52
|
+
dataDialogVisible:false,
|
|
53
|
+
tableData:[],
|
|
54
|
+
tableDataOptions:null
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
computed:{
|
|
58
|
+
eventConfig(){
|
|
59
|
+
return this.optionModel.addTableDataConfig || {};
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
created() {
|
|
63
|
+
|
|
64
|
+
},
|
|
65
|
+
methods:{
|
|
66
|
+
openTableDataEdit: function () {
|
|
67
|
+
this.tableDataOptions = JSON.stringify(this.eventConfig.tableData, null, ' ');
|
|
68
|
+
this.dataDialogVisible = !0;
|
|
69
|
+
},
|
|
70
|
+
saveTableData: function () {
|
|
71
|
+
try {
|
|
72
|
+
this.eventConfig.tableData = JSON.parse(this.tableDataOptions);
|
|
73
|
+
this.dataDialogVisible = !1;
|
|
74
|
+
} catch (e) {
|
|
75
|
+
this.$message.error(this.i18nt('designer.hint.invalidOptionsData') + e.message);
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
</script>
|
|
81
|
+
|
|
82
|
+
<style scoped>
|
|
83
|
+
|
|
84
|
+
</style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<el-form-item :label="i18nt('designer.setting.displayType')">
|
|
2
|
+
<el-form-item :label="i18nt('designer.setting.displayType')" class="form-item-label-top">
|
|
3
3
|
<el-select v-model="optionModel.type">
|
|
4
4
|
<el-option label="default" value=""></el-option>
|
|
5
5
|
<el-option label="primary" value="primary"></el-option>
|