-
Notifications
You must be signed in to change notification settings - Fork 5
/
init.sql
462 lines (433 loc) · 441 KB
/
init.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
/*
Navicat Premium Dump SQL
Source Server : tencent
Source Server Type : MySQL
Source Server Version : 50740 (5.7.40)
Source Host : 124.222.119.198:3306
Source Schema : onlinecode_dev
Target Server Type : MySQL
Target Server Version : 50740 (5.7.40)
File Encoding : 65001
Date: 06/07/2024 12:07:52
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for leaf_alloc
-- ----------------------------
DROP TABLE IF EXISTS `leaf_alloc`;
CREATE TABLE `leaf_alloc` (
`biz_tag` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`max_id` bigint(20) NOT NULL DEFAULT 1,
`step` int(11) NOT NULL,
`description` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
`update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`biz_tag`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of leaf_alloc
-- ----------------------------
INSERT INTO `leaf_alloc` VALUES ('leaf-segment-test', 1, 2000, 'Test leaf Segment Mode Get Id', '2023-07-19 21:26:44');
INSERT INTO `leaf_alloc` VALUES ('sys_cron', 15, 2, '定时任务表主键', '2024-06-07 16:18:35');
INSERT INTO `leaf_alloc` VALUES ('sys_dept', 4001, 2000, '部门表主键', '2024-01-24 13:47:43');
INSERT INTO `leaf_alloc` VALUES ('sys_login', 1121, 10, '登录日志表主键', '2024-06-19 18:14:13');
INSERT INTO `leaf_alloc` VALUES ('sys_menu', 24001, 2000, '菜单表主键', '2024-06-07 09:58:28');
INSERT INTO `leaf_alloc` VALUES ('sys_process', 68001, 2000, '流程表主键', '2024-05-22 00:32:36');
INSERT INTO `leaf_alloc` VALUES ('sys_role', 6, 2, '角色表主键', '2024-02-18 16:41:29');
-- ----------------------------
-- Table structure for sys_cron
-- ----------------------------
DROP TABLE IF EXISTS `sys_cron`;
CREATE TABLE `sys_cron` (
`id` bigint(11) NOT NULL,
`cron_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'cron编码',
`cron_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'cron名称',
`cron_txt` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'cron表达式',
`proc_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '流程编码',
`execute_param` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '任务执行参数',
`execute_timeout` int(11) NULL DEFAULT NULL COMMENT '任务执行超时时长',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '状态(0禁用 1启用)',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新者',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '删除标识(0未删除 1已删除)',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '定时任务信息表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_cron
-- ----------------------------
-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
`id` bigint(11) NOT NULL COMMENT '主键',
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '部门名称',
`parent_id` bigint(11) NULL DEFAULT NULL COMMENT '上级部门id',
`ancestors` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '祖级列表',
`sort` int(11) NULL DEFAULT NULL COMMENT '显示顺序',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '状态(0禁用 1启用)',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新者',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '删除标识(0未删除 1已删除)',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '部门表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_dept
-- ----------------------------
INSERT INTO `sys_dept` VALUES (1, '管理员', NULL, NULL, 1, '1', '2024-01-23 07:29:16', NULL, NULL, NULL, NULL, '0');
INSERT INTO `sys_dept` VALUES (2, '测试', 1, '1,1', 1, '1', '2024-01-23 07:37:29', NULL, NULL, NULL, NULL, '0');
INSERT INTO `sys_dept` VALUES (2001, '测试1组', 2, '2,2', 1, '1', '2024-01-24 13:47:42', NULL, NULL, NULL, NULL, '0');
-- ----------------------------
-- Table structure for sys_login
-- ----------------------------
DROP TABLE IF EXISTS `sys_login`;
CREATE TABLE `sys_login` (
`id` bigint(20) NOT NULL COMMENT '主键',
`user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户账号',
`ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '登录IP地址',
`browser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '浏览器类型',
`os` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '操作系统',
`msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '提示信息',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '1' COMMENT '登录状态(0失败 1成功)',
`login_time` datetime NULL DEFAULT NULL COMMENT '登录时间',
`province` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '省份',
`city` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '城市',
`addr` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '位置',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '登录日志表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_login
-- ----------------------------
-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
`id` bigint(11) NOT NULL COMMENT '主键',
`code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '菜单编码',
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '菜单名称',
`parent_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '上级菜单编码',
`mode` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '模式(0schema 1react 2iframe)',
`type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '类型(0菜单组 1菜单 2组件控件 3独立页面)',
`new_tab` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '新标签页(0原标签页 1新标签页)',
`url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '路径地址',
`schema_json` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT 'schema',
`sort` int(11) NULL DEFAULT NULL COMMENT '显示顺序',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '状态(0禁用 1启用)',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新者',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '删除标识(0未删除 1已删除)',
`auth` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '需要鉴权(0开放 1需登录 2需授权)',
`icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '图标',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '菜单表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_menu
-- ----------------------------
INSERT INTO `sys_menu` VALUES (1, 'login', '登录页', NULL, '0', '3', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alilc/lowcode-materials\",\"version\":\"1.0.7\",\"exportName\":\"NextText\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"NextText\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Form\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Form.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Input\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Input\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Input\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Password\",\"componentName\":\"Input.Password\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Form\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Submit\",\"componentName\":\"Form.Submit\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Form\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Form\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alilc/lowcode-materials\",\"version\":\"1.0.7\",\"exportName\":\"Link\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Link\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"backgroundColor\":\"#000000\",\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/x-www-form-urlencoded\"},\"uri\":\"/onlinecode-api/login\"},\"id\":\"login\"}]},\"state\":{\"form\":{\"type\":\"JSExpression\",\"value\":\"{\\n \\\"username\\\": \\\"test\\\",\\n \\\"password\\\": \\\"1234\\\"\\n}\"},\"loginError\":{\"type\":\"JSExpression\",\"value\":\"false\"}},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.button {\\n width: 100px;\\n color: #ff00ff\\n}\",\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"methods\":{\"login\":{\"type\":\"JSFunction\",\"value\":\"function login(values, errors) {\\n this.setState({\\n \\\"form\\\": values\\n });\\n this.setState({\\n \\\"loginError\\\": false\\n });\\n if (errors !== null) {\\n return;\\n }\\n let params = {\\n \\\"username\\\": this.utils.getBase64().encode(values.username),\\n \\\"password\\\": this.utils.getBase64().encode(values.password)\\n };\\n this.dataSourceMap[\'login\'].load(params).then(res => {\\n if (res.code === 200) {\\n window.localStorage.clear();\\n sessionStorage.removeItem(\'currentuser\');\\n sessionStorage.setItem(\'currentuser\', JSON.stringify(res.data));\\n this.utils.navigate(\'/pages/dashboard\');\\n } else {\\n this.setState({\\n \\\"loginError\\\": true\\n });\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function login(values, errors) {\\n this.setState({\\n \\\"form\\\": values\\n });\\n this.setState({\\n \\\"loginError\\\": false\\n });\\n if (errors !== null) {\\n return;\\n }\\n let params = {\\n \\\"username\\\": this.utils.getBase64().encode(values.username),\\n \\\"password\\\": this.utils.getBase64().encode(values.password)\\n };\\n this.dataSourceMap[\'login\'].load(params).then(res => {\\n if (res.code === 200) {\\n window.localStorage.clear();\\n sessionStorage.removeItem(\'currentuser\');\\n sessionStorage.setItem(\'currentuser\', JSON.stringify(res.data));\\n this.utils.navigate(\'/pages/dashboard\');\\n } else {\\n this.setState({\\n \\\"loginError\\\": true\\n });\\n }\\n }).catch(error => {});\\n}\"}},\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n \\\"form\\\": {\\n \\\"username\\\": \\\"test\\\",\\n \\\"password\\\":\\\"1234\\\"\\n },\\n \\\"loginError\\\": false\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n login(values, errors) {\\n this.setState({ \\\"form\\\": values });\\n this.setState({ \\\"loginError\\\": false });\\n if (errors !== null) {\\n return;\\n }\\n let params = {\\n \\\"username\\\": this.utils.getBase64().encode(values.username),\\n \\\"password\\\": this.utils.getBase64().encode(values.password),\\n };\\n this.dataSourceMap[\'login\'].load(params).then(res => {\\n if (res.code === 200) {\\n window.localStorage.clear();\\n sessionStorage.removeItem(\'currentuser\');\\n sessionStorage.setItem(\'currentuser\', JSON.stringify(res.data));\\n this.utils.navigate(\'/pages/dashboard\');\\n } else {\\n this.setState({ \\\"loginError\\\": true });\\n }\\n }).catch(error => { });\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"login\",\"locator\":\"login\",\"router\":\"/login\"},\"children\":[{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"height\":\"100%\",\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_ocll1r1azg1\",\"props\":{\"style\":{\"backgroundImage\":\"url(\'img/login_bg2.jpg\')\",\"backgroundSize\":\"auto 100%\",\"height\":\"100vh\",\"backgroundColor\":\"#000000\"},\"ref\":\"fdsection-13cd83ca\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_ocll1r1azg2\",\"props\":{\"span\":12,\"style\":{\"backgroundColor\":\"\"},\"ref\":\"fdblock-bd1c2133\",\"mode\":\"transparent\"},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocll1r1azg3\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"width\":\"\",\"ref\":\"fdcell-c2edcf47\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocll1r1azg4\",\"props\":{\"ref\":\"fdp-e5b0180f\"},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Form\",\"id\":\"node_ocll1ps9ihe9\",\"props\":{\"labelCol\":{\"span\":0},\"wrapperCol\":{\"span\":24},\"labelAlign\":\"inset\",\"inline\":false,\"fullWidth\":false,\"size\":\"medium\",\"labelTextAlign\":\"left\",\"style\":{\"display\":\"inline\",\"width\":\"360px\",\"position\":\"absolute\",\"top\":\"40%\",\"left\":\"80%\",\"transform\":\"translate(-50%, -50%)\",\"padding\":\"40px 20px 20px 20px\",\"backgroundColor\":\"#ffffff\",\"color\":\"var(--text-primary, #24292e)\",\"borderRadius\":\"8px\",\"boxShadow\":\"rgba(0, 0, 0, 0.05) 0px 32px 48px 0px\"},\"ref\":\"form-74270c5d\",\"_unsafe_MixedSetter_value_select\":\"ExpressionSetter\",\"value\":{\"type\":\"JSExpression\",\"value\":\"this.state.form\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Form.Item\",\"id\":\"node_oclrrpxib51a\",\"props\":{\"label\":\"\",\"style\":{\"alignSelf\":\"flex-start\",\"fontSize\":\"36px\",\"lineHeight\":\"44px\",\"letterSpacing\":\"0\",\"textAlign\":\"left\",\"color\":\"#2b2b2b\"},\"ref\":\"form.item-85bfc8a3\"},\"docId\":\"doclrrpxib5\",\"title\":\"表单项\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_oclrrpxib51b\",\"props\":{\"type\":\"h5\",\"children\":\"欢迎使用\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"ref\":\"nexttext-e462306f\"},\"docId\":\"doclrrpxib5\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]},{\"componentName\":\"Form.Item\",\"id\":\"node_oclrrqijk8y\",\"props\":{\"label\":\"表单项: \",\"ref\":\"form.item-1646e677\"},\"docId\":\"doclrrqijk8\",\"title\":\"表单项\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_oclrrqijk8z\",\"props\":{\"type\":\"inherit\",\"children\":\"一款适用于面向开发者的在线开发平台,平台提供全流程在线开发环境,支持多种语言(包括 CSS、TypeScript、Java、SQL 等)的在线编辑\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"ref\":\"nexttext-2d5f682d\"},\"docId\":\"doclrrqijk8\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]},{\"componentName\":\"Form.Item\",\"id\":\"node_ocll1ps9ihea\",\"props\":{\"label\":\"\",\"required\":true,\"fullWidth\":true,\"autoValidate\":true,\"ref\":\"form.item-03af17e5\",\"requiredMessage\":\"用户名不能为空\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Input\",\"id\":\"node_ocll1ps9iheb\",\"props\":{\"name\":\"username\",\"size\":\"medium\",\"placeholder\":\"用户名\",\"disabled\":false,\"ref\":\"input-4986f0d9\",\"maxLength\":50,\"label\":\"\",\"innerBefore\":\"\",\"id\":{\"type\":\"JSExpression\",\"value\":\"this.state.username\"},\"hint\":\"account\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]},{\"componentName\":\"Form.Item\",\"id\":\"node_ocll1ps9ihec\",\"props\":{\"label\":\"\",\"required\":true,\"labelTextAlign\":\"left\",\"ref\":\"form.item-1cbd9cdf\",\"fullWidth\":true,\"autoValidate\":true,\"requiredMessage\":\"密码不可为空\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Input.Password\",\"id\":\"node_ocll1ps9ihed\",\"props\":{\"name\":\"password\",\"placeholder\":\"请输入密码\",\"size\":\"medium\",\"showToggle\":true,\"ref\":\"input.password-c71d5f99\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]},{\"componentName\":\"Form.Item\",\"id\":\"node_ocll3c9ejv2m\",\"props\":{\"label\":\"表单项: \",\"ref\":\"form.item-5b30951e\",\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\"},\"docId\":\"docll3c9ejv\",\"title\":\"表单项\",\"hidden\":false,\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.loginError\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_ocll3c9ejv2n\",\"props\":{\"type\":\"h5\",\"children\":\"用户名或密码错误\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#ff3000\"},\"ref\":\"nexttext-600c5aaf\"},\"docId\":\"docll3c9ejv\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]},{\"componentName\":\"Form.Item\",\"id\":\"node_ocll1ps9ihee\",\"props\":{\"label\":\"\",\"labelTextAlign\":\"left\",\"fullWidth\":false,\"style\":{\"float\":\"right\"},\"ref\":\"form.item-a477a0a2\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Form.Submit\",\"id\":\"node_ocll1ps9ihef\",\"props\":{\"type\":\"primary\",\"validate\":true,\"children\":\"登录\",\"icon\":\"\",\"size\":\"small\",\"iconSize\":\"xxs\",\"ghost\":false,\"loading\":false,\"text\":false,\"warning\":false,\"htmlType\":\"\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onClick\",\"relatedEventName\":\"login\"}],\"eventList\":[{\"name\":\"onClick\",\"description\":\"点击提交后触发\\n@param {Object} value 数据\\n@param {Object} errors 错误数据\\n@param {class} field 实例\",\"disabled\":true},{\"name\":\"onMouseUp\",\"disabled\":false}]},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.login.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"className\":\"\",\"style\":{\"width\":\"320px\"},\"ref\":\"form.submit-ac472a22\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltiv3n7bvd\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"position\":\"absolute\",\"right\":\"8%\",\"bottom\":\"30px\",\"backgroundColor\":\"unset\"},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltiv3n7b15l\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Link\",\"id\":\"node_ocltiv3n7b15k\",\"props\":{\"href\":\"https://beian.miit.gov.cn/\",\"target\":\"_blank\",\"children\":\"豫ICP备2024052142号\",\"style\":{\"color\":\"#ffffff\",\"backgroundColor\":\"unset\"},\"ref\":\"link-bc2cff39\"},\"title\":\"链接\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 1, '1', '2023-08-15 10:22:24', NULL, '2024-03-14 19:55:48', NULL, NULL, '0', '0', '');
INSERT INTO `sys_menu` VALUES (2, 'dashboard', '首页', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alilc/lowcode-materials\",\"version\":\"1.0.7\",\"exportName\":\"NextText\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"NextText\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alilc/lowcode-materials\",\"version\":\"1.0.7\",\"exportName\":\"Link\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Link\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Box\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Box\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Card\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Card\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Row\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDRow\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Step\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Step.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Step\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Step\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"AreaChart\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"AreaChart\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"PieChart\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"PieChart\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.button {\\n width: 100px;\\n color: #ff00ff\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n \\\"allCount\\\": 0,\\n \\\"todayCount\\\": 0,\\n \\\"yesterdayText\\\": \'昨日: \',\\n \\\"userCount\\\": 0,\\n \\\"sevenDay\\\": [],\\n \\\"provinceCount\\\": []\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.homeInfo();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n homeInfo() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'homeInfo\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({ allCount: res.data.allCount });\\n this.setState({ todayCount: res.data.todayCount + \'\' });\\n let yesterdayCount = res.data.yesterdayCount;\\n let text = \'昨日: \' + yesterdayCount;\\n this.setState({ yesterdayText: text});\\n this.setState({ userCount: res.data.userCount });\\n\\n let seven = [];\\n res.data.sevenDay.forEach((v) => {\\n seven.push({ date: v.loginDate, value: v.loginCount });\\n });\\n this.setState({ sevenDay: seven });\\n\\n let province = [];\\n res.data.provinceCount.forEach((v) => {\\n province.push({ province: v.province, value: v.num });\\n });\\n this.setState({ provinceCount: province });\\n\\n }\\n }).catch(error => { });\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"state\":{\"allCount\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"todayCount\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"yesterdayText\":{\"type\":\"JSExpression\",\"value\":\"\'昨日: \'\"},\"userCount\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"sevenDay\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"provinceCount\":{\"type\":\"JSExpression\",\"value\":\"[]\"}},\"methods\":{\"homeInfo\":{\"type\":\"JSFunction\",\"value\":\"function homeInfo() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'homeInfo\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n allCount: res.data.allCount\\n });\\n this.setState({\\n todayCount: res.data.todayCount + \'\'\\n });\\n let yesterdayCount = res.data.yesterdayCount;\\n let text = \'昨日: \' + yesterdayCount;\\n this.setState({\\n yesterdayText: text\\n });\\n this.setState({\\n userCount: res.data.userCount\\n });\\n let seven = [];\\n res.data.sevenDay.forEach(v => {\\n seven.push({\\n date: v.loginDate,\\n value: v.loginCount\\n });\\n });\\n this.setState({\\n sevenDay: seven\\n });\\n let province = [];\\n res.data.provinceCount.forEach(v => {\\n province.push({\\n province: v.province,\\n value: v.num\\n });\\n });\\n this.setState({\\n provinceCount: province\\n });\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function homeInfo() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'homeInfo\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n allCount: res.data.allCount\\n });\\n this.setState({\\n todayCount: res.data.todayCount + \'\'\\n });\\n let yesterdayCount = res.data.yesterdayCount;\\n let text = \'昨日: \' + yesterdayCount;\\n this.setState({\\n yesterdayText: text\\n });\\n this.setState({\\n userCount: res.data.userCount\\n });\\n let seven = [];\\n res.data.sevenDay.forEach(v => {\\n seven.push({\\n date: v.loginDate,\\n value: v.loginCount\\n });\\n });\\n this.setState({\\n sevenDay: seven\\n });\\n let province = [];\\n res.data.provinceCount.forEach(v => {\\n province.push({\\n province: v.province,\\n value: v.num\\n });\\n });\\n this.setState({\\n provinceCount: province\\n });\\n }\\n }).catch(error => {});\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.homeInfo();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.homeInfo();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_ocltegrj55ge\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDRow\",\"id\":\"node_ocltegrj55gi\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"width\":\"100%\"}},\"hidden\":false,\"title\":\"行容器\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrnem5q\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltegrpft1u\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Card\",\"id\":\"node_ocltml8y4p6\",\"props\":{\"showTitleBullet\":false,\"showHeadDivider\":false,\"id\":\"\",\"rtl\":\"\",\"style\":{\"width\":\"100%\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Box\",\"id\":\"node_ocltml8y4p7\",\"props\":{\"direction\":\"column\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"center\",\"alignItems\":\"center\",\"height\":\"100%\",\"width\":\"auto\",\"display\":\"flex\"},\"justify\":\"center\",\"align\":\"center\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltml8y4p8\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltml8y4p9\",\"props\":{\"spacing\":\"small\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"space-between\",\"alignItems\":\"center\",\"display\":\"flex\",\"height\":\"48px\",\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_ocltml8y4pa\",\"props\":{\"type\":\"h5\",\"children\":\"快捷入口\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#333\",\"fontWeight\":\"700\",\"fontSize\":\"22px\",\"lineHeight\":\"42px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltml8y4p35\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltml8y4p36\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Link\",\"id\":\"node_ocltml8y4p11\",\"props\":{\"href\":\"https://juejin.cn/post/7340172161627947071\",\"target\":\"_blank\",\"children\":\"项目介绍\",\"style\":{\"marginRight\":\"30px\",\"fontSize\":\"18px\"}},\"title\":\"链接\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Link\",\"id\":\"node_ocltml8y4p12\",\"props\":{\"href\":\"http://www.zzusp.asia/editor.html\",\"target\":\"_blank\",\"children\":\"页面设计\",\"style\":{\"fontSize\":\"18px\"}},\"title\":\"链接\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltml8y4p39\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltml8y4p3d\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Link\",\"id\":\"node_ocltml8y4p13\",\"props\":{\"href\":\"http://www.zzusp.asia/#/process/design/4001\",\"target\":\"_blank\",\"children\":\"流程编排\",\"style\":{\"marginRight\":\"30px\",\"fontSize\":\"18px\"}},\"title\":\"链接\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Link\",\"id\":\"node_ocltml8y4p3e\",\"props\":{\"href\":\"https://github.com/zzusp/online-code/tree/dev\",\"target\":\"_blank\",\"children\":\"代码仓库\",\"style\":{\"fontSize\":\"18px\"}},\"title\":\"链接\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrnem5r\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltmm2p0a3\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Card\",\"id\":\"node_ocltegrpft1t\",\"props\":{\"showTitleBullet\":false,\"showHeadDivider\":false,\"id\":\"\",\"rtl\":\"\",\"style\":{\"width\":\"100%\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Box\",\"id\":\"node_ocltegrqgr2c\",\"props\":{\"direction\":\"column\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"center\",\"alignItems\":\"center\",\"height\":\"100%\",\"width\":\"auto\",\"display\":\"flex\"},\"justify\":\"center\",\"align\":\"center\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrqgr55\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltegrqgr56\",\"props\":{\"spacing\":\"small\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"space-between\",\"alignItems\":\"center\",\"display\":\"flex\",\"height\":\"70px\",\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_ocltegrqgry\",\"props\":{\"type\":\"h5\",\"children\":{\"type\":\"JSExpression\",\"value\":\"this.state.allCount\",\"mock\":\"\"},\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#333\",\"fontWeight\":\"700\",\"fontSize\":\"28px\",\"lineHeight\":\"28px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"NextText\",\"id\":\"node_ocltegrqgr1o\",\"props\":{\"type\":\"inherit\",\"children\":\"总访问次数\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#999\",\"fontSize\":\"12px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrnem5s\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltmm2p0a2\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Card\",\"id\":\"node_ocltegrqgr57\",\"props\":{\"showTitleBullet\":false,\"showHeadDivider\":false,\"id\":\"\",\"rtl\":\"\",\"style\":{\"width\":\"100%\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Box\",\"id\":\"node_ocltegrqgr58\",\"props\":{\"direction\":\"column\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"center\",\"alignItems\":\"center\",\"height\":\"100%\",\"width\":\"auto\",\"display\":\"flex\"},\"justify\":\"center\",\"align\":\"center\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrqgr59\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltegrqgr5a\",\"props\":{\"spacing\":\"small\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"space-between\",\"alignItems\":\"center\",\"display\":\"flex\",\"height\":\"70px\",\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_ocltegrqgr5b\",\"props\":{\"type\":\"h5\",\"children\":{\"type\":\"JSExpression\",\"value\":\"this.state.todayCount\",\"mock\":\"\"},\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#333\",\"fontWeight\":\"700\",\"fontSize\":\"28px\",\"lineHeight\":\"28px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"NextText\",\"id\":\"node_ocltegrqgr5c\",\"props\":{\"type\":\"inherit\",\"children\":\"今日访问次数\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#999\",\"fontSize\":\"12px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"NextText\",\"id\":\"node_ocltpuzfa717\",\"props\":{\"type\":\"inherit\",\"children\":{\"type\":\"JSExpression\",\"value\":\"this.state.yesterdayText\",\"mock\":\"\"},\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#999\",\"fontSize\":\"12px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrnem5t\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltmm2p0a1\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Card\",\"id\":\"node_ocltegrqgr5e\",\"props\":{\"showTitleBullet\":false,\"showHeadDivider\":false,\"id\":\"\",\"rtl\":\"\",\"style\":{\"width\":\"100%\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Box\",\"id\":\"node_ocltegrqgr5m\",\"props\":{\"direction\":\"column\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"center\",\"alignItems\":\"center\",\"height\":\"100%\",\"width\":\"auto\",\"display\":\"flex\"},\"justify\":\"center\",\"align\":\"center\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltegrqgr5n\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltegrqgr5o\",\"props\":{\"spacing\":\"small\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"space-between\",\"alignItems\":\"center\",\"display\":\"flex\",\"height\":\"70px\",\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"NextText\",\"id\":\"node_ocltegrqgr5p\",\"props\":{\"type\":\"h5\",\"children\":{\"type\":\"JSExpression\",\"value\":\"this.state.userCount\",\"mock\":\"\"},\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#333\",\"fontWeight\":\"700\",\"fontSize\":\"28px\",\"lineHeight\":\"28px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"NextText\",\"id\":\"node_ocltegrqgr5q\",\"props\":{\"type\":\"inherit\",\"children\":\"系统总人数\",\"mark\":false,\"code\":false,\"delete\":false,\"underline\":false,\"strong\":false,\"prefix\":\"\",\"classname\":\"\",\"style\":{\"color\":\"#999\",\"fontSize\":\"12px\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]}]}]}]},{\"componentName\":\"FDRow\",\"id\":\"node_ocltpuzfa71\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"width\":\"100%\",\"minHeight\":\"\"}},\"hidden\":false,\"title\":\"行容器\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltpuzfa7h\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltqx1jqz13\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Card\",\"id\":\"node_ocltqx1jqz1\",\"props\":{\"showTitleBullet\":true,\"showHeadDivider\":true,\"id\":\"\",\"rtl\":\"\",\"style\":{\"width\":\"100%\"},\"title\":\"首次使用\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Box\",\"id\":\"node_ocltqx1jqz2\",\"props\":{\"direction\":\"column\",\"style\":{\"flexFlow\":\"column\",\"justifyContent\":\"center\",\"alignItems\":\"center\",\"height\":\"100%\",\"width\":\"auto\",\"display\":\"flex\"},\"justify\":\"center\",\"align\":\"center\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltqx1jqza\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"width\":\"100%\",\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltqx1jqz1k\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Step\",\"id\":\"node_ocltqx1jqz1c\",\"props\":{\"prefix\":\"next-\",\"direction\":\"hoz\",\"labelPlacement\":\"ver\",\"shape\":\"circle\",\"animation\":true,\"items\":[{\"primaryKey\":\"node_ocltqvv63gp\",\"icon\":\"\",\"title\":\"Step 1\",\"status\":\"process\",\"content\":\"新增菜单页面\",\"percent\":0,\"disabled\":false},{\"primaryKey\":\"node_ocltqvv63gq\",\"icon\":\"\",\"title\":\"Step 2\",\"status\":\"process\",\"content\":\"页面设计\",\"percent\":0,\"disabled\":false},{\"primaryKey\":\"7745\",\"title\":\"Step 3\",\"status\":\"process\",\"content\":\"数据库表结构设计\",\"percent\":0,\"disabled\":false},{\"primaryKey\":\"node_ocltqvv63gr\",\"icon\":\"\",\"title\":\"Step 4\",\"status\":\"process\",\"content\":\"流程编排 & 接口联调\",\"percent\":0,\"disabled\":false},{\"primaryKey\":\"node_ocltqvv63gs\",\"icon\":\"\",\"title\":\"Step 5\",\"status\":\"finish\",\"content\":\"配置完成,可以直接访问啦!\",\"percent\":0,\"disabled\":false}],\"readOnly\":true},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Step.Item\",\"id\":\"node_ocltqx1jqz1d\",\"props\":{\"primaryKey\":\"node_ocltqvv63gp\",\"icon\":\"\",\"title\":\"Step 1\",\"content\":\"新增菜单页面\",\"disabled\":false,\"percent\":0,\"status\":\"process\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Step.Item\",\"id\":\"node_ocltqx1jqz1e\",\"props\":{\"primaryKey\":\"node_ocltqvv63gq\",\"icon\":\"\",\"title\":\"Step 2\",\"status\":\"process\",\"content\":\"页面设计\",\"disabled\":false,\"percent\":0},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Step.Item\",\"id\":\"node_ocltr6dj421\",\"props\":{\"primaryKey\":\"7745\",\"title\":\"Step 3\",\"content\":\"数据库表结构设计\",\"status\":\"process\",\"percent\":0,\"disabled\":false},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Step.Item\",\"id\":\"node_ocltqx1jqz1f\",\"props\":{\"primaryKey\":\"node_ocltqvv63gr\",\"icon\":\"\",\"title\":\"Step 4\",\"status\":\"process\",\"content\":\"流程编排 & 接口联调\",\"disabled\":false,\"percent\":0},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Step.Item\",\"id\":\"node_ocltqx1jqz1g\",\"props\":{\"primaryKey\":\"node_ocltqvv63gs\",\"icon\":\"\",\"title\":\"Step 5\",\"status\":\"finish\",\"content\":\"配置完成,可以直接访问啦!\",\"disabled\":false,\"percent\":0},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]}]}]}]}]},{\"componentName\":\"FDRow\",\"id\":\"node_ocltqvv63g1\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"width\":\"100%\",\"minHeight\":\"\"}},\"hidden\":false,\"title\":\"行容器\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocltqvv63g2\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltqvv63g3\",\"props\":{\"style\":{\"height\":\"300px\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"AreaChart\",\"id\":\"node_ocltqvv63g4\",\"props\":{\"data\":{\"type\":\"JSExpression\",\"value\":\"this.state.sevenDay\"},\"xField\":\"date\",\"yField\":\"value\",\"height\":\"100%\",\"title\":\"近7日访问次数\",\"color\":\"#0079f2\",\"label\":{\"visible\":true},\"ref\":\"areachart-e070f502\",\"line\":{\"size\":2},\"smooth\":true,\"point\":{\"visible\":true},\"cardProps\":{\"text\":false}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_ocltqvv63g5\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"width\":\"33%\"},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocltqvv63g6\",\"props\":{\"style\":{\"height\":\"300px\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"PieChart\",\"id\":\"node_ocltqvv63g7\",\"props\":{\"legend\":{\"position\":\"top\"},\"data\":{\"type\":\"JSExpression\",\"value\":\"this.state.provinceCount\"},\"angleField\":\"value\",\"colorField\":\"province\",\"height\":\"100%\",\"title\":\"访问IP分布\",\"label\":{\"visible\":true,\"type\":\"spider\"},\"color\":[\"#3BCBD1\",\"#47A4FE\",\"#EDBA42\",\"#F4704E\",\"#ED6899\",\"#7F62C3\",\"#6E7BC9\"],\"ref\":\"piechart-c3e2f52b\",\"cardProps\":{\"text\":false}},\"title\":\"人群分类\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 2, '1', '2023-08-14 18:43:18', NULL, '2024-04-27 01:08:49', NULL, NULL, '0', '1', 'dashboard');
INSERT INTO `sys_menu` VALUES (3, 'menu', '菜单管理', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormTreeSelect\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormTreeSelect\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormInput\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormInput\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormSelect\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormSelect\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormRadioGroup\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormRadioGroup\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormNumberPicker\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormNumberPicker\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormTextArea\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormTextArea\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProForm\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProForm\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProDialog\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProDialog\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Breadcrumb.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Breadcrumb\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProTable\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProTable\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Loading\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Loading\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.next-btn-warning.next-btn-normal {\\n color: #f52743;\\n}\\n\\n.next-btn-warning.next-btn-normal.active,\\n.next-btn-warning.next-btn-normal.hover,\\n.next-btn-warning.next-btn-normal:active,\\n.next-btn-warning.next-btn-normal:focus,\\n.next-btn-warning.next-btn-normal:hover {\\n color: #e72b00 !important;\\n}\\n\\n.fusion-ui-pro-table-content .next-overlay-wrapper {\\n position: fixed;\\n z-index: 1000;\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n treeData: [],\\n treeSelectData: [],\\n isShowDialog: false,\\n formType: 0,\\n loading: false\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.search();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n onClick(formType = 0) {\\n // 树型下拉框\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeSelectData: res.data\\n });\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n this.setState({ formType: formType });\\n this.setState({ isShowDialog: true });\\n }\\n closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n }\\n search() {\\n this.setState({ loading: true });\\n // 列表数据\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeData: res.data\\n });\\n }\\n })\\n .catch(error => { })\\n .then(() => {\\n this.setState({ loading: false })\\n });\\n }\\n save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.closeDialog();\\n this.search();\\n }).catch(error => { });\\n }\\n getById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(1);\\n console.log(this.$(\'pro-form-entrymenu84we\').getInstance());\\n let formField = this.$(\'pro-form-entrymenu84we\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => { });\\n }\\n submitForm() {\\n let formField = this.$(\'pro-form-entrymenu84we\').getInstance()[\'_formField\'];\\n\\n formField.validatePromise().then(res => {\\n console.log(res);\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n })\\n .catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n }\\n getInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey);\\n }\\n showIconList() {\\n \\n }\\n // 跳转到编排页面\\n toBpmn(e, { rowKey, rowIndex, rowRecord }) {\\n this.utils.navigate(\'/process/design/\'+ rowKey);\\n }\\n // 单元格渲染\\n cellRender(...args) {\\n if (args[0] === \'mode\') {\\n if (args[1] === \'0\') {\\n return \'schema\';\\n }\\n if (args[1] === \'1\') {\\n return \'react\';\\n }\\n if (args[1] === \'2\') {\\n return \'iframe\';\\n }\\n return \'其它\';\\n }\\n if (args[0] === \'type\') {\\n if (args[1] === \'0\') {\\n return \'菜单组\';\\n }\\n if (args[1] === \'1\') {\\n return \'菜单\';\\n }\\n if (args[1] === \'2\') {\\n return \'组件控件\';\\n }\\n if (args[1] === \'3\') {\\n return \'独立页面\';\\n }\\n return \'权限\';\\n }\\n if (args[0] === \'full_page\') {\\n if (args[1] === \'1\') {\\n return \'是\';\\n }\\n return \'否\';\\n }\\n if (args[0] === \'auth\') {\\n if (args[1] === \'0\') {\\n return \'开放\';\\n }\\n if (args[1] === \'1\') {\\n return \'需登录\';\\n }\\n if (args[1] === \'2\') {\\n return \'需授权\';\\n }\\n return \'\';\\n }\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>);\\n }\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>);\\n }\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"process\",\"locator\":\"process\",\"router\":\"/process\"},\"state\":{\"treeData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"treeSelectData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"isShowDialog\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"formType\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"loading\":{\"type\":\"JSExpression\",\"value\":\"false\"}},\"methods\":{\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function onClick(formType = 0) {\\n // 树型下拉框\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeSelectData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\",\"source\":\"function onClick(formType = 0) {\\n // 树型下拉框\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeSelectData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\"},\"closeDialog\":{\"type\":\"JSFunction\",\"value\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n}\",\"source\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n}\"},\"search\":{\"type\":\"JSFunction\",\"value\":\"function search() {\\n this.setState({\\n loading: true\\n });\\n // 列表数据\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\",\"source\":\"function search() {\\n this.setState({\\n loading: true\\n });\\n // 列表数据\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\"},\"save\":{\"type\":\"JSFunction\",\"value\":\"function save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.closeDialog();\\n this.search();\\n }).catch(error => {});\\n}\",\"source\":\"function save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.closeDialog();\\n this.search();\\n }).catch(error => {});\\n}\"},\"getById\":{\"type\":\"JSFunction\",\"value\":\"function getById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(1);\\n console.log(this.$(\'pro-form-entrymenu84we\').getInstance());\\n let formField = this.$(\'pro-form-entrymenu84we\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function getById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(1);\\n console.log(this.$(\'pro-form-entrymenu84we\').getInstance());\\n let formField = this.$(\'pro-form-entrymenu84we\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\"},\"submitForm\":{\"type\":\"JSFunction\",\"value\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrymenu84we\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n console.log(res);\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\",\"source\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrymenu84we\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n console.log(res);\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\"},\"getInfo\":{\"type\":\"JSFunction\",\"value\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\",\"source\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\"},\"showIconList\":{\"type\":\"JSFunction\",\"value\":\"function showIconList() {}\",\"source\":\"function showIconList() {}\"},\"toBpmn\":{\"type\":\"JSFunction\",\"value\":\"function toBpmn(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.utils.navigate(\'/process/design/\' + rowKey);\\n}\",\"source\":\"function toBpmn(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.utils.navigate(\'/process/design/\' + rowKey);\\n}\"},\"cellRender\":{\"type\":\"JSFunction\",\"value\":\"function cellRender(...args) {\\n if (args[0] === \'mode\') {\\n if (args[1] === \'0\') {\\n return \'schema\';\\n }\\n if (args[1] === \'1\') {\\n return \'react\';\\n }\\n if (args[1] === \'2\') {\\n return \'iframe\';\\n }\\n return \'其它\';\\n }\\n if (args[0] === \'type\') {\\n if (args[1] === \'0\') {\\n return \'菜单组\';\\n }\\n if (args[1] === \'1\') {\\n return \'菜单\';\\n }\\n if (args[1] === \'2\') {\\n return \'组件控件\';\\n }\\n if (args[1] === \'3\') {\\n return \'独立页面\';\\n }\\n return \'权限\';\\n }\\n if (args[0] === \'full_page\') {\\n if (args[1] === \'1\') {\\n return \'是\';\\n }\\n return \'否\';\\n }\\n if (args[0] === \'auth\') {\\n if (args[1] === \'0\') {\\n return \'开放\';\\n }\\n if (args[1] === \'1\') {\\n return \'需登录\';\\n }\\n if (args[1] === \'2\') {\\n return \'需授权\';\\n }\\n return \'\';\\n }\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u7981\\\\u7528\\\"));\\n }\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u542F\\\\u7528\\\"));\\n }\\n}\",\"source\":\"function cellRender(...args) {\\n if (args[0] === \'mode\') {\\n if (args[1] === \'0\') {\\n return \'schema\';\\n }\\n if (args[1] === \'1\') {\\n return \'react\';\\n }\\n if (args[1] === \'2\') {\\n return \'iframe\';\\n }\\n return \'其它\';\\n }\\n if (args[0] === \'type\') {\\n if (args[1] === \'0\') {\\n return \'菜单组\';\\n }\\n if (args[1] === \'1\') {\\n return \'菜单\';\\n }\\n if (args[1] === \'2\') {\\n return \'组件控件\';\\n }\\n if (args[1] === \'3\') {\\n return \'独立页面\';\\n }\\n return \'权限\';\\n }\\n if (args[0] === \'full_page\') {\\n if (args[1] === \'1\') {\\n return \'是\';\\n }\\n return \'否\';\\n }\\n if (args[0] === \'auth\') {\\n if (args[1] === \'0\') {\\n return \'开放\';\\n }\\n if (args[1] === \'1\') {\\n return \'需登录\';\\n }\\n if (args[1] === \'2\') {\\n return \'需授权\';\\n }\\n return \'\';\\n }\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>;\\n }\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>;\\n }\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.search();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.search();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"ProDialog\",\"id\":\"node_oclkngt1jri6\",\"props\":{\"status\":\"success\",\"size\":\"medium\",\"prefix\":\"next-\",\"footerAlign\":\"right\",\"title\":\"Title\",\"closeMode\":[\"esc\",\"mask\",\"close\"],\"hasMask\":true,\"align\":\"cc cc\",\"minMargin\":40,\"isAutoContainer\":true,\"visible\":true,\"iconType\":\"prompt\",\"explanation\":\"提示文案\",\"operationConfig\":{\"fixed\":false,\"showSaveTime\":false,\"align\":\"right\"},\"operations\":[{\"action\":\"ok\",\"type\":\"primary\",\"content\":\"确认\"},{\"action\":\"cancel\",\"type\":\"normal\",\"content\":\"取消\"}],\"ref\":\"pro-dialog-entrylkngtew3\",\"hasTips\":false,\"autoFocus\":false,\"style\":{\"position\":\"absolute\",\"top\":\"260px\"},\"dialogType\":\"normal\",\"_unsafe_MixedSetter_operations_select\":\"ArraySetter\",\"_unsafe_MixedSetter_operationConfig_select\":\"ObjectSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onOk\",\"relatedEventName\":\"submitForm\"},{\"type\":\"componentEvent\",\"name\":\"onCancel\",\"relatedEventName\":\"closeDialog\"},{\"type\":\"componentEvent\",\"name\":\"onClose\",\"relatedEventName\":\"closeDialog\"}],\"eventList\":[{\"name\":\"onOk\",\"disabled\":true},{\"name\":\"onCancel\",\"disabled\":true},{\"name\":\"onClose\",\"disabled\":true}]},\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\",\"onOk\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.submitForm.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCancel\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onClose\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":true,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.isShowDialog\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknl8vfh6\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"width\":\"\"},\"docId\":\"doclkngt1jr\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"ProForm\",\"id\":\"node_oclknl8x2g5u\",\"props\":{\"placeholder\":\"请在右侧面板添加表单项+\",\"placeholderStyle\":{\"height\":\"38px\",\"color\":\"#0088FF\",\"background\":\"#d8d8d836\",\"border\":0,\"gridArea\":\"span 4 / span 4\"},\"columns\":1,\"labelCol\":{\"fixedSpan\":4},\"labelAlign\":\"left\",\"emptyContent\":\"添加表单项\",\"ref\":\"pro-form-entrymenu84we\",\"operationConfig\":{\"align\":\"center\"},\"style\":{\"width\":\"100%\"},\"operations\":[],\"__events\":{\"eventDataList\":[],\"eventList\":[{\"name\":\"saveField\",\"disabled\":false},{\"name\":\"onSubmit\",\"disabled\":true},{\"name\":\"onChange\",\"disabled\":false}]},\"labelTextAlign\":\"right\",\"size\":\"medium\",\"device\":\"desktop\"},\"title\":\"高级表单\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormTreeSelect\",\"id\":\"node_oclrslmbscul\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-2r9bnk\",\"label\":\"上级菜单\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"parent_code\"},\"placeholder\":\"请输入\",\"hasClear\":true,\"showSearch\":false,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeSelectData\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclrslmbscum\",\"props\":{\"formItemProps\":{\"primaryKey\":\"5499\",\"label\":\"菜单编码\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"name\":\"code\",\"requiredMessage\":\"不能为空\",\"autoValidate\":true},\"placeholder\":\"请输入\",\"style\":{},\"ref\":\"forminput-910637ac\",\"disabled\":{\"type\":\"JSExpression\",\"value\":\"this.state.formType === 1\",\"mock\":false}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclrslmbscun\",\"props\":{\"formItemProps\":{\"primaryKey\":\"4246\",\"label\":\"菜单名称\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"autoValidate\":true,\"name\":\"name\",\"requiredMessage\":\"不可为空\"},\"placeholder\":\"请输入\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormSelect\",\"id\":\"node_oclrslmbscuo\",\"props\":{\"formItemProps\":{\"primaryKey\":\"3989\",\"label\":\"模式\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"name\":\"mode\"},\"placeholder\":\"请输入\",\"defaultValue\":\"0\",\"dataSource\":[{\"label\":\"schema\",\"value\":\"0\"},{\"label\":\"react\",\"value\":\"1\"},{\"title\":\"Title\",\"label\":\"iframe\",\"value\":\"2\"},{\"title\":\"Title\",\"label\":\"其它\",\"value\":\"3\"}],\"hasClear\":false,\"showSearch\":false,\"mode\":\"single\",\"hasArrow\":true},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormSelect\",\"id\":\"node_oclrslmbscup\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-om81ra\",\"label\":\"类型\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"type\"},\"placeholder\":\"请选择\",\"hasClear\":false,\"showSearch\":false,\"hasArrow\":true,\"defaultValue\":\"1\",\"dataSource\":[{\"title\":\"Title\",\"label\":\"菜单组\",\"value\":\"0\"},{\"title\":\"Title\",\"label\":\"菜单\",\"value\":\"1\"},{\"title\":\"Title\",\"label\":\"组件控件\",\"value\":\"2\"},{\"title\":\"Title\",\"label\":\"独立页面\",\"value\":\"3\"},{\"title\":\"Title\",\"label\":\"权限\",\"value\":\"4\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclrslmbscuq\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-uivoag\",\"label\":\"新标签页\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"new_tab\"},\"placeholder\":\"请选择\",\"hasClear\":false,\"showSearch\":false,\"defaultValue\":\"0\",\"dataSource\":[{\"title\":\"Title\",\"label\":\"否\",\"value\":\"0\"},{\"title\":\"Title\",\"label\":\"是\",\"value\":\"1\"}],\"hasArrow\":true,\"mode\":\"single\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclrslmbscur\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-2ogepp\",\"label\":\"鉴权\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"auth\"},\"dataSource\":[{\"label\":\"开放\",\"value\":\"0\"},{\"label\":\"需登录\",\"value\":\"1\"},{\"label\":\"需鉴权\",\"value\":\"2\"}],\"defaultValue\":\"1\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclrslmbscus\",\"props\":{\"formItemProps\":{\"primaryKey\":\"8178\",\"label\":\"状态\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"name\":\"status\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"启用\",\"value\":\"1\"},{\"label\":\"禁用\",\"value\":\"0\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormNumberPicker\",\"id\":\"node_oclrslmbscut\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-mh2ylx\",\"label\":\"排序\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"sort\"},\"alwaysShowTrigger\":true,\"step\":1,\"precision\":0,\"editable\":true,\"defaultValue\":1,\"max\":9999,\"min\":1,\"ref\":\"formnumberpicker-759264f4\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormInput\",\"id\":\"node_oclrslmbscuu\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-4siumd\",\"label\":\"图标\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"icon\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-2b9d4ef1\",\"hint\":\"smile\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormTextArea\",\"id\":\"node_oclrslmbscuv\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-9i1hbd\",\"label\":\" 地址\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"url\"},\"rows\":4,\"autoHeight\":false,\"isPreview\":false,\"ref\":\"formtextarea-be746796\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]},{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdsection-4e0a747a\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_oclknfhblfd3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknfhblfd4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclknfhblfo9\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Breadcrumb\",\"id\":\"node_oclknfhblfo5\",\"props\":{\"maxNode\":100,\"component\":\"nav\",\"Breadcrumb\":{\"Item\":[{\"primaryKey\":\"breadcrumb-item-1\",\"children\":\"一级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-2\",\"children\":\"二级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-3\",\"children\":\"三级\",\"target\":\"_self\"}]},\"ref\":\"breadcrumb-83c3bb43\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo6\",\"props\":{\"children\":\"Home\",\"primaryKey\":\"breadcrumb-item-1\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo7\",\"props\":{\"children\":\"菜单管理\",\"primaryKey\":\"breadcrumb-item-2\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]},{\"componentName\":\"FDBlock\",\"id\":\"node_oclklz750e3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdblock-a09b6107\"},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclklz750e4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclktf7fiuov\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclktf7fiuou\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.loading\"},\"size\":\"large\",\"inline\":true,\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\",\"ref\":\"loading-d5aed9da\",\"style\":{\"overflow\":\"auto\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"ProTable\",\"id\":\"node_ocll3gf1m7n\",\"props\":{\"isTree\":true,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeData\"},\"columns\":[{\"title\":\"菜单编码\",\"dataIndex\":\"code\",\"width\":160,\"formatType\":\"text\",\"searchable\":true},{\"title\":\"菜单名称\",\"dataIndex\":\"name\",\"formatType\":\"text\"},{\"title\":\"模式\",\"dataIndex\":\"mode\",\"formatType\":\"text\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'mode\', e); }\"}},{\"title\":\"类型\",\"dataIndex\":\"type\",\"formatType\":\"text\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'type\', e); }\"}},{\"title\":\"新标签页\",\"dataIndex\":\"new_tab\",\"formatType\":\"text\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'full_page\', e); }\"},\"_format_options_date\":\"YYYY-MM-DD HH:mm:ss\"},{\"title\":\"鉴权\",\"formatType\":\"text\",\"dataIndex\":\"auth\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'auth\', e); }\"},\"_format_options_date\":\"YYYY-MM-DD HH:mm:ss\"},{\"title\":\"状态\",\"formatType\":\"text\",\"dataIndex\":\"status\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'status\', e); }\"}},{\"title\":\"排序\",\"formatType\":\"text\",\"dataIndex\":\"sort\",\"_format_options_date\":\"YYYY-MM-DD HH:mm:ss\"}],\"primaryKey\":\"id\",\"actionColumnProps\":{\"title\":\"操作\"},\"paginationProps\":{\"hidden\":true},\"indexColumn\":false,\"settingButtons\":false,\"hasBorder\":false,\"isZebra\":false,\"fixedHeader\":false,\"ref\":\"protable-c983e8d4\",\"actionBarButtons\":{\"text\":false,\"visibleButtonCount\":3,\"dataSource\":[{\"children\":\"新增\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.onClick.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"刷新\",\"type\":\"normal\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}]},\"actionColumnButtons\":{\"dataSource\":[{\"children\":\"编辑\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.getInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"删除\",\"type\":{\"type\":\"JSExpression\",\"value\":\"\'normal next-btn-warning\'\",\"mock\":\"primary\"}}]},\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 3, '1', '2023-08-14 16:49:31', NULL, '2024-02-21 11:53:39', NULL, NULL, '0', '2', 'list');
INSERT INTO `sys_menu` VALUES (4, 'process', '流程管理', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormInput\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormInput\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormTreeSelect\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormTreeSelect\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormRadioGroup\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormRadioGroup\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProForm\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProForm\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProDialog\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProDialog\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Breadcrumb.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Breadcrumb\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Tree\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Tree\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"Filter\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Filter\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProTable\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProTable\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Loading\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Loading\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Row\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDRow\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/list\"},\"id\":\"list\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/save\"},\"id\":\"save\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"GET\",\"isCors\":true,\"timeout\":5000,\"headers\":{},\"uri\":\"/onlinecode-api/process/getById\"},\"id\":\"getById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/copy\"},\"id\":\"copy\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"DELETE\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/x-www-form-urlencoded\"},\"uri\":\"/onlinecode-api/process/delete\"},\"id\":\"deleteById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.next-btn-warning.next-btn-normal {\\n color: #f52743;\\n}\\n\\n.next-btn-warning.next-btn-normal.active,\\n.next-btn-warning.next-btn-normal.hover,\\n.next-btn-warning.next-btn-normal:active,\\n.next-btn-warning.next-btn-normal:focus,\\n.next-btn-warning.next-btn-normal:hover {\\n color: #e72b00 !important;\\n}\\n\\n.fusion-ui-pro-table-content .next-overlay-wrapper {\\n position: fixed;\\n z-index: 1000;\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n treeData: [],\\n defaultExpandedKeys: [],\\n selectedMenuCode: null,\\n treeSelectData: [],\\n tableData: [],\\n total: 0,\\n isShowDialog: false,\\n // 0新增 1编辑 2拷贝\\n formType: 0,\\n loading: false,\\n // 查询参数\\n pageNum: 1,\\n pageSize: 10,\\n searchFormData: {}\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.menuTree();\\n this.list();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n onClick(formType = 0) {\\n this.setState({ formType: formType });\\n this.setState({ isShowDialog: true });\\n }\\n closeDialog() {\\n this.setState({ isShowDialog: false });\\n this.setState({ formType: 0 });\\n }\\n async pageNumChange(event) {\\n await this.setState({ pageNum: event });\\n this.list();\\n }\\n async pageSizeChange(event) {\\n await this.setState({ pageSize: event });\\n this.list();\\n }\\n async search(event) {\\n await this.setState({ searchFormData: event });\\n this.list();\\n }\\n menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeProcSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({ defaultExpandedKeys: [\'root\'] });\\n this.setState({ treeSelectData: res.data });\\n this.setState({\\n treeData: [{\\n key: \'root\',\\n label: \'全部\',\\n children: res.data\\n }]\\n });\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n async onSelect(selectedKeys, extra) {\\n await this.setState({ selectedMenuCode: selectedKeys.length === 0 ? null : extra.node.props.value });\\n this.list();\\n }\\n onExpand(expandedKeys, extra) {\\n this.setState({ defaultExpandedKeys: expandedKeys });\\n }\\n list() {\\n this.setState({ loading: true });\\n let data = {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n param: {...this.state.searchFormData}\\n }\\n if (!!this.state.selectedMenuCode\\n && this.state.selectedMenuCode != \'root\') {\\n data.param[\'menuCode\'] = this.state.selectedMenuCode;\\n }\\n console.log(data);\\n this.dataSourceMap[\'list\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({ tableData: res.data.rows });\\n this.setState({ total: res.data.total });\\n }\\n })\\n .catch(error => { })\\n .then(() => {\\n this.setState({ loading: false })\\n });\\n }\\n save(data) {\\n let url = this.state.formType === 2 ? \'copy\' : \'save\';\\n this.dataSourceMap[url].load(data).then(res => {\\n console.log(\\\"save success\\\");\\n this.list();\\n this.menuTree();\\n this.closeDialog();\\n }).catch(error => { });\\n }\\n getById(id, formType = 1) {\\n this.dataSourceMap[\'getById\'].load({id:id}).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n // 拷贝\\n if (formType === 2) {\\n res.data[\'copyProcCode\'] = res.data[\'procCode\'];\\n res.data[\'procCode\'] = \'\';\\n res.data[\'procName\'] = \'\';\\n }\\n formField.setValues(res.data);\\n }\\n }).catch(error => { });\\n }\\n submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n })\\n .catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n }\\n getInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey);\\n }\\n copy(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey, 2);\\n }\\n deleteRow(e, { rowKey, rowIndex, rowRecord }) {\\n this.dataSourceMap[\'deleteById\'].load({ id: rowKey }).then(res => {\\n if (res.code === 200) {\\n this.list();\\n this.menuTree();\\n }\\n }).catch(error => { });\\n }\\n // 跳转到编排页面\\n toBpmn(e, { rowKey, rowIndex, rowRecord }) {\\n // 获取绝对路径\\n const hrefStr = window.location.href;\\n // 获取根路径\\n const rootPath = hrefStr.split(\'#\')[0];\\n // 在新标签页面打开绝对路径\\n window.open(`${rootPath}#/process/design/${rowKey}`, \\\"_blank\\\", \\\"noreferrer\\\");\\n // this.utils.navigate(\'/process/design/\' + rowKey, { target: \'_blank\', rel: \'noopener noreferrer\' });\\n }\\n // 单元格渲染\\n cellRender(...args) {\\n if (args[0] === \'auth\') {\\n if (args[1] === \'0\') {\\n return \'开放\';\\n }\\n if (args[1] === \'1\') {\\n return \'需登录\';\\n }\\n return \'需授权\';\\n }\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>);\\n }\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>);\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"process\",\"locator\":\"process\",\"router\":\"/process\"},\"state\":{\"treeData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"defaultExpandedKeys\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"selectedMenuCode\":{\"type\":\"JSExpression\",\"value\":\"null\"},\"treeSelectData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"tableData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"total\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"isShowDialog\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"formType\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"loading\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"pageNum\":{\"type\":\"JSExpression\",\"value\":\"1\"},\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"10\"},\"searchFormData\":{\"type\":\"JSExpression\",\"value\":\"{}\"}},\"methods\":{\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\",\"source\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\"},\"closeDialog\":{\"type\":\"JSFunction\",\"value\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\",\"source\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\"},\"pageNumChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\"},\"pageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\"},\"search\":{\"type\":\"JSFunction\",\"value\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\",\"source\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\"},\"menuTree\":{\"type\":\"JSFunction\",\"value\":\"function menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeProcSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n defaultExpandedKeys: [\'root\']\\n });\\n this.setState({\\n treeSelectData: res.data\\n });\\n this.setState({\\n treeData: [{\\n key: \'root\',\\n label: \'全部\',\\n children: res.data\\n }]\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeProcSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n defaultExpandedKeys: [\'root\']\\n });\\n this.setState({\\n treeSelectData: res.data\\n });\\n this.setState({\\n treeData: [{\\n key: \'root\',\\n label: \'全部\',\\n children: res.data\\n }]\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n}\"},\"onSelect\":{\"type\":\"JSFunction\",\"value\":\"async function onSelect(selectedKeys, extra) {\\n await this.setState({\\n selectedMenuCode: selectedKeys.length === 0 ? null : extra.node.props.value\\n });\\n this.list();\\n}\",\"source\":\"async function onSelect(selectedKeys, extra) {\\n await this.setState({\\n selectedMenuCode: selectedKeys.length === 0 ? null : extra.node.props.value\\n });\\n this.list();\\n}\"},\"onExpand\":{\"type\":\"JSFunction\",\"value\":\"function onExpand(expandedKeys, extra) {\\n this.setState({\\n defaultExpandedKeys: expandedKeys\\n });\\n}\",\"source\":\"function onExpand(expandedKeys, extra) {\\n this.setState({\\n defaultExpandedKeys: expandedKeys\\n });\\n}\"},\"list\":{\"type\":\"JSFunction\",\"value\":\"function list() {\\n this.setState({\\n loading: true\\n });\\n let data = {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n param: {\\n ...this.state.searchFormData\\n }\\n };\\n if (!!this.state.selectedMenuCode && this.state.selectedMenuCode != \'root\') {\\n data.param[\'menuCode\'] = this.state.selectedMenuCode;\\n }\\n console.log(data);\\n this.dataSourceMap[\'list\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\",\"source\":\"function list() {\\n this.setState({\\n loading: true\\n });\\n let data = {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n param: {\\n ...this.state.searchFormData\\n }\\n };\\n if (!!this.state.selectedMenuCode && this.state.selectedMenuCode != \'root\') {\\n data.param[\'menuCode\'] = this.state.selectedMenuCode;\\n }\\n console.log(data);\\n this.dataSourceMap[\'list\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\"},\"save\":{\"type\":\"JSFunction\",\"value\":\"function save(data) {\\n let url = this.state.formType === 2 ? \'copy\' : \'save\';\\n this.dataSourceMap[url].load(data).then(res => {\\n console.log(\\\"save success\\\");\\n this.list();\\n this.menuTree();\\n this.closeDialog();\\n }).catch(error => {});\\n}\",\"source\":\"function save(data) {\\n let url = this.state.formType === 2 ? \'copy\' : \'save\';\\n this.dataSourceMap[url].load(data).then(res => {\\n console.log(\\\"save success\\\");\\n this.list();\\n this.menuTree();\\n this.closeDialog();\\n }).catch(error => {});\\n}\"},\"getById\":{\"type\":\"JSFunction\",\"value\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'getById\'].load({\\n id: id\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n // 拷贝\\n if (formType === 2) {\\n res.data[\'copyProcCode\'] = res.data[\'procCode\'];\\n res.data[\'procCode\'] = \'\';\\n res.data[\'procName\'] = \'\';\\n }\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'getById\'].load({\\n id: id\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n // 拷贝\\n if (formType === 2) {\\n res.data[\'copyProcCode\'] = res.data[\'procCode\'];\\n res.data[\'procCode\'] = \'\';\\n res.data[\'procName\'] = \'\';\\n }\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\"},\"submitForm\":{\"type\":\"JSFunction\",\"value\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\",\"source\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\"},\"getInfo\":{\"type\":\"JSFunction\",\"value\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\",\"source\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\"},\"copy\":{\"type\":\"JSFunction\",\"value\":\"function copy(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey, 2);\\n}\",\"source\":\"function copy(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey, 2);\\n}\"},\"deleteRow\":{\"type\":\"JSFunction\",\"value\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.list();\\n this.menuTree();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.list();\\n this.menuTree();\\n }\\n }).catch(error => {});\\n}\"},\"toBpmn\":{\"type\":\"JSFunction\",\"value\":\"function toBpmn(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n // 获取绝对路径\\n const hrefStr = window.location.href;\\n // 获取根路径\\n const rootPath = hrefStr.split(\'#\')[0];\\n // 在新标签页面打开绝对路径\\n window.open(`${rootPath}#/process/design/${rowKey}`, \\\"_blank\\\", \\\"noreferrer\\\");\\n // this.utils.navigate(\'/process/design/\' + rowKey, { target: \'_blank\', rel: \'noopener noreferrer\' });\\n}\",\"source\":\"function toBpmn(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n // 获取绝对路径\\n const hrefStr = window.location.href;\\n // 获取根路径\\n const rootPath = hrefStr.split(\'#\')[0];\\n // 在新标签页面打开绝对路径\\n window.open(`${rootPath}#/process/design/${rowKey}`, \\\"_blank\\\", \\\"noreferrer\\\");\\n // this.utils.navigate(\'/process/design/\' + rowKey, { target: \'_blank\', rel: \'noopener noreferrer\' });\\n}\"},\"cellRender\":{\"type\":\"JSFunction\",\"value\":\"function cellRender(...args) {\\n if (args[0] === \'auth\') {\\n if (args[1] === \'0\') {\\n return \'开放\';\\n }\\n if (args[1] === \'1\') {\\n return \'需登录\';\\n }\\n return \'需授权\';\\n }\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u7981\\\\u7528\\\"));\\n }\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u542F\\\\u7528\\\"));\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\",\"source\":\"function cellRender(...args) {\\n if (args[0] === \'auth\') {\\n if (args[1] === \'0\') {\\n return \'开放\';\\n }\\n if (args[1] === \'1\') {\\n return \'需登录\';\\n }\\n return \'需授权\';\\n }\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>;\\n }\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>;\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.menuTree();\\n this.list();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.menuTree();\\n this.list();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"ProDialog\",\"id\":\"node_oclkngt1jri6\",\"props\":{\"status\":\"success\",\"size\":\"medium\",\"prefix\":\"next-\",\"footerAlign\":\"right\",\"title\":\"Title\",\"closeMode\":[\"esc\",\"mask\",\"close\"],\"hasMask\":true,\"align\":\"cc cc\",\"minMargin\":40,\"isAutoContainer\":true,\"visible\":true,\"iconType\":\"prompt\",\"explanation\":\"提示文案\",\"operationConfig\":{\"fixed\":false,\"showSaveTime\":false,\"align\":\"right\"},\"operations\":[{\"action\":\"ok\",\"type\":\"primary\",\"content\":\"确认\"},{\"action\":\"cancel\",\"type\":\"normal\",\"content\":\"取消\"}],\"ref\":\"pro-dialog-entrylkngtew3\",\"hasTips\":false,\"autoFocus\":false,\"style\":{\"position\":\"absolute\",\"top\":\"160px\"},\"dialogType\":\"normal\",\"_unsafe_MixedSetter_operations_select\":\"ArraySetter\",\"_unsafe_MixedSetter_operationConfig_select\":\"ObjectSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onOk\",\"relatedEventName\":\"submitForm\"},{\"type\":\"componentEvent\",\"name\":\"onCancel\",\"relatedEventName\":\"closeDialog\"},{\"type\":\"componentEvent\",\"name\":\"onClose\",\"relatedEventName\":\"closeDialog\"}],\"eventList\":[{\"name\":\"onOk\",\"disabled\":true},{\"name\":\"onCancel\",\"disabled\":true},{\"name\":\"onClose\",\"disabled\":true}]},\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\",\"onOk\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.submitForm.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCancel\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onClose\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":true,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.isShowDialog\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknl8vfh6\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\",\"ref\":\"fdcell-ac865355\"},\"docId\":\"doclkngt1jr\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"ProForm\",\"id\":\"node_oclknl8x2g5u\",\"props\":{\"placeholder\":\"请在右侧面板添加表单项+\",\"placeholderStyle\":{\"height\":\"38px\",\"color\":\"#0088FF\",\"background\":\"#d8d8d836\",\"border\":0,\"gridArea\":\"span 4 / span 4\"},\"columns\":1,\"labelCol\":{\"fixedSpan\":4},\"labelAlign\":\"left\",\"emptyContent\":\"添加表单项\",\"ref\":\"pro-form-entrylknl92nq\",\"operationConfig\":{\"align\":\"center\"},\"style\":{\"width\":\"100%\"},\"operations\":[],\"__events\":{\"eventDataList\":[],\"eventList\":[{\"name\":\"saveField\",\"disabled\":false},{\"name\":\"onSubmit\",\"disabled\":true},{\"name\":\"onChange\",\"disabled\":false}]},\"labelTextAlign\":\"right\",\"size\":\"medium\",\"device\":\"desktop\"},\"title\":\"高级表单\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_ocllbot8szp\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-qmd1mm\",\"label\":\"来源流程\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"copyProcCode\"},\"placeholder\":\"请输入\",\"disabled\":true,\"readOnly\":false,\"ref\":\"forminput-590a9184\",\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.formType === 2\",\"mock\":true},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormTreeSelect\",\"id\":\"node_oclldg6h012a\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-2r9bnk\",\"label\":\"所属菜单\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"menuCode\"},\"placeholder\":\"请输入\",\"hasClear\":true,\"showSearch\":false,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeSelectData\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_ocllbot8szq\",\"props\":{\"formItemProps\":{\"primaryKey\":\"5499\",\"label\":\"流程编码\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"name\":\"procCode\",\"requiredMessage\":\"不能为空\",\"autoValidate\":true},\"placeholder\":\"请输入\",\"style\":{},\"ref\":\"forminput-910637ac\",\"disabled\":{\"type\":\"JSExpression\",\"value\":\"this.state.formType === 1\",\"mock\":false}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_ocllbot8szr\",\"props\":{\"formItemProps\":{\"primaryKey\":\"4246\",\"label\":\"流程名称\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"autoValidate\":true,\"name\":\"procName\",\"requiredMessage\":\"不可为空\"},\"placeholder\":\"请输入\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_ocllbot8szs\",\"props\":{\"formItemProps\":{\"primaryKey\":\"3989\",\"label\":\"鉴权\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"name\":\"auth\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"开放\",\"value\":\"0\"},{\"label\":\"需登录\",\"value\":\"1\"},{\"label\":\"需授权\",\"value\":\"2\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_ocllbot8szt\",\"props\":{\"formItemProps\":{\"primaryKey\":\"8178\",\"label\":\"状态\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"name\":\"status\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"启用\",\"value\":\"1\"},{\"label\":\"禁用\",\"value\":\"0\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]},{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdsection-4e0a747a\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_oclknfhblfd3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknfhblfd4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdcell-830183cb\",\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclknfhblfo9\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Breadcrumb\",\"id\":\"node_oclknfhblfo5\",\"props\":{\"maxNode\":100,\"component\":\"nav\",\"Breadcrumb\":{\"Item\":[{\"primaryKey\":\"breadcrumb-item-1\",\"children\":\"一级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-2\",\"children\":\"二级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-3\",\"children\":\"三级\",\"target\":\"_self\"}]},\"ref\":\"breadcrumb-83c3bb43\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo6\",\"props\":{\"children\":\"Home\",\"primaryKey\":\"breadcrumb-item-1\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo7\",\"props\":{\"children\":\"流程管理\",\"primaryKey\":\"breadcrumb-item-2\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]},{\"componentName\":\"FDBlock\",\"id\":\"node_oclklz750e2m\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdblock-26805bc2\"},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDRow\",\"id\":\"node_oclfjpfqjy11\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"行容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclp7x1dae2i\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"width\":\"16%\"},\"ref\":\"fdcell-d167958c\",\"width\":180},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclp7x1dae2j\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Tree\",\"id\":\"node_oclp7x1dae19\",\"props\":{\"prefix\":\"next-\",\"selectable\":true,\"expandedKeys\":{\"type\":\"JSExpression\",\"value\":\"this.state.defaultExpandedKeys\"},\"checkedStrategy\":\"all\",\"autoExpandParent\":true,\"animation\":true,\"focusable\":true,\"plainData\":\"children\\n\\t123\\n\\t*[ashbin]333\\n\\t-222\",\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeData\",\"mock\":[{\"label\":\"children\",\"disabled\":false,\"key\":\"0-0\",\"children\":[{\"label\":\"123\",\"disabled\":false,\"key\":\"0-0-0\",\"children\":[]},{\"label\":\"333\",\"icon\":\"ashbin\",\"disabled\":false,\"key\":\"0-0-1\",\"children\":[]},{\"label\":\"222\",\"disabled\":true,\"key\":\"0-0-2\",\"children\":[]}]}]},\"multiple\":false,\"checkable\":false,\"editable\":false,\"draggable\":false,\"ref\":\"tree-94f27d8c\",\"showLine\":true,\"style\":{\"width\":\"100%\",\"minWidth\":\"100px\",\"overflowX\":\"auto\",\"marginRight\":\"20px\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onSelect\",\"relatedEventName\":\"onSelect\"},{\"type\":\"componentEvent\",\"name\":\"onExpand\",\"relatedEventName\":\"onExpand\"}],\"eventList\":[{\"name\":\"onSelect\",\"disabled\":true},{\"name\":\"onCheck\",\"disabled\":false},{\"name\":\"onExpand\",\"disabled\":true}]},\"onSelect\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onSelect.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onExpand\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onExpand.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_oclklz750e4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdcell-65cd59b4\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Filter\",\"id\":\"node_ockt5mo4jj1\",\"props\":{\"labelAlign\":\"top\",\"labelTextAlign\":\"right\",\"enableFilterConfiguration\":false,\"cols\":4,\"operations\":[],\"ref\":\"filter-d394e8d5\",\"labelCol\":{\"fixedSpan\":4},\"style\":{\"display\":\"flex\",\"paddingBottom\":\"6px\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onSearch\",\"relatedEventName\":\"search\"},{\"type\":\"componentEvent\",\"name\":\"onReset\",\"relatedEventName\":\"search\"}],\"eventList\":[{\"name\":\"onExpand\",\"disabled\":false},{\"name\":\"onSearch\",\"disabled\":true},{\"name\":\"onReset\",\"disabled\":true}]},\"onSearch\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onReset\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_oclrqhx1vsr\",\"props\":{\"formItemProps\":{\"primaryKey\":\"7507\",\"label\":\"流程编码\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"procCode\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-0ce89389\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclrqhx1vss\",\"props\":{\"formItemProps\":{\"primaryKey\":\"1421\",\"label\":\"流程名称\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"procName\"},\"placeholder\":\"请输入\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]},{\"componentName\":\"FDP\",\"id\":\"node_oclktf7fiuov\",\"props\":{\"ref\":\"fdp-351ff634\"},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclktf7fiuou\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.loading\"},\"size\":\"large\",\"inline\":true,\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\",\"ref\":\"loading-d5aed9da\",\"style\":{\"overflow\":\"auto\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"ProTable\",\"id\":\"node_oclklz750e2l\",\"props\":{\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.tableData\"},\"actionColumnButtons\":{\"dataSource\":[{\"children\":\"编辑\",\"type\":\"primary\",\"disabled\":false,\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.getInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"拷贝\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.copy.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"编排\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.toBpmn.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"删除\",\"type\":{\"type\":\"JSExpression\",\"value\":\"\'normal next-btn-warning\'\",\"mock\":\"primary\"},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.deleteRow.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"text\":true,\"visibleButtonCount\":4},\"actionBarButtons\":{\"dataSource\":[{\"type\":\"primary\",\"children\":\"新增\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.onClick.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"visibleButtonCount\":3,\"text\":false},\"paginationProps\":{\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageSize\"},\"pageSizeList\":[5,10,20],\"hidden\":false,\"total\":{\"type\":\"JSExpression\",\"value\":\"this.state.total\"},\"onChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageNumChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onPageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageSizeChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"current\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageNum\"}},\"settingButtons\":true,\"columns\":[{\"title\":\"流程编码\",\"formatType\":\"text\",\"dataIndex\":\"procCode\"},{\"title\":\"流程名称\",\"formatType\":\"text\",\"dataIndex\":\"procName\"},{\"title\":\"鉴权\",\"formatType\":\"text\",\"dataIndex\":\"auth\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'auth\', e); }\"}},{\"title\":\"状态\",\"formatType\":\"text\",\"dataIndex\":\"status\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'status\', e); }\"}},{\"title\":\"创建时间\",\"formatType\":\"text\",\"dataIndex\":\"createTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'createTime\', e); }\"}},{\"title\":\"修改时间\",\"formatType\":\"text\",\"dataIndex\":\"updateTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'updateTime\', e); }\"}}],\"primaryKey\":\"id\",\"actionColumnProps\":{\"title\":\"操作\",\"lock\":\"right\"},\"indexColumn\":false,\"hasBorder\":false,\"isZebra\":false,\"fixedHeader\":false,\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\",\"ref\":\"protable-c6b31d01\",\"_unsafe_MixedSetter____condition____select\":\"BoolSetter\",\"_unsafe_MixedSetter____loop____select\":\"JsonSetter\",\"cellDefault\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"condition\":true}]}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 4, '1', NULL, NULL, '2024-02-19 13:29:26', NULL, NULL, '0', '2', 'edit');
INSERT INTO `sys_menu` VALUES (5, 'lowcode', '低代码引擎', NULL, '2', '1', '1', '/editor.html', NULL, 10, '1', '2023-08-15 11:08:10', NULL, '2024-01-28 04:32:50', NULL, NULL, '0', '2', 'detail');
INSERT INTO `sys_menu` VALUES (4001, 'user', '用户管理', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormTreeSelect\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormTreeSelect\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormSelect\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormSelect\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormInput\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormInput\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormPassword\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormPassword\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormRadioGroup\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormRadioGroup\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProForm\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProForm\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProDialog\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProDialog\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Breadcrumb.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Breadcrumb\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Tree\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Tree\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"Filter\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Filter\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProTable\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProTable\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Loading\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Loading\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Row\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDRow\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/list\"},\"id\":\"list\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/save\"},\"id\":\"save\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"GET\",\"isCors\":true,\"timeout\":5000,\"headers\":{},\"uri\":\"/onlinecode-api/process/getById\"},\"id\":\"getById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/copy\"},\"id\":\"copy\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"DELETE\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/x-www-form-urlencoded\"},\"uri\":\"/onlinecode-api/process/delete\"},\"id\":\"deleteById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.next-btn-warning.next-btn-normal {\\n color: #f52743;\\n}\\n\\n.next-btn-warning.next-btn-normal.active,\\n.next-btn-warning.next-btn-normal.hover,\\n.next-btn-warning.next-btn-normal:active,\\n.next-btn-warning.next-btn-normal:focus,\\n.next-btn-warning.next-btn-normal:hover {\\n color: #e72b00 !important;\\n}\\n\\n.fusion-ui-pro-table-content .next-overlay-wrapper {\\n position: fixed;\\n z-index: 1000;\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n treeData: [],\\n defaultExpandedKeys: [],\\n selectedMenuCode: null,\\n treeSelectData: [],\\n tableData: [],\\n roleData: [],\\n total: 0,\\n isShowDialog: false,\\n // 0新增 1编辑 2拷贝\\n formType: 0,\\n loading: false,\\n // 查询参数\\n pageNum: 1,\\n pageSize: 10,\\n searchFormData: {}\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.menuTree();\\n this.roleList();\\n this.list();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n onClick(formType = 0) {\\n this.setState({ formType: formType });\\n this.setState({ isShowDialog: true });\\n }\\n closeDialog() {\\n this.setState({ isShowDialog: false });\\n this.setState({ formType: 0 });\\n }\\n async pageNumChange(event) {\\n await this.setState({ pageNum: event });\\n this.list();\\n }\\n async pageSizeChange(event) {\\n await this.setState({ pageSize: event });\\n this.list();\\n }\\n async search(event) {\\n await this.setState({ searchFormData: event });\\n this.list();\\n }\\n menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptTreeUserSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({ selectedMenuCode: null });\\n this.setState({ defaultExpandedKeys: [1] });\\n this.setState({ treeSelectData: res.data });\\n this.setState({ treeData: res.data });\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n roleList() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleAll\'\\n }).then(res => {\\n let data = []\\n if (res.code === 200 && res.data) {\\n res.data.forEach(v => {\\n data.push({ label: v.name, value: v.id });\\n });\\n }\\n this.setState({ roleData: data });\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n async onSelect(selectedKeys, extra) {\\n await this.setState({ selectedMenuCode: selectedKeys.length === 0 ? null : extra.node.props.value });\\n this.list();\\n }\\n onExpand(expandedKeys, extra) {\\n this.setState({ defaultExpandedKeys: expandedKeys });\\n }\\n list() {\\n this.setState({ loading: true });\\n let data = {\\n procCode: \'userList\',\\n vars: {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n deptId: this.state.selectedMenuCode,\\n ...this.state.searchFormData\\n }\\n }\\n console.log(data);\\n this.dataSourceMap[\'api\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({ tableData: res.data.rows });\\n this.setState({ total: res.data.total });\\n }\\n })\\n .catch(error => { })\\n .then(() => {\\n this.setState({ loading: false })\\n });\\n }\\n save(data) {\\n data.password = this.utils.getBase64().encode(data.password);\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.menuTree();\\n this.list();\\n this.closeDialog();\\n }).catch(error => { });\\n }\\n getById(id, formType = 1) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userGetById\',\\n vars: { id: id }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n res.data[\'password\'] = \'\';\\n // 角色\\n let roles = [];\\n if (res.data[\'roles\']) {\\n res.data[\'roles\'].forEach(v => {\\n roles.push(v.id);\\n });\\n }\\n res.data[\'roles\'] = roles;\\n formField.setValues(res.data);\\n }\\n }).catch(error => { });\\n }\\n submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n })\\n .catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n }\\n getInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey);\\n }\\n deleteRow(e, { rowKey, rowIndex, rowRecord }) {\\n this.dataSourceMap[\'deleteById\'].load({ id: rowKey }).then(res => {\\n if (res.code === 200) {\\n this.menuTree();\\n this.list();\\n }\\n }).catch(error => { });\\n }\\n // 单元格渲染\\n cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>);\\n }\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>);\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"process\",\"locator\":\"process\",\"router\":\"/process\"},\"state\":{\"treeData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"defaultExpandedKeys\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"selectedMenuCode\":{\"type\":\"JSExpression\",\"value\":\"null\"},\"treeSelectData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"tableData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"roleData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"total\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"isShowDialog\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"formType\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"loading\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"pageNum\":{\"type\":\"JSExpression\",\"value\":\"1\"},\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"10\"},\"searchFormData\":{\"type\":\"JSExpression\",\"value\":\"{}\"}},\"methods\":{\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\",\"source\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\"},\"closeDialog\":{\"type\":\"JSFunction\",\"value\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\",\"source\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\"},\"pageNumChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\"},\"pageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\"},\"search\":{\"type\":\"JSFunction\",\"value\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\",\"source\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\"},\"menuTree\":{\"type\":\"JSFunction\",\"value\":\"function menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptTreeUserSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n selectedMenuCode: null\\n });\\n this.setState({\\n defaultExpandedKeys: [1]\\n });\\n this.setState({\\n treeSelectData: res.data\\n });\\n this.setState({\\n treeData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptTreeUserSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n selectedMenuCode: null\\n });\\n this.setState({\\n defaultExpandedKeys: [1]\\n });\\n this.setState({\\n treeSelectData: res.data\\n });\\n this.setState({\\n treeData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n}\"},\"roleList\":{\"type\":\"JSFunction\",\"value\":\"function roleList() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleAll\'\\n }).then(res => {\\n let data = [];\\n if (res.code === 200 && res.data) {\\n res.data.forEach(v => {\\n data.push({\\n label: v.name,\\n value: v.id\\n });\\n });\\n }\\n this.setState({\\n roleData: data\\n });\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function roleList() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleAll\'\\n }).then(res => {\\n let data = [];\\n if (res.code === 200 && res.data) {\\n res.data.forEach(v => {\\n data.push({\\n label: v.name,\\n value: v.id\\n });\\n });\\n }\\n this.setState({\\n roleData: data\\n });\\n }).catch(error => {}).then(() => {});\\n}\"},\"onSelect\":{\"type\":\"JSFunction\",\"value\":\"async function onSelect(selectedKeys, extra) {\\n await this.setState({\\n selectedMenuCode: selectedKeys.length === 0 ? null : extra.node.props.value\\n });\\n this.list();\\n}\",\"source\":\"async function onSelect(selectedKeys, extra) {\\n await this.setState({\\n selectedMenuCode: selectedKeys.length === 0 ? null : extra.node.props.value\\n });\\n this.list();\\n}\"},\"onExpand\":{\"type\":\"JSFunction\",\"value\":\"function onExpand(expandedKeys, extra) {\\n this.setState({\\n defaultExpandedKeys: expandedKeys\\n });\\n}\",\"source\":\"function onExpand(expandedKeys, extra) {\\n this.setState({\\n defaultExpandedKeys: expandedKeys\\n });\\n}\"},\"list\":{\"type\":\"JSFunction\",\"value\":\"function list() {\\n this.setState({\\n loading: true\\n });\\n let data = {\\n procCode: \'userList\',\\n vars: {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n deptId: this.state.selectedMenuCode,\\n ...this.state.searchFormData\\n }\\n };\\n console.log(data);\\n this.dataSourceMap[\'api\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\",\"source\":\"function list() {\\n this.setState({\\n loading: true\\n });\\n let data = {\\n procCode: \'userList\',\\n vars: {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n deptId: this.state.selectedMenuCode,\\n ...this.state.searchFormData\\n }\\n };\\n console.log(data);\\n this.dataSourceMap[\'api\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\"},\"save\":{\"type\":\"JSFunction\",\"value\":\"function save(data) {\\n data.password = this.utils.getBase64().encode(data.password);\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.menuTree();\\n this.list();\\n this.closeDialog();\\n }).catch(error => {});\\n}\",\"source\":\"function save(data) {\\n data.password = this.utils.getBase64().encode(data.password);\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.menuTree();\\n this.list();\\n this.closeDialog();\\n }).catch(error => {});\\n}\"},\"getById\":{\"type\":\"JSFunction\",\"value\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n res.data[\'password\'] = \'\';\\n // 角色\\n let roles = [];\\n if (res.data[\'roles\']) {\\n res.data[\'roles\'].forEach(v => {\\n roles.push(v.id);\\n });\\n }\\n res.data[\'roles\'] = roles;\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n res.data[\'password\'] = \'\';\\n // 角色\\n let roles = [];\\n if (res.data[\'roles\']) {\\n res.data[\'roles\'].forEach(v => {\\n roles.push(v.id);\\n });\\n }\\n res.data[\'roles\'] = roles;\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\"},\"submitForm\":{\"type\":\"JSFunction\",\"value\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\",\"source\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\"},\"getInfo\":{\"type\":\"JSFunction\",\"value\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\",\"source\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\"},\"deleteRow\":{\"type\":\"JSFunction\",\"value\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.menuTree();\\n this.list();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.menuTree();\\n this.list();\\n }\\n }).catch(error => {});\\n}\"},\"cellRender\":{\"type\":\"JSFunction\",\"value\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u7981\\\\u7528\\\"));\\n }\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u542F\\\\u7528\\\"));\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\",\"source\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>;\\n }\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>;\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.menuTree();\\n this.roleList();\\n this.list();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.menuTree();\\n this.roleList();\\n this.list();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"ProDialog\",\"id\":\"node_oclkngt1jri6\",\"props\":{\"status\":\"success\",\"size\":\"medium\",\"prefix\":\"next-\",\"footerAlign\":\"right\",\"title\":\"Title\",\"closeMode\":[\"esc\",\"mask\",\"close\"],\"hasMask\":true,\"align\":\"cc cc\",\"minMargin\":40,\"isAutoContainer\":true,\"visible\":true,\"iconType\":\"prompt\",\"explanation\":\"提示文案\",\"operationConfig\":{\"fixed\":false,\"showSaveTime\":false,\"align\":\"right\"},\"operations\":[{\"action\":\"ok\",\"type\":\"primary\",\"content\":\"确认\"},{\"action\":\"cancel\",\"type\":\"normal\",\"content\":\"取消\"}],\"ref\":\"pro-dialog-entrylkngtew3\",\"hasTips\":false,\"autoFocus\":false,\"style\":{\"position\":\"absolute\",\"top\":\"160px\"},\"dialogType\":\"normal\",\"_unsafe_MixedSetter_operations_select\":\"ArraySetter\",\"_unsafe_MixedSetter_operationConfig_select\":\"ObjectSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onOk\",\"relatedEventName\":\"submitForm\"},{\"type\":\"componentEvent\",\"name\":\"onCancel\",\"relatedEventName\":\"closeDialog\"},{\"type\":\"componentEvent\",\"name\":\"onClose\",\"relatedEventName\":\"closeDialog\"}],\"eventList\":[{\"name\":\"onOk\",\"disabled\":true},{\"name\":\"onCancel\",\"disabled\":true},{\"name\":\"onClose\",\"disabled\":true}]},\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\",\"onOk\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.submitForm.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCancel\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onClose\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.isShowDialog\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknl8vfh6\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\",\"ref\":\"fdcell-ac865355\"},\"docId\":\"doclkngt1jr\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"ProForm\",\"id\":\"node_oclknl8x2g5u\",\"props\":{\"placeholder\":\"请在右侧面板添加表单项+\",\"placeholderStyle\":{\"height\":\"38px\",\"color\":\"#0088FF\",\"background\":\"#d8d8d836\",\"border\":0,\"gridArea\":\"span 4 / span 4\"},\"columns\":1,\"labelCol\":{\"fixedSpan\":4},\"labelAlign\":\"left\",\"emptyContent\":\"添加表单项\",\"ref\":\"pro-form-entrylknl92nq\",\"operationConfig\":{\"align\":\"center\"},\"style\":{\"width\":\"100%\"},\"operations\":[],\"__events\":{\"eventDataList\":[],\"eventList\":[{\"name\":\"saveField\",\"disabled\":false},{\"name\":\"onSubmit\",\"disabled\":true},{\"name\":\"onChange\",\"disabled\":false}]},\"labelTextAlign\":\"right\",\"size\":\"medium\",\"device\":\"desktop\",\"status\":\"editable\",\"isPreview\":false},\"title\":\"高级表单\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormTreeSelect\",\"id\":\"node_oclswtyixnv\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-2r9bnk\",\"label\":\"所属部门\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"deptId\"},\"placeholder\":\"请输入\",\"hasClear\":true,\"showSearch\":true,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeSelectData\"},\"ref\":\"formtreeselect-58798863\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormSelect\",\"id\":\"node_oclswtyixnw\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-9qes88\",\"label\":\"角色\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"roles\"},\"placeholder\":\"请选择\",\"hasClear\":true,\"showSearch\":true,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.roleData\"},\"mode\":\"multiple\",\"hasArrow\":true,\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclswtyixnx\",\"props\":{\"formItemProps\":{\"primaryKey\":\"5499\",\"label\":\"用户名\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"name\":\"userName\",\"requiredMessage\":\"不能为空\",\"autoValidate\":true},\"placeholder\":\"请输入\",\"style\":{},\"ref\":\"forminput-910637ac\",\"disabled\":{\"type\":\"JSExpression\",\"value\":\"this.state.formType === 1\",\"mock\":false}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclswtyixny\",\"props\":{\"formItemProps\":{\"primaryKey\":\"4246\",\"label\":\"姓名\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"autoValidate\":true,\"name\":\"nickName\",\"requiredMessage\":\"不可为空\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-3b1cbd65\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormPassword\",\"id\":\"node_oclswtyixnz\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-ll27v8\",\"label\":\"密码\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"password\",\"requiredMessage\":\"\",\"isPreview\":false,\"autoValidate\":false},\"placeholder\":\"请输入\",\"showLimitHint\":false,\"showToggle\":true,\"rows\":4,\"autoHeight\":false,\"isPreview\":false,\"disabled\":false,\"hasLimitHint\":false,\"trim\":true},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclswtyixn10\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-hl8178\",\"label\":\"状态\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"name\":\"status\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"启用\",\"value\":\"1\"},{\"label\":\"禁用\",\"value\":\"0\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]},{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdsection-4e0a747a\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_oclknfhblfd3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknfhblfd4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclknfhblfo9\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Breadcrumb\",\"id\":\"node_oclknfhblfo5\",\"props\":{\"maxNode\":100,\"component\":\"nav\",\"Breadcrumb\":{\"Item\":[{\"primaryKey\":\"breadcrumb-item-1\",\"children\":\"一级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-2\",\"children\":\"二级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-3\",\"children\":\"三级\",\"target\":\"_self\"}]},\"ref\":\"breadcrumb-83c3bb43\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo6\",\"props\":{\"children\":\"Home\",\"primaryKey\":\"breadcrumb-item-1\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo7\",\"props\":{\"children\":\"用户管理\",\"primaryKey\":\"breadcrumb-item-2\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]},{\"componentName\":\"FDBlock\",\"id\":\"node_ocls7rp6uo2\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDRow\",\"id\":\"node_oclfjpfqjy11\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"}},\"title\":\"行容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_ocls7sexzy1\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"width\":\"600px\"},\"width\":-72.38749694824219,\"ref\":\"fdcell-c1d2f3bd\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_ocls7sexzy2\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Tree\",\"id\":\"node_oclp7x1dae19\",\"props\":{\"prefix\":\"next-\",\"selectable\":true,\"expandedKeys\":{\"type\":\"JSExpression\",\"value\":\"this.state.defaultExpandedKeys\"},\"checkedStrategy\":\"all\",\"autoExpandParent\":true,\"animation\":true,\"focusable\":true,\"plainData\":\"children\\n\\t123\\n\\t*[ashbin]333\\n\\t-222\",\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeData\",\"mock\":[{\"label\":\"children\",\"disabled\":false,\"key\":\"0-0\",\"children\":[{\"label\":\"123\",\"disabled\":false,\"key\":\"0-0-0\",\"children\":[]},{\"label\":\"333\",\"icon\":\"ashbin\",\"disabled\":false,\"key\":\"0-0-1\",\"children\":[]},{\"label\":\"222\",\"disabled\":true,\"key\":\"0-0-2\",\"children\":[]}]}]},\"multiple\":false,\"checkable\":false,\"editable\":false,\"draggable\":false,\"ref\":\"tree-94f27d8c\",\"showLine\":true,\"style\":{\"minWidth\":\"100px\",\"overflowX\":\"auto\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onSelect\",\"relatedEventName\":\"onSelect\"},{\"type\":\"componentEvent\",\"name\":\"onExpand\",\"relatedEventName\":\"onExpand\"}],\"eventList\":[{\"name\":\"onSelect\",\"disabled\":true},{\"name\":\"onCheck\",\"disabled\":false},{\"name\":\"onExpand\",\"disabled\":true}]},\"onSelect\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onSelect.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onExpand\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onExpand.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_oclklz750e4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdcell-65cd59b4\",\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Filter\",\"id\":\"node_ockt5mo4jj1\",\"props\":{\"labelAlign\":\"top\",\"labelTextAlign\":\"right\",\"enableFilterConfiguration\":false,\"cols\":4,\"operations\":[],\"ref\":\"filter-d394e8d5\",\"labelCol\":{\"fixedSpan\":4},\"style\":{\"display\":\"flex\",\"paddingBottom\":\"6px\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onSearch\",\"relatedEventName\":\"search\"},{\"type\":\"componentEvent\",\"name\":\"onReset\",\"relatedEventName\":\"search\"}],\"eventList\":[{\"name\":\"onExpand\",\"disabled\":false},{\"name\":\"onSearch\",\"disabled\":true},{\"name\":\"onReset\",\"disabled\":true}]},\"onSearch\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onReset\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_ocls7sfjjbe\",\"props\":{\"formItemProps\":{\"primaryKey\":\"7507\",\"label\":\"用户名\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"userName\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-0ce89389\",\"key\":\"filter-username\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormInput\",\"id\":\"node_ocls7sfjjbf\",\"props\":{\"formItemProps\":{\"primaryKey\":\"1421\",\"label\":\"姓名\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"nickName\"},\"placeholder\":\"请输入\",\"key\":\"filter-nickname\",\"ref\":\"forminput-f4ddf04d\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]},{\"componentName\":\"FDP\",\"id\":\"node_ocls7sfjjbg\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclktf7fiuou\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.loading\"},\"size\":\"large\",\"inline\":true,\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\",\"ref\":\"loading-d5aed9da\",\"style\":{\"overflow\":\"auto\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"ProTable\",\"id\":\"node_oclklz750e2l\",\"props\":{\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.tableData\"},\"actionColumnButtons\":{\"dataSource\":[{\"children\":\"编辑\",\"type\":\"primary\",\"disabled\":false,\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.getInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"删除\",\"type\":{\"type\":\"JSExpression\",\"value\":\"\'normal next-btn-warning\'\",\"mock\":\"primary\"},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.deleteRow.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"text\":true,\"visibleButtonCount\":4},\"actionBarButtons\":{\"dataSource\":[{\"type\":\"primary\",\"children\":\"新增\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.onClick.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"visibleButtonCount\":3,\"text\":false},\"paginationProps\":{\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageSize\"},\"pageSizeSelector\":\"dropdown\",\"pageSizeList\":[5,10,20],\"hidden\":false,\"total\":{\"type\":\"JSExpression\",\"value\":\"this.state.total\"},\"onChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageNumChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onPageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageSizeChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"current\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageNum\"}},\"settingButtons\":true,\"columns\":[{\"title\":\"用户名\",\"formatType\":\"text\",\"dataIndex\":\"userName\",\"_format_options_date\":\"YYYY-MM-DD HH:mm:ss\"},{\"title\":\"姓名\",\"formatType\":\"text\",\"dataIndex\":\"nickName\"},{\"title\":\"部门\",\"formatType\":\"text\",\"dataIndex\":\"deptName\"},{\"title\":\"状态\",\"formatType\":\"text\",\"dataIndex\":\"status\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'status\', e); }\"}},{\"title\":\"创建时间\",\"formatType\":\"text\",\"dataIndex\":\"createTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'createTime\', e); }\"}},{\"title\":\"修改时间\",\"formatType\":\"text\",\"dataIndex\":\"updateTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'updateTime\', e); }\"}}],\"primaryKey\":\"id\",\"actionColumnProps\":{\"title\":\"操作\",\"lock\":\"right\"},\"indexColumn\":false,\"hasBorder\":false,\"isZebra\":false,\"fixedHeader\":false,\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\",\"ref\":\"protable-c6b31d01\",\"_unsafe_MixedSetter____condition____select\":\"BoolSetter\",\"_unsafe_MixedSetter____loop____select\":\"JsonSetter\",\"cellDefault\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"condition\":true}]}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 7, '1', '2023-10-26 03:30:09', NULL, '2024-02-22 06:56:26', NULL, NULL, '0', '2', 'account');
INSERT INTO `sys_menu` VALUES (10001, 'dept', '部门管理', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormTreeSelect\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormTreeSelect\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormInput\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormInput\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormRadioGroup\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormRadioGroup\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormNumberPicker\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormNumberPicker\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProForm\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProForm\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProDialog\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProDialog\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Breadcrumb.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Breadcrumb\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProTable\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProTable\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Loading\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Loading\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.next-btn-warning.next-btn-normal {\\n color: #f52743;\\n}\\n\\n.next-btn-warning.next-btn-normal.active,\\n.next-btn-warning.next-btn-normal.hover,\\n.next-btn-warning.next-btn-normal:active,\\n.next-btn-warning.next-btn-normal:focus,\\n.next-btn-warning.next-btn-normal:hover {\\n color: #e72b00 !important;\\n}\\n\\n.fusion-ui-pro-table-content .next-overlay-wrapper {\\n position: fixed;\\n z-index: 1000;\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n treeData: [],\\n treeSelectData: [],\\n openRowKeys: [],\\n isShowDialog: false,\\n formType: 0,\\n loading: false\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.search();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n treeSearch(formType = 0) {\\n // 树型下拉框\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptTreeSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeSelectData: res.data\\n });\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n this.setState({ formType: formType });\\n this.setState({ isShowDialog: true });\\n }\\n closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n }\\n search() {\\n this.setState({ loading: true });\\n // 列表数据\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeData: res.data\\n });\\n let openKeys = [];\\n this.openAll(res.data, openKeys);\\n this.setState({ openRowKeys: openKeys });\\n }\\n })\\n .catch(error => { })\\n .then(() => {\\n this.setState({ loading: false })\\n });\\n }\\n save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.closeDialog();\\n this.search();\\n }).catch(error => { });\\n }\\n getById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.treeSearch(1);\\n console.log(this.$(\'pro-form-entrylknl92nq\').getInstance());\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => { });\\n }\\n submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n\\n formField.validatePromise().then(res => {\\n console.log(res);\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n })\\n .catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n }\\n getInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey);\\n }\\n deleteInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.deleteById(rowKey);\\n }\\n deleteById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptDeleteById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.search();\\n }\\n }).catch(error => { });\\n }\\n // 单元格渲染\\n cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return \'禁用\';\\n }\\n return \'启用\';\\n }\\n }\\n onRowOpen(openRowKeys, currentRowKey, expanded, currentRecord) {\\n console.log(openRowKeys, currentRowKey, expanded, currentRecord);\\n this.setState({ openRowKeys: openRowKeys });\\n }\\n // 展开所有行\\n openAll(tree, openKeys) {\\n if (tree) {\\n tree.forEach((row) => {\\n openKeys.push(row.id);\\n this.openAll(row.children, openKeys);\\n });\\n }\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"process\",\"locator\":\"process\",\"router\":\"/process\"},\"state\":{\"treeData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"treeSelectData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"openRowKeys\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"isShowDialog\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"formType\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"loading\":{\"type\":\"JSExpression\",\"value\":\"false\"}},\"methods\":{\"treeSearch\":{\"type\":\"JSFunction\",\"value\":\"function treeSearch(formType = 0) {\\n // 树型下拉框\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptTreeSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeSelectData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\",\"source\":\"function treeSearch(formType = 0) {\\n // 树型下拉框\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptTreeSelectList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeSelectData: res.data\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\"},\"closeDialog\":{\"type\":\"JSFunction\",\"value\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n}\",\"source\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n}\"},\"search\":{\"type\":\"JSFunction\",\"value\":\"function search() {\\n this.setState({\\n loading: true\\n });\\n // 列表数据\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeData: res.data\\n });\\n let openKeys = [];\\n this.openAll(res.data, openKeys);\\n this.setState({\\n openRowKeys: openKeys\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\",\"source\":\"function search() {\\n this.setState({\\n loading: true\\n });\\n // 列表数据\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n treeData: res.data\\n });\\n let openKeys = [];\\n this.openAll(res.data, openKeys);\\n this.setState({\\n openRowKeys: openKeys\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\"},\"save\":{\"type\":\"JSFunction\",\"value\":\"function save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.closeDialog();\\n this.search();\\n }).catch(error => {});\\n}\",\"source\":\"function save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptSave\',\\n vars: data\\n }).then(res => {\\n console.log(\\\"save success\\\");\\n this.closeDialog();\\n this.search();\\n }).catch(error => {});\\n}\"},\"getById\":{\"type\":\"JSFunction\",\"value\":\"function getById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.treeSearch(1);\\n console.log(this.$(\'pro-form-entrylknl92nq\').getInstance());\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function getById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.treeSearch(1);\\n console.log(this.$(\'pro-form-entrylknl92nq\').getInstance());\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\"},\"submitForm\":{\"type\":\"JSFunction\",\"value\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n console.log(res);\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\",\"source\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n console.log(res);\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\"},\"getInfo\":{\"type\":\"JSFunction\",\"value\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\",\"source\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\"},\"deleteInfo\":{\"type\":\"JSFunction\",\"value\":\"function deleteInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.deleteById(rowKey);\\n}\",\"source\":\"function deleteInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.deleteById(rowKey);\\n}\"},\"deleteById\":{\"type\":\"JSFunction\",\"value\":\"function deleteById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptDeleteById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.search();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function deleteById(id) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'deptDeleteById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.search();\\n }\\n }).catch(error => {});\\n}\"},\"cellRender\":{\"type\":\"JSFunction\",\"value\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return \'禁用\';\\n }\\n return \'启用\';\\n }\\n}\",\"source\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return \'禁用\';\\n }\\n return \'启用\';\\n }\\n}\"},\"onRowOpen\":{\"type\":\"JSFunction\",\"value\":\"function onRowOpen(openRowKeys, currentRowKey, expanded, currentRecord) {\\n console.log(openRowKeys, currentRowKey, expanded, currentRecord);\\n this.setState({\\n openRowKeys: openRowKeys\\n });\\n}\",\"source\":\"function onRowOpen(openRowKeys, currentRowKey, expanded, currentRecord) {\\n console.log(openRowKeys, currentRowKey, expanded, currentRecord);\\n this.setState({\\n openRowKeys: openRowKeys\\n });\\n}\"},\"openAll\":{\"type\":\"JSFunction\",\"value\":\"function openAll(tree, openKeys) {\\n if (tree) {\\n tree.forEach(row => {\\n openKeys.push(row.id);\\n this.openAll(row.children, openKeys);\\n });\\n }\\n}\",\"source\":\"function openAll(tree, openKeys) {\\n if (tree) {\\n tree.forEach(row => {\\n openKeys.push(row.id);\\n this.openAll(row.children, openKeys);\\n });\\n }\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.search();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.search();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"ProDialog\",\"id\":\"node_oclkngt1jri6\",\"props\":{\"status\":\"success\",\"size\":\"medium\",\"prefix\":\"next-\",\"footerAlign\":\"right\",\"title\":\"Title\",\"closeMode\":[\"esc\",\"mask\",\"close\"],\"hasMask\":true,\"align\":\"cc cc\",\"minMargin\":40,\"isAutoContainer\":true,\"visible\":true,\"iconType\":\"prompt\",\"explanation\":\"提示文案\",\"operationConfig\":{\"fixed\":false,\"showSaveTime\":false,\"align\":\"right\"},\"operations\":[{\"action\":\"ok\",\"type\":\"primary\",\"content\":\"确认\"},{\"action\":\"cancel\",\"type\":\"normal\",\"content\":\"取消\"}],\"ref\":\"pro-dialog-entrylkngtew3\",\"hasTips\":false,\"autoFocus\":false,\"style\":{\"position\":\"absolute\",\"top\":\"160px\"},\"dialogType\":\"normal\",\"_unsafe_MixedSetter_operations_select\":\"ArraySetter\",\"_unsafe_MixedSetter_operationConfig_select\":\"ObjectSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onOk\",\"relatedEventName\":\"submitForm\"},{\"type\":\"componentEvent\",\"name\":\"onCancel\",\"relatedEventName\":\"closeDialog\"},{\"type\":\"componentEvent\",\"name\":\"onClose\",\"relatedEventName\":\"closeDialog\"}],\"eventList\":[{\"name\":\"onOk\",\"disabled\":true},{\"name\":\"onCancel\",\"disabled\":true},{\"name\":\"onClose\",\"disabled\":true}]},\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\",\"onOk\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.submitForm.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCancel\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onClose\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.isShowDialog\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknl8vfh6\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"width\":\"\"},\"docId\":\"doclkngt1jr\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"ProForm\",\"id\":\"node_oclknl8x2g5u\",\"props\":{\"placeholder\":\"请在右侧面板添加表单项+\",\"placeholderStyle\":{\"height\":\"38px\",\"color\":\"#0088FF\",\"background\":\"#d8d8d836\",\"border\":0,\"gridArea\":\"span 4 / span 4\"},\"columns\":1,\"labelCol\":{\"fixedSpan\":4},\"labelAlign\":\"left\",\"emptyContent\":\"添加表单项\",\"ref\":\"pro-form-entrylknl92nq\",\"operationConfig\":{\"align\":\"center\"},\"style\":{\"width\":\"100%\"},\"operations\":[],\"__events\":{\"eventDataList\":[],\"eventList\":[{\"name\":\"saveField\",\"disabled\":false},{\"name\":\"onSubmit\",\"disabled\":true},{\"name\":\"onChange\",\"disabled\":false}]},\"labelTextAlign\":\"right\",\"size\":\"medium\",\"device\":\"desktop\"},\"title\":\"高级表单\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormTreeSelect\",\"id\":\"node_oclrpzmxzjl\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-2r9bnk\",\"label\":\"上级菜单\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"parent_id\"},\"placeholder\":\"请输入\",\"hasClear\":true,\"showSearch\":false,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeSelectData\"},\"ref\":\"formtreeselect-530744e4\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormInput\",\"id\":\"node_oclrpzmxzjm\",\"props\":{\"formItemProps\":{\"primaryKey\":\"4246\",\"label\":\"部门名称\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"autoValidate\":true,\"name\":\"name\",\"requiredMessage\":\"不可为空\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-7a8d3eae\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclrpzmxzjn\",\"props\":{\"formItemProps\":{\"primaryKey\":\"8178\",\"label\":\"状态\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"name\":\"status\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"启用\",\"value\":\"1\"},{\"label\":\"禁用\",\"value\":\"0\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormNumberPicker\",\"id\":\"node_oclrpzmxzjo\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-mh2ylx\",\"label\":\"排序\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"sort\"},\"alwaysShowTrigger\":true,\"step\":1,\"precision\":0,\"editable\":true,\"defaultValue\":1,\"max\":9999,\"min\":1},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]},{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdsection-4e0a747a\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_oclknfhblfd3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknfhblfd4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclknfhblfo9\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Breadcrumb\",\"id\":\"node_oclknfhblfo5\",\"props\":{\"maxNode\":100,\"component\":\"nav\",\"Breadcrumb\":{\"Item\":[{\"primaryKey\":\"breadcrumb-item-1\",\"children\":\"一级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-2\",\"children\":\"二级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-3\",\"children\":\"三级\",\"target\":\"_self\"}]},\"ref\":\"breadcrumb-83c3bb43\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo6\",\"props\":{\"children\":\"Home\",\"primaryKey\":\"breadcrumb-item-1\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo7\",\"props\":{\"children\":\"部门管理\",\"primaryKey\":\"breadcrumb-item-2\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]},{\"componentName\":\"FDBlock\",\"id\":\"node_oclklz750e3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdblock-a09b6107\"},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclklz750e4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclktf7fiuov\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclktf7fiuou\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.loading\"},\"size\":\"large\",\"inline\":true,\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\",\"ref\":\"loading-d5aed9da\",\"style\":{\"overflow\":\"auto\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"ProTable\",\"id\":\"node_ocll3gf1m7n\",\"props\":{\"isTree\":true,\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeData\"},\"openRowKeys\":{\"type\":\"JSExpression\",\"value\":\"this.state.openRowKeys\"},\"onRowOpen\":{\"type\":\"JSExpression\",\"value\":\"(...args) => { return this.onRowOpen(...args); }\"},\"columns\":[{\"title\":\"部门名称\",\"dataIndex\":\"name\",\"formatType\":\"text\"},{\"title\":\"状态\",\"dataIndex\":\"status\",\"formatType\":\"text\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'status\', e); }\"}},{\"title\":\"排序\",\"formatType\":\"text\",\"dataIndex\":\"sort\"}],\"primaryKey\":\"id\",\"actionColumnProps\":{\"title\":\"操作\"},\"paginationProps\":{\"hidden\":true},\"indexColumn\":false,\"settingButtons\":false,\"hasBorder\":false,\"isZebra\":false,\"fixedHeader\":false,\"ref\":\"protable-c983e8d4\",\"actionBarButtons\":{\"text\":false,\"visibleButtonCount\":3,\"dataSource\":[{\"children\":\"新增\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.treeSearch.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"刷新\",\"type\":\"normal\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}]},\"actionColumnButtons\":{\"dataSource\":[{\"children\":\"编辑\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.getInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"删除\",\"type\":{\"type\":\"JSExpression\",\"value\":\"\'normal next-btn-warning\'\",\"mock\":\"primary\"},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.deleteInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}]},\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 5, '1', '2024-01-23 02:42:16', NULL, '2024-02-19 10:15:36', NULL, NULL, '0', '2', 'form');
INSERT INTO `sys_menu` VALUES (12001, 'role', '角色管理', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormInput\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormInput\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormRadioGroup\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormRadioGroup\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProForm\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProForm\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProDialog\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProDialog\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"Filter\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Filter\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProTable\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProTable\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Loading\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Loading\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Tag\",\"main\":\"\",\"destructuring\":true,\"componentName\":\"Tag\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Button\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Button\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Tree\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Tree\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"TabContainer\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Tab.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Transfer\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Transfer\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"TabContainer\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"TabContainer\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/list\"},\"id\":\"list\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/save\"},\"id\":\"save\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"GET\",\"isCors\":true,\"timeout\":5000,\"headers\":{},\"uri\":\"/onlinecode-api/process/getById\"},\"id\":\"getById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/copy\"},\"id\":\"copy\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"DELETE\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/x-www-form-urlencoded\"},\"uri\":\"/onlinecode-api/process/delete\"},\"id\":\"deleteById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.next-btn-warning.next-btn-normal {\\n color: #f52743;\\n}\\n\\n.next-btn-warning.next-btn-normal.active,\\n.next-btn-warning.next-btn-normal.hover,\\n.next-btn-warning.next-btn-normal:active,\\n.next-btn-warning.next-btn-normal:focus,\\n.next-btn-warning.next-btn-normal:hover {\\n color: #e72b00 !important;\\n}\\n\\n.fusion-ui-pro-table-content .next-overlay-wrapper {\\n position: fixed;\\n z-index: 1000;\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n // 权限树数据\\n treeData: [],\\n // 展开的节点\\n defaultExpandedKeys: [],\\n // 有子节点的key\\n indeterminateKeys: [],\\n // 已分配权限(菜单、流程)\\n checkedCodeData: [],\\n roleMenu: [],\\n // 所有用户\\n userData: [],\\n // 已分配用户\\n userRole: [],\\n // 角色列表\\n tableData: [],\\n total: 0,\\n isShowDialog: false,\\n // 0新增 1编辑 2拷贝\\n formType: 0,\\n loading: false,\\n tabLoading: false,\\n // 查询参数\\n pageNum: 1,\\n pageSize: 10,\\n searchFormData: {},\\n authRoleId: null,\\n authRoleName: \'授权角色:未选择角色\',\\n messagePop: this.utils.getMessage()\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.list();\\n this.menuTree();\\n this.userList();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n // 新增或编辑\\n onClick(formType = 0) {\\n this.setState({ formType: formType });\\n this.setState({ isShowDialog: true });\\n }\\n closeDialog() {\\n this.setState({ isShowDialog: false });\\n this.setState({ formType: 0 });\\n }\\n async pageNumChange(event) {\\n await this.setState({ pageNum: event });\\n this.list();\\n }\\n async pageSizeChange(event) {\\n await this.setState({ pageSize: event });\\n this.list();\\n }\\n async search(event) {\\n await this.setState({ searchFormData: event });\\n this.list();\\n }\\n // 权限树查询\\n menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeProcInfoList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({ roleMenu: [] });\\n this.setState({ defaultExpandedKeys: [\'root\'] });\\n this.setState({\\n treeData: [{\\n key: \'root\',\\n label: \'全部\',\\n children: res.data\\n }]\\n });\\n let keys = [];\\n this.findIndeterminateKeys(this.state.treeData[0], keys);\\n this.setState({ indeterminateKeys: keys });\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n // 查找权限树中所有有子节点的节点key\\n findIndeterminateKeys(node, keys) {\\n if (node && node.children && node.children.length > 0) {\\n keys.push(node.key);\\n for (let sub of node.children) {\\n this.findIndeterminateKeys(sub, keys)\\n }\\n }\\n }\\n // 用户列表查询\\n userList() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userAll\'\\n }).then(res => {\\n let data = []\\n if (res.code === 200 && res.data) {\\n res.data.forEach(v => {\\n data.push({ label: v.nickName + \'(\' + v.userName + \')\', value: v.id + \'\' });\\n });\\n }\\n this.setState({ userData: data });\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n // 权限树勾选事件\\n async onCheck(selectedKeys, extra) {\\n this.setState({ checkedCodeData: selectedKeys });\\n const checked = selectedKeys.concat(extra.indeterminateKeys);\\n await this.setState({ roleMenu: checked });\\n }\\n // 权限树节点展开\\n onExpand(expandedKeys, extra) {\\n this.setState({ defaultExpandedKeys: expandedKeys });\\n }\\n // 穿梭框移动右侧\\n onTranferChange(selectedKeys, extra) {\\n this.setState({ userRole: selectedKeys });\\n }\\n // 置空变量\\n emptyData() {\\n this.setState({ checkedCodeData: [] });\\n this.setState({ userRole: [] });\\n this.setState({ roleMenu: [] });\\n this.setState({ authRoleId: null });\\n this.setState({ authRoleName: \'授权角色:未选择角色\' });\\n }\\n // 列表查询\\n list() {\\n this.emptyData();\\n this.setState({ loading: true });\\n let data = {\\n procCode: \'roleList\',\\n vars: {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n ...this.state.searchFormData\\n }\\n }\\n this.dataSourceMap[\'api\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({ tableData: res.data.rows });\\n this.setState({ total: res.data.total });\\n }\\n })\\n .catch(error => { })\\n .then(() => {\\n this.setState({ loading: false })\\n });\\n }\\n // 保存信息\\n save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSave\',\\n vars: data\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'成功保存到数据库\');\\n this.menuTree();\\n this.list();\\n this.closeDialog();\\n }\\n }).catch(error => { });\\n }\\n // 编辑回填\\n getById(id, formType = 1) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleGetById\',\\n vars: { id: id }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl76za\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => { });\\n }\\n // 提交表单\\n submitForm() {\\n let formField = this.$(\'pro-form-entrylknl76za\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n })\\n .catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n }\\n // 编辑回填\\n getInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey);\\n }\\n // 授权\\n authRow(e, { rowKey, rowIndex, rowRecord }) {\\n this.setState({ authRoleId: rowKey });\\n this.setState({ authRoleName: \'授权角色:\' + rowRecord.name });\\n this.getAuthInfo(rowKey);\\n \\n }\\n // 授权信息回填\\n getAuthInfo(roleId) {\\n roleId = !!roleId ? roleId : this.state.authRoleId;\\n if (!roleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n this.setState({ tabLoading: true });\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleGetAuthInfo\',\\n vars: { id: roleId }\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({ userRole: res.data.userRole });\\n\\n let permsArr = [...res.data.roleMenu];\\n if (permsArr.length > 0) {\\n permsArr.push(\'root\');\\n }\\n\\n let leafs = [...res.data.roleProc];\\n for (const key of permsArr) {\\n if (!this.state.indeterminateKeys.includes(key)) {\\n leafs.push(key)\\n }\\n }\\n this.setState({ checkedCodeData: leafs });\\n\\n permsArr = permsArr.concat(res.data.roleProc);\\n this.setState({ roleMenu: permsArr });\\n\\n }\\n })\\n .catch(error => { })\\n .then(() => { this.setState({ tabLoading: false }); });\\n }\\n authUserRole() {\\n if (!this.state.authRoleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSaveAuthInfo\',\\n vars: { id: this.state.authRoleId, userRole: this.state.userRole }\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'已成功分配用户\');\\n this.getAuthInfo();\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n authRoleMenu() {\\n if (!this.state.authRoleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n const menus = this.state.roleMenu.filter(item => item !== \'root\');\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSaveAuthInfo\',\\n vars: { id: this.state.authRoleId, roleMenu: menus }\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'已成功分配权限\');\\n this.getAuthInfo();\\n }\\n })\\n .catch(error => { })\\n .then(() => { });\\n }\\n // 删除角色\\n deleteRow(e, { rowKey, rowIndex, rowRecord }) {\\n this.dataSourceMap[\'deleteById\'].load({ id: rowKey }).then(res => {\\n if (res.code === 200) {\\n this.menuTree();\\n this.list();\\n }\\n }).catch(error => { });\\n }\\n // 单元格渲染\\n cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>);\\n }\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>);\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"process\",\"locator\":\"process\",\"router\":\"/process\"},\"state\":{\"treeData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"defaultExpandedKeys\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"indeterminateKeys\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"checkedCodeData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"roleMenu\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"userData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"userRole\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"tableData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"total\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"isShowDialog\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"formType\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"loading\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"tabLoading\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"pageNum\":{\"type\":\"JSExpression\",\"value\":\"1\"},\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"10\"},\"searchFormData\":{\"type\":\"JSExpression\",\"value\":\"{}\"},\"authRoleId\":{\"type\":\"JSExpression\",\"value\":\"null\"},\"authRoleName\":{\"type\":\"JSExpression\",\"value\":\"\'授权角色:未选择角色\'\"},\"messagePop\":{\"type\":\"JSExpression\",\"value\":\"this.utils.getMessage()\"}},\"methods\":{\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\",\"source\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\"},\"closeDialog\":{\"type\":\"JSFunction\",\"value\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\",\"source\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\"},\"pageNumChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\"},\"pageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\"},\"search\":{\"type\":\"JSFunction\",\"value\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\",\"source\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\"},\"menuTree\":{\"type\":\"JSFunction\",\"value\":\"function menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeProcInfoList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n roleMenu: []\\n });\\n this.setState({\\n defaultExpandedKeys: [\'root\']\\n });\\n this.setState({\\n treeData: [{\\n key: \'root\',\\n label: \'全部\',\\n children: res.data\\n }]\\n });\\n let keys = [];\\n this.findIndeterminateKeys(this.state.treeData[0], keys);\\n this.setState({\\n indeterminateKeys: keys\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function menuTree() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'menuTreeProcInfoList\'\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n roleMenu: []\\n });\\n this.setState({\\n defaultExpandedKeys: [\'root\']\\n });\\n this.setState({\\n treeData: [{\\n key: \'root\',\\n label: \'全部\',\\n children: res.data\\n }]\\n });\\n let keys = [];\\n this.findIndeterminateKeys(this.state.treeData[0], keys);\\n this.setState({\\n indeterminateKeys: keys\\n });\\n }\\n }).catch(error => {}).then(() => {});\\n}\"},\"findIndeterminateKeys\":{\"type\":\"JSFunction\",\"value\":\"function findIndeterminateKeys(node, keys) {\\n if (node && node.children && node.children.length > 0) {\\n keys.push(node.key);\\n for (let sub of node.children) {\\n this.findIndeterminateKeys(sub, keys);\\n }\\n }\\n}\",\"source\":\"function findIndeterminateKeys(node, keys) {\\n if (node && node.children && node.children.length > 0) {\\n keys.push(node.key);\\n for (let sub of node.children) {\\n this.findIndeterminateKeys(sub, keys);\\n }\\n }\\n}\"},\"userList\":{\"type\":\"JSFunction\",\"value\":\"function userList() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userAll\'\\n }).then(res => {\\n let data = [];\\n if (res.code === 200 && res.data) {\\n res.data.forEach(v => {\\n data.push({\\n label: v.nickName + \'(\' + v.userName + \')\',\\n value: v.id + \'\'\\n });\\n });\\n }\\n this.setState({\\n userData: data\\n });\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function userList() {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'userAll\'\\n }).then(res => {\\n let data = [];\\n if (res.code === 200 && res.data) {\\n res.data.forEach(v => {\\n data.push({\\n label: v.nickName + \'(\' + v.userName + \')\',\\n value: v.id + \'\'\\n });\\n });\\n }\\n this.setState({\\n userData: data\\n });\\n }).catch(error => {}).then(() => {});\\n}\"},\"onCheck\":{\"type\":\"JSFunction\",\"value\":\"async function onCheck(selectedKeys, extra) {\\n this.setState({\\n checkedCodeData: selectedKeys\\n });\\n const checked = selectedKeys.concat(extra.indeterminateKeys);\\n await this.setState({\\n roleMenu: checked\\n });\\n}\",\"source\":\"async function onCheck(selectedKeys, extra) {\\n this.setState({\\n checkedCodeData: selectedKeys\\n });\\n const checked = selectedKeys.concat(extra.indeterminateKeys);\\n await this.setState({\\n roleMenu: checked\\n });\\n}\"},\"onExpand\":{\"type\":\"JSFunction\",\"value\":\"function onExpand(expandedKeys, extra) {\\n this.setState({\\n defaultExpandedKeys: expandedKeys\\n });\\n}\",\"source\":\"function onExpand(expandedKeys, extra) {\\n this.setState({\\n defaultExpandedKeys: expandedKeys\\n });\\n}\"},\"onTranferChange\":{\"type\":\"JSFunction\",\"value\":\"function onTranferChange(selectedKeys, extra) {\\n this.setState({\\n userRole: selectedKeys\\n });\\n}\",\"source\":\"function onTranferChange(selectedKeys, extra) {\\n this.setState({\\n userRole: selectedKeys\\n });\\n}\"},\"emptyData\":{\"type\":\"JSFunction\",\"value\":\"function emptyData() {\\n this.setState({\\n checkedCodeData: []\\n });\\n this.setState({\\n userRole: []\\n });\\n this.setState({\\n roleMenu: []\\n });\\n this.setState({\\n authRoleId: null\\n });\\n this.setState({\\n authRoleName: \'授权角色:未选择角色\'\\n });\\n}\",\"source\":\"function emptyData() {\\n this.setState({\\n checkedCodeData: []\\n });\\n this.setState({\\n userRole: []\\n });\\n this.setState({\\n roleMenu: []\\n });\\n this.setState({\\n authRoleId: null\\n });\\n this.setState({\\n authRoleName: \'授权角色:未选择角色\'\\n });\\n}\"},\"list\":{\"type\":\"JSFunction\",\"value\":\"function list() {\\n this.emptyData();\\n this.setState({\\n loading: true\\n });\\n let data = {\\n procCode: \'roleList\',\\n vars: {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n ...this.state.searchFormData\\n }\\n };\\n this.dataSourceMap[\'api\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\",\"source\":\"function list() {\\n this.emptyData();\\n this.setState({\\n loading: true\\n });\\n let data = {\\n procCode: \'roleList\',\\n vars: {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n ...this.state.searchFormData\\n }\\n };\\n this.dataSourceMap[\'api\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\"},\"save\":{\"type\":\"JSFunction\",\"value\":\"function save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSave\',\\n vars: data\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'成功保存到数据库\');\\n this.menuTree();\\n this.list();\\n this.closeDialog();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function save(data) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSave\',\\n vars: data\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'成功保存到数据库\');\\n this.menuTree();\\n this.list();\\n this.closeDialog();\\n }\\n }).catch(error => {});\\n}\"},\"getById\":{\"type\":\"JSFunction\",\"value\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl76za\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleGetById\',\\n vars: {\\n id: id\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl76za\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\"},\"submitForm\":{\"type\":\"JSFunction\",\"value\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl76za\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\",\"source\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl76za\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n this.closeDialog();\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\"},\"getInfo\":{\"type\":\"JSFunction\",\"value\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\",\"source\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\"},\"authRow\":{\"type\":\"JSFunction\",\"value\":\"function authRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.setState({\\n authRoleId: rowKey\\n });\\n this.setState({\\n authRoleName: \'授权角色:\' + rowRecord.name\\n });\\n this.getAuthInfo(rowKey);\\n}\",\"source\":\"function authRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.setState({\\n authRoleId: rowKey\\n });\\n this.setState({\\n authRoleName: \'授权角色:\' + rowRecord.name\\n });\\n this.getAuthInfo(rowKey);\\n}\"},\"getAuthInfo\":{\"type\":\"JSFunction\",\"value\":\"function getAuthInfo(roleId) {\\n roleId = !!roleId ? roleId : this.state.authRoleId;\\n if (!roleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n this.setState({\\n tabLoading: true\\n });\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleGetAuthInfo\',\\n vars: {\\n id: roleId\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n userRole: res.data.userRole\\n });\\n let permsArr = [...res.data.roleMenu];\\n if (permsArr.length > 0) {\\n permsArr.push(\'root\');\\n }\\n let leafs = [...res.data.roleProc];\\n for (const key of permsArr) {\\n if (!this.state.indeterminateKeys.includes(key)) {\\n leafs.push(key);\\n }\\n }\\n this.setState({\\n checkedCodeData: leafs\\n });\\n permsArr = permsArr.concat(res.data.roleProc);\\n this.setState({\\n roleMenu: permsArr\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n tabLoading: false\\n });\\n });\\n}\",\"source\":\"function getAuthInfo(roleId) {\\n roleId = !!roleId ? roleId : this.state.authRoleId;\\n if (!roleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n this.setState({\\n tabLoading: true\\n });\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleGetAuthInfo\',\\n vars: {\\n id: roleId\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n userRole: res.data.userRole\\n });\\n let permsArr = [...res.data.roleMenu];\\n if (permsArr.length > 0) {\\n permsArr.push(\'root\');\\n }\\n let leafs = [...res.data.roleProc];\\n for (const key of permsArr) {\\n if (!this.state.indeterminateKeys.includes(key)) {\\n leafs.push(key);\\n }\\n }\\n this.setState({\\n checkedCodeData: leafs\\n });\\n permsArr = permsArr.concat(res.data.roleProc);\\n this.setState({\\n roleMenu: permsArr\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n tabLoading: false\\n });\\n });\\n}\"},\"authUserRole\":{\"type\":\"JSFunction\",\"value\":\"function authUserRole() {\\n if (!this.state.authRoleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSaveAuthInfo\',\\n vars: {\\n id: this.state.authRoleId,\\n userRole: this.state.userRole\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'已成功分配用户\');\\n this.getAuthInfo();\\n }\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function authUserRole() {\\n if (!this.state.authRoleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSaveAuthInfo\',\\n vars: {\\n id: this.state.authRoleId,\\n userRole: this.state.userRole\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'已成功分配用户\');\\n this.getAuthInfo();\\n }\\n }).catch(error => {}).then(() => {});\\n}\"},\"authRoleMenu\":{\"type\":\"JSFunction\",\"value\":\"function authRoleMenu() {\\n if (!this.state.authRoleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n const menus = this.state.roleMenu.filter(item => item !== \'root\');\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSaveAuthInfo\',\\n vars: {\\n id: this.state.authRoleId,\\n roleMenu: menus\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'已成功分配权限\');\\n this.getAuthInfo();\\n }\\n }).catch(error => {}).then(() => {});\\n}\",\"source\":\"function authRoleMenu() {\\n if (!this.state.authRoleId) {\\n this.state.messagePop.warning(\'请先选择角色\');\\n return;\\n }\\n const menus = this.state.roleMenu.filter(item => item !== \'root\');\\n this.dataSourceMap[\'api\'].load({\\n procCode: \'roleSaveAuthInfo\',\\n vars: {\\n id: this.state.authRoleId,\\n roleMenu: menus\\n }\\n }).then(res => {\\n if (res.code === 200) {\\n this.state.messagePop.success(\'已成功分配权限\');\\n this.getAuthInfo();\\n }\\n }).catch(error => {}).then(() => {});\\n}\"},\"deleteRow\":{\"type\":\"JSFunction\",\"value\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.menuTree();\\n this.list();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.menuTree();\\n this.list();\\n }\\n }).catch(error => {});\\n}\"},\"cellRender\":{\"type\":\"JSFunction\",\"value\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u7981\\\\u7528\\\"));\\n }\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u542F\\\\u7528\\\"));\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\",\"source\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>;\\n }\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>;\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.list();\\n this.menuTree();\\n this.userList();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.list();\\n this.menuTree();\\n this.userList();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"ProDialog\",\"id\":\"node_oclkngt1jri6\",\"props\":{\"status\":\"success\",\"size\":\"medium\",\"prefix\":\"next-\",\"footerAlign\":\"right\",\"title\":\"Title\",\"closeMode\":[\"esc\",\"mask\",\"close\"],\"hasMask\":true,\"align\":\"cc cc\",\"minMargin\":40,\"isAutoContainer\":true,\"visible\":true,\"iconType\":\"prompt\",\"explanation\":\"提示文案\",\"operationConfig\":{\"fixed\":false,\"showSaveTime\":false,\"align\":\"right\"},\"operations\":[{\"action\":\"ok\",\"type\":\"primary\",\"content\":\"确认\"},{\"action\":\"cancel\",\"type\":\"normal\",\"content\":\"取消\"}],\"ref\":\"pro-dialog-entrylkngtew3\",\"hasTips\":false,\"autoFocus\":false,\"style\":{\"position\":\"absolute\",\"top\":\"160px\"},\"dialogType\":\"normal\",\"_unsafe_MixedSetter_operations_select\":\"ArraySetter\",\"_unsafe_MixedSetter_operationConfig_select\":\"ObjectSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onOk\",\"relatedEventName\":\"submitForm\"},{\"type\":\"componentEvent\",\"name\":\"onCancel\",\"relatedEventName\":\"closeDialog\"},{\"type\":\"componentEvent\",\"name\":\"onClose\",\"relatedEventName\":\"closeDialog\"}],\"eventList\":[{\"name\":\"onOk\",\"disabled\":true},{\"name\":\"onCancel\",\"disabled\":true},{\"name\":\"onClose\",\"disabled\":true}]},\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\",\"onOk\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.submitForm.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCancel\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onClose\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":true,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.isShowDialog\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknl8vfh6\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\",\"ref\":\"fdcell-ac865355\"},\"docId\":\"doclkngt1jr\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"ProForm\",\"id\":\"node_oclknl8x2g5u\",\"props\":{\"placeholder\":\"请在右侧面板添加表单项+\",\"placeholderStyle\":{\"height\":\"38px\",\"color\":\"#0088FF\",\"background\":\"#d8d8d836\",\"border\":0,\"gridArea\":\"span 4 / span 4\"},\"columns\":1,\"labelCol\":{\"fixedSpan\":4},\"labelAlign\":\"left\",\"emptyContent\":\"添加表单项\",\"ref\":\"pro-form-entrylknl76za\",\"operationConfig\":{\"align\":\"center\"},\"style\":{\"width\":\"100%\"},\"operations\":[],\"__events\":{\"eventDataList\":[],\"eventList\":[{\"name\":\"saveField\",\"disabled\":false},{\"name\":\"onSubmit\",\"disabled\":true},{\"name\":\"onChange\",\"disabled\":false}]},\"labelTextAlign\":\"right\",\"size\":\"medium\",\"device\":\"desktop\",\"status\":\"editable\",\"isPreview\":false},\"title\":\"高级表单\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_oclpqcnbmw1b\",\"props\":{\"formItemProps\":{\"primaryKey\":\"5499\",\"label\":\"角色名\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"name\":\"name\",\"requiredMessage\":\"不能为空\",\"autoValidate\":true},\"placeholder\":\"请输入\",\"style\":{},\"ref\":\"forminput-910637ac\",\"disabled\":{\"type\":\"JSExpression\",\"value\":\"this.state.formType === 1\",\"mock\":false}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclpqcnbmw1e\",\"props\":{\"formItemProps\":{\"primaryKey\":\"8178\",\"label\":\"状态\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"name\":\"status\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"启用\",\"value\":\"1\"},{\"label\":\"禁用\",\"value\":\"0\"}],\"ref\":\"formradiogroup-633e12d3\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]},{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdsection-4e0a747a\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_oclklz750e2m\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"display\":\"inline\",\"minHeight\":\"\"},\"ref\":\"fdblock-bbb18d39\"},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclklz750e4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"float\":\"left\",\"width\":\"50%\",\"minHeight\":\"\",\"paddingRight\":\"5px\"},\"width\":\"\",\"ref\":\"fdcell-65cd59b4\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Filter\",\"id\":\"node_ockt5mo4jj1\",\"props\":{\"labelAlign\":\"top\",\"labelTextAlign\":\"right\",\"enableFilterConfiguration\":false,\"cols\":4,\"operations\":[],\"ref\":\"filter-d394e8d5\",\"labelCol\":{\"fixedSpan\":4},\"style\":{\"display\":\"flex\",\"paddingBottom\":\"6px\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onSearch\",\"relatedEventName\":\"search\"},{\"type\":\"componentEvent\",\"name\":\"onReset\",\"relatedEventName\":\"search\"}],\"eventList\":[{\"name\":\"onExpand\",\"disabled\":false},{\"name\":\"onSearch\",\"disabled\":true},{\"name\":\"onReset\",\"disabled\":true}]},\"onSearch\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onReset\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_oclsr7zc5t1\",\"props\":{\"formItemProps\":{\"primaryKey\":\"7507\",\"label\":\"角色名\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"roleName\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-0ce89389\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]},{\"componentName\":\"FDP\",\"id\":\"node_oclktf7fiuov\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclktf7fiuou\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.loading\"},\"size\":\"large\",\"inline\":true,\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\",\"ref\":\"loading-d5aed9da\",\"style\":{\"overflow\":\"auto\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"ProTable\",\"id\":\"node_oclklz750e2l\",\"props\":{\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.tableData\"},\"actionColumnButtons\":{\"dataSource\":[{\"children\":\"编辑\",\"type\":\"primary\",\"disabled\":false,\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.getInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"授权\",\"type\":\"primary\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.authRow.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"删除\",\"type\":{\"type\":\"JSExpression\",\"value\":\"\'normal next-btn-warning\'\",\"mock\":\"primary\"},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.deleteRow.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"text\":true,\"visibleButtonCount\":4},\"actionBarButtons\":{\"dataSource\":[{\"type\":\"primary\",\"children\":\"新增\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.onClick.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"visibleButtonCount\":3,\"text\":false},\"paginationProps\":{\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageSize\"},\"pageSizeSelector\":\"dropdown\",\"pageSizeList\":[5,10,20],\"hidden\":false,\"total\":{\"type\":\"JSExpression\",\"value\":\"this.state.total\"},\"onChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageNumChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onPageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageSizeChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"current\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageNum\"}},\"settingButtons\":true,\"columns\":[{\"title\":\"角色名\",\"formatType\":\"text\",\"dataIndex\":\"name\",\"_format_options_date\":\"YYYY-MM-DD HH:mm:ss\"},{\"title\":\"状态\",\"formatType\":\"text\",\"dataIndex\":\"status\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'status\', e); }\"}},{\"title\":\"创建时间\",\"formatType\":\"text\",\"dataIndex\":\"createTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'createTime\', e); }\"}},{\"title\":\"修改时间\",\"formatType\":\"text\",\"dataIndex\":\"updateTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'updateTime\', e); }\"}}],\"primaryKey\":\"id\",\"actionColumnProps\":{\"title\":\"操作\",\"lock\":\"right\"},\"indexColumn\":false,\"hasBorder\":false,\"isZebra\":false,\"fixedHeader\":false,\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\",\"ref\":\"protable-c6b31d01\",\"_unsafe_MixedSetter____condition____select\":\"BoolSetter\",\"_unsafe_MixedSetter____loop____select\":\"JsonSetter\",\"cellDefault\":\"\",\"size\":\"medium\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"condition\":true}]}]}]},{\"componentName\":\"FDCell\",\"id\":\"node_oclp7x1dae2i\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"float\":\"left\",\"width\":\"50%\",\"minHeight\":\"\"},\"ref\":\"fdcell-d167958c\",\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclss9tshl1\",\"props\":{\"style\":{\"display\":\"flex\",\"alignItems\":\"center\"}},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Tag\",\"id\":\"node_oclss9ujbk1k\",\"props\":{\"prefix\":\"next-\",\"type\":\"normal\",\"size\":\"medium\",\"animation\":true,\"children\":{\"type\":\"JSExpression\",\"value\":\"this.state.authRoleName\",\"mock\":\"\"},\"style\":{\"fontSize\":\"var(--tab-item-text-size-m, 12px)\",\"color\":\"var(--btn-text-primary-color,#5584ff)\"},\"color\":{\"type\":\"JSExpression\",\"value\":\"\'blur\'\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]},{\"componentName\":\"FDP\",\"id\":\"node_oclss9tshl2\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclsv5qsflj\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.tabLoading\"},\"size\":\"large\",\"inline\":true,\"style\":{\"width\":\"100%\"},\"ref\":\"loading-fc18366c\",\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"TabContainer\",\"id\":\"node_oclrx09zvo2ks\",\"props\":{\"shape\":\"pure\",\"size\":\"medium\",\"excessMode\":\"slide\",\"items\":[{\"primaryKey\":\"tab-item-1\",\"title\":\"分配权限\"},{\"primaryKey\":\"tab-item-2\",\"title\":\"分配用户\"}],\"ref\":\"tabcontainer-50847911\",\"tabPosition\":\"top\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Tab.Item\",\"id\":\"node_oclrx09zvo2kt\",\"props\":{\"title\":\"分配权限\",\"primaryKey\":\"tab-item-1\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclss9strw1e\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdcell-fa800892\",\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclss9strw2r\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Button\",\"id\":\"node_oclss9strw2q\",\"props\":{\"prefix\":\"next-\",\"type\":\"primary\",\"size\":\"medium\",\"htmlType\":\"button\",\"component\":\"button\",\"children\":\"保存\",\"iconSize\":\"xxs\",\"loading\":false,\"text\":false,\"warning\":false,\"disabled\":false,\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onClick\",\"relatedEventName\":\"authRoleMenu\"}],\"eventList\":[{\"name\":\"onClick\",\"description\":\"点击按钮的回调\\n@param {Object} e Event Object\",\"disabled\":true},{\"name\":\"onMouseUp\",\"disabled\":false}]},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.authRoleMenu.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]},{\"componentName\":\"FDP\",\"id\":\"node_oclss9strw2s\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Tree\",\"id\":\"node_oclp7x1dae19\",\"props\":{\"prefix\":\"next-\",\"selectable\":false,\"expandedKeys\":{\"type\":\"JSExpression\",\"value\":\"this.state.defaultExpandedKeys\"},\"autoExpandParent\":true,\"animation\":true,\"focusable\":true,\"plainData\":\"children\\n\\t123\\n\\t*[ashbin]333\\n\\t-222\",\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.treeData\",\"mock\":[{\"label\":\"children\",\"disabled\":false,\"key\":\"0-0\",\"children\":[{\"label\":\"123\",\"disabled\":false,\"key\":\"0-0-0\",\"children\":[]},{\"label\":\"333\",\"icon\":\"ashbin\",\"disabled\":false,\"key\":\"0-0-1\",\"children\":[]},{\"label\":\"222\",\"disabled\":true,\"key\":\"0-0-2\",\"children\":[]}]}]},\"checkedKeys\":{\"type\":\"JSExpression\",\"value\":\"this.state.checkedCodeData\"},\"multiple\":true,\"checkable\":true,\"editable\":false,\"draggable\":false,\"ref\":\"tree-94f27d8c\",\"showLine\":true,\"style\":{\"width\":\"100%\",\"minWidth\":\"100px\",\"overflowX\":\"auto\",\"marginRight\":\"20px\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onExpand\",\"relatedEventName\":\"onExpand\"},{\"type\":\"componentEvent\",\"name\":\"onCheck\",\"relatedEventName\":\"onCheck\"}],\"eventList\":[{\"name\":\"onSelect\",\"disabled\":false},{\"name\":\"onCheck\",\"disabled\":true},{\"name\":\"onExpand\",\"disabled\":true}]},\"onExpand\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onExpand.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCheck\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onCheck.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"]}]}]}]},{\"componentName\":\"Tab.Item\",\"id\":\"node_oclrx09zvo2ku\",\"props\":{\"title\":\"分配用户\",\"primaryKey\":\"tab-item-2\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclss9strwo\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclss9strw1c\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Button\",\"id\":\"node_oclss9strw19\",\"props\":{\"prefix\":\"next-\",\"type\":\"primary\",\"size\":\"medium\",\"htmlType\":\"button\",\"component\":\"button\",\"children\":\"保存\",\"iconSize\":\"xxs\",\"loading\":false,\"text\":false,\"warning\":false,\"disabled\":false,\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onClick\",\"relatedEventName\":\"authUserRole\"}],\"eventList\":[{\"name\":\"onClick\",\"description\":\"点击按钮的回调\\n@param {Object} e Event Object\",\"disabled\":true},{\"name\":\"onMouseUp\",\"disabled\":false}]},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.authUserRole.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]},{\"componentName\":\"FDP\",\"id\":\"node_oclss9strw1d\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Transfer\",\"id\":\"node_oclsr7zih82x\",\"props\":{\"prefix\":\"next-\",\"mode\":\"normal\",\"titles\":[\"所有用户\",\"已分配用户\"],\"notFoundContent\":\"Not Found\",\"showCheckAll\":true,\"showSearch\":true,\"searchProps\":{\"hasClear\":true},\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.userData\"},\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\",\"value\":{\"type\":\"JSExpression\",\"value\":\"this.state.userRole\"},\"_unsafe_MixedSetter_value_select\":\"ExpressionSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onChange\",\"relatedEventName\":\"onTranferChange\"}],\"eventList\":[{\"name\":\"onChange\",\"disabled\":true},{\"name\":\"onSearch\",\"disabled\":false},{\"name\":\"onSort\",\"disabled\":false}]},\"onChange\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.onTranferChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"_unsafe_MixedSetter_defaultRightChecked_select\":\"JsonSetter\",\"_unsafe_MixedSetter_defaultLeftChecked_select\":\"JsonSetter\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 6, '1', '2024-01-28 04:32:42', NULL, '2024-02-27 08:20:17', NULL, NULL, '0', '2', 'eye');
INSERT INTO `sys_menu` VALUES (14001, 'processList', '流程管理-列表查询', 'process', '3', '4', '0', '/process/list', NULL, 1, '1', '2024-02-21 11:42:38', NULL, '2024-02-21 11:43:01', NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (14002, 'processSave', '流程管理-保存', 'process', '3', '4', '0', '/process/save', NULL, 2, '1', '2024-02-21 11:44:15', NULL, NULL, NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (14003, 'processGetById', '流程管理-根据ID查询', 'process', '3', '4', '0', '/process/getById', NULL, 3, '1', '2024-02-21 11:45:37', NULL, '2024-02-21 11:48:18', NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (14004, 'processCopy', '流程管理-拷贝', 'process', '3', '4', '0', '/process/copy', NULL, 4, '1', '2024-02-21 11:46:22', NULL, '2024-02-21 11:48:23', NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (14005, 'processDelete', '流程管理-根据ID删除', 'process', '3', '4', '0', '/process/delete', NULL, 5, '1', '2024-02-21 11:48:01', NULL, '2024-02-21 11:48:28', NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (14006, 'processRunCmd', '流程管理-编排页面调试代码', 'process', '3', '4', '0', '/process/runCmd', NULL, 6, '1', '2024-02-21 13:29:19', NULL, NULL, NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (16001, 'processGetInfoWithTaskById', '流程管理-根据ID获取流程详细信息', 'process', '3', '4', '0', '/process/getInfoWithTaskById', NULL, 7, '1', '2024-02-21 21:39:11', NULL, '2024-02-21 13:39:38', NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (22001, 'cron', '定时任务', NULL, '0', '1', '0', NULL, '{\"version\":\"1.0.0\",\"componentsMap\":[{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormInput\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormInput\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormRadioGroup\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormRadioGroup\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormNumberPicker\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormNumberPicker\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"FormTextArea\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FormTextArea\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProForm\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProForm\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Cell\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDCell\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProDialog\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProDialog\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"Item\",\"componentName\":\"Breadcrumb.Item\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Breadcrumb\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Breadcrumb\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"P\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDP\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Block\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDBlock\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"Filter\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Filter\"},{\"package\":\"@alifd/fusion-ui\",\"version\":\"2.0.0\",\"exportName\":\"ProTable\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"ProTable\"},{\"package\":\"@alifd/next\",\"version\":\"1.25.23\",\"exportName\":\"Loading\",\"main\":\"\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"Loading\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Section\",\"main\":\"lib/index.js\",\"destructuring\":true,\"subName\":\"\",\"componentName\":\"FDSection\"},{\"package\":\"@alifd/layout\",\"version\":\"2.0.7\",\"exportName\":\"Page\",\"main\":\"lib/index.js\",\"destructuring\":true,\"componentName\":\"FDPage\"},{\"devMode\":\"lowCode\",\"componentName\":\"Page\"}],\"componentsTree\":[{\"componentName\":\"Page\",\"id\":\"node_dockcviv8fo1\",\"props\":{\"ref\":\"outerView\",\"style\":{\"height\":\"100%\"}},\"docId\":\"doclaqkk3b9\",\"fileName\":\"/\",\"dataSource\":{\"list\":[{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/cron/list\"},\"id\":\"list\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/cron/save\"},\"id\":\"save\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"GET\",\"isCors\":true,\"timeout\":5000,\"headers\":{},\"uri\":\"/onlinecode-api/cron/getById\"},\"id\":\"getById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"DELETE\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/x-www-form-urlencoded\"},\"uri\":\"/onlinecode-api/cron/delete\"},\"id\":\"deleteById\"},{\"type\":\"fetch\",\"isInit\":false,\"options\":{\"params\":{},\"method\":\"POST\",\"isCors\":true,\"timeout\":5000,\"headers\":{\"Content-Type\":\"application/json\"},\"uri\":\"/onlinecode-api/process/run\"},\"id\":\"api\"}]},\"css\":\"body {\\n font-size: 12px;\\n}\\n\\n.next-btn-warning.next-btn-normal {\\n color: #f52743;\\n}\\n\\n.next-btn-warning.next-btn-normal.active,\\n.next-btn-warning.next-btn-normal.hover,\\n.next-btn-warning.next-btn-normal:active,\\n.next-btn-warning.next-btn-normal:focus,\\n.next-btn-warning.next-btn-normal:hover {\\n color: #e72b00 !important;\\n}\\n\\n.fusion-ui-pro-table-content .next-overlay-wrapper {\\n position: fixed;\\n z-index: 1000;\\n}\",\"originCode\":\"class LowcodeComponent extends Component {\\n state = {\\n tableData: [],\\n total: 0,\\n isShowDialog: false,\\n // 0新增 1编辑\\n formType: 0,\\n loading: false,\\n // 查询参数\\n pageNum: 1,\\n pageSize: 10,\\n searchFormData: {}\\n }\\n componentDidMount() {\\n console.log(\'did mount\');\\n this.list();\\n }\\n componentWillUnmount() {\\n console.log(\'will unmount\');\\n }\\n onClick(formType = 0) {\\n this.setState({ formType: formType });\\n this.setState({ isShowDialog: true });\\n }\\n closeDialog() {\\n this.setState({ isShowDialog: false });\\n this.setState({ formType: 0 });\\n }\\n async pageNumChange(event) {\\n await this.setState({ pageNum: event });\\n this.list();\\n }\\n async pageSizeChange(event) {\\n await this.setState({ pageSize: event });\\n this.list();\\n }\\n async search(event) {\\n await this.setState({ searchFormData: event });\\n this.list();\\n }\\n list() {\\n this.setState({ loading: true });\\n let data = {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n param: {...this.state.searchFormData}\\n }\\n console.log(data);\\n this.dataSourceMap[\'list\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({ tableData: res.data.rows });\\n this.setState({ total: res.data.total });\\n }\\n })\\n .catch(error => { })\\n .then(() => {\\n this.setState({ loading: false })\\n });\\n }\\n save(data) {\\n this.dataSourceMap[\'save\'].load(data).then(res => {\\n console.log(\\\"save success\\\");\\n if (res.code === 200) {\\n this.list();\\n this.closeDialog();\\n }\\n }).catch(error => { });\\n }\\n getById(id, formType = 1) {\\n this.dataSourceMap[\'getById\'].load({id:id}).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => { });\\n }\\n submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n })\\n .catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n }\\n getInfo(e, { rowKey, rowIndex, rowRecord }) {\\n this.getById(rowKey);\\n }\\n deleteRow(e, { rowKey, rowIndex, rowRecord }) {\\n this.dataSourceMap[\'deleteById\'].load({ id: rowKey }).then(res => {\\n if (res.code === 200) {\\n this.list();\\n }\\n }).catch(error => { });\\n }\\n // 单元格渲染\\n cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>);\\n }\\n return (<div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>);\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n }\\n}\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"meta\":{\"title\":\"process\",\"locator\":\"process\",\"router\":\"/process\"},\"state\":{\"tableData\":{\"type\":\"JSExpression\",\"value\":\"[]\"},\"total\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"isShowDialog\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"formType\":{\"type\":\"JSExpression\",\"value\":\"0\"},\"loading\":{\"type\":\"JSExpression\",\"value\":\"false\"},\"pageNum\":{\"type\":\"JSExpression\",\"value\":\"1\"},\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"10\"},\"searchFormData\":{\"type\":\"JSExpression\",\"value\":\"{}\"}},\"methods\":{\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\",\"source\":\"function onClick(formType = 0) {\\n this.setState({\\n formType: formType\\n });\\n this.setState({\\n isShowDialog: true\\n });\\n}\"},\"closeDialog\":{\"type\":\"JSFunction\",\"value\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\",\"source\":\"function closeDialog() {\\n this.setState({\\n isShowDialog: false\\n });\\n this.setState({\\n formType: 0\\n });\\n}\"},\"pageNumChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageNumChange(event) {\\n await this.setState({\\n pageNum: event\\n });\\n this.list();\\n}\"},\"pageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\",\"source\":\"async function pageSizeChange(event) {\\n await this.setState({\\n pageSize: event\\n });\\n this.list();\\n}\"},\"search\":{\"type\":\"JSFunction\",\"value\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\",\"source\":\"async function search(event) {\\n await this.setState({\\n searchFormData: event\\n });\\n this.list();\\n}\"},\"list\":{\"type\":\"JSFunction\",\"value\":\"function list() {\\n this.setState({\\n loading: true\\n });\\n let data = {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n param: {\\n ...this.state.searchFormData\\n }\\n };\\n console.log(data);\\n this.dataSourceMap[\'list\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\",\"source\":\"function list() {\\n this.setState({\\n loading: true\\n });\\n let data = {\\n pageNum: this.state.pageNum,\\n pageSize: this.state.pageSize,\\n param: {\\n ...this.state.searchFormData\\n }\\n };\\n console.log(data);\\n this.dataSourceMap[\'list\'].load(data).then(res => {\\n if (res.code === 200) {\\n this.setState({\\n tableData: res.data.rows\\n });\\n this.setState({\\n total: res.data.total\\n });\\n }\\n }).catch(error => {}).then(() => {\\n this.setState({\\n loading: false\\n });\\n });\\n}\"},\"save\":{\"type\":\"JSFunction\",\"value\":\"function save(data) {\\n this.dataSourceMap[\'save\'].load(data).then(res => {\\n console.log(\\\"save success\\\");\\n if (res.code === 200) {\\n this.list();\\n this.closeDialog();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function save(data) {\\n this.dataSourceMap[\'save\'].load(data).then(res => {\\n console.log(\\\"save success\\\");\\n if (res.code === 200) {\\n this.list();\\n this.closeDialog();\\n }\\n }).catch(error => {});\\n}\"},\"getById\":{\"type\":\"JSFunction\",\"value\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'getById\'].load({\\n id: id\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function getById(id, formType = 1) {\\n this.dataSourceMap[\'getById\'].load({\\n id: id\\n }).then(res => {\\n if (res.code === 200) {\\n this.onClick(formType);\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.setValues(res.data);\\n }\\n }).catch(error => {});\\n}\"},\"submitForm\":{\"type\":\"JSFunction\",\"value\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\",\"source\":\"function submitForm() {\\n let formField = this.$(\'pro-form-entrylknl92nq\').getInstance()[\'_formField\'];\\n formField.validatePromise().then(res => {\\n if (res.errors == null) {\\n this.save(res.values);\\n }\\n }).catch(error => {\\n console.log(\\\"validate error \\\", error);\\n });\\n}\"},\"getInfo\":{\"type\":\"JSFunction\",\"value\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\",\"source\":\"function getInfo(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.getById(rowKey);\\n}\"},\"deleteRow\":{\"type\":\"JSFunction\",\"value\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.list();\\n }\\n }).catch(error => {});\\n}\",\"source\":\"function deleteRow(e, {\\n rowKey,\\n rowIndex,\\n rowRecord\\n}) {\\n this.dataSourceMap[\'deleteById\'].load({\\n id: rowKey\\n }).then(res => {\\n if (res.code === 200) {\\n this.list();\\n }\\n }).catch(error => {});\\n}\"},\"cellRender\":{\"type\":\"JSFunction\",\"value\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u7981\\\\u7528\\\"));\\n }\\n return /*#__PURE__*/React.createElement(\\\"div\\\", {\\n class: \\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"\\n }, /*#__PURE__*/React.createElement(\\\"span\\\", {\\n class: \\\"next-tag-body\\\"\\n }, \\\"\\\\u542F\\\\u7528\\\"));\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\",\"source\":\"function cellRender(...args) {\\n if (args[0] === \'status\') {\\n if (args[1] === \'0\') {\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-red-inverse\\\"><span class=\\\"next-tag-body\\\">禁用</span></div>;\\n }\\n return <div class=\\\"next-tag next-tag-default next-tag-small next-tag-blue-inverse\\\"><span class=\\\"next-tag-body\\\">启用</span></div>;\\n }\\n if (args[0] === \'createTime\' || args[0] === \'updateTime\') {\\n return args[1] ? args[1].replace(\'T\', \' \') : \'\';\\n }\\n}\"}},\"lifeCycles\":{\"componentDidMount\":{\"type\":\"JSFunction\",\"value\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.list();\\n}\",\"source\":\"function componentDidMount() {\\n console.log(\'did mount\');\\n this.list();\\n}\"},\"componentWillUnmount\":{\"type\":\"JSFunction\",\"value\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\",\"source\":\"function componentWillUnmount() {\\n console.log(\'will unmount\');\\n}\"}},\"children\":[{\"componentName\":\"ProDialog\",\"id\":\"node_oclkngt1jri6\",\"props\":{\"status\":\"success\",\"size\":\"medium\",\"prefix\":\"next-\",\"footerAlign\":\"right\",\"title\":\"Title\",\"closeMode\":[\"esc\",\"mask\",\"close\"],\"hasMask\":true,\"align\":\"cc cc\",\"minMargin\":40,\"isAutoContainer\":true,\"visible\":true,\"iconType\":\"prompt\",\"explanation\":\"提示文案\",\"operationConfig\":{\"fixed\":false,\"showSaveTime\":false,\"align\":\"right\"},\"operations\":[{\"action\":\"ok\",\"type\":\"primary\",\"content\":\"确认\"},{\"action\":\"cancel\",\"type\":\"normal\",\"content\":\"取消\"}],\"ref\":\"pro-dialog-entrylkngtew3\",\"hasTips\":false,\"autoFocus\":false,\"style\":{\"position\":\"absolute\",\"top\":\"260px\"},\"dialogType\":\"normal\",\"_unsafe_MixedSetter_operations_select\":\"ArraySetter\",\"_unsafe_MixedSetter_operationConfig_select\":\"ObjectSetter\",\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onOk\",\"relatedEventName\":\"submitForm\"},{\"type\":\"componentEvent\",\"name\":\"onCancel\",\"relatedEventName\":\"closeDialog\"},{\"type\":\"componentEvent\",\"name\":\"onClose\",\"relatedEventName\":\"closeDialog\"}],\"eventList\":[{\"name\":\"onOk\",\"disabled\":true},{\"name\":\"onCancel\",\"disabled\":true},{\"name\":\"onClose\",\"disabled\":true}]},\"_unsafe_MixedSetter____condition____select\":\"VariableSetter\",\"onOk\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.submitForm.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onCancel\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onClose\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.closeDialog.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":true,\"title\":\"\",\"isLocked\":false,\"condition\":{\"type\":\"JSExpression\",\"value\":\"this.state.isShowDialog\"},\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknl8vfh6\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"width\":\"\",\"ref\":\"fdcell-ac865355\"},\"docId\":\"doclkngt1jr\",\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"ProForm\",\"id\":\"node_oclknl8x2g5u\",\"props\":{\"placeholder\":\"请在右侧面板添加表单项+\",\"placeholderStyle\":{\"height\":\"38px\",\"color\":\"#0088FF\",\"background\":\"#d8d8d836\",\"border\":0,\"gridArea\":\"span 4 / span 4\"},\"columns\":1,\"labelCol\":{\"fixedSpan\":4},\"labelAlign\":\"left\",\"emptyContent\":\"添加表单项\",\"ref\":\"pro-form-entrylknl92nq\",\"operationConfig\":{\"align\":\"center\"},\"style\":{\"width\":\"100%\"},\"operations\":[],\"__events\":{\"eventDataList\":[],\"eventList\":[{\"name\":\"saveField\",\"disabled\":false},{\"name\":\"onSubmit\",\"disabled\":true},{\"name\":\"onChange\",\"disabled\":false}]},\"labelTextAlign\":\"right\",\"size\":\"medium\",\"device\":\"desktop\"},\"title\":\"高级表单\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_oclx4ebngo249\",\"props\":{\"formItemProps\":{\"primaryKey\":\"5499\",\"label\":\"任务编码\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"name\":\"cronCode\",\"requiredMessage\":\"不能为空\",\"autoValidate\":true},\"placeholder\":\"请输入\",\"style\":{},\"ref\":\"forminput-910637ac\",\"disabled\":{\"type\":\"JSExpression\",\"value\":\"this.state.formType === 1\",\"mock\":false}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclx4ebngo24a\",\"props\":{\"formItemProps\":{\"primaryKey\":\"4246\",\"label\":\"任务名称\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"labelTextAlign\":\"right\",\"autoValidate\":true,\"name\":\"cronName\",\"requiredMessage\":\"不可为空\"},\"placeholder\":\"请输入\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclx4ebngo24b\",\"props\":{\"formItemProps\":{\"primaryKey\":\"3989\",\"label\":\"表达式\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":true,\"name\":\"cronTxt\",\"autoValidate\":true},\"placeholder\":\"请输入\",\"defaultValue\":\"\",\"dataSource\":[{\"label\":\"开放\",\"value\":\"0\"},{\"label\":\"需登录\",\"value\":\"1\"},{\"label\":\"需授权\",\"value\":\"2\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclx4ebngo24c\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-kp1zfp\",\"label\":\"流程编码\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"procCode\",\"autoValidate\":true},\"placeholder\":\"请输入\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormRadioGroup\",\"id\":\"node_oclx4ebngo24d\",\"props\":{\"formItemProps\":{\"primaryKey\":\"8178\",\"label\":\"状态\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"name\":\"status\"},\"placeholder\":\"请输入\",\"defaultValue\":\"1\",\"dataSource\":[{\"label\":\"启用\",\"value\":\"1\"},{\"label\":\"禁用\",\"value\":\"0\"}]},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormNumberPicker\",\"id\":\"node_oclx4ebngo24e\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-h0rfn2\",\"label\":\"时长(秒)\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":true,\"name\":\"executeTimeout\",\"autoValidate\":true},\"alwaysShowTrigger\":true,\"step\":1,\"precision\":0,\"editable\":true},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormTextArea\",\"id\":\"node_oclx4ebngo24f\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-q8f7b5\",\"label\":\"参数\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"executeParam\"},\"placeholder\":\"请输入\",\"rows\":4,\"autoHeight\":false,\"isPreview\":false},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormTextArea\",\"id\":\"node_oclx4ebngo24g\",\"props\":{\"formItemProps\":{\"primaryKey\":\"id-s853qn\",\"label\":\"说明\",\"size\":\"medium\",\"columnSpan\":1,\"fullWidth\":true,\"required\":false,\"name\":\"remark\"},\"rows\":4,\"autoHeight\":false,\"isPreview\":false},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]},{\"componentName\":\"FDPage\",\"id\":\"node_oclfjpfqjy5\",\"props\":{\"contentProps\":{\"style\":{\"background\":\"rgba(255,255,255,0)\"}},\"ref\":\"fdpage-bb43fbb0\"},\"title\":\"页面\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FDSection\",\"id\":\"node_oclfjpfqjy6\",\"props\":{\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdsection-4e0a747a\"},\"title\":\"区域\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDBlock\",\"id\":\"node_oclknfhblfd3\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"}},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclknfhblfd4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdcell-830183cb\",\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDP\",\"id\":\"node_oclknfhblfo9\",\"props\":{},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Breadcrumb\",\"id\":\"node_oclknfhblfo5\",\"props\":{\"maxNode\":100,\"component\":\"nav\",\"Breadcrumb\":{\"Item\":[{\"primaryKey\":\"breadcrumb-item-1\",\"children\":\"一级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-2\",\"children\":\"二级\",\"target\":\"_self\"},{\"primaryKey\":\"breadcrumb-item-3\",\"children\":\"三级\",\"target\":\"_self\"}]},\"ref\":\"breadcrumb-83c3bb43\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo6\",\"props\":{\"children\":\"Home\",\"primaryKey\":\"breadcrumb-item-1\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"Breadcrumb.Item\",\"id\":\"node_oclknfhblfo7\",\"props\":{\"children\":\"定时任务\",\"primaryKey\":\"breadcrumb-item-2\",\"target\":\"_self\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]}]}]}]},{\"componentName\":\"FDBlock\",\"id\":\"node_oclklz750e2m\",\"props\":{\"mode\":\"transparent\",\"span\":12,\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\"},\"ref\":\"fdblock-26805bc2\"},\"title\":\"区块\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"FDCell\",\"id\":\"node_oclklz750e4\",\"props\":{\"align\":\"left\",\"verAlign\":\"top\",\"style\":{\"backgroundColor\":\"rgba(255,255,255,1)\",\"minHeight\":\"\"},\"ref\":\"fdcell-65cd59b4\",\"width\":\"\"},\"title\":\"容器\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"children\":[{\"componentName\":\"Filter\",\"id\":\"node_ockt5mo4jj1\",\"props\":{\"labelAlign\":\"top\",\"labelTextAlign\":\"right\",\"enableFilterConfiguration\":false,\"cols\":4,\"operations\":[],\"ref\":\"filter-d394e8d5\",\"labelCol\":{\"fixedSpan\":4},\"style\":{\"display\":\"flex\",\"paddingBottom\":\"6px\"},\"__events\":{\"eventDataList\":[{\"type\":\"componentEvent\",\"name\":\"onSearch\",\"relatedEventName\":\"search\"},{\"type\":\"componentEvent\",\"name\":\"onReset\",\"relatedEventName\":\"search\"}],\"eventList\":[{\"name\":\"onExpand\",\"disabled\":false},{\"name\":\"onSearch\",\"disabled\":true},{\"name\":\"onReset\",\"disabled\":true}]},\"onSearch\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onReset\":{\"type\":\"JSFunction\",\"value\":\"function(){return this.search.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"FormInput\",\"id\":\"node_oclx41h5k669\",\"props\":{\"formItemProps\":{\"primaryKey\":\"7507\",\"label\":\"任务编码\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"cronCode\"},\"placeholder\":\"请输入\",\"ref\":\"forminput-0ce89389\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"},{\"componentName\":\"FormInput\",\"id\":\"node_oclx41h5k66a\",\"props\":{\"formItemProps\":{\"primaryKey\":\"1421\",\"label\":\"任务名称\",\"size\":\"medium\",\"device\":\"desktop\",\"fullWidth\":true,\"required\":false,\"labelTextAlign\":\"right\",\"name\":\"cronName\"},\"placeholder\":\"请输入\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\"}]},{\"componentName\":\"FDP\",\"id\":\"node_oclktf7fiuov\",\"props\":{\"ref\":\"fdp-351ff634\"},\"title\":\"段落\",\"hidden\":false,\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"Loading\",\"id\":\"node_oclktf7fiuou\",\"props\":{\"color\":\"#5584ff\",\"prefix\":\"next-\",\"tipAlign\":\"bottom\",\"visible\":{\"type\":\"JSExpression\",\"value\":\"this.state.loading\"},\"size\":\"large\",\"inline\":true,\"_unsafe_MixedSetter_visible_select\":\"ExpressionSetter\",\"ref\":\"loading-d5aed9da\",\"style\":{\"overflow\":\"auto\"}},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"condition\":true,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"children\":[{\"componentName\":\"ProTable\",\"id\":\"node_oclklz750e2l\",\"props\":{\"dataSource\":{\"type\":\"JSExpression\",\"value\":\"this.state.tableData\"},\"actionColumnButtons\":{\"dataSource\":[{\"children\":\"编辑\",\"type\":\"primary\",\"disabled\":false,\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.getInfo.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}},{\"children\":\"删除\",\"type\":{\"type\":\"JSExpression\",\"value\":\"\'normal next-btn-warning\'\",\"mock\":\"primary\"},\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.deleteRow.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"text\":true,\"visibleButtonCount\":4},\"actionBarButtons\":{\"dataSource\":[{\"type\":\"primary\",\"children\":\"新增\",\"onClick\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.onClick.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"}}],\"visibleButtonCount\":3,\"text\":false},\"paginationProps\":{\"pageSize\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageSize\"},\"pageSizeList\":[5,10,20],\"hidden\":false,\"total\":{\"type\":\"JSExpression\",\"value\":\"this.state.total\"},\"onChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageNumChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"onPageSizeChange\":{\"type\":\"JSFunction\",\"value\":\"function(){ return this.pageSizeChange.apply(this,Array.prototype.slice.call(arguments).concat([])) }\"},\"current\":{\"type\":\"JSExpression\",\"value\":\"this.state.pageNum\"}},\"settingButtons\":true,\"columns\":[{\"title\":\"任务编码\",\"formatType\":\"text\",\"dataIndex\":\"cronCode\",\"_format_options_date\":\"YYYY-MM-DD HH:mm:ss\"},{\"title\":\"任务名称\",\"formatType\":\"text\",\"dataIndex\":\"cronName\"},{\"title\":\"表达式\",\"formatType\":\"text\",\"dataIndex\":\"cronTxt\"},{\"title\":\"状态\",\"formatType\":\"text\",\"dataIndex\":\"status\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'status\', e); }\"}},{\"title\":\"创建时间\",\"formatType\":\"text\",\"dataIndex\":\"createTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'createTime\', e); }\"}},{\"title\":\"修改时间\",\"formatType\":\"text\",\"dataIndex\":\"updateTime\",\"cell\":{\"type\":\"JSExpression\",\"value\":\"(e) => { return this.cellRender(\'updateTime\', e); }\"}}],\"primaryKey\":\"id\",\"actionColumnProps\":{\"title\":\"操作\",\"lock\":\"right\"},\"indexColumn\":false,\"hasBorder\":false,\"isZebra\":false,\"fixedHeader\":false,\"_unsafe_MixedSetter_dataSource_select\":\"ExpressionSetter\",\"ref\":\"protable-c6b31d01\",\"_unsafe_MixedSetter____condition____select\":\"BoolSetter\",\"_unsafe_MixedSetter____loop____select\":\"JsonSetter\",\"cellDefault\":\"\"},\"hidden\":false,\"title\":\"\",\"isLocked\":false,\"conditionGroup\":\"\",\"loopArgs\":[\"\",\"\"],\"condition\":true}]}]}]}]}]}]}]}],\"i18n\":{\"zh-CN\":{\"i18n-jwg27yo4\":\"你好 \",\"i18n-jwg27yo3\":\"{name} 博士\"},\"en-US\":{\"i18n-jwg27yo4\":\"Hello \",\"i18n-jwg27yo3\":\"Doctor {name}\"}}}', 8, '1', '2024-06-07 09:58:28', NULL, '2024-06-07 16:23:11', NULL, NULL, '0', '2', 'clock');
INSERT INTO `sys_menu` VALUES (22002, 'cronList', '定时任务-列表查询', 'cron', '3', '4', '0', '/cron/list', NULL, 1, '1', '2024-06-07 10:06:12', NULL, NULL, NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (22003, 'cronSave', '定时任务-保存', 'cron', '3', '4', '0', '/cron/save', NULL, 2, '1', '2024-06-07 10:07:08', NULL, NULL, NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (22004, 'cronGetById', '定时任务-根据ID查询', 'cron', '3', '4', '0', '/cron/getById', NULL, 3, '1', '2024-06-07 10:08:13', NULL, NULL, NULL, NULL, '0', '2', NULL);
INSERT INTO `sys_menu` VALUES (22005, 'cronDelete', '定时任务-根据ID删除', 'cron', '3', '4', '0', '/cron/delete', NULL, 4, '1', '2024-06-07 10:09:00', NULL, NULL, NULL, NULL, '0', '2', NULL);
-- ----------------------------
-- Table structure for sys_process
-- ----------------------------
DROP TABLE IF EXISTS `sys_process`;
CREATE TABLE `sys_process` (
`id` bigint(11) NOT NULL COMMENT '主键',
`menu_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '菜单编码',
`proc_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '流程编码',
`proc_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '流程名称',
`bpmn` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT 'bpmn文件字符串',
`auth` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '需要鉴权(0开放 1需登录 2需授权)',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '状态(0禁用 1启用)',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新者',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '删除标识(0未删除 1已删除)',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '流程表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_process
-- ----------------------------
INSERT INTO `sys_process` VALUES (4001, 'login', 'login', '登录', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"login\" isExecutable=\"false\">\n <startEvent id=\"Event_0rdji6i\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0efci2v</outgoing>\n </startEvent>\n <task id=\"Activity_03nq4wk\" name=\"登录校验\" dataAction=\"create.java-task\">\n <incoming>Flow_0efci2v</incoming>\n <outgoing>Flow_0i62juh</outgoing>\n </task>\n <endEvent id=\"Event_1ejvig3\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_0i62juh</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_0efci2v\" sourceRef=\"Event_0rdji6i\" targetRef=\"Activity_03nq4wk\" />\n <sequenceFlow id=\"Flow_0i62juh\" sourceRef=\"Activity_03nq4wk\" targetRef=\"Event_1ejvig3\">\n <conditionExpression xsi:type=\"tFormalExpression\">import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\nimport java.util.Map;\n\npublic class RuntimeExecutor extends AbstractJavaCmd {\n @Override\n public Object execute(Map<String, Object> vars) {\n return true;\n }\n}</conditionExpression>\n </sequenceFlow>\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"login\">\n <bpmndi:BPMNShape id=\"Event_0rdji6i_di\" bpmnElement=\"Event_0rdji6i\">\n <dc:Bounds x=\"264\" y=\"154\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"269\" y=\"200\" width=\"22\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_03nq4wk_di\" bpmnElement=\"Activity_03nq4wk\">\n <dc:Bounds x=\"404\" y=\"154\" width=\"32\" height=\"32\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1ejvig3_di\" bpmnElement=\"Event_1ejvig3\">\n <dc:Bounds x=\"574\" y=\"154\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"579\" y=\"200\" width=\"22\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0efci2v_di\" bpmnElement=\"Flow_0efci2v\">\n <di:waypoint x=\"296\" y=\"170\" />\n <di:waypoint x=\"404\" y=\"170\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_0i62juh_di\" bpmnElement=\"Flow_0i62juh\">\n <di:waypoint x=\"436\" y=\"170\" />\n <di:waypoint x=\"574\" y=\"170\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"479\" y=\"145\" width=\"55\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '0', '1', '2023-07-29 17:19:48', NULL, '2024-04-29 17:54:22', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (10001, 'menu', 'menuList', '菜单管理-页面查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"菜单树查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-09 16:35:46', NULL, '2024-02-21 18:45:22', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (14001, 'menu', 'menuTreeSelectList', '菜单管理-树型结构下拉框数据查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuTreeSelectList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"菜单树下拉查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuTreeSelectList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-10 10:33:29', NULL, '2024-02-21 11:53:33', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (16001, 'menu', 'menuSave', '菜单管理-保存', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuSave\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"菜单保存\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuSave\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-11 10:21:42', NULL, '2024-01-24 14:43:59', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (18001, 'menu', 'menuGetById', '菜单管理-根据ID查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuGetById\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据ID查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuGetById\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-14 17:34:53', NULL, '2024-01-24 14:44:24', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (24001, 'menu', 'menuSaveSchema', '菜单管理-保存schema', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuSaveSchema\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"菜单schema保存\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuSaveSchema\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-16 09:54:09', NULL, '2023-08-16 16:15:06', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (26001, 'menu', 'menuGetByCode', '菜单管理-根据编码查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuGetByCode\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据编码查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuGetByCode\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-17 10:42:31', NULL, '2023-08-17 10:43:27', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (30001, 'menu', 'menuDeleteById', '菜单管理-根据ID删除', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuDeleteById\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据ID删除\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuDeleteById\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-08-22 11:17:51', NULL, '2023-08-22 11:26:13', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (32001, 'user', 'userList', '用户管理-页面查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"userList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"用户列表查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"userList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-11-22 09:27:34', NULL, '2024-01-23 10:37:09', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (32005, 'user', 'userSave', '用户管理-保存', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"userSave\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"用户保存\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"userSave\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-11-22 10:29:49', NULL, '2024-02-28 08:48:14', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (32007, 'user', 'userGetById', '用户管理-根据ID查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"userGetById\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据ID查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"userGetById\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2023-11-23 02:48:32', NULL, '2024-02-22 06:40:29', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (38001, 'menu', 'menuTreeProcSelectList', '菜单管理-树型结构(含流程个数)下拉框数据查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuTreeProcSelectList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"菜单树下拉查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuTreeProcSelectList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-22 07:57:09', NULL, '2024-02-21 11:54:26', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (40001, 'dept', 'deptList', '部门管理-页面查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"deptList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"部门树查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"deptList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-23 02:59:34', NULL, '2024-01-23 07:54:39', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (40003, 'dept', 'deptTreeUserSelectList', '部门管理-树型结构(含用户个数)下拉框数据查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"deptTreeUserSelectList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"部门树下拉查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"deptTreeUserSelectList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-23 03:16:47', NULL, '2024-01-23 10:03:52', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (40005, 'dept', 'deptSave', '部门管理-保存', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"deptSave\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"部门保存\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"deptSave\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-23 03:26:07', NULL, '2024-01-23 07:37:20', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (40007, 'dept', 'deptGetById', '部门管理-根据ID查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"deptGetById\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据ID查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"deptGetById\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-23 03:28:30', NULL, '2024-01-23 06:37:30', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (40010, 'dept', 'deptDeleteById', '部门管理-根据ID删除', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"deptDeleteById\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据ID删除\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"deptDeleteById\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-23 06:38:37', NULL, '2024-01-23 06:39:24', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (40012, 'dept', 'deptTreeSelectList', '部门管理-树型结构下拉框数据查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"deptTreeSelectList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"部门树下拉查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"deptTreeSelectList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-01-23 06:43:23', NULL, '2024-02-04 15:04:32', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (42002, 'role', 'roleList', '角色管理-页面查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"roleList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"角色列表查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"roleList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-18 08:00:05', NULL, '2024-02-18 08:29:01', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (42005, 'role', 'roleSave', '角色管理-保存', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"roleSave\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"角色保存\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"roleSave\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-18 08:10:32', NULL, '2024-02-18 08:15:27', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (42007, 'role', 'roleGetById', '角色管理-根据ID查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"roleGetById\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"根据ID查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"roleGetById\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-18 08:11:06', NULL, '2024-02-18 08:16:18', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (44001, 'menu', 'menuTreeProcInfoList', '菜单管理-树型结构(含流程节点)下拉框数据查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"menuTreeProcInfoList\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"菜单树下拉查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"menuTreeProcInfoList\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-18 09:51:13', NULL, '2024-02-19 15:50:22', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (44003, 'user', 'userAll', '用户管理-查询所有用户简要信息(用于下拉框筛选)', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"userAll\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"用户列表查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"userAll\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-19 01:48:47', NULL, '2024-02-19 01:53:16', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (44006, 'role', 'roleGetAuthInfo', '角色管理-授权信息查询', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"roleGetAuthInfo\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"授权信息查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"roleGetAuthInfo\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-19 13:27:58', NULL, '2024-02-20 14:19:43', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (44011, 'role', 'roleSaveAuthInfo', '角色管理-授权信息保存', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"roleSaveAuthInfo\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"授权信息保存\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"roleSaveAuthInfo\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-20 02:58:20', NULL, '2024-02-20 14:50:12', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (46002, 'role', 'roleAll', '角色管理-查询所有角色简要信息(用于下拉框筛选)', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"roleAll\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"角色查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"roleAll\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-02-22 06:17:52', NULL, '2024-02-22 06:20:09', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (56001, 'login', 'refreshAddr', '刷新解析地址', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"refreshAddr\" isExecutable=\"false\">\n <startEvent id=\"Event_0rdji6i\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0efci2v</outgoing>\n </startEvent>\n <task id=\"Activity_03nq4wk\" name=\"刷新地址\" dataAction=\"create.java-task\">\n <incoming>Flow_0efci2v</incoming>\n <outgoing>Flow_0i62juh</outgoing>\n </task>\n <endEvent id=\"Event_1ejvig3\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_0i62juh</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_0efci2v\" sourceRef=\"Event_0rdji6i\" targetRef=\"Activity_03nq4wk\" />\n <sequenceFlow id=\"Flow_0i62juh\" sourceRef=\"Activity_03nq4wk\" targetRef=\"Event_1ejvig3\">\n <conditionExpression xsi:type=\"tFormalExpression\">import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\nimport java.util.Map;\n\npublic class RuntimeExecutor extends AbstractJavaCmd {\n @Override\n public Object execute(Map<String, Object> vars) {\n return true;\n }\n}</conditionExpression>\n </sequenceFlow>\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"refreshAddr\">\n <bpmndi:BPMNShape id=\"Event_0rdji6i_di\" bpmnElement=\"Event_0rdji6i\">\n <dc:Bounds x=\"264\" y=\"154\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"269\" y=\"200\" width=\"22\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_03nq4wk_di\" bpmnElement=\"Activity_03nq4wk\">\n <dc:Bounds x=\"404\" y=\"154\" width=\"32\" height=\"32\" />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1ejvig3_di\" bpmnElement=\"Event_1ejvig3\">\n <dc:Bounds x=\"574\" y=\"154\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"579\" y=\"200\" width=\"22\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0efci2v_di\" bpmnElement=\"Flow_0efci2v\">\n <di:waypoint x=\"296\" y=\"170\" />\n <di:waypoint x=\"404\" y=\"170\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_0i62juh_di\" bpmnElement=\"Flow_0i62juh\">\n <di:waypoint x=\"436\" y=\"170\" />\n <di:waypoint x=\"574\" y=\"170\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"479\" y=\"145\" width=\"55\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-03-07 17:55:59', NULL, '2024-06-09 10:00:11', NULL, NULL, '0');
INSERT INTO `sys_process` VALUES (58001, 'dashboard', 'homeInfo', '首页信息', '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<definitions xmlns=\"http://www.omg.org/spec/BPMN/20100524/MODEL\" xmlns:bpmndi=\"http://www.omg.org/spec/BPMN/20100524/DI\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:dc=\"http://www.omg.org/spec/DD/20100524/DC\" xmlns:di=\"http://www.omg.org/spec/DD/20100524/DI\" id=\"sid-38422fae-e03e-43a3-bef4-bd33b32041b2\" targetNamespace=\"http://bpmn.io/bpmn\" exporter=\"bpmn-js (https://demo.bpmn.io)\" exporterVersion=\"5.1.2\">\n <process id=\"homeInfo\" isExecutable=\"false\">\n <startEvent id=\"Event_1218xne\" name=\"开始\" dataAction=\"create.start-event\">\n <outgoing>Flow_0uw3ltu</outgoing>\n </startEvent>\n <task id=\"Activity_09t0yok\" name=\"首页信息查询\" dataAction=\"create.java-task\">\n <incoming>Flow_0uw3ltu</incoming>\n <outgoing>Flow_00cpxvn</outgoing>\n </task>\n <sequenceFlow id=\"Flow_0uw3ltu\" sourceRef=\"Event_1218xne\" targetRef=\"Activity_09t0yok\" />\n <endEvent id=\"Event_1hle965\" name=\"结束\" dataAction=\"create.end-event\">\n <incoming>Flow_00cpxvn</incoming>\n </endEvent>\n <sequenceFlow id=\"Flow_00cpxvn\" sourceRef=\"Activity_09t0yok\" targetRef=\"Event_1hle965\" />\n </process>\n <bpmndi:BPMNDiagram id=\"BpmnDiagram_1\">\n <bpmndi:BPMNPlane id=\"BpmnPlane_1\" bpmnElement=\"homeInfo\">\n <bpmndi:BPMNShape id=\"Event_1218xne_di\" bpmnElement=\"Event_1218xne\">\n <dc:Bounds x=\"224\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"228\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Activity_09t0yok_di\" bpmnElement=\"Activity_09t0yok\">\n <dc:Bounds x=\"354\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel />\n </bpmndi:BPMNShape>\n <bpmndi:BPMNShape id=\"Event_1hle965_di\" bpmnElement=\"Event_1hle965\">\n <dc:Bounds x=\"494\" y=\"134\" width=\"32\" height=\"32\" />\n <bpmndi:BPMNLabel>\n <dc:Bounds x=\"498\" y=\"180\" width=\"23\" height=\"14\" />\n </bpmndi:BPMNLabel>\n </bpmndi:BPMNShape>\n <bpmndi:BPMNEdge id=\"Flow_0uw3ltu_di\" bpmnElement=\"Flow_0uw3ltu\">\n <di:waypoint x=\"256\" y=\"150\" />\n <di:waypoint x=\"354\" y=\"150\" />\n </bpmndi:BPMNEdge>\n <bpmndi:BPMNEdge id=\"Flow_00cpxvn_di\" bpmnElement=\"Flow_00cpxvn\">\n <di:waypoint x=\"386\" y=\"150\" />\n <di:waypoint x=\"494\" y=\"150\" />\n </bpmndi:BPMNEdge>\n </bpmndi:BPMNPlane>\n </bpmndi:BPMNDiagram>\n</definitions>\n', '2', '1', '2024-03-07 21:23:06', NULL, '2024-04-27 01:00:33', NULL, NULL, '0');
-- ----------------------------
-- Table structure for sys_process_task
-- ----------------------------
DROP TABLE IF EXISTS `sys_process_task`;
CREATE TABLE `sys_process_task` (
`id` bigint(11) NOT NULL,
`proc_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '流程编码',
`task_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '节点编码',
`task_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '节点名称',
`execute_cmd` varchar(10000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '节点执行代码',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '流程节点表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_process_task
-- ----------------------------
INSERT INTO `sys_process_task` VALUES (12002, 'menuList', 'Activity_09t0yok', '菜单树查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"菜单树查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, code, name, parent_code, mode, type, new_tab, sort, url, auth, icon, status\"\r\n + \" FROM sys_menu WHERE del_flag=\'0\' ORDER BY sort ASC\");\r\n sqlRunner.close();\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parentCode) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> menu : list) {\r\n if (parentCode == null && menu.get(\"parent_code\") == null) {\r\n menu.put(\"children\", buildTree(list, menu.get(\"code\").toString()));\r\n tree.add(menu);\r\n }\r\n if (parentCode != null && parentCode.equals(menu.get(\"parent_code\"))) {\r\n menu.put(\"children\", buildTree(list, menu.get(\"code\").toString()));\r\n tree.add(menu);\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (14002, 'menuTreeSelectList', 'Activity_09t0yok', '菜单树下拉查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"菜单树下拉查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, code, name, parent_code, status\"\r\n + \" FROM sys_menu WHERE del_flag=\'0\' AND type IN (\'0\',\'1\',\'3\') ORDER BY sort ASC\");\r\n sqlRunner.close();\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parentCode) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> menu : list) {\r\n if (parentCode == null && menu.get(\"parent_code\") == null) {\r\n menu.put(\"key\", menu.remove(\"id\"));\r\n menu.put(\"value\", menu.remove(\"code\"));\r\n menu.put(\"label\", menu.remove(\"name\"));\r\n menu.put(\"children\", buildTree(list, menu.get(\"value\").toString()));\r\n tree.add(menu);\r\n menu.remove(\"parent_code\");\r\n }\r\n if (parentCode != null && parentCode.equals(menu.get(\"parent_code\"))) {\r\n menu.put(\"key\", menu.remove(\"id\"));\r\n menu.put(\"value\", menu.remove(\"code\"));\r\n menu.put(\"label\", menu.remove(\"name\"));\r\n menu.put(\"children\", buildTree(list, menu.get(\"value\").toString()));\r\n tree.add(menu);\r\n menu.remove(\"parent_code\");\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (18002, 'menuSave', 'Activity_09t0yok', '菜单保存', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.time.LocalDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport com.sankuai.inf.leaf.IDGen;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"菜单保存\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n if (vars.get(\"id\") == null) {\r\n if (sqlRunner.selectOne(\"SELECT id FROM sys_menu WHERE code=#{code} AND del_flag=\'0\'\", vars) != null) {\r\n throw new BusinessException(\"编码已存在\");\r\n }\r\n vars.put(\"id\", SpringUtils.getBean(IDGen.class).get(\"sys_menu\").getId());\r\n vars.put(\"create_time\", LocalDateTime.now());\r\n sqlRunner.insert(\"INSERT INTO sys_menu(id, code, name, parent_code, mode, type, new_tab, url, sort, auth, icon, status, create_time, create_by,\"\r\n + \" remark, del_flag) VALUES (#{id}, #{code}, #{name}, #{parent_code}, #{mode}, #{type}, #{new_tab}, #{url}, #{sort},\"\r\n + \" #{auth}, #{icon}, #{status}, #{create_time}, #{create_by}, #{remark}, \'0\')\", vars);\r\n } else {\r\n vars.put(\"update_time\", LocalDateTime.now());\r\n sqlRunner.update(\"UPDATE sys_menu SET name = #{name}, parent_code = #{parent_code}, mode = #{mode}, type = #{type},\"\r\n + \" new_tab = #{new_tab}, url = #{url}, sort = #{sort}, auth = #{auth}, icon = #{icon}, status = #{status}, update_time = #{update_time}, update_by = #{update_by},\"\r\n + \" remark = #{remark} WHERE id = #{id}\", vars);\r\n }\r\n sqlRunner.commit();\r\n }\r\n return null;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (18003, 'menuGetById', 'Activity_09t0yok', '根据ID查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据ID查询菜单\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询,设置返回结果\r\n vars.put(\"flowRes\", sqlRunner.selectOne(\"SELECT\"\r\n + \" id, code, name, parent_code, mode, type, new_tab, sort, auth, icon, status, url, schema_json\"\r\n + \" FROM sys_menu WHERE del_flag=\'0\' AND id=#{id}\", vars));\r\n sqlRunner.close();\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (24002, 'menuSaveSchema', 'Activity_09t0yok', '菜单schema保存', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r \r\nimport java.time.LocalDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport com.sankuai.inf.leaf.IDGen;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"菜单保存schema\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n if (sqlRunner.selectOne(\"SELECT id FROM sys_menu WHERE code=#{code} AND del_flag=\'0\'\", vars) == null) {\r\n throw new BusinessException(\"菜单不存在\");\r\n }\r\n vars.put(\"update_time\", LocalDateTime.now());\r\n sqlRunner.update(\"UPDATE sys_menu SET schema_json = #{schema}, update_time = #{update_time}, update_by = #{update_by} WHERE code = #{code}\", vars);\r\n sqlRunner.commit();\r\n }\r\n return null;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (26002, 'menuGetByCode', 'Activity_09t0yok', '根据编码查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据编码查询菜单\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询,设置返回结果\r\n vars.put(\"flowRes\", sqlRunner.selectOne(\"SELECT\"\r\n + \" id, code, name, parent_code, mode, type, new_tab, sort, status, url, schema_json\"\r\n + \" FROM sys_menu WHERE del_flag=\'0\' AND code=#{code}\", vars));\r\n sqlRunner.close();\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (30002, 'menuDeleteById', 'Activity_09t0yok', '根据ID删除', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据ID删除菜单\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n // 查询,设置返回结果\r\n sqlRunner.delete(\"DELETE FROM sys_menu WHERE id=#{id}\", vars);\r\n sqlRunner.commit();\r\n }\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (32002, 'userList', 'Activity_09t0yok', '用户列表查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport com.onlinecode.admin.web.page.PageTable;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"用户列表查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n String sql = \"SELECT\"\r\n + \" su.id, su.user_name, su.nick_name, su.dept_id, sd.name AS dept_name, su.email, su.avatar, su.status, su.create_time, su.create_by, su.update_time, su.update_by\"\r\n + \" FROM sys_user su LEFT JOIN sys_dept sd ON su.dept_id=sd.id AND sd.del_flag=\'0\' WHERE su.del_flag=\'0\'\";\r\n if (StringUtils.isNotEmpty(MapUtils.getString(vars, \"userName\"))) {\r\n sql += \" AND su.user_name like concat(\\\"%\\\",#{userName},\\\"%\\\")\";\r\n }\r\n if (StringUtils.isNotEmpty(MapUtils.getString(vars, \"nickName\"))) {\r\n sql += \" AND su.nick_name like concat(\\\"%\\\",#{nickName},\\\"%\\\")\";\r\n }\r\n if (StringUtils.isNotEmpty(MapUtils.getString(vars, \"deptId\"))) {\r\n sql += \" AND su.dept_id = #{deptId}\";\r\n }\r\n // 分页查询\r\n PageTable pageTable = sqlRunner.selectPage(sql, vars, true);\r\n sqlRunner.close();\r\n Map<String, Object> res = new HashMap<>(8);\r\n // 设置返回结果\r\n res.put(\"flowRes\", pageTable);\r\n return res;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (32004, 'userList', 'Event_1hle965', '结束', '');
INSERT INTO `sys_process_task` VALUES (32006, 'userSave', 'Activity_09t0yok', '用户保存', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.time.LocalDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport cn.dev33.satoken.stp.StpUtil;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport org.apache.ibatis.session.TransactionIsolationLevel;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport com.sankuai.inf.leaf.IDGen;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport java.util.Base64;\r\nimport javax.servlet.http.HttpServletRequest;\r\nimport org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;\r\nimport org.springframework.web.context.request.RequestAttributes;\r\nimport org.springframework.web.context.request.RequestContextHolder;\r\nimport org.springframework.web.context.request.ServletRequestAttributes;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"用户登录\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n String username = MapUtils.getString(vars, \"username\");\r\n String password = MapUtils.getString(vars, \"password\");\r\n if (StringUtils.isEmpty(username) || StringUtils.isEmpty(password)) {\r\n throw new BusinessException(\"用户名密码不能为空\");\r\n }\r\n try {\r\n username = new String(Base64.getDecoder().decode(username));\r\n password = new String(Base64.getDecoder().decode(password));\r\n } catch (Exception e) {\r\n log.error(\"登录失败,用户名密码解码异常:{}\", e.getMessage(), e);\r\n throw new BusinessException(\"登录失败,用户名密码解码异常:\" + e.getMessage());\r\n }\r\n vars.put(\"username\", username);\r\n Map<String, Object> user = sqlRunner.selectOne(\"SELECT id, user_name, nick_name, password, status FROM sys_user WHERE user_name=#{username} AND del_flag=\'0\'\", vars, true);\r\n if (user == null) {\r\n log.error(\"登录失败,用户名不存在\");\r\n loginRecord(username, \"0\", \"登录失败,用户名不存在\");\r\n throw new BusinessException(\"用户名或密码有误\");\r\n }\r\n BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();\r\n\r\n String dbPassword = MapUtils.getString(user, \"password\");\r\n String status = MapUtils.getString(user, \"status\");\r\n if (!passwordEncoder.matches(password, dbPassword)) {\r\n log.error(\"登录失败,密码错误\");\r\n loginRecord(username, \"0\", \"登录失败,密码错误\");\r\n throw new BusinessException(\"用户名或密码有误\");\r\n }\r\n if (\"0\".equals(status)) {\r\n loginRecord(username, \"0\", \"用户未启用\");\r\n throw new BusinessException(\"用户未启用\");\r\n }\r\n // 登录\r\n StpUtil.login(username);\r\n // 查询角色权限\r\n List<Map<String, Object>> roles = sqlRunner.selectList(\"SELECT sur.role_id, sr.name FROM sys_user_role sur LEFT JOIN sys_role sr ON sr.id=sur.role_id WHERE user_id=#{id} AND sr.del_flag=\'0\'\", user, true);\r\n // 菜单\r\n List<Map<String, Object>> menus = new ArrayList<>();\r\n // 流程\r\n List<Map<String, Object>> process = new ArrayList<>();\r\n if (roles != null) {\r\n List<Long> roleIds = roles.stream().map(v -> Long.valueOf(v.get(\"roleId\").toString())).collect(Collectors.toList());\r\n Map<String, Object> query = new HashMap<>(8);\r\n query.put(\"roleIds\", roleIds);\r\n // 查询菜单\r\n menus = sqlRunner.selectList(\"SELECT sm.code, sm.name, sm.type, sm.mode, sm.new_tab, sm.url, sm.icon FROM sys_menu sm LEFT JOIN sys_role_menu srm ON sm.id=srm.menu_id \"\r\n + \"WHERE srm.role_id IN (<foreach collection=\\\"roleIds\\\" separator=\\\",\\\">#{item}</foreach>) AND sm.del_flag=\'0\' ORDER BY sm.sort ASC\", query, true);\r\n // 查询流程\r\n process = sqlRunner.selectList(\"SELECT sp.proc_code, sp.menu_code FROM sys_process sp LEFT JOIN sys_role_process srp ON sp.id=srp.proc_id \"\r\n + \"WHERE srp.role_id IN (<foreach collection=\\\"roleIds\\\" separator=\\\",\\\">#{item}</foreach>) AND sp.del_flag=\'0\'\", query, true);\r\n }\r\n StpUtil.getSession().set(\"roles\", roles);\r\n StpUtil.getSession().set(\"menus\", menus);\r\n StpUtil.getSession().set(\"process\", process);\r\n\r\n user.remove(\"password\");\r\n user.put(\"roles\", roles);\r\n user.put(\"menus\", menus);\r\n user.put(\"process\", process);\r\n Map<String, Object> res = new HashMap<>(2);\r\n res.put(\"flowRes\", user);\r\n \r\n loginRecord(username, \"1\", \"登录成功\");\r\n return res;\r\n }\r\n }\r\n\r\n public void loginRecord(String username, String status, String msg) {\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner(TransactionIsolationLevel.REPEATABLE_READ, false)) {\r\n Map<String, Object> login = new HashMap<>(8);\r\n login.put(\"id\", SpringUtils.getBean(IDGen.class).get(\"sys_login\").getId());\r\n login.put(\"userName\", username);\r\n login.put(\"ipaddr\", getIpAddr(getRequest()));\r\n login.put(\"browser\", \"\");\r\n login.put(\"os\", \"\");\r\n login.put(\"msg\", msg);\r\n login.put(\"status\", status);\r\n login.put(\"loginTime\", LocalDateTime.now());\r\n\r\n sqlRunner.insert(\"INSERT INTO sys_login(id, user_name, ipaddr, browser, os, msg, status, login_time)\"\r\n + \" VALUES (#{id}, #{userName}, #{ipaddr}, #{browser}, #{os}, #{msg}, #{status}, #{loginTime})\", login);\r\n sqlRunner.commit();\r\n } catch(Exception e) {\r\n log.error(\"记录登录日志失败,错误信息:{}\", e.getMessage(), e);\r\n } \r\n }\r\n\r\n public static HttpServletRequest getRequest() {\r\n RequestAttributes attributes = RequestContextHolder.getRequestAttributes();\r\n return ((ServletRequestAttributes) attributes).getRequest();\r\n }\r\n\r\n /**\r\n * 获取客户端IP\r\n *\r\n * @param request 请求对象\r\n * @return IP地址\r\n */\r\n public static String getIpAddr(HttpServletRequest request) {\r\n if (request == null) {\r\n return \"unknown\";\r\n }\r\n String ip = request.getHeader(\"x-forwarded-for\");\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"Proxy-Client-IP\");\r\n }\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"X-Forwarded-For\");\r\n }\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"WL-Proxy-Client-IP\");\r\n }\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"X-Real-IP\");\r\n }\r\n\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getRemoteAddr();\r\n }\r\n return \"0:0:0:0:0:0:0:1\".equals(ip) ? \"127.0.0.1\" : getMultistageReverseProxyIp(ip);\r\n }\r\n\r\n /**\r\n * 从多级反向代理中获得第一个非unknown IP地址\r\n *\r\n * @param ip 获得的IP地址\r\n * @return 第一个非unknown IP地址\r\n */\r\n public static String getMultistageReverseProxyIp(String ip) {\r\n // 多级反向代理检测\r\n if (ip != null && ip.indexOf(\",\") > 0) {\r\n final String[] ips = ip.trim().split(\",\");\r\n for (String subIp : ips) {\r\n if (false == isUnknown(subIp)) {\r\n ip = subIp;\r\n break;\r\n }\r\n }\r\n }\r\n return ip;\r\n }\r\n\r\n /**\r\n * 检测给定字符串是否为未知,多用于检测HTTP请求相关\r\n *\r\n * @param checkString 被检测的字符串\r\n * @return 是否未知\r\n */\r\n public static boolean isUnknown(String checkString) {\r\n return StringUtils.isBlank(checkString) || \"unknown\".equalsIgnoreCase(checkString);\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (32008, 'userGetById', 'Activity_09t0yok', '根据ID查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据ID查询用户\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n Map<String, Object> user = sqlRunner.selectOne(\"SELECT\"\r\n + \" id, user_name, nick_name, dept_id, email, avatar, status\"\r\n + \" FROM sys_user WHERE del_flag=\'0\' AND id=#{id}\", vars, true);\r\n if (user != null && !user.isEmpty()) {\r\n user.put(\"roles\", sqlRunner.selectList(\"SELECT sr.id, sr.name\"\r\n + \" FROM sys_role sr LEFT JOIN sys_user_role sur ON sur.role_id=sr.id WHERE sr.del_flag=\'0\' AND sur.user_id=#{id}\", vars, true));\r\n }\r\n // 查询,设置返回结果\r\n vars.put(\"flowRes\", user);\r\n sqlRunner.close();\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (34002, 'login', 'Activity_03nq4wk', '登录校验', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.time.LocalDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport cn.dev33.satoken.stp.StpUtil;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.util.HttpUtils;\r\nimport org.apache.ibatis.session.TransactionIsolationLevel;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport com.sankuai.inf.leaf.IDGen;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport java.util.Base64;\r\nimport javax.servlet.http.HttpServletRequest;\r\nimport org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;\r\nimport org.springframework.web.context.request.RequestAttributes;\r\nimport org.springframework.web.context.request.RequestContextHolder;\r\nimport org.springframework.web.context.request.ServletRequestAttributes;\r\nimport com.alibaba.fastjson2.JSON;\r\nimport com.alibaba.fastjson2.JSONObject;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"用户登录\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n String username = MapUtils.getString(vars, \"username\");\r\n String password = MapUtils.getString(vars, \"password\");\r\n if (StringUtils.isEmpty(username) || StringUtils.isEmpty(password)) {\r\n throw new BusinessException(\"用户名密码不能为空\");\r\n }\r\n try {\r\n username = new String(Base64.getDecoder().decode(username));\r\n password = new String(Base64.getDecoder().decode(password));\r\n } catch (Exception e) {\r\n log.error(\"登录失败,用户名密码解码异常:{}\", e.getMessage(), e);\r\n throw new BusinessException(\"登录失败,用户名密码解码异常:\" + e.getMessage());\r\n }\r\n vars.put(\"username\", username);\r\n Map<String, Object> user = sqlRunner.selectOne(\"SELECT id, user_name, nick_name, password, status FROM sys_user WHERE user_name=#{username} AND del_flag=\'0\'\", vars, true);\r\n if (user == null) {\r\n log.error(\"登录失败,用户名不存在\");\r\n loginRecord(username, \"0\", \"登录失败,用户名不存在\");\r\n throw new BusinessException(\"用户名或密码有误\");\r\n }\r\n BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder();\r\n\r\n String dbPassword = MapUtils.getString(user, \"password\");\r\n String status = MapUtils.getString(user, \"status\");\r\n if (!passwordEncoder.matches(password, dbPassword)) {\r\n log.error(\"登录失败,密码错误\");\r\n loginRecord(username, \"0\", \"登录失败,密码错误\");\r\n throw new BusinessException(\"用户名或密码有误\");\r\n }\r\n if (\"0\".equals(status)) {\r\n loginRecord(username, \"0\", \"用户未启用\");\r\n throw new BusinessException(\"用户未启用\");\r\n }\r\n // 登录\r\n StpUtil.login(username);\r\n // 查询角色权限\r\n List<Map<String, Object>> roles = sqlRunner.selectList(\"SELECT sur.role_id, sr.name FROM sys_user_role sur LEFT JOIN sys_role sr ON sr.id=sur.role_id WHERE user_id=#{id} AND sr.del_flag=\'0\'\", user, true);\r\n // 菜单\r\n List<Map<String, Object>> menus = new ArrayList<>();\r\n // 流程\r\n List<Map<String, Object>> process = new ArrayList<>();\r\n if (roles != null) {\r\n List<Long> roleIds = roles.stream().map(v -> Long.valueOf(v.get(\"roleId\").toString())).collect(Collectors.toList());\r\n Map<String, Object> query = new HashMap<>(8);\r\n query.put(\"roleIds\", roleIds);\r\n // 查询菜单\r\n menus = sqlRunner.selectList(\"SELECT sm.code, sm.name, sm.type, sm.mode, sm.new_tab, sm.url, sm.icon FROM sys_menu sm LEFT JOIN sys_role_menu srm ON sm.id=srm.menu_id \"\r\n + \"WHERE srm.role_id IN (<foreach collection=\\\"roleIds\\\" separator=\\\",\\\">#{item}</foreach>) AND sm.del_flag=\'0\' ORDER BY sm.sort ASC\", query, true);\r\n // 查询流程\r\n process = sqlRunner.selectList(\"SELECT sp.proc_code, sp.menu_code FROM sys_process sp LEFT JOIN sys_role_process srp ON sp.id=srp.proc_id \"\r\n + \"WHERE srp.role_id IN (<foreach collection=\\\"roleIds\\\" separator=\\\",\\\">#{item}</foreach>) AND sp.del_flag=\'0\'\", query, true);\r\n }\r\n StpUtil.getSession().set(\"roles\", roles);\r\n StpUtil.getSession().set(\"menus\", menus);\r\n StpUtil.getSession().set(\"process\", process);\r\n\r\n user.remove(\"password\");\r\n user.put(\"roles\", roles);\r\n user.put(\"menus\", menus);\r\n user.put(\"process\", process);\r\n Map<String, Object> res = new HashMap<>(2);\r\n res.put(\"flowRes\", user);\r\n \r\n loginRecord(username, \"1\", \"登录成功\");\r\n return res;\r\n }\r\n }\r\n\r\n public void loginRecord(String username, String status, String msg) {\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner(TransactionIsolationLevel.REPEATABLE_READ, false)) {\r\n String ip = getIpAddr(getRequest());\r\n String province = null;\r\n String city = null;\r\n String addr = null;\r\n \r\n Map<String, Object> search = new HashMap<>(2);\r\n search.put(\"ipaddr\", ip);\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT province, city, addr\"\r\n + \" FROM sys_login WHERE province IS NOT NULL AND ipaddr = #{ipaddr}\", search);\r\n if (!list.isEmpty()) {\r\n province = list.get(0).get(\"province\").toString();\r\n city = list.get(0).get(\"city\").toString();\r\n addr = list.get(0).get(\"addr\").toString();\r\n } else {\r\n String addrJson = getRealAddressByIP(ip);\r\n if (!StringUtils.isBlank(addrJson)) {\r\n JSONObject obj = JSON.parseObject(addrJson);\r\n province = obj.getString(\"pro\");\r\n city = obj.getString(\"city\");\r\n addr = obj.getString(\"addr\");\r\n }\r\n }\r\n\r\n Map<String, Object> login = new HashMap<>(8);\r\n login.put(\"id\", SpringUtils.getBean(IDGen.class).get(\"sys_login\").getId());\r\n login.put(\"userName\", username);\r\n login.put(\"ipaddr\", ip);\r\n login.put(\"browser\", \"\");\r\n login.put(\"os\", \"\");\r\n login.put(\"msg\", msg);\r\n login.put(\"status\", status);\r\n login.put(\"loginTime\", LocalDateTime.now());\r\n login.put(\"province\", province);\r\n login.put(\"city\", city);\r\n login.put(\"addr\", addr);\r\n\r\n sqlRunner.insert(\"INSERT INTO sys_login(id, user_name, ipaddr, browser, os, msg, status, login_time, province, city, addr)\"\r\n + \" VALUES (#{id}, #{userName}, #{ipaddr}, #{browser}, #{os}, #{msg}, #{status}, #{loginTime}, #{province}, #{city}, #{addr})\", login);\r\n sqlRunner.commit();\r\n } catch(Exception e) {\r\n log.error(\"记录登录日志失败,错误信息:{}\", e.getMessage(), e);\r\n } \r\n }\r\n\r\n public static HttpServletRequest getRequest() {\r\n RequestAttributes attributes = RequestContextHolder.getRequestAttributes();\r\n return ((ServletRequestAttributes) attributes).getRequest();\r\n }\r\n\r\n /**\r\n * 获取客户端IP\r\n *\r\n * @param request 请求对象\r\n * @return IP地址\r\n */\r\n public static String getIpAddr(HttpServletRequest request) {\r\n if (request == null) {\r\n return \"unknown\";\r\n }\r\n String ip = request.getHeader(\"x-forwarded-for\");\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"Proxy-Client-IP\");\r\n }\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"X-Forwarded-For\");\r\n }\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"WL-Proxy-Client-IP\");\r\n }\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getHeader(\"X-Real-IP\");\r\n }\r\n\r\n if (ip == null || ip.length() == 0 || \"unknown\".equalsIgnoreCase(ip)) {\r\n ip = request.getRemoteAddr();\r\n }\r\n return \"0:0:0:0:0:0:0:1\".equals(ip) ? \"127.0.0.1\" : getMultistageReverseProxyIp(ip);\r\n }\r\n\r\n /**\r\n * 从多级反向代理中获得第一个非unknown IP地址\r\n *\r\n * @param ip 获得的IP地址\r\n * @return 第一个非unknown IP地址\r\n */\r\n public static String getMultistageReverseProxyIp(String ip) {\r\n // 多级反向代理检测\r\n if (ip != null && ip.indexOf(\",\") > 0) {\r\n final String[] ips = ip.trim().split(\",\");\r\n for (String subIp : ips) {\r\n if (false == isUnknown(subIp)) {\r\n ip = subIp;\r\n break;\r\n }\r\n }\r\n }\r\n return ip;\r\n }\r\n\r\n /**\r\n * 检测给定字符串是否为未知,多用于检测HTTP请求相关\r\n *\r\n * @param checkString 被检测的字符串\r\n * @return 是否未知\r\n */\r\n public static boolean isUnknown(String checkString) {\r\n return StringUtils.isBlank(checkString) || \"unknown\".equalsIgnoreCase(checkString);\r\n }\r\n\r\n /**\r\n * 根据真实ip获取地理位置\r\n *\r\n * @param ip 真实ip\r\n * @return 地址\r\n */\r\n public static String getRealAddressByIP(String ip) {\r\n if (StringUtils.isBlank(ip) || ip.startsWith(\"192.\") || ip.startsWith(\"127.\")) {\r\n return null;\r\n }\r\n try {\r\n return HttpUtils.sendGet(\"http://whois.pconline.com.cn/ipJson.jsp\", \"ip=\" + ip + \"&json=true\", HttpUtils.GBK);\r\n } catch (Exception e) {\r\n log.error(\"获取地理位置异常 {}\", ip);\r\n }\r\n return null;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (38002, 'menuTreeProcSelectList', 'Activity_09t0yok', '菜单树下拉查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"菜单树下拉查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, code, name, parent_code, status\"\r\n + \" FROM sys_menu WHERE del_flag=\'0\' AND type IN (\'0\',\'1\',\'3\') ORDER BY sort ASC\");\r\n // 查询流程\r\n List<Map<String, Object>> procList = sqlRunner.selectList(\"SELECT menu_code FROM sys_process WHERE del_flag=\'0\'\");\r\n sqlRunner.close();\r\n if (!list.isEmpty() && !procList.isEmpty()) {\r\n Map<String, Long> procMap = procList.stream().map(v -> v.get(\"menu_code\").toString()).collect(Collectors.groupingBy(v -> v, Collectors.counting()));\r\n for (Map<String, Object> menu : list) {\r\n String code = menu.get(\"code\").toString();\r\n String name = menu.get(\"name\").toString();\r\n if (procMap.containsKey(code)) {\r\n name = name + \"(\" + procMap.get(code) + \")\";\r\n } else {\r\n name = name + \"(0)\";\r\n }\r\n menu.put(\"name\", name);\r\n }\r\n }\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parentCode) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> menu : list) {\r\n if (parentCode == null && menu.get(\"parent_code\") == null) {\r\n menu.put(\"key\", menu.remove(\"id\"));\r\n menu.put(\"value\", menu.remove(\"code\"));\r\n menu.put(\"label\", menu.remove(\"name\"));\r\n menu.put(\"children\", buildTree(list, menu.get(\"value\").toString()));\r\n tree.add(menu);\r\n menu.remove(\"parent_code\");\r\n }\r\n if (parentCode != null && parentCode.equals(menu.get(\"parent_code\"))) {\r\n menu.put(\"key\", menu.remove(\"id\"));\r\n menu.put(\"value\", menu.remove(\"code\"));\r\n menu.put(\"label\", menu.remove(\"name\"));\r\n menu.put(\"children\", buildTree(list, menu.get(\"value\").toString()));\r\n tree.add(menu);\r\n menu.remove(\"parent_code\");\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (40002, 'deptList', 'Activity_09t0yok', '部门树查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n\r\nimport java.lang.Integer;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"部门树查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, name, parent_id, sort, status\"\r\n + \" FROM sys_dept WHERE del_flag=\'0\' ORDER BY sort ASC\");\r\n sqlRunner.close();\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parent) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> sub : list) {\r\n Object parentId = sub.get(\"parent_id\");\r\n if (parent == null && parentId == null) {\r\n sub.put(\"children\", buildTree(list, sub.get(\"id\").toString()));\r\n tree.add(sub);\r\n }\r\n if (parent != null && parentId != null && parent.equals(parentId.toString())) {\r\n sub.put(\"children\", buildTree(list, sub.get(\"id\").toString()));\r\n tree.add(sub);\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (40004, 'deptTreeUserSelectList', 'Activity_09t0yok', '部门树下拉查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"部门树下拉查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, name, parent_id, status\"\r\n + \" FROM sys_dept WHERE del_flag=\'0\' ORDER BY sort ASC\");\r\n // 查询用户\r\n List<Map<String, Object>> userList = sqlRunner.selectList(\"SELECT dept_id FROM sys_user WHERE dept_id IS NOT NULL AND del_flag=\'0\'\");\r\n sqlRunner.close();\r\n if (!list.isEmpty() && userList != null && !userList.isEmpty()) {\r\n Map<String, Long> userMap = userList.stream().map(v -> v.get(\"dept_id\").toString()).collect(Collectors.groupingBy(v -> v, Collectors.counting()));\r\n for (Map<String, Object> dept : list) {\r\n String id = dept.get(\"id\").toString();\r\n String name = dept.get(\"name\").toString();\r\n if (userMap.containsKey(id)) {\r\n name = name + \"(\" + userMap.get(id) + \")\";\r\n } else {\r\n name = name + \"(0)\";\r\n }\r\n dept.put(\"name\", name);\r\n }\r\n }\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parent) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> sub : list) {\r\n if (!sub.containsKey(\"id\")) {\r\n continue;\r\n }\r\n Object parentId = sub.remove(\"parent_id\");\r\n Object id = sub.remove(\"id\");\r\n Object name = sub.remove(\"name\");\r\n if (parent == null && parentId == null) {\r\n sub.put(\"key\", id);\r\n sub.put(\"value\", id);\r\n sub.put(\"label\", name);\r\n sub.put(\"children\", buildTree(list, id.toString()));\r\n tree.add(sub);\r\n } \r\n if (parent != null && parentId != null && parent.equals(parentId.toString())) {\r\n sub.put(\"key\", id);\r\n sub.put(\"value\", id);\r\n sub.put(\"label\", name);\r\n sub.put(\"children\", buildTree(list, id.toString()));\r\n tree.add(sub);\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (40006, 'deptSave', 'Activity_09t0yok', '部门保存', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.time.LocalDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport com.sankuai.inf.leaf.IDGen;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"部门保存\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n if (vars.get(\"id\") == null) {\r\n if (sqlRunner.selectOne(\"SELECT id FROM sys_dept WHERE name=#{name} AND del_flag=\'0\'\", vars) != null) {\r\n throw new BusinessException(\"名称已存在\");\r\n }\r\n // 查询父节点的祖先,并设置自己的祖先\r\n findAncestors(sqlRunner, vars);\r\n vars.put(\"id\", SpringUtils.getBean(IDGen.class).get(\"sys_dept\").getId());\r\n vars.put(\"create_time\", LocalDateTime.now());\r\n sqlRunner.insert(\"INSERT INTO sys_dept(id, name, parent_id, ancestors, sort, status, create_time, create_by,\"\r\n + \" remark, del_flag) VALUES (#{id}, #{name}, #{parent_id}, #{ancestors}, #{sort},\"\r\n + \" #{status}, #{create_time}, #{create_by}, #{remark}, \'0\')\", vars);\r\n } else {\r\n // 查询父节点的祖先,并设置自己的祖先\r\n findAncestors(sqlRunner, vars);\r\n vars.put(\"update_time\", LocalDateTime.now());\r\n sqlRunner.update(\"UPDATE sys_dept SET name = #{name}, parent_id = #{parent_id}, ancestors = #{ancestors},\"\r\n + \" sort = #{sort}, status = #{status}, update_time = #{update_time}, update_by = #{update_by},\"\r\n + \" remark = #{remark} WHERE id = #{id}\", vars);\r\n }\r\n sqlRunner.commit();\r\n }\r\n return null;\r\n }\r\n\r\n public void findAncestors(SqlRunner sqlRunner, Map<String, Object> vars) {\r\n String ancestors = null;\r\n if (vars.get(\"parent_id\") != null) {\r\n Map<String, Object> parent = sqlRunner.selectOne(\"SELECT id FROM sys_dept WHERE id=#{parent_id} AND del_flag=\'0\'\", vars);\r\n ancestors = parent == null ? null : parent.get(\"id\").toString();\r\n vars.put(\"ancestors\", ancestors == null ? null : ancestors + \",\" + parent.get(\"id\").toString());\r\n }\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (40009, 'deptGetById', 'Activity_09t0yok', '根据ID查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据ID查询部门\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询,设置返回结果\r\n vars.put(\"flowRes\", sqlRunner.selectOne(\"SELECT\"\r\n + \" id, name, parent_id, ancestors, sort, status\"\r\n + \" FROM sys_dept WHERE del_flag=\'0\' AND id=#{id}\", vars));\r\n sqlRunner.close();\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (40011, 'deptDeleteById', 'Activity_09t0yok', '根据ID删除', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据ID删除部门\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n // 查询,设置返回结果\r\n sqlRunner.delete(\"DELETE FROM sys_dept WHERE id=#{id}\", vars);\r\n sqlRunner.commit();\r\n }\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (40013, 'deptTreeSelectList', 'Activity_09t0yok', '部门树下拉查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"部门树下拉查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, name, parent_id, status\"\r\n + \" FROM sys_dept WHERE del_flag=\'0\' ORDER BY sort ASC\");\r\n sqlRunner.close();\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parent) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> sub : list) {\r\n if (!sub.containsKey(\"id\")) {\r\n continue;\r\n }\r\n Object parentId = sub.remove(\"parent_id\");\r\n Object id = sub.remove(\"id\");\r\n Object name = sub.remove(\"name\");\r\n if (parent == null && parentId == null) {\r\n sub.put(\"key\", id);\r\n sub.put(\"value\", id);\r\n sub.put(\"label\", name);\r\n sub.put(\"children\", buildTree(list, id.toString()));\r\n tree.add(sub);\r\n } else if (parent != null && parentId != null && parent.equals(parentId.toString())) {\r\n sub.put(\"key\", id);\r\n sub.put(\"value\", id);\r\n sub.put(\"label\", name);\r\n sub.put(\"children\", buildTree(list, id.toString()));\r\n tree.add(sub);\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (42003, 'roleList', 'Activity_09t0yok', '角色列表查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport com.onlinecode.admin.web.page.PageTable;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"角色列表查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n String sql = \"SELECT\"\r\n + \" sr.id, sr.name, sr.status, sr.create_time, sr.create_by, sr.update_time, sr.update_by\"\r\n + \" FROM sys_role sr WHERE sr.del_flag=\'0\'\";\r\n if (StringUtils.isNotEmpty(MapUtils.getString(vars, \"roleName\"))) {\r\n sql += \" AND sr.name like concat(\\\"%\\\",#{roleName},\\\"%\\\")\";\r\n }\r\n sql += \" order by sr.id asc\";\r\n // 分页查询\r\n PageTable pageTable = sqlRunner.selectPage(sql, vars, true);\r\n sqlRunner.close();\r\n Map<String, Object> res = new HashMap<>(8);\r\n // 设置返回结果\r\n res.put(\"flowRes\", pageTable);\r\n return res;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (42004, 'roleList', 'Event_1hle965', '结束', '');
INSERT INTO `sys_process_task` VALUES (42006, 'roleSave', 'Activity_09t0yok', '角色保存', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.time.LocalDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport com.sankuai.inf.leaf.IDGen;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport java.util.Base64;\r\nimport org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"角色保存\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n String name = MapUtils.getString(vars, \"name\");\r\n if (StringUtils.isEmpty(name)) {\r\n throw new BusinessException(\"角色名不可为空!\");\r\n }\r\n if (vars.get(\"id\") == null) {\r\n if (sqlRunner.selectOne(\"SELECT id FROM sys_role WHERE name=#{name} AND del_flag=\'0\'\", vars) != null) {\r\n throw new BusinessException(\"角色名已存在\");\r\n }\r\n vars.put(\"id\", SpringUtils.getBean(IDGen.class).get(\"sys_role\").getId());\r\n vars.put(\"createTime\", LocalDateTime.now());\r\n sqlRunner.insert(\"INSERT INTO sys_role(id, name, status, create_time, create_by,\"\r\n + \" del_flag) VALUES (#{id}, #{name}, #{status}, #{createTime}, #{createBy}, \'0\')\", vars);\r\n } else {\r\n vars.put(\"updateTime\", LocalDateTime.now());\r\n String sql = \"UPDATE sys_role SET name = #{name}, status = #{status}, update_time = #{updateTime}, update_by = #{updateBy} WHERE id = #{id}\";\r\n sqlRunner.update(sql, vars);\r\n }\r\n sqlRunner.commit();\r\n }\r\n return null;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (42008, 'roleGetById', 'Activity_09t0yok', '根据ID查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"根据ID查询角色\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询,设置返回结果\r\n vars.put(\"flowRes\", sqlRunner.selectOne(\"SELECT\"\r\n + \" id, name, status\"\r\n + \" FROM sys_role WHERE del_flag=\'0\' AND id=#{id}\", vars, true));\r\n sqlRunner.close();\r\n return vars;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (44002, 'menuTreeProcInfoList', 'Activity_09t0yok', '菜单树下拉查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"菜单树下拉查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(\"SELECT\"\r\n + \" id, code, name, parent_code, status\"\r\n + \" FROM sys_menu WHERE del_flag=\'0\' ORDER BY sort ASC\");\r\n // 查询流程\r\n List<Map<String, Object>> procList = sqlRunner.selectList(\"SELECT id, menu_code, proc_name, status FROM sys_process WHERE del_flag=\'0\' AND auth=\'2\'\");\r\n sqlRunner.close();\r\n if (!list.isEmpty() && !procList.isEmpty()) {\r\n Map<String, Object> menu;\r\n for (Map<String, Object> proc : procList) {\r\n String id = \"proc-\" + proc.remove(\"id\");\r\n menu = new HashMap<>(8);\r\n menu.put(\"id\", id);\r\n menu.put(\"code\", id);\r\n menu.put(\"name\", proc.remove(\"proc_name\"));\r\n menu.put(\"status\", proc.remove(\"status\"));\r\n menu.put(\"parent_code\", proc.remove(\"menu_code\").toString());\r\n list.add(menu);\r\n }\r\n }\r\n // 设置返回结果\r\n vars.put(\"flowRes\", buildTree(list, null));\r\n return vars;\r\n }\r\n\r\n private List<Map<String, Object>> buildTree(List<Map<String, Object>> list, String parentCode) {\r\n if (list.isEmpty()) {\r\n return new ArrayList<>();\r\n }\r\n List<Map<String, Object>> tree = new ArrayList<>();\r\n for (Map<String, Object> menu : list) {\r\n if (!menu.containsKey(\"id\")) {\r\n continue;\r\n }\r\n Object pCode = menu.get(\"parent_code\");\r\n boolean nullEquals = parentCode == null && pCode == null;\r\n if (nullEquals || (pCode != null && pCode.toString().equals(parentCode))) {\r\n Object id = menu.remove(\"id\");\r\n menu.put(\"key\", id.toString());\r\n menu.put(\"value\", id.toString());\r\n menu.put(\"label\", menu.remove(\"name\"));\r\n menu.put(\"children\", buildTree(list, menu.remove(\"code\").toString()));\r\n tree.add(menu);\r\n menu.remove(\"parent_code\");\r\n }\r\n }\r\n return tree;\r\n }\r\n}');
INSERT INTO `sys_process_task` VALUES (44004, 'userAll', 'Activity_09t0yok', '用户列表查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport com.onlinecode.admin.web.page.PageTable;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"查询所有用户\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n String sql = \"SELECT su.id, su.user_name, su.nick_name FROM sys_user su WHERE su.del_flag=\'0\'\";\r\n if (StringUtils.isNotEmpty(MapUtils.getString(vars, \"userName\"))) {\r\n sql += \" AND (su.user_name like concat(\\\"%\\\",#{userName},\\\"%\\\") OR su.nick_name like concat(\\\"%\\\",#{userName},\\\"%\\\"))\";\r\n }\r\n // 查询\r\n List<Map<String, Object>> list = sqlRunner.selectList(sql, vars, true);\r\n sqlRunner.close();\r\n Map<String, Object> res = new HashMap<>(8);\r\n // 设置返回结果\r\n res.put(\"flowRes\", list);\r\n return res;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (44005, 'userAll', 'Event_1hle965', '结束', '');
INSERT INTO `sys_process_task` VALUES (44010, 'roleGetAuthInfo', 'Activity_09t0yok', '授权信息查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"查询角色授权信息\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n Map<String, Object> role = sqlRunner.selectOne(\"SELECT id, name, status FROM sys_role WHERE del_flag=\'0\' AND id=#{id}\", vars, true);\r\n List<String> users = new ArrayList<>();\r\n List<String> menus = new ArrayList<>();\r\n List<String> process = new ArrayList<>();\r\n if (role != null && !role.isEmpty()) {\r\n List<Map<String, Object>> userRole = sqlRunner.selectList(\"SELECT user_id FROM sys_user_role WHERE role_id=#{id}\", vars, true);\r\n List<Map<String, Object>> roleMenu = sqlRunner.selectList(\"SELECT menu_id FROM sys_role_menu WHERE role_id=#{id}\", vars, true);\r\n List<Map<String, Object>> roleProc = sqlRunner.selectList(\"SELECT proc_id FROM sys_role_process WHERE role_id=#{id}\", vars, true);\r\n for (Map<String, Object> user : userRole) {\r\n users.add(user.get(\"userId\").toString());\r\n }\r\n for (Map<String, Object> menu : roleMenu) {\r\n menus.add(menu.get(\"menuId\").toString());\r\n }\r\n for (Map<String, Object> proc : roleProc) {\r\n process.add(\"proc-\" + proc.get(\"procId\"));\r\n }\r\n role.put(\"userRole\", users);\r\n role.put(\"roleMenu\", menus);\r\n role.put(\"roleProc\", process);\r\n }\r\n sqlRunner.close();\r\n // 查询,设置返回结果\r\n Map<String, Object> res = new HashMap<>(8);\r\n res.put(\"flowRes\", role);\r\n return res;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (44012, 'roleSaveAuthInfo', 'Activity_09t0yok', '授权信息保存', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport java.util.stream.Collectors;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"保存角色授权信息\");\r\n try (SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner()) {\r\n if (sqlRunner.selectOne(\"SELECT id FROM sys_role WHERE del_flag=\'0\' AND id=#{id}\", vars) == null) {\r\n throw new BusinessException(\"角色不存在,请刷新后再试\");\r\n }\r\n final Object roleId = vars.get(\"id\");\r\n // 用户角色\r\n if (vars.containsKey(\"userRole\")) {\r\n List<Map<String, Object>> userRole = ((List<String>) vars.get(\"userRole\")).stream()\r\n .map(v -> { Map<String, Object> map = new HashMap<>(2); map.put(\"userId\", v); map.put(\"roleId\", roleId); return map; })\r\n .collect(Collectors.toList());\r\n sqlRunner.delete(\"DELETE FROM sys_user_role WHERE role_id=#{id}\", vars);\r\n sqlRunner.insertBatch(\"INSERT INTO sys_user_role(user_id,role_id) VALUES <foreach collection=\\\"list\\\" \"\r\n + \"separator=\\\",\\\">(#{list.userId},#{list.roleId})</foreach>\", userRole, \"list\" , 500);\r\n }\r\n \r\n if (vars.containsKey(\"roleMenu\")) {\r\n // 角色菜单\r\n List<Map<String, Object>> roleMenu = new ArrayList<>();\r\n // 角色流程\r\n List<Map<String, Object>> roleProc = new ArrayList<>();\r\n\r\n for (String str : ((List<String>) vars.get(\"roleMenu\"))) {\r\n Map<String, Object> map = new HashMap<>(2);\r\n map.put(\"roleId\", roleId);\r\n if (str.startsWith(\"proc-\")) {\r\n map.put(\"procId\", str.replace(\"proc-\", \"\"));\r\n roleProc.add(map);\r\n } else {\r\n map.put(\"menuId\", str);\r\n roleMenu.add(map);\r\n }\r\n }\r\n sqlRunner.delete(\"DELETE FROM sys_role_menu WHERE role_id=#{id}\", vars);\r\n sqlRunner.insertBatch(\"INSERT INTO sys_role_menu(menu_id,role_id) VALUES <foreach collection=\\\"list\\\" \"\r\n + \"separator=\\\",\\\">(#{list.menuId},#{list.roleId})</foreach>\", roleMenu, \"list\" , 500);\r\n\r\n sqlRunner.delete(\"DELETE FROM sys_role_process WHERE role_id=#{id}\", vars);\r\n sqlRunner.insertBatch(\"INSERT INTO sys_role_process(proc_id,role_id) VALUES <foreach collection=\\\"list\\\" \"\r\n + \"separator=\\\",\\\">(#{list.procId},#{list.roleId})</foreach>\", roleProc, \"list\" , 500);\r\n \r\n }\r\n \r\n\r\n sqlRunner.commit();\r\n }\r\n return null;\r\n }\r\n\r\n}\r\n');
INSERT INTO `sys_process_task` VALUES (46003, 'roleAll', 'Activity_09t0yok', '角色查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.apache.commons.lang3.StringUtils;\r\nimport org.apache.commons.collections4.MapUtils;\r\nimport com.onlinecode.admin.web.page.PageTable;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"角色查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n String sql = \"SELECT sr.id, sr.name FROM sys_role sr WHERE sr.status=\'1\' AND sr.del_flag=\'0\'\";\r\n if (StringUtils.isNotEmpty(MapUtils.getString(vars, \"roleName\"))) {\r\n sql += \" AND sr.name like concat(\\\"%\\\",#{roleName},\\\"%\\\")\";\r\n }\r\n sql += \" order by sr.id asc\";\r\n Map<String, Object> res = new HashMap<>(8);\r\n // 设置返回结果\r\n res.put(\"flowRes\", sqlRunner.selectList(sql, vars, true));\r\n sqlRunner.close();\r\n return res;\r\n }\r\n\r\n}');
INSERT INTO `sys_process_task` VALUES (46004, 'roleAll', 'Event_1hle965', '结束', '');
INSERT INTO `sys_process_task` VALUES (64001, 'homeInfo', 'Activity_09t0yok', '首页信息查询', 'import com.alibaba.compileflow.extension.cmd.AbstractJavaCmd;\r\n \r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\nimport com.onlinecode.admin.util.SpringUtils;\r\nimport com.onlinecode.admin.process.dao.SqlRunnerFactory;\r\nimport com.onlinecode.admin.process.dao.SqlRunner;\r\nimport com.onlinecode.admin.exception.BusinessException;\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport java.time.LocalDate;\r\n\r\npublic class RuntimeExecutor extends AbstractJavaCmd {\r\n private static final Logger log = LoggerFactory.getLogger(RuntimeExecutor.class);\r\n @Override\r\n public Object execute(Map<String, Object> vars) {\r\n log.info(\"首页信息查询\");\r\n SqlRunner sqlRunner = SpringUtils.getBean(SqlRunnerFactory.class).openRunner();\r\n LocalDate today = LocalDate.now();\r\n LocalDate yesterday = today.minusDays(1);\r\n vars.put(\"now\", today);\r\n vars.put(\"yesterday\", yesterday);\r\n // 查询\r\n Map<String, Object> allCount = sqlRunner.selectOne(\"SELECT count(0) AS num FROM sys_login WHERE status=\'1\'\");\r\n Map<String, Object> todayCount = sqlRunner.selectOne(\"SELECT count(0) AS num FROM sys_login WHERE status=\'1\' AND login_time >= #{now}\", vars);\r\n Map<String, Object> yesterdayCount = sqlRunner.selectOne(\"SELECT count(0) AS num FROM sys_login WHERE status=\'1\' AND login_time >= #{yesterday} AND login_time < #{now}\", vars);\r\n Map<String, Object> userCount = sqlRunner.selectOne(\"SELECT count(0) AS num FROM sys_user WHERE del_flag=\'0\'\");\r\n List<Map<String, Object>> sevenDay = sqlRunner.selectList(\"SELECT DATE(login_time) AS loginDate, COUNT(*) AS loginCount FROM sys_login WHERE status=\'1\' AND login_time >= CURDATE() - INTERVAL 7 DAY GROUP BY DATE(login_time) ORDER BY loginDate\");\r\n List<Map<String, Object>> provinceCount = sqlRunner.selectList(\"SELECT province, COUNT(*) AS num FROM sys_login WHERE province IS NOT NULL AND province != \'\' GROUP BY province;\");\r\n sqlRunner.close();\r\n // 设置返回结果\r\n Map<String, Object> res = new HashMap<>(8);\r\n res.put(\"allCount\", allCount.get(\"num\"));\r\n res.put(\"todayCount\", todayCount.get(\"num\"));\r\n res.put(\"yesterdayCount\", yesterdayCount.get(\"num\"));\r\n res.put(\"userCount\", userCount.get(\"num\"));\r\n res.put(\"sevenDay\", sevenDay);\r\n res.put(\"provinceCount\", provinceCount);\r\n vars.put(\"flowRes\", res);\r\n return vars;\r\n }\r\n\r\n}');
-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
`id` bigint(11) NOT NULL COMMENT '主键',
`name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '角色名称',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '状态(0禁用 1启用)',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新者',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '删除标识(0未删除 1已删除)',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_role
-- ----------------------------
INSERT INTO `sys_role` VALUES (1, '管理员', '1', '2024-02-18 08:19:01', NULL, '2024-02-21 13:33:36', NULL, NULL, '0');
INSERT INTO `sys_role` VALUES (2, '测试经理', '1', '2024-02-18 08:25:43', NULL, NULL, NULL, NULL, '0');
INSERT INTO `sys_role` VALUES (3, '测试组长', '1', '2024-02-18 08:32:19', NULL, NULL, NULL, NULL, '0');
INSERT INTO `sys_role` VALUES (4, '普通测试', '1', '2024-02-18 08:41:29', NULL, NULL, NULL, NULL, '0');
-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
`menu_id` bigint(20) NOT NULL COMMENT '菜单ID',
PRIMARY KEY (`role_id`, `menu_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
INSERT INTO `sys_role_menu` VALUES (1, 1);
INSERT INTO `sys_role_menu` VALUES (1, 2);
INSERT INTO `sys_role_menu` VALUES (1, 3);
INSERT INTO `sys_role_menu` VALUES (1, 4);
INSERT INTO `sys_role_menu` VALUES (1, 5);
INSERT INTO `sys_role_menu` VALUES (1, 4001);
INSERT INTO `sys_role_menu` VALUES (1, 4002);
INSERT INTO `sys_role_menu` VALUES (1, 8001);
INSERT INTO `sys_role_menu` VALUES (1, 10001);
INSERT INTO `sys_role_menu` VALUES (1, 12001);
INSERT INTO `sys_role_menu` VALUES (1, 14001);
INSERT INTO `sys_role_menu` VALUES (1, 14002);
INSERT INTO `sys_role_menu` VALUES (1, 14003);
INSERT INTO `sys_role_menu` VALUES (1, 14004);
INSERT INTO `sys_role_menu` VALUES (1, 14005);
INSERT INTO `sys_role_menu` VALUES (1, 14006);
INSERT INTO `sys_role_menu` VALUES (1, 16001);
INSERT INTO `sys_role_menu` VALUES (1, 18001);
INSERT INTO `sys_role_menu` VALUES (1, 20001);
INSERT INTO `sys_role_menu` VALUES (1, 22001);
INSERT INTO `sys_role_menu` VALUES (1, 22002);
INSERT INTO `sys_role_menu` VALUES (1, 22003);
INSERT INTO `sys_role_menu` VALUES (1, 22004);
INSERT INTO `sys_role_menu` VALUES (1, 22005);
INSERT INTO `sys_role_menu` VALUES (2, 1);
INSERT INTO `sys_role_menu` VALUES (2, 2);
INSERT INTO `sys_role_menu` VALUES (2, 3);
INSERT INTO `sys_role_menu` VALUES (2, 4);
INSERT INTO `sys_role_menu` VALUES (2, 5);
INSERT INTO `sys_role_menu` VALUES (2, 4001);
INSERT INTO `sys_role_menu` VALUES (2, 4002);
INSERT INTO `sys_role_menu` VALUES (2, 8001);
INSERT INTO `sys_role_menu` VALUES (2, 10001);
INSERT INTO `sys_role_menu` VALUES (2, 12001);
INSERT INTO `sys_role_menu` VALUES (2, 14001);
INSERT INTO `sys_role_menu` VALUES (2, 14003);
INSERT INTO `sys_role_menu` VALUES (2, 16001);
INSERT INTO `sys_role_menu` VALUES (2, 18001);
INSERT INTO `sys_role_menu` VALUES (3, 1);
INSERT INTO `sys_role_menu` VALUES (3, 2);
-- ----------------------------
-- Table structure for sys_role_process
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_process`;
CREATE TABLE `sys_role_process` (
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
`proc_id` bigint(20) NOT NULL COMMENT '流程ID',
PRIMARY KEY (`role_id`, `proc_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '角色和流程关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_role_process
-- ----------------------------
INSERT INTO `sys_role_process` VALUES (1, 10001);
INSERT INTO `sys_role_process` VALUES (1, 14001);
INSERT INTO `sys_role_process` VALUES (1, 16001);
INSERT INTO `sys_role_process` VALUES (1, 18001);
INSERT INTO `sys_role_process` VALUES (1, 24001);
INSERT INTO `sys_role_process` VALUES (1, 26001);
INSERT INTO `sys_role_process` VALUES (1, 30001);
INSERT INTO `sys_role_process` VALUES (1, 32001);
INSERT INTO `sys_role_process` VALUES (1, 32005);
INSERT INTO `sys_role_process` VALUES (1, 32007);
INSERT INTO `sys_role_process` VALUES (1, 36001);
INSERT INTO `sys_role_process` VALUES (1, 38001);
INSERT INTO `sys_role_process` VALUES (1, 40001);
INSERT INTO `sys_role_process` VALUES (1, 40003);
INSERT INTO `sys_role_process` VALUES (1, 40005);
INSERT INTO `sys_role_process` VALUES (1, 40007);
INSERT INTO `sys_role_process` VALUES (1, 40010);
INSERT INTO `sys_role_process` VALUES (1, 40012);
INSERT INTO `sys_role_process` VALUES (1, 42002);
INSERT INTO `sys_role_process` VALUES (1, 42005);
INSERT INTO `sys_role_process` VALUES (1, 42007);
INSERT INTO `sys_role_process` VALUES (1, 44001);
INSERT INTO `sys_role_process` VALUES (1, 44003);
INSERT INTO `sys_role_process` VALUES (1, 44006);
INSERT INTO `sys_role_process` VALUES (1, 44011);
INSERT INTO `sys_role_process` VALUES (1, 46002);
INSERT INTO `sys_role_process` VALUES (1, 56001);
INSERT INTO `sys_role_process` VALUES (1, 58001);
INSERT INTO `sys_role_process` VALUES (1, 66002);
INSERT INTO `sys_role_process` VALUES (2, 10001);
INSERT INTO `sys_role_process` VALUES (2, 14001);
INSERT INTO `sys_role_process` VALUES (2, 18001);
INSERT INTO `sys_role_process` VALUES (2, 26001);
INSERT INTO `sys_role_process` VALUES (2, 32001);
INSERT INTO `sys_role_process` VALUES (2, 32007);
INSERT INTO `sys_role_process` VALUES (2, 36001);
INSERT INTO `sys_role_process` VALUES (2, 38001);
INSERT INTO `sys_role_process` VALUES (2, 40001);
INSERT INTO `sys_role_process` VALUES (2, 40003);
INSERT INTO `sys_role_process` VALUES (2, 40007);
INSERT INTO `sys_role_process` VALUES (2, 40012);
INSERT INTO `sys_role_process` VALUES (2, 42002);
INSERT INTO `sys_role_process` VALUES (2, 42007);
INSERT INTO `sys_role_process` VALUES (2, 44001);
INSERT INTO `sys_role_process` VALUES (2, 44003);
INSERT INTO `sys_role_process` VALUES (2, 44006);
INSERT INTO `sys_role_process` VALUES (2, 46002);
INSERT INTO `sys_role_process` VALUES (2, 56001);
INSERT INTO `sys_role_process` VALUES (2, 58001);
-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
`id` bigint(20) NOT NULL COMMENT '主键',
`user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户账号',
`nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户昵称',
`email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '用户邮箱',
`avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '头像地址',
`password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '密码',
`locked` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '锁定(0未锁 1锁定)',
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '1' COMMENT '状态(0禁用 1启用)',
`create_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
`create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '创建者',
`update_time` datetime NULL DEFAULT NULL COMMENT '更新时间',
`update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '更新者',
`remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '备注',
`del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '0' COMMENT '删除标识(0未删除 1已删除)',
`dept_id` bigint(20) NULL DEFAULT NULL COMMENT '部门id',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_user
-- ----------------------------
INSERT INTO `sys_user` VALUES (1, 'admin', 'Admin', NULL, NULL, '$2a$10$9LB98t8mM0bug7wQ1/pmU.M9n4xD6luhi5WIQi0jOnWRkHRfBtvte', '0', '1', '2023-11-22 10:42:21', NULL, '2024-02-27 08:14:23', NULL, NULL, '0', 1);
INSERT INTO `sys_user` VALUES (2, 'test', '测试', NULL, NULL, '$2a$10$9LB98t8mM0bug7wQ1/pmU.M9n4xD6luhi5WIQi0jOnWRkHRfBtvte', '0', '1', '2023-12-04 03:16:01', NULL, '2024-02-22 06:54:00', NULL, NULL, '0', 2);
-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
`user_id` bigint(20) NOT NULL COMMENT '用户ID',
`role_id` bigint(20) NOT NULL COMMENT '角色ID',
PRIMARY KEY (`user_id`, `role_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户和角色关联表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
INSERT INTO `sys_user_role` VALUES (1, 1);
INSERT INTO `sys_user_role` VALUES (1, 3);
INSERT INTO `sys_user_role` VALUES (2, 2);
INSERT INTO `sys_user_role` VALUES (2, 3);
INSERT INTO `sys_user_role` VALUES (2, 4);
SET FOREIGN_KEY_CHECKS = 1;