cloud-web-corejs 1.0.54-dev.675 → 1.0.54-dev.677
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/xform/form-designer/form-widget/field-widget/fieldMixin.js +463 -317
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +135 -58
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +1 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +0 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +2 -2
- package/src/components/xform/form-render/container-item/data-table-mixin.js +137 -77
- package/src/components/xform/form-render/indexMixin.js +15 -9
- package/src/components/xform/mixins/scriptHttp.js +176 -5
- package/src/components/xform/utils/util.js +11 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor copy.vue +0 -988
- package/src/components/xform/form-designer/setting-panel/property-editor/event-handler/onDynamicColumns-editor.vue +0 -44
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<el-form-item label-width="150px">
|
|
3
|
-
<span slot="label">
|
|
4
|
-
onDynamicColumns
|
|
5
|
-
<el-tooltip effect="light" placement="top">
|
|
6
|
-
<div slot="content" style="line-height: 1.4; max-width: 320px">
|
|
7
|
-
同步脚本:直接 return 列配置(字段同设计器列:prop、label、formatS、editFormatS 等)。<br />
|
|
8
|
-
接口动态列请使用「接口动态列」配置或 loadDynamicColumnsFromApi。
|
|
9
|
-
</div>
|
|
10
|
-
<i class="el-icon-info"></i>
|
|
11
|
-
</el-tooltip>
|
|
12
|
-
</span>
|
|
13
|
-
<a
|
|
14
|
-
href="javascript:void(0);"
|
|
15
|
-
class="a-link link-oneLind"
|
|
16
|
-
@click="editEventHandler('onDynamicColumns', eventParams)"
|
|
17
|
-
>
|
|
18
|
-
<span>{{ optionModel.onDynamicColumns }}</span>
|
|
19
|
-
<i class="el-icon-edit"></i>
|
|
20
|
-
</a>
|
|
21
|
-
</el-form-item>
|
|
22
|
-
</template>
|
|
23
|
-
|
|
24
|
-
<script>
|
|
25
|
-
import i18n from "../../../../../../components/xform/utils/i18n";
|
|
26
|
-
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
name: "onDynamicColumns-editor",
|
|
30
|
-
mixins: [i18n, eventMixin],
|
|
31
|
-
props: {
|
|
32
|
-
designer: Object,
|
|
33
|
-
selectedWidget: Object,
|
|
34
|
-
optionModel: Object,
|
|
35
|
-
},
|
|
36
|
-
data() {
|
|
37
|
-
return {
|
|
38
|
-
eventParams: [],
|
|
39
|
-
};
|
|
40
|
-
},
|
|
41
|
-
};
|
|
42
|
-
</script>
|
|
43
|
-
|
|
44
|
-
<style scoped></style>
|