super-page-designer 2.0.23 → 2.0.31
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/dist/es/assets/images/data/barcode.png.js +4 -0
- package/dist/es/assets/images/workflow/workflow-history-img.png.js +4 -0
- package/dist/es/components/design/utils/assemblys-config.js +121 -60
- package/dist/es/components/design/utils/data-table-util.js +15 -6
- package/dist/es/components/design/utils/form-design-util.js +3 -2
- package/dist/es/components/design/utils/page-design-util.d.ts +2 -2
- package/dist/es/components/design/utils/page-design-util.js +6 -13
- package/dist/es/components/design/utils/page-event-util.js +21 -0
- package/dist/es/components/design/utils/page-helper-util.d.ts +1 -0
- package/dist/es/components/design/utils/page-helper-util.js +8 -0
- package/dist/es/components/design/utils/page-permission-util.js +6 -0
- package/dist/es/components/design/utils/page-table-util.js +65 -34
- package/dist/es/components/design/views/assemblys/button/button/button-attr-advanced.vue.js +19 -4
- package/dist/es/components/design/views/assemblys/button/button/button-attr-base.vue.js +3 -1
- package/dist/es/components/design/views/assemblys/button/button/button-attr.vue2.js +4 -1
- package/dist/es/components/design/views/assemblys/button/component/combination.vue.js +11 -4
- package/dist/es/components/design/views/assemblys/button/component/condition-dialog.vue.js +6 -6
- package/dist/es/components/design/views/assemblys/button/component/set-dialog.vue.js +52 -66
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue.js +188 -0
- package/dist/es/components/design/views/assemblys/button/print-label/print-template-select.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue.js +228 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-advanced.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue.js +706 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-base.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-event.vue.js +33 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-event.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-style.vue.js +50 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr-style.vue2.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue.js +5 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue2.js +80 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-attr.vue3.js +1 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue.js +4 -0
- package/dist/es/components/design/views/assemblys/button/print-label/printlabel-design.vue2.js +91 -0
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.d.ts +16 -9
- package/dist/es/components/design/views/assemblys/common/common-select-table.vue.js +7 -3
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-attr-base.vue.js +91 -86
- package/dist/es/components/design/views/assemblys/data/bar-code/barcode-design.vue2.js +22 -9
- package/dist/es/components/design/views/assemblys/data/component/attr-style.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/component/column-config.vue.js +8 -22
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/composite-header.vue2.js +4 -3
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/component/data-origin-tree.vue2.js +449 -146
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/component/data-origin.vue2.js +34 -27
- package/dist/es/components/design/views/assemblys/data/component/table-children-column.vue.js +3 -2
- package/dist/es/components/design/views/assemblys/data/component/variate-select.vue.js +2 -2
- package/dist/es/components/design/views/assemblys/data/table/table-attr-advanced.vue.js +4 -4
- package/dist/es/components/design/views/assemblys/data/table/table-attr-base.vue.js +260 -225
- package/dist/es/components/design/views/assemblys/data/table/table-attr.vue2.js +2 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/data/table/table-design.vue2.js +13 -5
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-base.vue.js +11 -4
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-event.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/table/tablecolumn-attr-style.vue.js +0 -1
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-base.vue.js +557 -132
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-event.vue.js +5 -5
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr-style.vue.js +45 -58
- package/dist/es/components/design/views/assemblys/data/tree/tree-attr.vue2.js +12 -2
- package/dist/es/components/design/views/assemblys/data/tree/tree-design.vue2.js +17 -18
- package/dist/es/components/design/views/assemblys/form/checkbox/checkbox-attr-base.vue.js +22 -13
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-event.vue2.js +14 -9
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/attr-header.vue2.js +5 -1
- package/dist/es/components/design/views/assemblys/form/common/bar-code-rule.vue.js +411 -112
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/data-origin.vue2.js +1 -1
- package/dist/es/components/design/views/assemblys/form/common/linkpage-page-callback.vue.js +12 -12
- package/dist/es/components/design/views/assemblys/form/common/uploading.vue.js +28 -2
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-attr-base.vue.js +88 -42
- package/dist/es/components/design/views/assemblys/form/date-picker/datepicker-design.vue2.js +33 -21
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-attr-base.vue.js +20 -14
- package/dist/es/components/design/views/assemblys/form/dept-tree/depttree-autoset.vue.js +57 -46
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-attr-base.vue.js +47 -9
- package/dist/es/components/design/views/assemblys/form/file-upload/fileupload-design.vue2.js +44 -23
- package/dist/es/components/design/views/assemblys/form/input-number/input-number-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-attr-base.vue.js +22 -13
- package/dist/es/components/design/views/assemblys/form/input-text/inputtext-design.vue2.js +21 -15
- package/dist/es/components/design/views/assemblys/form/label/label-attr-base.vue.js +13 -7
- package/dist/es/components/design/views/assemblys/form/link/link-attr-base.vue.js +18 -23
- package/dist/es/components/design/views/assemblys/form/placeholder/placeholder-attr-base.vue.js +8 -3
- package/dist/es/components/design/views/assemblys/form/radio/radio-attr-base.vue.js +22 -13
- package/dist/es/components/design/views/assemblys/form/rich-text/richtext-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/form/select/select-attr-base.vue.js +25 -15
- package/dist/es/components/design/views/assemblys/form/separatelabel/separatelabel-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/switch/switch-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/form/tag/tag-attr-base.vue.js +16 -9
- package/dist/es/components/design/views/assemblys/form/textarea/textarea-attr-base.vue.js +20 -11
- package/dist/es/components/design/views/assemblys/object-design.vue.js +11 -8
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/setting-form-rule-base-input.vue.js +6 -2
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.d.ts +9 -0
- package/dist/es/components/design/views/assemblys/page/component/weight-field-input.vue.js +7 -5
- package/dist/es/components/design/views/assemblys/page/page-attr-advanced.vue.js +5 -3
- package/dist/es/components/design/views/assemblys/page/page-attr-base.vue.js +14 -3
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.d.ts +0 -9
- package/dist/es/components/design/views/assemblys/workflow/component/combination.vue.js +15 -9
- package/dist/es/components/design/views/design/page-design.vue.js +70 -51
- package/dist/es/components/design/views/design/page-event/config.vue.d.ts +12 -1
- package/dist/es/components/design/views/design/page-event/config.vue.js +1 -7
- package/dist/es/components/design/views/design/page-event/config.vue2.js +5 -323
- package/dist/es/components/design/views/design/page-event/config.vue3.js +336 -1
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.d.ts +1 -8
- package/dist/es/components/design/views/design/page-event/page-event-container.vue.js +219 -569
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.d.ts +11 -5
- package/dist/es/components/design/views/design/page-event/page-event-content.vue.js +1 -1
- package/dist/es/components/design/views/design/page-event/page-event-content.vue2.js +512 -367
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.d.ts +8 -0
- package/dist/es/components/design/views/design/page-event/page-event-view.vue.js +48 -0
- package/dist/es/components/design/views/design/page-event/page-event-view.vue2.js +4 -0
- package/dist/es/components/design/views/design/view/assemblys-container.vue.d.ts +0 -6
- package/dist/es/components/design/views/design/view/assemblys-container.vue.js +14 -58
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.d.ts +2 -0
- package/dist/es/components/design/views/design/view/components/quick-add-fields.vue.js +4 -1
- package/dist/es/components/design/views/design/view/page-switch.vue.js +1 -1
- package/dist/es/components/design/views/design/view/page-switch.vue2.js +1 -0
- package/dist/es/components/design/views/design/view/view-design-display.vue.d.ts +2 -2
- package/dist/es/components/design/views/design/view/view-design-display.vue.js +135 -139
- package/dist/es/components/design/views/design/view/view-design-preview.vue.js +2 -3
- package/dist/es/stores/event-undo-redo-store.d.ts +22 -0
- package/dist/es/stores/event-undo-redo-store.js +56 -0
- package/dist/es/stores/page-store.js +2 -1
- package/dist/es/style.css +986 -204
- package/package.json +5 -5
- package/dist/es/assets/images/workflow/workflow-history.png.js +0 -4
- package/dist/es/components/design/utils/system.d.ts +0 -6
- package/dist/es/components/design/utils/system.js +0 -26
- package/dist/es/components/design/views/assemblys/data/component/in-parameter.vue.js +0 -121
- package/dist/es/components/design/views/assemblys/data/component/in-parameter.vue2.js +0 -4
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue2.js +0 -75
- package/dist/es/components/design/views/assemblys/form/common/dimension-input.vue3.js +0 -5
- package/dist/es/components/design/views/assemblys/form/common/linkage.vue.js +0 -54
- package/dist/es/components/design/views/assemblys/form/common/linkage.vue2.js +0 -4
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import http from "agilebuilder-ui/src/utils/request";
|
|
2
|
+
import { getFormPropName } from "./page-helper-util.js";
|
|
2
3
|
function queryTableFields(systemCode, systemVersion, tableName) {
|
|
3
4
|
let url = window["$vueApp"].config.globalProperties.baseAPI + "/mms/data-tables/table-columns";
|
|
4
5
|
url += "?systemCode=" + (systemCode ? systemCode : "");
|
|
@@ -12,7 +13,10 @@ function queryTableFieldsOrMap(systemCode, systemVersion, tableName) {
|
|
|
12
13
|
publishVersion: systemVersion,
|
|
13
14
|
tableName
|
|
14
15
|
};
|
|
15
|
-
return http.get(
|
|
16
|
+
return http.get(
|
|
17
|
+
window["$vueApp"].config.globalProperties.baseAPI + "/mms/data-tables/table-columns/findAttributeMap",
|
|
18
|
+
param
|
|
19
|
+
);
|
|
16
20
|
}
|
|
17
21
|
function querySublist(systemCode, systemVersion, publishVersion) {
|
|
18
22
|
const param = {
|
|
@@ -37,28 +41,29 @@ function setTableRuntimesFromConfigure(tableConfigure, pageDesign) {
|
|
|
37
41
|
delete tableConfigure.runtime;
|
|
38
42
|
}
|
|
39
43
|
function getListView(configureCopy, pageDesign, tableConfigureStr) {
|
|
44
|
+
const listCode = "V" + pageDesign.version + "__" + pageDesign.code + "__" + configureCopy.uuid;
|
|
40
45
|
const listView = {
|
|
41
46
|
configure: tableConfigureStr,
|
|
42
47
|
// uuid
|
|
43
|
-
code:
|
|
48
|
+
code: listCode,
|
|
44
49
|
// 名称
|
|
45
50
|
name: configureCopy.label,
|
|
46
51
|
// 合计方式,不合计(no),当前页(current),所有页(all),使用radio选择
|
|
47
|
-
totalType: configureCopy.props.base.totalType,
|
|
52
|
+
totalType: configureCopy.props.base ? configureCopy.props.base.totalType : null,
|
|
48
53
|
// 备注
|
|
49
|
-
remark: configureCopy.props.base.remark,
|
|
54
|
+
remark: configureCopy.props.base ? configureCopy.props.base.remark : null,
|
|
50
55
|
// 是否分页
|
|
51
|
-
pagination: configureCopy.props.base.
|
|
56
|
+
pagination: configureCopy.props.base ? configureCopy.props.base.subPaging : null,
|
|
52
57
|
// 默认行数
|
|
53
|
-
rowNum: configureCopy.props.base.pageSize,
|
|
58
|
+
rowNum: configureCopy.props.base ? configureCopy.props.base.pageSize : null,
|
|
54
59
|
// 可选行数
|
|
55
|
-
optionalRows: configureCopy.props.base.pageSizes,
|
|
60
|
+
optionalRows: configureCopy.props.base ? configureCopy.props.base.pageSizes : null,
|
|
56
61
|
// 布局
|
|
57
|
-
layout: JSON.stringify(configureCopy.props.base.layout),
|
|
62
|
+
layout: configureCopy.props.base ? JSON.stringify(configureCopy.props.base.layout) : null,
|
|
58
63
|
// 查询方式,不查询(no),内置查询(buildin),自定义查询(custom)
|
|
59
|
-
startQuery: configureCopy.props.base.startQuery,
|
|
64
|
+
startQuery: configureCopy.props.base ? configureCopy.props.base.startQuery : null,
|
|
60
65
|
// 是否是弹出式查询(true为弹出,false为嵌入)
|
|
61
|
-
popUp: configureCopy.props.base.popUp,
|
|
66
|
+
popUp: configureCopy.props.base ? configureCopy.props.base.popUp : null,
|
|
62
67
|
// 是否高级查询 isAdvancedQuery: boolean
|
|
63
68
|
// 是否启用模糊查询-暂不使用 isSearchFaint: boolean
|
|
64
69
|
// 是否初始化查询
|
|
@@ -66,20 +71,20 @@ function getListView(configureCopy, pageDesign, tableConfigureStr) {
|
|
|
66
71
|
// 默认查询条件
|
|
67
72
|
defaultQueryCriteria: configureCopy.props.dataOrigin.defaultQueryCriteria,
|
|
68
73
|
// 查询表单label位置
|
|
69
|
-
queryLabelPosition: configureCopy.props.base.queryLabelPosition,
|
|
74
|
+
queryLabelPosition: configureCopy.props.base ? configureCopy.props.base.queryLabelPosition : null,
|
|
70
75
|
// 是否需要操作:增改
|
|
71
|
-
editable: configureCopy.props.base.editable,
|
|
76
|
+
editable: configureCopy.props.base ? configureCopy.props.base.editable : null,
|
|
72
77
|
// 操作列宽设置 columnWidth: number
|
|
73
78
|
// 行顺序字段名称 fieldForOrder: string
|
|
74
79
|
// 保存行顺序的url urlToSaveOrder: string
|
|
75
80
|
// 保存行信息的url urlToSaveRow: string
|
|
76
81
|
// 删除行信息的url urlToDeleteRow: string
|
|
77
82
|
// 显示列表内容的url,如果列表组件没有传url属性,则该url为准。
|
|
78
|
-
urlToListData: configureCopy.props.base.urlToListData,
|
|
83
|
+
urlToListData: configureCopy.props.base ? configureCopy.props.base.urlToListData : null,
|
|
79
84
|
// 是否是sql查询列表内容。影响到列表内容显示。
|
|
80
85
|
isSql: true,
|
|
81
86
|
// 列表组件中是否显示“字段配置”按钮
|
|
82
|
-
customConfig: configureCopy.props.base.customConfig,
|
|
87
|
+
customConfig: configureCopy.props.base ? configureCopy.props.base.customConfig : null,
|
|
83
88
|
// 数据表
|
|
84
89
|
tableName: configureCopy.props.dataOrigin.tableName,
|
|
85
90
|
// 系统编码 systemCode: string
|
|
@@ -89,17 +94,17 @@ function getListView(configureCopy, pageDesign, tableConfigureStr) {
|
|
|
89
94
|
// 默认排序字段
|
|
90
95
|
defaultSortField: JSON.stringify(configureCopy.props.dataOrigin.sortField),
|
|
91
96
|
// 标题显示位置
|
|
92
|
-
titleAlign: configureCopy.props.base.alignTittle,
|
|
97
|
+
titleAlign: configureCopy.props.base ? configureCopy.props.base.alignTittle : null,
|
|
93
98
|
// 内容显示位置
|
|
94
|
-
contAlign: configureCopy.props.base.alignContent,
|
|
99
|
+
contAlign: configureCopy.props.base ? configureCopy.props.base.alignContent : null,
|
|
95
100
|
// 显示效果
|
|
96
|
-
displayEffect: configureCopy.props.base.displayEffect,
|
|
101
|
+
displayEffect: configureCopy.props.base ? configureCopy.props.base.displayEffect : null,
|
|
97
102
|
// 封面图片附件的名称 imageName: string
|
|
98
103
|
// 封面图片附件的uuid imageUuid: string
|
|
99
104
|
// 是否支持拖拽列自定义列顺序
|
|
100
|
-
isDragColumn: configureCopy.props.base.isDragColumn,
|
|
105
|
+
isDragColumn: configureCopy.props.base ? configureCopy.props.base.isDragColumn : null,
|
|
101
106
|
// 是否显示边框
|
|
102
|
-
border: configureCopy.props.base.border
|
|
107
|
+
border: configureCopy.props.base ? configureCopy.props.base.border : null
|
|
103
108
|
// 国际化key i18nKey: string
|
|
104
109
|
// 列设置 items: any
|
|
105
110
|
// groupHeader groupHeaders: any
|
|
@@ -112,12 +117,12 @@ function getListColumns(configure, pageDesign) {
|
|
|
112
117
|
var _a;
|
|
113
118
|
const listColumns = [];
|
|
114
119
|
(_a = configure.items) == null ? void 0 : _a.forEach((item) => {
|
|
115
|
-
|
|
120
|
+
const listColumn = { controlName: getControlName(item) };
|
|
116
121
|
const temp = {
|
|
117
122
|
// 列头名
|
|
118
123
|
headerName: item.props.base.name,
|
|
119
124
|
//对应数据表字段名字。(listColumn的tableColumn)占位符列和$selection、$index两列时为固定值(listColumn的prop)
|
|
120
|
-
prop: item.props.base.prop,
|
|
125
|
+
prop: getFormPropName(item.props.base.prop),
|
|
121
126
|
//列宽
|
|
122
127
|
width: item.props.base.columnWidth,
|
|
123
128
|
//是否排序 true false custom
|
|
@@ -133,7 +138,7 @@ function getListColumns(configure, pageDesign) {
|
|
|
133
138
|
//冻结列 left right false
|
|
134
139
|
listColumnFixed: item.props.base.listColumnFixed,
|
|
135
140
|
// 格式设置
|
|
136
|
-
format: item
|
|
141
|
+
format: getPropsFormat(item),
|
|
137
142
|
//值设置,以逗号隔开:数据库值:显示的值,数据库值:显示的值...
|
|
138
143
|
valueSet: getListColumnValueSet(item),
|
|
139
144
|
// 查询设置 no 不查询 normal 普通查询 advanced 高级查询
|
|
@@ -147,7 +152,7 @@ function getListColumns(configure, pageDesign) {
|
|
|
147
152
|
// 编辑时默认值设置
|
|
148
153
|
defaultValue: item.props.base.defaultValue,
|
|
149
154
|
// 编辑时控件类型
|
|
150
|
-
controlName:
|
|
155
|
+
controlName: listColumn.controlName,
|
|
151
156
|
// 控件属性配置
|
|
152
157
|
controlConfig: getControlConfig(item),
|
|
153
158
|
//事件类型,json格式,格式为:{input:funName1,blur:funName2,focus:funName3,...},funName1、funName2等方法名,通过列表的options.eventCallBack传入
|
|
@@ -172,7 +177,7 @@ function getListColumns(configure, pageDesign) {
|
|
|
172
177
|
// 校验的类型
|
|
173
178
|
checkType: configure.props.verification.type,
|
|
174
179
|
// 内容显示位置
|
|
175
|
-
contAlign: configure.props.base.alignContent
|
|
180
|
+
contAlign: configure.props.base ? configure.props.base.alignContent : null
|
|
176
181
|
// 国际化key,如果配置了该列则使用该列的key去查询国际化配置,如果没用配置就以“headerName”字段的值为准
|
|
177
182
|
// i18nKey: string
|
|
178
183
|
/**
|
|
@@ -190,23 +195,33 @@ function getGroupHeaders(configure) {
|
|
|
190
195
|
const result = [];
|
|
191
196
|
if (configure.props.groupHeaders) {
|
|
192
197
|
configure.props.groupHeaders.forEach((item) => {
|
|
193
|
-
|
|
198
|
+
const header = {
|
|
194
199
|
titleText: item.titleText,
|
|
195
|
-
prop: item.props.base.prop,
|
|
196
200
|
parentCode: item.parentUuid,
|
|
197
201
|
displayOrder: item.displayOrder,
|
|
198
202
|
uuid: item.uuid
|
|
199
|
-
}
|
|
203
|
+
};
|
|
204
|
+
if (item.props.base && item.props.base.prop) {
|
|
205
|
+
header.prop = getNameFromProp(item.props.base.prop);
|
|
206
|
+
}
|
|
207
|
+
result.push(header);
|
|
200
208
|
});
|
|
201
209
|
}
|
|
202
210
|
return result;
|
|
203
211
|
}
|
|
204
212
|
function getListColumnValueSet(item, listColumn) {
|
|
205
213
|
const configureProps = item.props;
|
|
214
|
+
if (item.name === "inputNumber") {
|
|
215
|
+
return null;
|
|
216
|
+
}
|
|
206
217
|
if (configureProps.dataOrigin && configureProps.dataOrigin.optionValueSetType) {
|
|
207
218
|
const optionType = configureProps.dataOrigin.optionValueSetType;
|
|
208
219
|
if (optionType === "static") {
|
|
209
|
-
|
|
220
|
+
const valueSets = [];
|
|
221
|
+
configureProps.dataOrigin.staticStates.forEach((element) => {
|
|
222
|
+
valueSets.push(element.value + ":" + element.label);
|
|
223
|
+
});
|
|
224
|
+
return valueSets.join(",");
|
|
210
225
|
} else if (optionType === "optionGroup") {
|
|
211
226
|
return optionType + ":" + configureProps.dataOrigin.optionGroup;
|
|
212
227
|
} else if (optionType === "dynamicData") {
|
|
@@ -232,7 +247,7 @@ function getValueSetOptions(item) {
|
|
|
232
247
|
configureProps.dataOrigin.autoSets.forEach((element) => {
|
|
233
248
|
const target = getNameFromProp(element.target);
|
|
234
249
|
valueSetOptions.push({
|
|
235
|
-
columnName: element.source,
|
|
250
|
+
columnName: getNameFromProp(element.source),
|
|
236
251
|
valueField: target,
|
|
237
252
|
valueColumn: { name: target, dbColumnName: target.toUpperCase() }
|
|
238
253
|
});
|
|
@@ -261,10 +276,16 @@ function getControlName(item) {
|
|
|
261
276
|
return "switch";
|
|
262
277
|
case "select":
|
|
263
278
|
return getSelectControlName(item);
|
|
279
|
+
case "radio":
|
|
280
|
+
return "select";
|
|
281
|
+
case "checkbox":
|
|
282
|
+
return "multiselect";
|
|
264
283
|
case "datePicker":
|
|
265
284
|
return getDatePickerControlName(item);
|
|
266
285
|
case "dept-tree":
|
|
267
286
|
return getOrgTreeControlName(item);
|
|
287
|
+
case "inputNumber":
|
|
288
|
+
return "inputNumber";
|
|
268
289
|
default:
|
|
269
290
|
return "input";
|
|
270
291
|
}
|
|
@@ -276,7 +297,7 @@ function getSelectControlName(item) {
|
|
|
276
297
|
return "select";
|
|
277
298
|
}
|
|
278
299
|
function getDatePickerControlName(item) {
|
|
279
|
-
switch (item.props.base.
|
|
300
|
+
switch (item.props.base.type) {
|
|
280
301
|
case "date":
|
|
281
302
|
return "date";
|
|
282
303
|
case "time":
|
|
@@ -321,7 +342,7 @@ function getOrgTreeSet(item) {
|
|
|
321
342
|
const orgTreeSetArr = [];
|
|
322
343
|
if (item.props.base.otherFieldSets && item.props.base.otherFieldSets.length > 0) {
|
|
323
344
|
item.props.base.otherFieldSets.forEach((filedSet) => {
|
|
324
|
-
orgTreeSetArr.push({ type: filedSet.source, model: filedSet.target });
|
|
345
|
+
orgTreeSetArr.push({ type: filedSet.source, model: getNameFromProp(filedSet.target) });
|
|
325
346
|
});
|
|
326
347
|
}
|
|
327
348
|
return JSON.stringify({ orgTreeSetArr });
|
|
@@ -358,10 +379,20 @@ function getControlConfig(item) {
|
|
|
358
379
|
}
|
|
359
380
|
return null;
|
|
360
381
|
}
|
|
382
|
+
function getPropsFormat(item) {
|
|
383
|
+
if (item.props.format && item.props.format.type === "hyperlinks") {
|
|
384
|
+
const format = JSON.parse(JSON.stringify(item.props.format));
|
|
385
|
+
Object.assign(format, item.props.linkPage);
|
|
386
|
+
return JSON.stringify(format);
|
|
387
|
+
}
|
|
388
|
+
return JSON.stringify(item.props.format);
|
|
389
|
+
}
|
|
361
390
|
function getNameFromProp(prop) {
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
391
|
+
if (prop) {
|
|
392
|
+
const match = prop.match(/\${(.*?)\.(.*?)}/);
|
|
393
|
+
if (match) {
|
|
394
|
+
return match[2];
|
|
395
|
+
}
|
|
365
396
|
}
|
|
366
397
|
return prop;
|
|
367
398
|
}
|
|
@@ -7,8 +7,16 @@ const _hoisted_1 = { style: { "padding": "8px 0px 0px 0px" } };
|
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "button-attr-advanced",
|
|
9
9
|
props: {
|
|
10
|
-
configure:
|
|
11
|
-
|
|
10
|
+
configure: {
|
|
11
|
+
type: Object,
|
|
12
|
+
default: () => {
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
pageDesign: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: () => {
|
|
18
|
+
}
|
|
19
|
+
}
|
|
12
20
|
},
|
|
13
21
|
setup(__props) {
|
|
14
22
|
const props = __props;
|
|
@@ -69,6 +77,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
69
77
|
function closeSetDialog() {
|
|
70
78
|
setVisible.value = false;
|
|
71
79
|
}
|
|
80
|
+
function saveSetting(setData) {
|
|
81
|
+
props.configure.props.setValueList = setData;
|
|
82
|
+
console.log("%c描述-153236", "color:#2E3435;background:#F8BB07;padding:3px;border-radius:2px", props.configure.props.setValueList);
|
|
83
|
+
}
|
|
72
84
|
const combinationVisible = ref(false);
|
|
73
85
|
function closeCombinationDialog() {
|
|
74
86
|
combinationVisible.value = false;
|
|
@@ -235,14 +247,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
235
247
|
}),
|
|
236
248
|
conditionVisible.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
237
249
|
key: 0,
|
|
250
|
+
pageDesign: __props.pageDesign,
|
|
238
251
|
configure: __props.configure,
|
|
239
252
|
onClose: closeConditionDialog
|
|
240
|
-
}, null, 8, ["configure"])) : createCommentVNode("", true),
|
|
253
|
+
}, null, 8, ["pageDesign", "configure"])) : createCommentVNode("", true),
|
|
241
254
|
setVisible.value ? (openBlock(), createBlock(_sfc_main$2, {
|
|
242
255
|
key: 1,
|
|
256
|
+
pageDesign: __props.pageDesign,
|
|
243
257
|
configure: __props.configure,
|
|
258
|
+
onSave: saveSetting,
|
|
244
259
|
onClose: closeSetDialog
|
|
245
|
-
}, null, 8, ["configure"])) : createCommentVNode("", true),
|
|
260
|
+
}, null, 8, ["pageDesign", "configure"])) : createCommentVNode("", true),
|
|
246
261
|
combinationVisible.value ? (openBlock(), createBlock(_sfc_main$3, {
|
|
247
262
|
key: 2,
|
|
248
263
|
conditionList: __props.configure.props.base.showCondition,
|
|
@@ -634,7 +634,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
634
634
|
default: withCtx(() => [
|
|
635
635
|
createVNode(_component_el_select, {
|
|
636
636
|
modelValue: __props.configure.props.base.tableUuid,
|
|
637
|
-
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.base.tableUuid = $event)
|
|
637
|
+
"onUpdate:modelValue": _cache[21] || (_cache[21] = ($event) => __props.configure.props.base.tableUuid = $event),
|
|
638
|
+
clearable: "",
|
|
639
|
+
filterable: ""
|
|
638
640
|
}, {
|
|
639
641
|
default: withCtx(() => [
|
|
640
642
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tableList.value, (item) => {
|
|
@@ -61,7 +61,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
61
61
|
}, null, 8, ["configure", "pageDesign"]), [
|
|
62
62
|
[vShow, unref(currentConfigType) === "base"]
|
|
63
63
|
]),
|
|
64
|
-
withDirectives(createVNode(_sfc_main$2, {
|
|
64
|
+
withDirectives(createVNode(_sfc_main$2, {
|
|
65
|
+
configure: __props.configure,
|
|
66
|
+
pageDesign: __props.pageDesign
|
|
67
|
+
}, null, 8, ["configure", "pageDesign"]), [
|
|
65
68
|
[vShow, unref(currentConfigType) === "advanced"]
|
|
66
69
|
]),
|
|
67
70
|
withDirectives(createVNode(_sfc_main$3, { configure: __props.configure }, null, 8, ["configure"]), [
|
|
@@ -11,6 +11,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
type: String,
|
|
12
12
|
default: "[]"
|
|
13
13
|
},
|
|
14
|
+
list: {
|
|
15
|
+
type: Array,
|
|
16
|
+
default: () => []
|
|
17
|
+
},
|
|
14
18
|
// 字段名列表
|
|
15
19
|
fieldNameList: {
|
|
16
20
|
type: Array,
|
|
@@ -35,6 +39,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
39
|
if (props.conditionList) {
|
|
36
40
|
tableData.value = JSON.parse(props.conditionList);
|
|
37
41
|
}
|
|
42
|
+
if (props.list) {
|
|
43
|
+
tableData.value = props.list;
|
|
44
|
+
}
|
|
38
45
|
});
|
|
39
46
|
function remove() {
|
|
40
47
|
tableData.value = tableData.value.filter((item) => item != currentRow.value);
|
|
@@ -180,11 +187,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
180
187
|
onChange: ($event) => changeFieldName(scope.$index, scope.row.propName)
|
|
181
188
|
}, {
|
|
182
189
|
default: withCtx(() => [
|
|
183
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldNameList, (
|
|
190
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.fieldNameList, (item) => {
|
|
184
191
|
return openBlock(), createBlock(_component_el_option, {
|
|
185
|
-
key:
|
|
186
|
-
label:
|
|
187
|
-
value:
|
|
192
|
+
key: item.id,
|
|
193
|
+
label: item.alias,
|
|
194
|
+
value: item.dbColumnName
|
|
188
195
|
}, null, 8, ["label", "value"]);
|
|
189
196
|
}), 128))
|
|
190
197
|
]),
|
|
@@ -19,7 +19,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
const currentRow = ref({});
|
|
20
20
|
const combinationVisible = ref(false);
|
|
21
21
|
const tableSelectIndex = ref("");
|
|
22
|
-
|
|
22
|
+
ref([
|
|
23
23
|
{
|
|
24
24
|
dbColumnName: "FIRST_TASK_ID",
|
|
25
25
|
label: "该流程的第一个任务的id",
|
|
@@ -39,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
value: "AUDIT_REPORT_NO"
|
|
40
40
|
}
|
|
41
41
|
]);
|
|
42
|
-
|
|
42
|
+
ref({
|
|
43
43
|
"FIRST_TASK_ID": {
|
|
44
44
|
dbColumnName: "FIRST_TASK_ID",
|
|
45
45
|
label: "该流程的第一个任务的id",
|
|
@@ -158,8 +158,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
158
158
|
createVNode(_component_el_input, {
|
|
159
159
|
"model-value": unref(formatConditionList)(
|
|
160
160
|
scope.row.sqlFilterCondition,
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
_ctx.pageDesign.modelFields,
|
|
162
|
+
_ctx.pageDesign.modelFieldsMap
|
|
163
163
|
),
|
|
164
164
|
size: "default",
|
|
165
165
|
onClick: ($event) => opencombinationDialog(scope.row, scope.$index)
|
|
@@ -201,8 +201,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
201
201
|
combinationVisible.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
202
202
|
key: 0,
|
|
203
203
|
conditionList: conditionList.value,
|
|
204
|
-
fieldNameList:
|
|
205
|
-
fieldMap:
|
|
204
|
+
fieldNameList: _ctx.pageDesign.modelFields,
|
|
205
|
+
fieldMap: _ctx.pageDesign.modelFieldsMap,
|
|
206
206
|
onSave: saveCondition,
|
|
207
207
|
onClose: closeCombination
|
|
208
208
|
}, null, 8, ["conditionList", "fieldNameList", "fieldMap"])) : createCommentVNode("", true)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, createVNode, createTextVNode, unref, createElementBlock, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
2
|
import { formatConditionList } from "../../../../utils/data-table-util.js";
|
|
3
3
|
import { CirclePlus, Delete } from "@element-plus/icons-vue";
|
|
4
4
|
import _sfc_main$1 from "./combination.vue.js";
|
|
@@ -11,9 +11,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
type: Object,
|
|
12
12
|
default: () => {
|
|
13
13
|
}
|
|
14
|
+
},
|
|
15
|
+
pageDesign: {
|
|
16
|
+
type: Object,
|
|
17
|
+
default: () => {
|
|
18
|
+
}
|
|
14
19
|
}
|
|
15
20
|
},
|
|
16
|
-
emits: ["close"],
|
|
21
|
+
emits: ["close", "save"],
|
|
17
22
|
setup(__props, { emit: __emit }) {
|
|
18
23
|
const props = __props;
|
|
19
24
|
const $emit = __emit;
|
|
@@ -21,68 +26,40 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
21
26
|
const combinationVisible = ref(false);
|
|
22
27
|
const tableSelectIndex = ref("");
|
|
23
28
|
const conditionList = ref(null);
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
value: "FIRST_TASK_ID"
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
dbColumnName: "ID",
|
|
33
|
-
label: "id",
|
|
34
|
-
type: "LONG",
|
|
35
|
-
value: "ID"
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
dbColumnName: "AUDIT_REPORT_NO",
|
|
39
|
-
label: "审核报告编号",
|
|
40
|
-
type: "TEXT",
|
|
41
|
-
value: "AUDIT_REPORT_NO"
|
|
42
|
-
}
|
|
43
|
-
]);
|
|
44
|
-
const fieldMap = ref({
|
|
45
|
-
"FIRST_TASK_ID": {
|
|
46
|
-
dbColumnName: "FIRST_TASK_ID",
|
|
47
|
-
label: "该流程的第一个任务的id",
|
|
48
|
-
type: "TEXT",
|
|
49
|
-
value: "FIRST_TASK_ID"
|
|
50
|
-
},
|
|
51
|
-
"ID": {
|
|
52
|
-
dbColumnName: "ID",
|
|
53
|
-
label: "id",
|
|
54
|
-
type: "LONG",
|
|
55
|
-
value: "ID"
|
|
56
|
-
},
|
|
57
|
-
"AUDIT_REPORT_NO": {
|
|
58
|
-
dbColumnName: "AUDIT_REPORT_NO",
|
|
59
|
-
label: "审核报告编号",
|
|
60
|
-
type: "TEXT",
|
|
61
|
-
value: "AUDIT_REPORT_NO"
|
|
62
|
-
}
|
|
63
|
-
});
|
|
29
|
+
const tableRef = ref(null);
|
|
30
|
+
const tableData = ref([]);
|
|
31
|
+
if (props.configure.props.setValueList) {
|
|
32
|
+
tableData.value = props.configure.props.setValueList;
|
|
33
|
+
}
|
|
64
34
|
function closeCombination() {
|
|
65
35
|
combinationVisible.value = false;
|
|
66
36
|
}
|
|
67
37
|
function saveCondition(table) {
|
|
68
|
-
|
|
38
|
+
tableData.value[tableSelectIndex.value]["conditionList"] = table;
|
|
39
|
+
}
|
|
40
|
+
function saveData() {
|
|
41
|
+
$emit("save", tableData.value);
|
|
42
|
+
$emit("close");
|
|
69
43
|
}
|
|
70
44
|
function opencombinationDialog(row, index) {
|
|
71
|
-
conditionList.value = row.
|
|
45
|
+
conditionList.value = row.conditionList;
|
|
72
46
|
tableSelectIndex.value = index;
|
|
73
47
|
combinationVisible.value = true;
|
|
74
48
|
}
|
|
75
49
|
function afterBindDefaultValue(modelValue, row) {
|
|
76
50
|
row.defaultValue = modelValue;
|
|
77
51
|
}
|
|
52
|
+
function selectRow(row) {
|
|
53
|
+
tableRef.value.setCurrentRow(row);
|
|
54
|
+
}
|
|
78
55
|
function remove() {
|
|
79
|
-
|
|
56
|
+
tableData.value = tableData.value.filter((item) => item !== currentRow.value);
|
|
80
57
|
}
|
|
81
58
|
function handleCurrentChange(val) {
|
|
82
59
|
currentRow.value = val;
|
|
83
60
|
}
|
|
84
61
|
function add() {
|
|
85
|
-
|
|
62
|
+
tableData.value.push({});
|
|
86
63
|
}
|
|
87
64
|
return (_ctx, _cache) => {
|
|
88
65
|
const _component_el_button = resolveComponent("el-button");
|
|
@@ -97,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
97
74
|
"model-value": "",
|
|
98
75
|
title: "自动设值",
|
|
99
76
|
"append-to-body": "",
|
|
100
|
-
onClose: _cache[
|
|
77
|
+
onClose: _cache[1] || (_cache[1] = ($event) => $emit("close"))
|
|
101
78
|
}, {
|
|
102
79
|
footer: withCtx(() => [
|
|
103
80
|
createElementVNode("div", _hoisted_1, [
|
|
@@ -111,7 +88,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
111
88
|
}),
|
|
112
89
|
createVNode(_component_el_button, {
|
|
113
90
|
type: "primary",
|
|
114
|
-
onClick:
|
|
91
|
+
onClick: saveData
|
|
115
92
|
}, {
|
|
116
93
|
default: withCtx(() => [
|
|
117
94
|
createTextVNode(" 确定 ")
|
|
@@ -149,10 +126,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
126
|
_: 1
|
|
150
127
|
}),
|
|
151
128
|
createVNode(_component_el_table, {
|
|
129
|
+
ref_key: "tableRef",
|
|
130
|
+
ref: tableRef,
|
|
152
131
|
"highlight-current-row": "",
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
132
|
+
data: tableData.value,
|
|
133
|
+
style: { "width": "100%" },
|
|
134
|
+
onCurrentChange: handleCurrentChange
|
|
156
135
|
}, {
|
|
157
136
|
default: withCtx(() => [
|
|
158
137
|
createVNode(_component_el_table_column, {
|
|
@@ -165,7 +144,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
165
144
|
modelValue: scope.row.fillType,
|
|
166
145
|
"onUpdate:modelValue": ($event) => scope.row.fillType = $event,
|
|
167
146
|
clearable: "",
|
|
168
|
-
size: "default"
|
|
147
|
+
size: "default",
|
|
148
|
+
onFocus: ($event) => selectRow(scope.row)
|
|
169
149
|
}, {
|
|
170
150
|
default: withCtx(() => [
|
|
171
151
|
createVNode(_component_el_option, {
|
|
@@ -182,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
182
162
|
})
|
|
183
163
|
]),
|
|
184
164
|
_: 2
|
|
185
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
165
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])
|
|
186
166
|
]),
|
|
187
167
|
_: 1
|
|
188
168
|
}),
|
|
@@ -194,13 +174,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
194
174
|
default: withCtx((scope) => [
|
|
195
175
|
createVNode(_component_el_input, {
|
|
196
176
|
"model-value": unref(formatConditionList)(
|
|
197
|
-
scope.row.
|
|
198
|
-
|
|
199
|
-
|
|
177
|
+
scope.row.conditionList,
|
|
178
|
+
__props.pageDesign.modelFields,
|
|
179
|
+
__props.pageDesign.modelFieldsMap
|
|
200
180
|
),
|
|
201
181
|
size: "default",
|
|
182
|
+
onFocus: ($event) => selectRow(scope.row),
|
|
202
183
|
onClick: ($event) => opencombinationDialog(scope.row, scope.$index)
|
|
203
|
-
}, null, 8, ["model-value", "onClick"])
|
|
184
|
+
}, null, 8, ["model-value", "onFocus", "onClick"])
|
|
204
185
|
]),
|
|
205
186
|
_: 1
|
|
206
187
|
}),
|
|
@@ -219,16 +200,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
219
200
|
modelValue: scope.row.field,
|
|
220
201
|
"onUpdate:modelValue": ($event) => scope.row.field = $event,
|
|
221
202
|
clearable: "",
|
|
222
|
-
size: "default"
|
|
203
|
+
size: "default",
|
|
204
|
+
onFocus: ($event) => selectRow(scope.row)
|
|
223
205
|
}, {
|
|
224
206
|
default: withCtx(() => [
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
207
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.pageDesign.modelFields, (item) => {
|
|
208
|
+
return openBlock(), createBlock(_component_el_option, {
|
|
209
|
+
key: item.id,
|
|
210
|
+
label: item.alias,
|
|
211
|
+
value: item.dbColumnName
|
|
212
|
+
}, null, 8, ["label", "value"]);
|
|
213
|
+
}), 128))
|
|
229
214
|
]),
|
|
230
215
|
_: 2
|
|
231
|
-
}, 1032, ["modelValue", "onUpdate:modelValue"])
|
|
216
|
+
}, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])
|
|
232
217
|
]),
|
|
233
218
|
_: 1
|
|
234
219
|
}),
|
|
@@ -239,9 +224,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
239
224
|
}, {
|
|
240
225
|
default: withCtx((scope) => [
|
|
241
226
|
createVNode(BindVariable, {
|
|
227
|
+
onFocus: ($event) => selectRow(scope.row),
|
|
242
228
|
modelValue: scope.row.defaultValue,
|
|
243
229
|
"onUpdate:modelValue": (data) => afterBindDefaultValue(data, scope.row)
|
|
244
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
230
|
+
}, null, 8, ["onFocus", "modelValue", "onUpdate:modelValue"])
|
|
245
231
|
]),
|
|
246
232
|
_: 1
|
|
247
233
|
})
|
|
@@ -254,8 +240,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
254
240
|
combinationVisible.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
255
241
|
key: 0,
|
|
256
242
|
conditionList: conditionList.value,
|
|
257
|
-
fieldNameList:
|
|
258
|
-
fieldMap:
|
|
243
|
+
fieldNameList: __props.pageDesign.modelFields,
|
|
244
|
+
fieldMap: __props.pageDesign.modelFieldsMap,
|
|
259
245
|
onSave: saveCondition,
|
|
260
246
|
onClose: closeCombination
|
|
261
247
|
}, null, 8, ["conditionList", "fieldNameList", "fieldMap"])) : createCommentVNode("", true)
|