cloud-web-corejs 1.0.54-dev.56 → 1.0.54-dev.57
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/VabUpload/mixins.js +1 -1442
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/xform/form-designer/form-widget/dialog/importDialogMixin.js +896 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +5 -1
- package/src/components/xform/form-designer/form-widget/field-widget/vabUpload-widget.vue +0 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +8 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +3 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1668 -1
- package/src/router/modules/customer.js +2 -2
package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue
CHANGED
@@ -76,7 +76,11 @@ export default {
|
|
76
76
|
if (this.designState) {
|
77
77
|
return
|
78
78
|
}
|
79
|
-
let opt = {
|
79
|
+
let opt = {
|
80
|
+
title: this.field.options.exportFileName || null,
|
81
|
+
targetRef: this.field.options.tableRef || null,
|
82
|
+
pageSize: (this.field.options.exportPageSize || null)
|
83
|
+
};
|
80
84
|
let tableExportParam = this.handleCustomEvent(this.field.options.tableExportParam);
|
81
85
|
let options = {...opt, ...tableExportParam, type: type};
|
82
86
|
let tableRef = options?.targetRef;
|
@@ -118,6 +118,14 @@
|
|
118
118
|
:disabled="!scope.row.editFormatS"></el-button>
|
119
119
|
</template>
|
120
120
|
</el-table-column>
|
121
|
+
<el-table-column :label="i18nt('导出类型')" width="200" prop="formatS">
|
122
|
+
<template slot-scope="scope">
|
123
|
+
<el-select v-model="scope.row.exportType" clearable>
|
124
|
+
<el-option value="Image" label="图片"></el-option>
|
125
|
+
<el-option value="Number" label="数值"></el-option>
|
126
|
+
</el-select>
|
127
|
+
</template>
|
128
|
+
</el-table-column>
|
121
129
|
<el-table-column label="格式化配置" width="90" fixed="right" align="center">
|
122
130
|
<template slot-scope="scope">
|
123
131
|
<el-button size="mini" plain="" round="" icon="el-icon-edit"
|
@@ -9,6 +9,9 @@
|
|
9
9
|
<el-form-item label="表格唯一名称">
|
10
10
|
<el-input v-model="optionModel.tableRef"></el-input>
|
11
11
|
</el-form-item>
|
12
|
+
<el-form-item label="导出每页查询数量">
|
13
|
+
<base-input-number v-model="optionModel.exportPageSize" :max="1000"></base-input-number>
|
14
|
+
</el-form-item>
|
12
15
|
<el-form-item label="导出参数" label-width="150px">
|
13
16
|
<a href="javascript:void(0);" class="a-link link-oneLind" @click="editEventHandler('tableExportParam', eventParams)">
|
14
17
|
<span>{{ optionModel.tableExportParam }}</span>
|