cloud-web-corejs 1.0.171 → 1.0.172
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/census-widget.vue +0 -2
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/container-tree/tree-customClass-editor.vue +31 -2
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +4 -0
- package/src/components/xform/form-render/container-item/containerItemMixin.js +1 -1
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/container-item/tree-item.vue +32 -11
- package/src/components/xform/utils/formula-util copy 2.js +945 -0
- package/src/components/xform/utils/formula-util copy.js +860 -0
|
@@ -6,17 +6,46 @@
|
|
|
6
6
|
<el-option v-for="(item, idx) in cssClassList" :key="idx" :label="item" :value="item"></el-option>
|
|
7
7
|
</el-select>
|
|
8
8
|
</el-form-item>
|
|
9
|
+
<el-form-item label="禁用本地筛选">
|
|
10
|
+
<el-switch v-model="optionModel.disLocalFilter"></el-switch>
|
|
11
|
+
</el-form-item>
|
|
12
|
+
<el-form-item label="筛选类型">
|
|
13
|
+
<el-select v-model="optionModel.treeFilterType">
|
|
14
|
+
<el-option :value="0" label="文本"></el-option>
|
|
15
|
+
<el-option :value="1" label="日期"></el-option>
|
|
16
|
+
</el-select>
|
|
17
|
+
</el-form-item>
|
|
18
|
+
<el-form-item label="筛选图标点击事件">
|
|
19
|
+
<a
|
|
20
|
+
href="javascript:void(0);"
|
|
21
|
+
class="a-link link-oneLind"
|
|
22
|
+
@click="editEventHandler('onFilterIconClick', ['dataId', 'formCode','keyword'])"
|
|
23
|
+
>
|
|
24
|
+
<span>{{ optionModel.onFilterIconClick }}</span>
|
|
25
|
+
<i class="el-icon-edit"></i>
|
|
26
|
+
</a>
|
|
27
|
+
</el-form-item>
|
|
28
|
+
<el-form-item label="筛选内容值变化事件">
|
|
29
|
+
<a
|
|
30
|
+
href="javascript:void(0);"
|
|
31
|
+
class="a-link link-oneLind"
|
|
32
|
+
@click="editEventHandler('onFilterTextChange', ['dataId', 'formCode','keyword'])"
|
|
33
|
+
>
|
|
34
|
+
<span>{{ optionModel.onFilterTextChange }}</span>
|
|
35
|
+
<i class="el-icon-edit"></i>
|
|
36
|
+
</a>
|
|
37
|
+
</el-form-item>
|
|
9
38
|
</div>
|
|
10
39
|
</template>
|
|
11
40
|
<script>
|
|
12
41
|
import i18n from "../../../../../../components/xform/utils/i18n"
|
|
13
42
|
import {deepClone} from "../../../../../../components/xform/utils/util";
|
|
14
|
-
|
|
43
|
+
import eventMixin from "../../../../../../components/xform/form-designer/setting-panel/property-editor/event-handler/eventMixin";
|
|
15
44
|
|
|
16
45
|
export default {
|
|
17
46
|
name: "tree-customClass-editor",
|
|
18
47
|
componentName: "PropertyEditor",
|
|
19
|
-
mixins: [i18n],
|
|
48
|
+
mixins: [i18n,eventMixin],
|
|
20
49
|
props: {
|
|
21
50
|
designer: Object,
|
|
22
51
|
selectedWidget: Object,
|