@zscreate/form-component 1.1.348 → 1.1.350

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -242,16 +242,16 @@ ul li[data-v-c8780a30] {
242
242
  width: 347px !important;
243
243
  }
244
244
 
245
- ul[data-v-3a5b3633],
246
- li[data-v-3a5b3633],
247
- dl[data-v-3a5b3633],
248
- dt[data-v-3a5b3633],
249
- dd[data-v-3a5b3633] {
245
+ ul[data-v-73af699e],
246
+ li[data-v-73af699e],
247
+ dl[data-v-73af699e],
248
+ dt[data-v-73af699e],
249
+ dd[data-v-73af699e] {
250
250
  list-style-type: none;
251
251
  padding: 0;
252
252
  margin: 0;
253
253
  }
254
- .flowwork-warp[data-v-3a5b3633] {
254
+ .flowwork-warp[data-v-73af699e] {
255
255
  position: absolute;
256
256
  left: 0;
257
257
  right: 0;
@@ -259,7 +259,7 @@ dd[data-v-3a5b3633] {
259
259
  bottom: 64px;
260
260
  background: #fff;
261
261
  }
262
- .g1_workflow_warp[data-v-3a5b3633] {
262
+ .g1_workflow_warp[data-v-73af699e] {
263
263
  border: 1px solid #dfdfdf;
264
264
  margin: auto;
265
265
  position: absolute;
@@ -268,12 +268,12 @@ dd[data-v-3a5b3633] {
268
268
  bottom: 0;
269
269
  top: 0;
270
270
  }
271
- .g1_workflow_warp li[data-v-3a5b3633] {
271
+ .g1_workflow_warp li[data-v-73af699e] {
272
272
  width: 100%;
273
273
  position: relative;
274
274
  text-align: center;
275
275
  }
276
- .g1-sider_tool1[data-v-3a5b3633] {
276
+ .g1-sider_tool1[data-v-73af699e] {
277
277
  width: 100px;
278
278
  position: absolute;
279
279
  left: 0;
@@ -282,37 +282,37 @@ dd[data-v-3a5b3633] {
282
282
  border-right: 1px solid #dfdfdf;
283
283
  overflow-y: auto;
284
284
  }
285
- .g1-sider_tool1 .tool_box[data-v-3a5b3633] {
285
+ .g1-sider_tool1 .tool_box[data-v-73af699e] {
286
286
  margin-top: 15px;
287
287
  }
288
- .g1-sider_tool1 .tool_box .tool[data-v-3a5b3633] {
288
+ .g1-sider_tool1 .tool_box .tool[data-v-73af699e] {
289
289
  text-align: center;
290
290
  font-size: 12px;
291
291
  color: #fff;
292
292
  }
293
293
  /* 公用图形 */
294
- .end[data-v-3a5b3633] {
294
+ .end[data-v-73af699e] {
295
295
  border-radius: 100%;
296
296
  }
297
- .comm[data-v-3a5b3633] {
297
+ .comm[data-v-73af699e] {
298
298
  border-radius: 0px;
299
299
  }
300
- .gate[data-v-3a5b3633] {
300
+ .gate[data-v-73af699e] {
301
301
  width: 60px;
302
302
  border-radius: 0;
303
303
  }
304
- .gate .inner[data-v-3a5b3633] {
304
+ .gate .inner[data-v-73af699e] {
305
305
  display: inline-block;
306
306
  font-size: 16px;
307
307
  }
308
- .g1-form_main1[data-v-3a5b3633] {
308
+ .g1-form_main1[data-v-73af699e] {
309
309
  position: absolute;
310
310
  left: 100px;
311
311
  right: 0;
312
312
  top: 0;
313
313
  bottom: 0;
314
314
  }
315
- .g1-form_main1 .head[data-v-3a5b3633] {
315
+ .g1-form_main1 .head[data-v-73af699e] {
316
316
  height: 46px;
317
317
  line-height: 46px;
318
318
  text-align: left;
@@ -320,11 +320,11 @@ dd[data-v-3a5b3633] {
320
320
  box-sizing: border-box;
321
321
  border-bottom: 1px solid #d8d8d8;
322
322
  }
323
- .g1-form_main1 .head .ant-btn[data-v-3a5b3633] {
323
+ .g1-form_main1 .head .ant-btn[data-v-73af699e] {
324
324
  height: 32px;
325
325
  margin-right: 10px;
326
326
  }
327
- .g1-form_main1 .main[data-v-3a5b3633] {
327
+ .g1-form_main1 .main[data-v-73af699e] {
328
328
  position: absolute;
329
329
  left: 0 !important;
330
330
  right: 0px;
@@ -333,12 +333,12 @@ dd[data-v-3a5b3633] {
333
333
  overflow: auto;
334
334
  box-sizing: border-box;
335
335
  }
336
- .g1-form_main1 .main #flowContainer[data-v-3a5b3633] {
336
+ .g1-form_main1 .main #flowContainer[data-v-73af699e] {
337
337
  background-image: linear-gradient(90deg, rgba(180, 180, 180, 0.15) 10%, rgba(180, 180, 180, 0) 10%), linear-gradient(rgba(180, 180, 180, 0.15) 10%, rgba(0, 0, 0, 0) 10%);
338
338
  background-size: 10px 10px;
339
339
  background-color: #fbfbfb;
340
340
  }
341
- .g1-form_main1 .sider-pannel[data-v-3a5b3633] {
341
+ .g1-form_main1 .sider-pannel[data-v-73af699e] {
342
342
  width: 250px;
343
343
  padding: 0 15px;
344
344
  position: absolute;
@@ -348,7 +348,7 @@ dd[data-v-3a5b3633] {
348
348
  border-left: 1px solid #dfdfdf;
349
349
  background-color: #fff;
350
350
  }
351
- .g1-form_main1 .sider-pannel .sider-panel-inner[data-v-3a5b3633] {
351
+ .g1-form_main1 .sider-pannel .sider-panel-inner[data-v-73af699e] {
352
352
  width: 100%;
353
353
  height: 100%;
354
354
  padding: 15px;
@@ -359,7 +359,7 @@ dd[data-v-3a5b3633] {
359
359
  top: 0;
360
360
  overflow-y: auto;
361
361
  }
362
- .g1-form_main1 .sider-pannel .sider-open[data-v-3a5b3633] {
362
+ .g1-form_main1 .sider-pannel .sider-open[data-v-73af699e] {
363
363
  width: 36px;
364
364
  height: 60px;
365
365
  line-height: 60px;
@@ -375,14 +375,14 @@ dd[data-v-3a5b3633] {
375
375
  background-color: #fff;
376
376
  }
377
377
  /* 视图图形 */
378
- .flow-view[data-v-3a5b3633] {
378
+ .flow-view[data-v-73af699e] {
379
379
  position: absolute;
380
380
  left: 0;
381
381
  right: 0;
382
382
  top: 0;
383
383
  bottom: 0;
384
384
  }
385
- .flow-view .inner .flow-node-drag[data-v-3a5b3633] {
385
+ .flow-view .inner .flow-node-drag[data-v-73af699e] {
386
386
  width: 12px;
387
387
  height: 12px;
388
388
  display: block;
@@ -393,27 +393,27 @@ dd[data-v-3a5b3633] {
393
393
  cursor: crosshair;
394
394
  background: rgba(24, 144, 255, 0.6);
395
395
  }
396
- .flow-view .inner .flow-node-drag[data-v-3a5b3633]:nth-child(1) {
396
+ .flow-view .inner .flow-node-drag[data-v-73af699e]:nth-child(1) {
397
397
  left: -6px;
398
398
  top: 0;
399
399
  bottom: 0;
400
400
  }
401
- .flow-view .inner .flow-node-drag[data-v-3a5b3633]:nth-child(2) {
401
+ .flow-view .inner .flow-node-drag[data-v-73af699e]:nth-child(2) {
402
402
  top: -6px;
403
403
  left: 0;
404
404
  right: 0;
405
405
  }
406
- .flow-view .inner .flow-node-drag[data-v-3a5b3633]:nth-child(3) {
406
+ .flow-view .inner .flow-node-drag[data-v-73af699e]:nth-child(3) {
407
407
  right: -6px;
408
408
  top: 0;
409
409
  bottom: 0;
410
410
  }
411
- .flow-view .inner .flow-node-drag[data-v-3a5b3633]:nth-child(4) {
411
+ .flow-view .inner .flow-node-drag[data-v-73af699e]:nth-child(4) {
412
412
  bottom: -6px;
413
413
  left: 0;
414
414
  right: 0;
415
415
  }
416
- .flow-view .tool[data-v-3a5b3633] {
416
+ .flow-view .tool[data-v-73af699e] {
417
417
  width: 100%;
418
418
  height: 100%;
419
419
  margin: 0;
@@ -421,14 +421,14 @@ dd[data-v-3a5b3633] {
421
421
  box-shadow: 5px 5px 3px #d4d0d0;
422
422
  background: #fbfbfb;
423
423
  }
424
- .flow-view .tool .iconfont[data-v-3a5b3633] {
424
+ .flow-view .tool .iconfont[data-v-73af699e] {
425
425
  font-size: 100%;
426
426
  color: #858587;
427
427
  }
428
- .flow-view .exclude_gateway[data-v-3a5b3633] {
428
+ .flow-view .exclude_gateway[data-v-73af699e] {
429
429
  box-shadow: 0 0 0 #ccc;
430
430
  }
431
- .flow-view .gate[data-v-3a5b3633] {
431
+ .flow-view .gate[data-v-73af699e] {
432
432
  line-height: 50px;
433
433
  position: absolute;
434
434
  left: 0;
@@ -436,9 +436,9 @@ dd[data-v-3a5b3633] {
436
436
  top: 0;
437
437
  bottom: 0;
438
438
  }
439
- .flow-view .ordinary_gateway[data-v-3a5b3633],
440
- .flow-view .parall_gateway[data-v-3a5b3633],
441
- .flow-view .exclude_gateway[data-v-3a5b3633] {
439
+ .flow-view .ordinary_gateway[data-v-73af699e],
440
+ .flow-view .parall_gateway[data-v-73af699e],
441
+ .flow-view .exclude_gateway[data-v-73af699e] {
442
442
  border: none;
443
443
  border-radius: 0;
444
444
  background-size: cover;
@@ -446,35 +446,35 @@ dd[data-v-3a5b3633] {
446
446
  background-position: center center;
447
447
  box-shadow: 0 0 0 #ccc;
448
448
  }
449
- .flow-view .ordinary_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(1),
450
- .flow-view .parall_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(1),
451
- .flow-view .exclude_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(1) {
449
+ .flow-view .ordinary_gateway .flow-node-drag[data-v-73af699e]:nth-child(1),
450
+ .flow-view .parall_gateway .flow-node-drag[data-v-73af699e]:nth-child(1),
451
+ .flow-view .exclude_gateway .flow-node-drag[data-v-73af699e]:nth-child(1) {
452
452
  left: 0;
453
453
  top: 0;
454
454
  bottom: 0;
455
455
  }
456
- .flow-view .ordinary_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(2),
457
- .flow-view .parall_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(2),
458
- .flow-view .exclude_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(2) {
456
+ .flow-view .ordinary_gateway .flow-node-drag[data-v-73af699e]:nth-child(2),
457
+ .flow-view .parall_gateway .flow-node-drag[data-v-73af699e]:nth-child(2),
458
+ .flow-view .exclude_gateway .flow-node-drag[data-v-73af699e]:nth-child(2) {
459
459
  top: 0;
460
460
  left: 0;
461
461
  right: 0;
462
462
  }
463
- .flow-view .ordinary_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(3),
464
- .flow-view .parall_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(3),
465
- .flow-view .exclude_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(3) {
463
+ .flow-view .ordinary_gateway .flow-node-drag[data-v-73af699e]:nth-child(3),
464
+ .flow-view .parall_gateway .flow-node-drag[data-v-73af699e]:nth-child(3),
465
+ .flow-view .exclude_gateway .flow-node-drag[data-v-73af699e]:nth-child(3) {
466
466
  right: 0;
467
467
  top: 0;
468
468
  bottom: 0;
469
469
  }
470
- .flow-view .ordinary_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(4),
471
- .flow-view .parall_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(4),
472
- .flow-view .exclude_gateway .flow-node-drag[data-v-3a5b3633]:nth-child(4) {
470
+ .flow-view .ordinary_gateway .flow-node-drag[data-v-73af699e]:nth-child(4),
471
+ .flow-view .parall_gateway .flow-node-drag[data-v-73af699e]:nth-child(4),
472
+ .flow-view .exclude_gateway .flow-node-drag[data-v-73af699e]:nth-child(4) {
473
473
  bottom: 0;
474
474
  left: 0;
475
475
  right: 0;
476
476
  }
477
- .flow-view .exclude_gateway[data-v-3a5b3633] {
477
+ .flow-view .exclude_gateway[data-v-73af699e] {
478
478
  width: 70%;
479
479
  height: 70%;
480
480
  margin: 15%;
@@ -483,7 +483,7 @@ dd[data-v-3a5b3633] {
483
483
  transform: rotate(45deg);
484
484
  position: relative;
485
485
  }
486
- .flow-view .exclude_gateway[data-v-3a5b3633]::before {
486
+ .flow-view .exclude_gateway[data-v-73af699e]::before {
487
487
  content: '';
488
488
  width: 2px;
489
489
  background-color: #7a7a7a;
@@ -493,7 +493,7 @@ dd[data-v-3a5b3633] {
493
493
  top: calc(50% - 10px);
494
494
  left: calc(50% - 1px);
495
495
  }
496
- .flow-view .exclude_gateway[data-v-3a5b3633]::after {
496
+ .flow-view .exclude_gateway[data-v-73af699e]::after {
497
497
  content: '';
498
498
  width: 20px;
499
499
  background-color: #7a7a7a;
@@ -503,7 +503,7 @@ dd[data-v-3a5b3633] {
503
503
  top: calc(50% - 1px);
504
504
  left: calc(50% - 10px);
505
505
  }
506
- .flow-view .parall_gateway[data-v-3a5b3633] {
506
+ .flow-view .parall_gateway[data-v-73af699e] {
507
507
  width: 70%;
508
508
  height: 70%;
509
509
  margin: 15%;
@@ -512,7 +512,7 @@ dd[data-v-3a5b3633] {
512
512
  transform: rotate(45deg);
513
513
  position: relative;
514
514
  }
515
- .flow-view .parall_gateway[data-v-3a5b3633]::after {
515
+ .flow-view .parall_gateway[data-v-73af699e]::after {
516
516
  content: '';
517
517
  width: 20px;
518
518
  background-color: #7a7a7a;
@@ -524,7 +524,7 @@ dd[data-v-3a5b3633] {
524
524
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
525
525
  transform: rotate(45deg);
526
526
  }
527
- .flow-view .parall_gateway[data-v-3a5b3633]::before {
527
+ .flow-view .parall_gateway[data-v-73af699e]::before {
528
528
  content: '';
529
529
  width: 2px;
530
530
  background-color: #7a7a7a;
@@ -537,7 +537,7 @@ dd[data-v-3a5b3633] {
537
537
  transform: rotate(45deg);
538
538
  }
539
539
  /* 线条工具 */
540
- .lineTool[data-v-3a5b3633] {
540
+ .lineTool[data-v-73af699e] {
541
541
  width: 130px;
542
542
  height: 26px;
543
543
  border: 1px solid #1890ff;
@@ -545,7 +545,7 @@ dd[data-v-3a5b3633] {
545
545
  background-color: #fff;
546
546
  text-align: left;
547
547
  }
548
- .lineTool li[data-v-3a5b3633] {
548
+ .lineTool li[data-v-73af699e] {
549
549
  width: 30px;
550
550
  height: 26px;
551
551
  display: inline-block;
@@ -553,14 +553,14 @@ dd[data-v-3a5b3633] {
553
553
  text-align: center;
554
554
  color: #1890ff;
555
555
  }
556
- .tool-drag a .inner[data-v-3a5b3633] {
556
+ .tool-drag a .inner[data-v-73af699e] {
557
557
  color: #f00 !important;
558
558
  }
559
- .ant-layout-footer[data-v-3a5b3633] {
559
+ .ant-layout-footer[data-v-73af699e] {
560
560
  z-index: 10;
561
561
  }
562
562
 
563
- #flowContainer[data-v-3a5b3633] {
563
+ #flowContainer[data-v-73af699e] {
564
564
  width: 1000000px;
565
565
  height: 1000000px;
566
566
  position: absolute;
@@ -573,7 +573,7 @@ dd[data-v-3a5b3633] {
573
573
  left: -500000px;
574
574
  top: -500000px; */
575
575
  }
576
- .labelClass[data-v-3a5b3633] {
576
+ .labelClass[data-v-73af699e] {
577
577
  padding: 0 3px;
578
578
  font-size: 12px;
579
579
  cursor: pointer;
@@ -584,14 +584,14 @@ dd[data-v-3a5b3633] {
584
584
  border-radius: 3px;
585
585
  background: rgba(24, 144, 255, 0.6);
586
586
  }
587
- .loading[data-v-3a5b3633] {
587
+ .loading[data-v-73af699e] {
588
588
  height: 100%;
589
589
  width: 100%;
590
590
  display: flex;
591
591
  align-items: center;
592
592
  justify-content: center;
593
593
  }
594
- [data-v-3a5b3633] .labelClass {
594
+ [data-v-73af699e] .labelClass {
595
595
  background-color: #539dfa !important;
596
596
  padding: 5px;
597
597
  border-radius: 5px;
@@ -157571,7 +157571,7 @@ function toString(value) {
157571
157571
  /***/ ((module) => {
157572
157572
 
157573
157573
  "use strict";
157574
- module.exports = {"i8":"1.1.348"};
157574
+ module.exports = {"i8":"1.1.350"};
157575
157575
 
157576
157576
  /***/ })
157577
157577
 
@@ -159514,7 +159514,7 @@ icon_Icon.install = function (Vue) {
159514
159514
  };
159515
159515
 
159516
159516
  /* harmony default export */ const icon = (icon_Icon);
159517
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=template&id=3a5b3633&scoped=true&
159517
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=template&id=73af699e&scoped=true&
159518
159518
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.easyFlowVisible)?_c('div',{staticClass:"g1_workflow_warp"},[_c('div',{staticClass:"g1-sider_tool1"},[_c('div',{ref:"flowTool",staticClass:"tool_box"},[_c('flowTool',{on:{"addNode":_vm.addNode}})],1)]),_c('div',{ref:"form_main1",staticClass:"g1-form_main1",attrs:{"id":"form_main1"}},[_c('div',{staticClass:"head"},[_c('a-button',{attrs:{"type":"primary","size":"small","icon":"search"},on:{"click":_vm.dataInfo}},[_vm._v("查看")]),_c('a-button',{attrs:{"type":"primary","size":"small","icon":"fund"},on:{"click":function($event){$event.stopPropagation();return _vm.isPanelShow('flowPanel')}}},[_vm._v("设置流程信息 ")]),_c('a-button',{attrs:{"type":"primary","size":"small","icon":"align-left"},on:{"click":function($event){$event.stopPropagation();return _vm.isPanelShow('dataConditionPanel')}}},[_vm._v("查看流程条件 ")]),(!_vm.isFlowPanelMain)?_c('a-button',{attrs:{"type":"primary","size":"small","icon":"save"},on:{"click":_vm.saveData}},[_vm._v("保存")]):_vm._e()],1),_c('div',{ref:"main",staticClass:"main",attrs:{"id":"main"},on:{"click":_vm.closeAddBtn}},[_c('div',{ref:"flowContainer",staticClass:"container",attrs:{"id":"flowContainer"}},[_vm._l((_vm.data.nodeList),function(node){return [_c('flow-node',{directives:[{name:"show",rawName:"v-show",value:(node.show),expression:"node.show"}],key:node.id,ref:"flowNode",refInFor:true,attrs:{"id":node.id,"node":node,"nodeList":_vm.data.nodeList},on:{"clickNode":_vm.clickNode,"lineChange":_vm.lineChange,"deleteNode":_vm.deleteNode,"nodeRightMenu":_vm.nodeRightMenu,"changeNodeSite":_vm.changeNodeSite,"editNode":_vm.editNode,"addNodeClick":_vm.addNodeClick}})]})],2),(_vm.isSavePicLoadingShow)?_c('div',{staticClass:"loading"},[_c('a-spin',{attrs:{"size":"large"}})],1):_vm._e()]),_c('sider-panel',{directives:[{name:"show",rawName:"v-show",value:(_vm.siderPanelVisible),expression:"siderPanelVisible"}],ref:"siderPanel",on:{"isPanelShow":_vm.isPanelShow}}),(_vm.linePanelVisible)?_c('line-panel',{ref:"linePanel",attrs:{"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData},on:{"isPanelShow":_vm.isPanelShow,"setLineData":_vm.setLineData}}):_vm._e(),_c('dataConditionPanel',{directives:[{name:"show",rawName:"v-show",value:(_vm.dataConditionPanelVisible),expression:"dataConditionPanelVisible"}],ref:"dataConditionPanel",attrs:{"formId":_vm.data.nodeForm.formId,"formDesigerData":_vm.formDesigerData},on:{"isPanelShow":_vm.isPanelShow}}),_c('flow-panel',{directives:[{name:"show",rawName:"v-show",value:(_vm.flowPanelVisible),expression:"flowPanelVisible"}],ref:"flowPanel",staticStyle:{"z-index":"10"},attrs:{"data":_vm.data,"id":_vm.id},on:{"isPanelShow":_vm.isPanelShow}})],1),(_vm.flowInfoVisible)?_c('flow-info',{ref:"flowInfo"}):_vm._e(),(_vm.lineToolVisible)?_c('ul',{ref:"lineTool",staticClass:"lineTool",on:{"mouseleave":_vm.lineToolFn}},[_c('li',{on:{"click":function($event){return _vm.setLineStyle('Flowchart')}}},[_c('svg-icon',{attrs:{"iconName":"icon-yibiaopan"}})],1),_c('li',{on:{"click":function($event){return _vm.setLineStyle('Bezier')}}},[_c('svg-icon',{attrs:{"iconName":"icon-ant-bezier-quadro"}})],1),_c('li',{on:{"click":function($event){return _vm.setLineStyle('Straight')}}},[_c('svg-icon',{attrs:{"iconName":"icon-line"}})],1),_c('li',{on:{"click":_vm.deleteLineView}},[_c('svg-icon',{attrs:{"iconName":"icon-jurassic_line"}})],1)]):_vm._e()],1):_vm._e()}
159519
159519
  var staticRenderFns = []
159520
159520
 
@@ -165997,7 +165997,10 @@ var data_condition_panel_component = (0,componentNormalizer/* default */.Z)(
165997
165997
  cancelText: "取消",
165998
165998
  onOk() {
165999
165999
  //删除网关中流向的数据
166000
-
166000
+ if (_this.linePanelVisible) _this.linePanelVisible = false;
166001
+ if (_this.dataConditionPanelVisible) _this.dataConditionPanelVisible = false;
166002
+ if (_this.siderPanelVisible) _this.siderPanelVisible = false;
166003
+ if (_this.flowPanelVisible) _this.flowPanelVisible = false;
166001
166004
  _this.data.nodeList.filter((item, index) => {
166002
166005
  if (item.info.type == "gate") {
166003
166006
  item.info.conditions = item.info.conditions.filter(function (node) {
@@ -166168,7 +166171,7 @@ var data_condition_panel_component = (0,componentNormalizer/* default */.Z)(
166168
166171
  scriptManageId: node.info.scriptManageId
166169
166172
  });
166170
166173
  });
166171
- this.isPanelShow('linePanel');
166174
+ // this.isPanelShow('linePanel')
166172
166175
  FlowWorkAdd(this.data).then(res => {
166173
166176
  if (res.code == 200) {
166174
166177
  this.$message.success("流程保存成功!");
@@ -166253,15 +166256,15 @@ var data_condition_panel_component = (0,componentNormalizer/* default */.Z)(
166253
166256
  });
166254
166257
  ;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=script&lang=js&
166255
166258
  /* harmony default export */ const src_flow_panelvue_type_script_lang_js_ = (panelvue_type_script_lang_js_);
166256
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=0&id=3a5b3633&prod&lang=less&scoped=true&
166259
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=0&id=73af699e&prod&lang=less&scoped=true&
166257
166260
  // extracted by mini-css-extract-plugin
166258
166261
 
166259
- ;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=0&id=3a5b3633&prod&lang=less&scoped=true&
166262
+ ;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=0&id=73af699e&prod&lang=less&scoped=true&
166260
166263
 
166261
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=1&id=3a5b3633&prod&lang=less&scoped=true&
166264
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/flow/panel.vue?vue&type=style&index=1&id=73af699e&prod&lang=less&scoped=true&
166262
166265
  // extracted by mini-css-extract-plugin
166263
166266
 
166264
- ;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=1&id=3a5b3633&prod&lang=less&scoped=true&
166267
+ ;// CONCATENATED MODULE: ./src/flow/panel.vue?vue&type=style&index=1&id=73af699e&prod&lang=less&scoped=true&
166265
166268
 
166266
166269
  ;// CONCATENATED MODULE: ./src/flow/panel.vue
166267
166270
 
@@ -166279,7 +166282,7 @@ var panel_component = (0,componentNormalizer/* default */.Z)(
166279
166282
  staticRenderFns,
166280
166283
  false,
166281
166284
  null,
166282
- "3a5b3633",
166285
+ "73af699e",
166283
166286
  null
166284
166287
 
166285
166288
  )
@@ -166372,9 +166375,9 @@ var SvgIcon_component = (0,componentNormalizer/* default */.Z)(
166372
166375
  var layoutForPaper = __webpack_require__(2870);
166373
166376
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
166374
166377
  var layoutItem = __webpack_require__(8988);
166375
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=04cf2f1a&
166376
- var Containervue_type_template_id_04cf2f1a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"widgetListChange":_vm.getWidgetFormList,"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","isDesign":true,"data":_vm.previewWidgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
166377
- var Containervue_type_template_id_04cf2f1a_staticRenderFns = []
166378
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=fc885e76&
166379
+ var Containervue_type_template_id_fc885e76_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"widgetListChange":_vm.getWidgetFormList,"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","isDesign":true,"data":_vm.previewWidgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
166380
+ var Containervue_type_template_id_fc885e76_staticRenderFns = []
166378
166381
 
166379
166382
 
166380
166383
  // EXTERNAL MODULE: ./node_modules/_core-js@3.30.2@core-js/modules/web.dom-exception.stack.js
@@ -171370,6 +171373,7 @@ var clipboard_default = /*#__PURE__*/__webpack_require__.n(clipboard);
171370
171373
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=script&lang=js&
171371
171374
 
171372
171375
 
171376
+
171373
171377
  //
171374
171378
  //
171375
171379
  //
@@ -171845,6 +171849,16 @@ __webpack_require__(9922);
171845
171849
  (0,onLineForm/* addOrEditData */.mf)(params).then(res => {
171846
171850
  if (res.code == 200) {
171847
171851
  this.$message.success("保存成功!");
171852
+ if (this.$route.query.hasOwnProperty('version')) {
171853
+ if (typeof this.$route.query.version == "string") {
171854
+ this.$router.push({
171855
+ query: {
171856
+ ...this.$route.query,
171857
+ version: res.result + ""
171858
+ }
171859
+ });
171860
+ }
171861
+ }
171848
171862
  } else {
171849
171863
  if (res.code == -1) {
171850
171864
  this.$message.error(res.message);
@@ -171881,10 +171895,10 @@ __webpack_require__(9922);
171881
171895
  });
171882
171896
  ;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=script&lang=js&
171883
171897
  /* harmony default export */ const modules_Containervue_type_script_lang_js_ = (Containervue_type_script_lang_js_);
171884
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=style&index=0&id=04cf2f1a&prod&lang=less&
171898
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=style&index=0&id=fc885e76&prod&lang=less&
171885
171899
  // extracted by mini-css-extract-plugin
171886
171900
 
171887
- ;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=04cf2f1a&prod&lang=less&
171901
+ ;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=fc885e76&prod&lang=less&
171888
171902
 
171889
171903
  ;// CONCATENATED MODULE: ./src/form/modules/Container.vue
171890
171904
 
@@ -171897,8 +171911,8 @@ __webpack_require__(9922);
171897
171911
 
171898
171912
  var Container_component = (0,componentNormalizer/* default */.Z)(
171899
171913
  modules_Containervue_type_script_lang_js_,
171900
- Containervue_type_template_id_04cf2f1a_render,
171901
- Containervue_type_template_id_04cf2f1a_staticRenderFns,
171914
+ Containervue_type_template_id_fc885e76_render,
171915
+ Containervue_type_template_id_fc885e76_staticRenderFns,
171902
171916
  false,
171903
171917
  null,
171904
171918
  null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.348",
3
+ "version": "1.1.350",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",