cloud-web-corejs 1.1.0-dev.21 → 1.1.0-dev.23
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/bizTab/BizTabListPage.vue +66 -33
- package/src/components/bizTab/README.md +3 -1
- package/src/components/excelExport/conditionExportConfig.js +112 -0
- package/src/components/excelExport/exportType.js +8 -0
- package/src/components/excelExport/index.vue +7 -1
- package/src/components/excelExport/mixins.js +410 -259
- package/src/components/mobile/wf/content.vue +27 -3
- package/src/components/table/index.js +5 -2
- package/src/components/table/plugins/cell-area/index.js +10 -3
- package/src/components/wf/wfStartDialog.vue +1 -0
- package/src/components/wf/wfUtil.js +47 -29
- package/src/components/wf/wfVisibility.js +6 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +7 -0
- package/src/components/xform/form-designer/form-widget/container-widget/data-table-widget.vue +3 -1
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +25 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-item-button-widget.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/table-export-button-widget.vue +2 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +14 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +318 -12
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +23 -7
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/empty-number-input.vue +51 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-item-button-editor.vue +27 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/table-export-button-editor.vue +33 -3
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +54 -0
- package/src/components/xform/form-render/container-item/data-table-item.vue +8 -6
- package/src/components/xform/form-render/container-item/data-table-mixin.js +587 -25
- package/src/components/xform/form-render/container-item/detail-h5-item.vue +26 -16
- package/src/components/xform/form-render/container-item/detail-item.vue +350 -446
- package/src/components/xform/form-render/fieldControlMixin.js +2 -0
- package/src/components/xform/form-render/indexMixin.js +25 -15
- package/src/components/xform/mixins/businessLock.js +59 -0
- package/src/components/xform/mixins/wfStart.js +103 -0
- package/src/components/xform/mixins/wfVisibility.js +33 -0
- package/src/components/xform/styles/h5.scss +6 -1
- package/src/components/xform/utils/util.js +2 -0
- package/src/views/user/home/index.vue +1 -1
- package/src/views/user/home/net/distributor.vue +1015 -0
- package/src/views/user/home/net/index.vue +61 -0
|
@@ -320,6 +320,53 @@ export const containers = [
|
|
|
320
320
|
tableConfig: null,
|
|
321
321
|
isEditTable: false,
|
|
322
322
|
isTreeTable: false,
|
|
323
|
+
mergeRowEnabled: false,
|
|
324
|
+
mergeRowKey: null,
|
|
325
|
+
showGridFooter: false,
|
|
326
|
+
editDefaultRow: null,
|
|
327
|
+
rowEditableScript: null,
|
|
328
|
+
rowAddableScript: null,
|
|
329
|
+
rowDeletableScript: null,
|
|
330
|
+
rowSaveScriptCode: null,
|
|
331
|
+
beforeRowSave: null,
|
|
332
|
+
afterRowSave: null,
|
|
333
|
+
onRowSaveError: null,
|
|
334
|
+
clipboardEnabled: false,
|
|
335
|
+
clipboardRowIncrementEnabled: false,
|
|
336
|
+
clipboardAttachmentEnabled: false,
|
|
337
|
+
clipboardExcludeFields: [],
|
|
338
|
+
clipboardInvalidValueStrategy: "ignore",
|
|
339
|
+
clipboardAutoSaveEnabled: false,
|
|
340
|
+
autoSaveEnabled: false,
|
|
341
|
+
autoSaveTrigger: ["blur", "change", "paste"],
|
|
342
|
+
autoSaveDelay: 200,
|
|
343
|
+
treeConfig: {
|
|
344
|
+
rowField: "id",
|
|
345
|
+
parentField: "f_parent",
|
|
346
|
+
children: "f_children",
|
|
347
|
+
mapChildren: "_X_ROW_CHILD",
|
|
348
|
+
hasChild: "f_has_child",
|
|
349
|
+
lazy: false,
|
|
350
|
+
expandAll: true,
|
|
351
|
+
reserve: true,
|
|
352
|
+
},
|
|
353
|
+
treeIdentityConfig: {
|
|
354
|
+
physicalIdField: "id",
|
|
355
|
+
rootParentValue: 0,
|
|
356
|
+
serverGeneratesRowField: true,
|
|
357
|
+
persistedRowFieldChangeStrategy: "reject",
|
|
358
|
+
},
|
|
359
|
+
treeCopyConfig: {
|
|
360
|
+
rowFieldStrategy: "regenerate",
|
|
361
|
+
orphanParentStrategy: "detach",
|
|
362
|
+
lazyStrategy: "reject",
|
|
363
|
+
},
|
|
364
|
+
treeSubmitConfig: {
|
|
365
|
+
orphanParentStrategy: "preserve",
|
|
366
|
+
unloadedChildrenStrategy: "reject",
|
|
367
|
+
successReconcileStrategy: "reload",
|
|
368
|
+
},
|
|
369
|
+
treePasteInsertMode: "root",
|
|
323
370
|
wbsEnabled: false,
|
|
324
371
|
sortScriptCode: null,
|
|
325
372
|
importTemplateFile: null,
|
|
@@ -330,6 +377,7 @@ export const containers = [
|
|
|
330
377
|
showRules: [],
|
|
331
378
|
hideGridCheckBox: false,
|
|
332
379
|
isNotQueryAllPage: false,
|
|
380
|
+
isNotReadQueryAllPage: false,
|
|
333
381
|
isNotShowQueryButton: false,
|
|
334
382
|
|
|
335
383
|
exportItemColumns: [],
|
|
@@ -3287,6 +3335,9 @@ export const advancedFields = [
|
|
|
3287
3335
|
tableRef: "",
|
|
3288
3336
|
tableExportParam: "",
|
|
3289
3337
|
showImageAtTable: false,
|
|
3338
|
+
exportPageSize: null,
|
|
3339
|
+
maxQueryTotal: null,
|
|
3340
|
+
limitFileSize: null,
|
|
3290
3341
|
tableExportFlag: 1,
|
|
3291
3342
|
|
|
3292
3343
|
onCreated: "",
|
|
@@ -3351,6 +3402,9 @@ export const advancedFields = [
|
|
|
3351
3402
|
tableRef: "",
|
|
3352
3403
|
tableExportParam: "",
|
|
3353
3404
|
showImageAtTable: false,
|
|
3405
|
+
exportPageSize: null,
|
|
3406
|
+
maxQueryTotal: null,
|
|
3407
|
+
limitFileSize: null,
|
|
3354
3408
|
selectExportItemFlag: 1,
|
|
3355
3409
|
exportItemConditionEnabled: !1,
|
|
3356
3410
|
// 按钮级明细导出配置:三项各自独立,留空的那项沿用数据表格属性上维护的
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<vxe-grid
|
|
3
|
-
:ref="widget.id"
|
|
4
|
-
v-bind="vxeOption"
|
|
2
|
+
<vxe-grid
|
|
3
|
+
:ref="widget.id"
|
|
4
|
+
v-bind="vxeOption"
|
|
5
|
+
:style="dataTableStyle"
|
|
5
6
|
:auto-resize="true"
|
|
6
7
|
v-show="!widget.options.hidden"
|
|
7
8
|
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
|
@@ -76,8 +77,9 @@
|
|
|
76
77
|
plain
|
|
77
78
|
>{{ $t1("刷新") }}
|
|
78
79
|
</vxe-button>
|
|
79
|
-
<vxe-button
|
|
80
|
-
|
|
80
|
+
<vxe-button
|
|
81
|
+
v-if="!widget.options.isNotShowQueryButton"
|
|
82
|
+
status="warning"
|
|
81
83
|
icon="el-icon-search"
|
|
82
84
|
class="button-sty"
|
|
83
85
|
@click="handleSearchClick"
|
|
@@ -262,7 +264,7 @@
|
|
|
262
264
|
@click="removeEditRow(obj)"
|
|
263
265
|
class="a-link"
|
|
264
266
|
data-tit="删除"
|
|
265
|
-
v-if="!hasSaveRow(obj.row)"
|
|
267
|
+
v-if="!hasSaveRow(obj.row) && canDeleteTableRow(obj)"
|
|
266
268
|
>
|
|
267
269
|
<el-tooltip
|
|
268
270
|
:enterable="false"
|