vue2-client 1.8.261 → 1.8.262
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/base-client/components/common/LowCodeComponent/LowCodePageOrganization.vue +143 -113
- package/src/base-client/components/common/XReport/XReport.vue +2 -0
- package/src/base-client/components/common/XReport/XReportDesign.vue +13 -0
- package/src/base-client/components/common/XReport/XReportJsonRender.vue +5 -0
- package/src/base-client/components/common/XReport/XReportTrGroup.vue +7 -2
- package/src/pages/lowCode/lowCodeEditor.vue +182 -142
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
<a-menu @click="({ key: menuKey }) => onContextMenuClick(treeKey, menuKey)">
|
|
18
18
|
<a-menu-item key="copy">复制</a-menu-item>
|
|
19
19
|
<a-menu-item key="paste" :disabled="copyCache === undefined">粘贴</a-menu-item>
|
|
20
|
+
<a-menu-item key="split" :disabled="determineLevel(treeKey) !== 'item'">拆分</a-menu-item>
|
|
20
21
|
<a-menu-item key="rename" :disabled="treeKey.length > 2 && treeKey.length <= 5">重命名</a-menu-item>
|
|
21
22
|
<a-menu-item key="delete">删除</a-menu-item>
|
|
22
23
|
</a-menu>
|
|
@@ -145,130 +146,159 @@ export default {
|
|
|
145
146
|
}
|
|
146
147
|
this.$emit('componentMove', dragKey, dropKey, dropLevel, dropPosition)
|
|
147
148
|
},
|
|
148
|
-
|
|
149
|
-
onContextMenuClick (treeKey, menuKey) {
|
|
150
|
-
// 判断目标类型
|
|
151
|
-
const targetType = this.determineLevel(treeKey)
|
|
149
|
+
handleDelete (targetType, originalKey) {
|
|
152
150
|
const _this = this
|
|
151
|
+
if (targetType === 'item') {
|
|
152
|
+
this.$confirm({
|
|
153
|
+
title: `确认删除此组件?`,
|
|
154
|
+
content: `组件ID:${originalKey}`,
|
|
155
|
+
onOk () {
|
|
156
|
+
_this.$emit('deleteComponent', originalKey, 'component')
|
|
157
|
+
},
|
|
158
|
+
onCancel () {},
|
|
159
|
+
})
|
|
160
|
+
} else if (targetType === 'page') {
|
|
161
|
+
const page = lowcodeUtils.getPageConfigById(originalKey, this.config)
|
|
162
|
+
this.$confirm({
|
|
163
|
+
title: `确认删除此页面?`,
|
|
164
|
+
content: `所选页面:${page.title}[${lowcodeUtils.resolvePageType(page.type)}]`,
|
|
165
|
+
onOk () {
|
|
166
|
+
_this.$emit('deleteComponent', originalKey, 'page')
|
|
167
|
+
},
|
|
168
|
+
onCancel () {},
|
|
169
|
+
})
|
|
170
|
+
} else if (targetType === 'row') {
|
|
171
|
+
this.$confirm({
|
|
172
|
+
title: `确认删除此行?`,
|
|
173
|
+
content: `所选行:${originalKey}`,
|
|
174
|
+
onOk () {
|
|
175
|
+
_this.$emit('deleteComponent', originalKey, 'row')
|
|
176
|
+
},
|
|
177
|
+
onCancel () {},
|
|
178
|
+
})
|
|
179
|
+
} else if (targetType === 'container_page') {
|
|
180
|
+
this.$confirm({
|
|
181
|
+
title: `确认删除此容器页面?`,
|
|
182
|
+
content: `所选容器:${originalKey}`,
|
|
183
|
+
onOk () {
|
|
184
|
+
_this.$emit('deleteComponent', originalKey, 'container_page')
|
|
185
|
+
},
|
|
186
|
+
onCancel () {},
|
|
187
|
+
})
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
handleCopy (treeKey, targetType) {
|
|
153
191
|
const originalKey = this.getOriginalKey(treeKey)
|
|
154
|
-
|
|
155
|
-
if (
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
this.$confirm({
|
|
177
|
-
title: `确认删除此行?`,
|
|
178
|
-
content: `所选行:${originalKey}`,
|
|
179
|
-
onOk () {
|
|
180
|
-
_this.$emit('deleteComponent', originalKey, 'row')
|
|
181
|
-
},
|
|
182
|
-
onCancel () {},
|
|
192
|
+
let temp
|
|
193
|
+
if (targetType === 'container_page') {
|
|
194
|
+
temp = lowcodeUtils.getContainerPageOuterByContainerPageId(originalKey, this.config)
|
|
195
|
+
} else {
|
|
196
|
+
temp = lowcodeUtils.getConfig(originalKey, this.config)
|
|
197
|
+
}
|
|
198
|
+
// 复制
|
|
199
|
+
let copy = JSON.parse(JSON.stringify(temp))
|
|
200
|
+
console.warn('copy', copy)
|
|
201
|
+
if (targetType === 'page') {
|
|
202
|
+
// 重新修改id和title
|
|
203
|
+
copy.id = 'page_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
204
|
+
copy.title = copy.title + '_副本'
|
|
205
|
+
// 复制页面自动粘贴
|
|
206
|
+
this.$emit('pasteItem', originalKey, copy, 'page')
|
|
207
|
+
} else {
|
|
208
|
+
if (targetType === 'row') {
|
|
209
|
+
// 将行内每个组件重新修改id
|
|
210
|
+
const copyKeys = Object.keys(copy)
|
|
211
|
+
copyKeys.forEach(key => {
|
|
212
|
+
const prefix = copy[key].id.split('_')[0]
|
|
213
|
+
copy[key].id = prefix + '_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
183
214
|
})
|
|
215
|
+
} else if (targetType === 'item') {
|
|
216
|
+
// 重新修改id
|
|
217
|
+
const prefix = copy.id.split('_')[0]
|
|
218
|
+
copy.id = prefix + '_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
184
219
|
} else if (targetType === 'container_page') {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
onOk () {
|
|
189
|
-
_this.$emit('deleteComponent', originalKey, 'container_page')
|
|
190
|
-
},
|
|
191
|
-
onCancel () {},
|
|
192
|
-
})
|
|
193
|
-
}
|
|
194
|
-
} else if (menuKey === 'copy') {
|
|
195
|
-
const originalKey = this.getOriginalKey(treeKey)
|
|
196
|
-
let temp
|
|
197
|
-
if (targetType === 'container_page') {
|
|
198
|
-
temp = lowcodeUtils.getContainerPageOuterByContainerPageId(originalKey, this.config)
|
|
199
|
-
} else {
|
|
200
|
-
temp = lowcodeUtils.getConfig(originalKey, this.config)
|
|
201
|
-
}
|
|
202
|
-
// 复制
|
|
203
|
-
let copy = JSON.parse(JSON.stringify(temp))
|
|
204
|
-
console.warn('copy', copy)
|
|
205
|
-
if (targetType === 'page') {
|
|
206
|
-
// 重新修改id和title
|
|
207
|
-
copy.id = 'page_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
208
|
-
copy.title = copy.title + '_副本'
|
|
209
|
-
// 复制页面自动粘贴
|
|
210
|
-
this.$emit('pasteItem', originalKey, copy, 'page')
|
|
211
|
-
} else {
|
|
212
|
-
if (targetType === 'row') {
|
|
213
|
-
// 将行内每个组件重新修改id
|
|
214
|
-
const copyKeys = Object.keys(copy)
|
|
215
|
-
copyKeys.forEach(key => {
|
|
216
|
-
const prefix = copy[key].id.split('_')[0]
|
|
217
|
-
copy[key].id = prefix + '_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
218
|
-
})
|
|
219
|
-
} else if (targetType === 'item') {
|
|
220
|
-
// 重新修改id
|
|
221
|
-
const prefix = copy.id.split('_')[0]
|
|
222
|
-
copy.id = prefix + '_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
223
|
-
} else if (targetType === 'container_page') {
|
|
224
|
-
// 重新修改id
|
|
225
|
-
copy.id = 'container_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
226
|
-
copy = lowcodeUtils.reRandomComponentId(copy)
|
|
227
|
-
}
|
|
228
|
-
this.copyCache = {
|
|
229
|
-
type: targetType,
|
|
230
|
-
content: copy
|
|
231
|
-
}
|
|
232
|
-
this.$message.success('复制成功!')
|
|
220
|
+
// 重新修改id
|
|
221
|
+
copy.id = 'container_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
222
|
+
copy = lowcodeUtils.reRandomComponentId(copy)
|
|
233
223
|
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
this.$message.error('该操作不合法!')
|
|
238
|
-
return
|
|
224
|
+
this.copyCache = {
|
|
225
|
+
type: targetType,
|
|
226
|
+
content: copy
|
|
239
227
|
}
|
|
228
|
+
this.$message.success('复制成功!')
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
handlePaste (targetType, originalKey) {
|
|
232
|
+
// 同级别内容不能粘贴到另一个中
|
|
233
|
+
if (targetType === this.copyCache.type) {
|
|
234
|
+
this.$message.error('该操作不合法!')
|
|
235
|
+
return
|
|
236
|
+
}
|
|
240
237
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
}
|
|
238
|
+
// 行只能复制到容器页面和页面中
|
|
239
|
+
if (this.copyCache.type === 'row') {
|
|
240
|
+
if (targetType === 'page' || targetType === 'container_page') {
|
|
241
|
+
this.$emit('pasteItem', originalKey, this.copyCache, 'page-row')
|
|
242
|
+
return
|
|
247
243
|
}
|
|
244
|
+
}
|
|
248
245
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}
|
|
246
|
+
// 模块,容器页面只能复制到行
|
|
247
|
+
if (this.copyCache.type === 'item' || this.copyCache.type === 'container_page') {
|
|
248
|
+
if (targetType === 'row') {
|
|
249
|
+
this.$emit('pasteItem', originalKey, this.copyCache, 'row-item')
|
|
250
|
+
return
|
|
255
251
|
}
|
|
252
|
+
}
|
|
256
253
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
254
|
+
// 其余操作均不合法
|
|
255
|
+
this.$message.error('该操作不合法!')
|
|
256
|
+
},
|
|
257
|
+
handleRename (originalKey) {
|
|
258
|
+
const target = lowcodeUtils.getConfig(originalKey, this.config)
|
|
259
|
+
this.renameId = target.id
|
|
260
|
+
if (target.title) {
|
|
261
|
+
this.pageNewName = target.title
|
|
262
|
+
} else if (target.name) {
|
|
263
|
+
this.pageNewName = target.name
|
|
264
|
+
} else {
|
|
265
|
+
this.pageNewName = target.id
|
|
266
|
+
}
|
|
267
|
+
this.showRenameModal = true
|
|
268
|
+
},
|
|
269
|
+
handleSplit (originalKey) {
|
|
270
|
+
const _this = this
|
|
271
|
+
this.$confirm({
|
|
272
|
+
title: `是否垂直拆分?`,
|
|
273
|
+
onOk () {
|
|
274
|
+
_this.$emit('split', originalKey, true)
|
|
275
|
+
},
|
|
276
|
+
onCancel () {
|
|
277
|
+
_this.$emit('split', originalKey, false)
|
|
278
|
+
},
|
|
279
|
+
})
|
|
280
|
+
},
|
|
281
|
+
// 树右键事件
|
|
282
|
+
onContextMenuClick (treeKey, menuKey) {
|
|
283
|
+
// 判断目标类型
|
|
284
|
+
const targetType = this.determineLevel(treeKey)
|
|
285
|
+
const originalKey = this.getOriginalKey(treeKey)
|
|
286
|
+
// 点击右键菜单中删除的事件
|
|
287
|
+
switch (menuKey) {
|
|
288
|
+
case 'delete':
|
|
289
|
+
this.handleDelete(targetType, originalKey)
|
|
290
|
+
return
|
|
291
|
+
case 'copy':
|
|
292
|
+
this.handleCopy(treeKey, targetType)
|
|
293
|
+
return
|
|
294
|
+
case 'paste':
|
|
295
|
+
this.handlePaste(targetType, originalKey)
|
|
296
|
+
return
|
|
297
|
+
case 'rename':
|
|
298
|
+
this.handleRename(originalKey)
|
|
299
|
+
return
|
|
300
|
+
case 'split':
|
|
301
|
+
this.handleSplit(originalKey)
|
|
272
302
|
}
|
|
273
303
|
},
|
|
274
304
|
// 处理架构树点击事件
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
:for-display="type === 'display'"
|
|
17
17
|
ref="XReportDesign"
|
|
18
18
|
id="printReady"
|
|
19
|
+
:server-name="serverName"
|
|
19
20
|
:show-title="showTitle"
|
|
20
21
|
:no-padding="noPadding"
|
|
21
22
|
:no-top-border="noTopBorder"
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
:show-title="showTitle"
|
|
53
54
|
ref="XReportDesign"
|
|
54
55
|
id="printReady"
|
|
56
|
+
:server-name="serverName"
|
|
55
57
|
:show-images="hasImages"
|
|
56
58
|
:image-list="imageList">
|
|
57
59
|
</XReportDesign>
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<div>
|
|
3
3
|
<template v-if="this.activatedConfig.designMode === 'json'">
|
|
4
4
|
<XReportJsonRender
|
|
5
|
+
:server-name="serverName"
|
|
5
6
|
:display-only="displayOnly"
|
|
6
7
|
:show-title="showTitle"
|
|
7
8
|
:no-padding="noPadding"
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
<template v-if="!forDisplay">
|
|
53
54
|
<x-report-tr-group
|
|
54
55
|
@updateImg="updateImg"
|
|
56
|
+
:server-name="serverName"
|
|
55
57
|
:use-oss-for-img="useOssForImg"
|
|
56
58
|
:key="rowIndex"
|
|
57
59
|
:columns="row"
|
|
@@ -63,6 +65,7 @@
|
|
|
63
65
|
<template v-else>
|
|
64
66
|
<x-report-tr-group
|
|
65
67
|
@updateImg="updateImg"
|
|
68
|
+
:server-name="serverName"
|
|
66
69
|
:use-oss-for-img="useOssForImg"
|
|
67
70
|
:config="activatedConfig"
|
|
68
71
|
:key="rowIndex"
|
|
@@ -79,6 +82,7 @@
|
|
|
79
82
|
<template v-if="!forDisplay">
|
|
80
83
|
<x-report-tr-group
|
|
81
84
|
@updateImg="updateImg"
|
|
85
|
+
:server-name="serverName"
|
|
82
86
|
:use-oss-for-img="useOssForImg"
|
|
83
87
|
:config="activatedConfig"
|
|
84
88
|
:key="rowIndex + listIndex"
|
|
@@ -91,6 +95,7 @@
|
|
|
91
95
|
<template v-else>
|
|
92
96
|
<x-report-tr-group
|
|
93
97
|
@updateImg="updateImg"
|
|
98
|
+
:server-name="serverName"
|
|
94
99
|
:use-oss-for-img="useOssForImg"
|
|
95
100
|
:config="activatedConfig"
|
|
96
101
|
:key="rowIndex + listIndex"
|
|
@@ -108,6 +113,7 @@
|
|
|
108
113
|
<template v-if="forDisplay">
|
|
109
114
|
<x-report-tr-group
|
|
110
115
|
@updateImg="updateImg"
|
|
116
|
+
:server-name="serverName"
|
|
111
117
|
:use-oss-for-img="useOssForImg"
|
|
112
118
|
:config="activatedConfig"
|
|
113
119
|
:columns="row[0].definition"
|
|
@@ -122,6 +128,7 @@
|
|
|
122
128
|
<template v-if="!forDisplay">
|
|
123
129
|
<x-report-tr-group
|
|
124
130
|
@updateImg="updateImg"
|
|
131
|
+
:server-name="serverName"
|
|
125
132
|
:use-oss-for-img="useOssForImg"
|
|
126
133
|
:config="activatedConfig"
|
|
127
134
|
:columns="row[0].definition"
|
|
@@ -134,6 +141,7 @@
|
|
|
134
141
|
<!-- 动态行交互按钮 -->
|
|
135
142
|
<x-report-tr-group
|
|
136
143
|
@updateImg="updateImg"
|
|
144
|
+
:server-name="serverName"
|
|
137
145
|
:use-oss-for-img="useOssForImg"
|
|
138
146
|
:config="activatedConfig"
|
|
139
147
|
:key="rowIndex"
|
|
@@ -181,6 +189,11 @@ export default {
|
|
|
181
189
|
type: Boolean,
|
|
182
190
|
default: false
|
|
183
191
|
},
|
|
192
|
+
// 命名空间
|
|
193
|
+
serverName: {
|
|
194
|
+
type: String,
|
|
195
|
+
default: 'af-system'
|
|
196
|
+
},
|
|
184
197
|
// 是否只能展示不可编辑
|
|
185
198
|
displayOnly: {
|
|
186
199
|
type: Boolean,
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
<template v-if="configData.images[cell.dataIndex]?.length > 0">
|
|
243
243
|
<upload
|
|
244
244
|
:model="uploadParams"
|
|
245
|
-
service-name="
|
|
245
|
+
:service-name="serverName"
|
|
246
246
|
:images="checkImg(cell.dataIndex, 'configData')"
|
|
247
247
|
:outer-container-index="cell.dataIndex"
|
|
248
248
|
@setFiles="(...args) => {setImages(args, 'configData')}"
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
<template v-else>
|
|
253
253
|
<upload
|
|
254
254
|
:model="uploadParams"
|
|
255
|
-
service-name="
|
|
255
|
+
:service-name="serverName"
|
|
256
256
|
:images="checkImg(cell.dataIndex, 'config')"
|
|
257
257
|
:outer-container-index="cell.dataIndex"
|
|
258
258
|
@setFiles="(...args) => {setImages(args, 'config', cell.dataIndex)}"
|
|
@@ -357,6 +357,11 @@ export default {
|
|
|
357
357
|
return {}
|
|
358
358
|
}
|
|
359
359
|
},
|
|
360
|
+
// 命名空间
|
|
361
|
+
serverName: {
|
|
362
|
+
type: String,
|
|
363
|
+
default: 'af-system'
|
|
364
|
+
},
|
|
360
365
|
// 原始配置
|
|
361
366
|
configData: {
|
|
362
367
|
type: Object,
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
:config="config"
|
|
49
49
|
v-if="showPageOrganization"
|
|
50
50
|
@rename="rename"
|
|
51
|
+
@split="handleSplit"
|
|
51
52
|
@pasteItem="handlePasteItem"
|
|
52
53
|
@componentMove="handleTreeDrag"
|
|
53
54
|
@deleteComponent="deleteComponentInTree"
|
|
@@ -620,6 +621,45 @@ export default {
|
|
|
620
621
|
}
|
|
621
622
|
},
|
|
622
623
|
methods: {
|
|
624
|
+
handleSplit (id, isVertical) {
|
|
625
|
+
if (isVertical) {
|
|
626
|
+
const target = lowcodeUtils.getComponentConfig(id, this.config)
|
|
627
|
+
const row = lowcodeUtils.getRowConfigByComponentId(id, this.config)
|
|
628
|
+
let index
|
|
629
|
+
for (let i = 0; i < row.length; i++) {
|
|
630
|
+
if (row[i].id === id) {
|
|
631
|
+
index = i
|
|
632
|
+
break
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
const cache = JSON.parse(JSON.stringify(target))
|
|
636
|
+
const temp = {
|
|
637
|
+
type: 'container_page',
|
|
638
|
+
span: cache.span,
|
|
639
|
+
id: 'container_' + lowcodeUtils.nanoidWithoutSymbol(6),
|
|
640
|
+
page: [
|
|
641
|
+
{
|
|
642
|
+
id: 'container_page_' + lowcodeUtils.nanoidWithoutSymbol(2),
|
|
643
|
+
type: 'page',
|
|
644
|
+
body: [
|
|
645
|
+
[]
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
]
|
|
649
|
+
}
|
|
650
|
+
cache.span = 24
|
|
651
|
+
temp.page[0].body[0].push(cache)
|
|
652
|
+
temp.page[0].body[0].push({
|
|
653
|
+
type: 'container',
|
|
654
|
+
span: 24,
|
|
655
|
+
id: 'container_' + lowcodeUtils.nanoidWithoutSymbol(6)
|
|
656
|
+
})
|
|
657
|
+
row.splice(index, 1, temp)
|
|
658
|
+
} else {
|
|
659
|
+
// TODO
|
|
660
|
+
}
|
|
661
|
+
this.refreshOrganization()
|
|
662
|
+
},
|
|
623
663
|
refreshRender () {
|
|
624
664
|
this.renderPreview = false
|
|
625
665
|
this.renderModalPreview = false
|
|
@@ -1330,148 +1370,148 @@ export default {
|
|
|
1330
1370
|
this.supportedEventType = [...lowcodeComponentMixin.supportedEventType]
|
|
1331
1371
|
// 深拷贝外侧传来的配置
|
|
1332
1372
|
this.config = JSON.parse(JSON.stringify(this.originalConfig))
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1373
|
+
this.config = {
|
|
1374
|
+
page: [
|
|
1375
|
+
{
|
|
1376
|
+
id: 'page_KBjw2i',
|
|
1377
|
+
type: 'page',
|
|
1378
|
+
title: '111',
|
|
1379
|
+
body: [
|
|
1380
|
+
[
|
|
1381
|
+
{
|
|
1382
|
+
type: 'XFormTable',
|
|
1383
|
+
span: 12,
|
|
1384
|
+
id: 'XFormTable_BV6Nwk',
|
|
1385
|
+
selected: false,
|
|
1386
|
+
props: {
|
|
1387
|
+
queryParamsName: '',
|
|
1388
|
+
serviceName: ''
|
|
1389
|
+
},
|
|
1390
|
+
selfEvent: [
|
|
1391
|
+
'action'
|
|
1392
|
+
]
|
|
1393
|
+
},
|
|
1394
|
+
{
|
|
1395
|
+
type: 'XAddNativeForm',
|
|
1396
|
+
span: 12,
|
|
1397
|
+
id: 'XAddNativeForm_ekihTp',
|
|
1398
|
+
selected: false,
|
|
1399
|
+
props: {
|
|
1400
|
+
configNameForLowCode: '',
|
|
1401
|
+
systemNameForLowCode: ''
|
|
1402
|
+
},
|
|
1403
|
+
selfEvent: [
|
|
1404
|
+
'onSubmit'
|
|
1405
|
+
]
|
|
1406
|
+
}
|
|
1407
|
+
],
|
|
1408
|
+
[
|
|
1409
|
+
{
|
|
1410
|
+
type: 'XTreeOne',
|
|
1411
|
+
span: 12,
|
|
1412
|
+
id: 'XTreeOne_szu7Al',
|
|
1413
|
+
selected: false
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
type: 'XDescriptions',
|
|
1417
|
+
span: 12,
|
|
1418
|
+
id: 'XDescriptions_DTkbEg',
|
|
1419
|
+
selected: false,
|
|
1420
|
+
props: {
|
|
1421
|
+
title: '111',
|
|
1422
|
+
content: {
|
|
1423
|
+
c_f_user_phone: '2323',
|
|
1424
|
+
c_f_total_fee: 33356,
|
|
1425
|
+
c_f_address: '22',
|
|
1426
|
+
c_f_meterlen: 2,
|
|
1427
|
+
c_f_bank_card_number: '23',
|
|
1428
|
+
c_f_create_user: '超级管理员',
|
|
1429
|
+
c_f_customer: '23',
|
|
1430
|
+
c_f_balance: 33356,
|
|
1431
|
+
c_f_create_date: '2024-06-23 21:31:24',
|
|
1432
|
+
c_f_operator_date: '2024-06-23 21:31:24',
|
|
1433
|
+
c_f_total_times: 2,
|
|
1434
|
+
c_f_user_name: '23',
|
|
1435
|
+
c_f_comments: '323',
|
|
1436
|
+
c_id: 39,
|
|
1437
|
+
c_f_operatorid: '15',
|
|
1438
|
+
c_f_operator: '超级管理员',
|
|
1439
|
+
c_f_orgid: '9'
|
|
1440
|
+
},
|
|
1441
|
+
configName: 'Unit_Desc_Config',
|
|
1442
|
+
serviceName: 'af-revenue',
|
|
1443
|
+
getRealData: true
|
|
1444
|
+
},
|
|
1445
|
+
selfEvent: []
|
|
1446
|
+
}
|
|
1447
|
+
]
|
|
1448
|
+
]
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
id: 'page_FgItf6',
|
|
1452
|
+
type: 'page',
|
|
1453
|
+
title: '22',
|
|
1454
|
+
body: [
|
|
1455
|
+
[
|
|
1456
|
+
{
|
|
1457
|
+
type: 'container',
|
|
1458
|
+
span: 4,
|
|
1459
|
+
id: 'container_ir2gR2',
|
|
1460
|
+
selected: false
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
type: 'container_page',
|
|
1464
|
+
span: 10,
|
|
1465
|
+
id: 'container_xIRHGg',
|
|
1466
|
+
selected: true,
|
|
1467
|
+
page: [
|
|
1468
|
+
{
|
|
1469
|
+
id: 'container_page_IgYw9u',
|
|
1470
|
+
type: 'page',
|
|
1471
|
+
body: [
|
|
1472
|
+
[
|
|
1473
|
+
{
|
|
1474
|
+
type: 'container',
|
|
1475
|
+
span: 24,
|
|
1476
|
+
id: 'container_tqVFCL'
|
|
1477
|
+
}
|
|
1478
|
+
],
|
|
1479
|
+
[
|
|
1480
|
+
{
|
|
1481
|
+
type: 'container',
|
|
1482
|
+
span: 24,
|
|
1483
|
+
id: 'container_i8VXCZ'
|
|
1484
|
+
}
|
|
1485
|
+
]
|
|
1486
|
+
]
|
|
1487
|
+
}
|
|
1488
|
+
]
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
type: 'container',
|
|
1492
|
+
span: 10,
|
|
1493
|
+
id: 'container_PT9n3Q',
|
|
1494
|
+
selected: false
|
|
1495
|
+
}
|
|
1496
|
+
],
|
|
1497
|
+
[
|
|
1498
|
+
{
|
|
1499
|
+
type: 'container',
|
|
1500
|
+
span: 18,
|
|
1501
|
+
id: 'container_q04vQr',
|
|
1502
|
+
selected: false
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
type: 'container',
|
|
1506
|
+
span: 6,
|
|
1507
|
+
id: 'container_MKwNvz',
|
|
1508
|
+
selected: false
|
|
1509
|
+
}
|
|
1510
|
+
]
|
|
1511
|
+
]
|
|
1512
|
+
}
|
|
1513
|
+
]
|
|
1514
|
+
}
|
|
1475
1515
|
this.refreshOrganization()
|
|
1476
1516
|
}
|
|
1477
1517
|
}
|