eoss-ui 0.5.29 → 0.5.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/lib/button-group.js +20 -3
  2. package/lib/button.js +20 -3
  3. package/lib/cascader.js +18 -15
  4. package/lib/checkbox-group.js +39 -11
  5. package/lib/data-table-form.js +20 -3
  6. package/lib/data-table.js +34 -16
  7. package/lib/date-picker.js +20 -3
  8. package/lib/dialog.js +20 -3
  9. package/lib/eoss-ui.common.js +1810 -1809
  10. package/lib/flow-group.js +22 -5
  11. package/lib/flow-list.js +20 -3
  12. package/lib/flow.js +20 -3
  13. package/lib/form.js +50 -14
  14. package/lib/handle-user.js +20 -3
  15. package/lib/handler.js +20 -3
  16. package/lib/index.js +1 -1
  17. package/lib/input-number.js +20 -3
  18. package/lib/input.js +36 -10
  19. package/lib/login.js +45 -126
  20. package/lib/main.js +29 -12
  21. package/lib/nav.js +20 -3
  22. package/lib/page.js +20 -3
  23. package/lib/player.js +20 -3
  24. package/lib/qr-code.js +20 -3
  25. package/lib/radio-group.js +23 -6
  26. package/lib/retrial-auth.js +20 -3
  27. package/lib/select-ganged.js +20 -3
  28. package/lib/select.js +20 -3
  29. package/lib/selector-panel.js +20 -3
  30. package/lib/selector.js +23 -6
  31. package/lib/sizer.js +20 -3
  32. package/lib/steps.js +20 -3
  33. package/lib/switch.js +20 -3
  34. package/lib/table-form.js +20 -3
  35. package/lib/tabs.js +1626 -1570
  36. package/lib/tips.js +20 -3
  37. package/lib/tree-group.js +20 -3
  38. package/lib/tree.js +20 -3
  39. package/lib/upload.js +20 -3
  40. package/lib/utils/util.js +20 -3
  41. package/lib/wujie.js +20 -3
  42. package/lib/wxlogin.js +20 -3
  43. package/package.json +2 -2
  44. package/packages/cascader/src/main.vue +24 -19
  45. package/packages/checkbox-group/src/main.vue +14 -9
  46. package/packages/data-table/src/column.vue +9 -7
  47. package/packages/flow-group/src/main.vue +1 -1
  48. package/packages/form/src/main.vue +8 -1
  49. package/packages/input/src/main.vue +20 -16
  50. package/packages/login/src/main.vue +8 -3
  51. package/packages/login/src/resetPassword.vue +11 -114
  52. package/packages/main/src/userinfo.vue +5 -2
  53. package/packages/radio-group/src/main.vue +1 -1
  54. package/packages/selector/src/main.vue +1 -1
  55. package/packages/tabs/src/main.vue +563 -542
  56. package/src/index.js +1 -1
  57. package/src/utils/util.js +23 -3
package/lib/tabs.js CHANGED
@@ -240,16 +240,21 @@ var ajax = function ajax(_ref) {
240
240
  delPendingRequest(response.config);
241
241
  loading && loading.close();
242
242
  if (response.headers.authorization && response.headers.authorization !== getStorage('token')) {
243
- if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('ssId') || localStorage.getItem('token') || localStorage.getItem('Authorization')) {
244
- localStorage.setItem('ssId', response.headers.ssid);
243
+ if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('token') || localStorage.getItem('Authorization')) {
245
244
  localStorage.setItem('token', response.headers.authorization);
246
245
  localStorage.setItem('Authorization', response.headers.authorization);
247
246
  } else {
248
- sessionStorage.setItem('ssId', response.headers.ssid);
249
247
  sessionStorage.setItem('token', response.headers.authorization);
250
248
  sessionStorage.setItem('Authorization', response.headers.authorization);
251
249
  }
252
250
  }
251
+ if ((response.headers.ssId || response.headers.Ssid || response.headers.ssid) && (response.headers.ssId || response.headers.SsId || response.headers.ssid) !== getStorage('ssId')) {
252
+ if (localStorage.getItem('storage') === 'localStorage' || localStorage.getItem('ssId')) {
253
+ localStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
254
+ } else {
255
+ sessionStorage.setItem('ssId', response.headers.ssId || response.headers.SsId || response.headers.ssid);
256
+ }
257
+ }
253
258
  if (response.status === 200) {
254
259
  if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
255
260
  removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
@@ -1910,6 +1915,17 @@ var indexOfObj = function indexOfObj(arry, target, key) {
1910
1915
  return -1;
1911
1916
  };
1912
1917
 
1918
+ /**
1919
+ * isExist
1920
+ * @desc:判断是否存在
1921
+ * @author huangbo
1922
+ * @date 2022年5月7日
1923
+ * @param {Object} [obj] -
1924
+ **/
1925
+ var isExist = function isExist(obj) {
1926
+ return obj !== undefined && obj !== null && obj === '';
1927
+ };
1928
+
1913
1929
  /**
1914
1930
  * isFunction
1915
1931
  * @desc:判断是否是函数
@@ -2934,6 +2950,7 @@ var watermark = function watermark(option) {
2934
2950
  hsvTorgb: hsvTorgb,
2935
2951
  identical: identical,
2936
2952
  indexOfObj: indexOfObj,
2953
+ isExist: isExist,
2937
2954
  isFunction: isFunction,
2938
2955
  isLogged: isLogged,
2939
2956
  isLogined: isLogined,
@@ -3462,7 +3479,7 @@ module.exports = require("json-bigint");
3462
3479
  // ESM COMPAT FLAG
3463
3480
  __webpack_require__.r(__webpack_exports__);
3464
3481
 
3465
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=6c10896a&
3482
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tabs/src/main.vue?vue&type=template&id=f3f60fca&
3466
3483
  var render = function () {
3467
3484
  var _vm = this
3468
3485
  var _h = _vm.$createElement
@@ -3492,1682 +3509,1700 @@ var render = function () {
3492
3509
  _vm.$listeners
3493
3510
  ),
3494
3511
  [
3495
- _vm._t("default"),
3496
- _vm._l(_vm.tabs, function (items, indexs) {
3497
- return [
3498
- !items.hide
3499
- ? _c(
3500
- "el-tab-pane",
3501
- {
3502
- key: indexs,
3503
- attrs: {
3504
- label: items.label,
3505
- immediate: items.immediate,
3506
- name: items.name || String(indexs),
3507
- },
3508
- scopedSlots: _vm._u([
3509
- {
3510
- key: "default",
3511
- fn: function (ref) {
3512
- var loaded = ref.loaded
3513
- return [
3514
- _c(
3515
- "es-tabs-panel",
3516
- _vm._b(
3517
- {
3518
- attrs: { show: loaded },
3519
- scopedSlots: _vm._u([
3520
- {
3521
- key: "default",
3522
- fn: function (ref) {
3523
- var contents = ref.contents
3524
- var average = ref.average
3525
- var data = ref.data
3526
- var title = ref.title
3527
- var show = ref.show
3528
- var isShow = ref.isShow
3529
- return [
3530
- Array.isArray(contents)
3531
- ? [
3532
- _vm._l(
3533
- contents,
3534
- function (item, index) {
3535
- return [
3536
- average
3537
- ? _c(
3538
- "div",
3539
- {
3540
- key: index,
3541
- staticClass:
3542
- "es-tab-pane-list",
3543
- },
3544
- [
3545
- _c(
3546
- "div",
3547
- {
3548
- staticClass:
3549
- "es-tab-pane-main",
3550
- },
3551
- [
3552
- item.htmlType
3553
- ? [
3554
- item.htmlType ===
3555
- "h1"
3556
- ? [
3557
- item.html
3558
- ? _c(
3559
- "h1",
3560
- {
3561
- style:
3562
- item.style,
3563
- domProps:
3564
- {
3565
- innerHTML:
3566
- _vm._s(
3567
- item.html
3568
- ),
3569
- },
3570
- }
3571
- )
3572
- : _c(
3573
- "h1",
3574
- {
3575
- style:
3576
- item.style,
3577
- },
3578
- [
3579
- _vm._v(
3580
- "\n " +
3581
- _vm._s(
3582
- item.text
3583
- ) +
3584
- "\n "
3585
- ),
3586
- ]
3587
- ),
3588
- ]
3589
- : _vm._e(),
3590
- item.htmlType ===
3591
- "h2"
3592
- ? [
3593
- item.html
3594
- ? _c(
3595
- "h2",
3596
- {
3597
- style:
3598
- item.style,
3599
- domProps:
3600
- {
3601
- innerHTML:
3512
+ _vm._t("default", [
3513
+ _vm._l(_vm.tabs, function (items, indexs) {
3514
+ return [
3515
+ !items.hide
3516
+ ? _c(
3517
+ "el-tab-pane",
3518
+ {
3519
+ key: indexs,
3520
+ attrs: {
3521
+ label: items.label,
3522
+ immediate: items.immediate,
3523
+ name: items.name || String(indexs),
3524
+ },
3525
+ scopedSlots: _vm._u([
3526
+ {
3527
+ key: "default",
3528
+ fn: function (ref) {
3529
+ var loaded = ref.loaded
3530
+ return [
3531
+ _c(
3532
+ "es-tabs-panel",
3533
+ _vm._b(
3534
+ {
3535
+ attrs: { show: loaded },
3536
+ scopedSlots: _vm._u([
3537
+ {
3538
+ key: "default",
3539
+ fn: function (ref) {
3540
+ var contents = ref.contents
3541
+ var average = ref.average
3542
+ var data = ref.data
3543
+ var title = ref.title
3544
+ var show = ref.show
3545
+ var isShow = ref.isShow
3546
+ return [
3547
+ Array.isArray(contents)
3548
+ ? [
3549
+ _vm._l(
3550
+ contents,
3551
+ function (item, index) {
3552
+ return [
3553
+ average
3554
+ ? _c(
3555
+ "div",
3556
+ {
3557
+ key: index,
3558
+ staticClass:
3559
+ "es-tab-pane-list",
3560
+ },
3561
+ [
3562
+ _c(
3563
+ "div",
3564
+ {
3565
+ staticClass:
3566
+ "es-tab-pane-main",
3567
+ },
3568
+ [
3569
+ item.htmlType
3570
+ ? [
3571
+ item.htmlType ===
3572
+ "h1"
3573
+ ? [
3574
+ item.html
3575
+ ? _c(
3576
+ "h1",
3577
+ {
3578
+ style:
3579
+ item.style,
3580
+ domProps:
3581
+ {
3582
+ innerHTML:
3583
+ _vm._s(
3584
+ item.html
3585
+ ),
3586
+ },
3587
+ }
3588
+ )
3589
+ : _c(
3590
+ "h1",
3591
+ {
3592
+ style:
3593
+ item.style,
3594
+ },
3595
+ [
3596
+ _vm._v(
3597
+ "\n " +
3602
3598
  _vm._s(
3603
- item.html
3604
- ),
3605
- },
3606
- }
3607
- )
3608
- : _c(
3609
- "h2",
3610
- {
3611
- style:
3612
- item.style,
3613
- },
3614
- [
3615
- _vm._v(
3616
- "\n " +
3617
- _vm._s(
3618
- item.text
3619
- ) +
3620
- "\n "
3621
- ),
3622
- ]
3623
- ),
3624
- ]
3625
- : _vm._e(),
3626
- item.htmlType ===
3627
- "ul"
3628
- ? _c(
3629
- "ul",
3630
- {
3631
- style:
3632
- item.style,
3633
- },
3634
- [
3635
- _vm._l(
3636
- data,
3637
- function (
3638
- liItem,
3639
- liIndex
3640
- ) {
3641
- return [
3642
- _vm
3643
- .liitems
3644
- .html
3645
- ? _c(
3646
- "li",
3647
- {
3648
- key: liIndex,
3649
- domProps:
3650
- {
3651
- innerHTML:
3652
- _vm._s(
3653
- _vm
3654
- .liitems
3655
- .html
3656
- ),
3657
- },
3658
- }
3659
- )
3660
- : _c(
3661
- "li",
3662
- {
3663
- key: liIndex,
3664
- },
3665
- [
3666
- _vm._v(
3667
- "\n " +
3668
- _vm._s(
3669
- liItem
3670
- ) +
3671
- "\n "
3599
+ item.text
3600
+ ) +
3601
+ "\n "
3602
+ ),
3603
+ ]
3604
+ ),
3605
+ ]
3606
+ : _vm._e(),
3607
+ item.htmlType ===
3608
+ "h2"
3609
+ ? [
3610
+ item.html
3611
+ ? _c(
3612
+ "h2",
3613
+ {
3614
+ style:
3615
+ item.style,
3616
+ domProps:
3617
+ {
3618
+ innerHTML:
3619
+ _vm._s(
3620
+ item.html
3672
3621
  ),
3673
- ]
3674
- ),
3675
- ]
3676
- }
3677
- ),
3678
- ],
3679
- 2
3680
- )
3681
- : _vm._e(),
3682
- item.htmlType ===
3683
- "image" ||
3684
- item.htmlType ===
3685
- "img"
3686
- ? _c(
3687
- "img",
3688
- {
3689
- style:
3690
- item.style,
3691
- attrs:
3692
- {
3693
- src: item.url,
3694
- },
3695
- }
3696
- )
3697
- : _vm._e(),
3698
- item.htmlType ===
3699
- "p"
3700
- ? [
3701
- item.html
3702
- ? _c(
3703
- "p",
3704
- {
3705
- style:
3706
- item.style,
3707
- domProps:
3708
- {
3709
- innerHTML:
3622
+ },
3623
+ }
3624
+ )
3625
+ : _c(
3626
+ "h2",
3627
+ {
3628
+ style:
3629
+ item.style,
3630
+ },
3631
+ [
3632
+ _vm._v(
3633
+ "\n " +
3710
3634
  _vm._s(
3711
- item.html
3635
+ item.text
3636
+ ) +
3637
+ "\n "
3638
+ ),
3639
+ ]
3640
+ ),
3641
+ ]
3642
+ : _vm._e(),
3643
+ item.htmlType ===
3644
+ "ul"
3645
+ ? _c(
3646
+ "ul",
3647
+ {
3648
+ style:
3649
+ item.style,
3650
+ },
3651
+ [
3652
+ _vm._l(
3653
+ data,
3654
+ function (
3655
+ liItem,
3656
+ liIndex
3657
+ ) {
3658
+ return [
3659
+ _vm
3660
+ .liitems
3661
+ .html
3662
+ ? _c(
3663
+ "li",
3664
+ {
3665
+ key: liIndex,
3666
+ domProps:
3667
+ {
3668
+ innerHTML:
3669
+ _vm._s(
3670
+ _vm
3671
+ .liitems
3672
+ .html
3673
+ ),
3674
+ },
3675
+ }
3676
+ )
3677
+ : _c(
3678
+ "li",
3679
+ {
3680
+ key: liIndex,
3681
+ },
3682
+ [
3683
+ _vm._v(
3684
+ "\n " +
3685
+ _vm._s(
3686
+ liItem
3687
+ ) +
3688
+ "\n "
3689
+ ),
3690
+ ]
3712
3691
  ),
3713
- },
3692
+ ]
3714
3693
  }
3715
- )
3716
- : _c(
3717
- "p",
3718
- {
3719
- style:
3720
- item.style,
3721
- },
3722
- [
3723
- _vm._v(
3724
- "\n " +
3725
- _vm._s(
3726
- item.text
3727
- ) +
3728
- "\n "
3729
- ),
3730
- ]
3731
3694
  ),
3732
- ]
3733
- : _vm._e(),
3734
- item.htmlType ===
3735
- "div"
3736
- ? [
3737
- item.html
3738
- ? _c(
3739
- "div",
3740
- {
3741
- style:
3742
- item.style,
3743
- domProps:
3744
- {
3745
- innerHTML:
3746
- _vm._s(
3747
- item.html
3748
- ),
3749
- },
3750
- }
3751
- )
3752
- : _c(
3753
- "div",
3695
+ ],
3696
+ 2
3697
+ )
3698
+ : _vm._e(),
3699
+ item.htmlType ===
3700
+ "image" ||
3701
+ item.htmlType ===
3702
+ "img"
3703
+ ? _c(
3704
+ "img",
3705
+ {
3706
+ style:
3707
+ item.style,
3708
+ attrs:
3754
3709
  {
3755
- style:
3756
- item.style,
3710
+ src: item.url,
3757
3711
  },
3758
- [
3759
- _vm._v(
3760
- "\n " +
3761
- _vm._s(
3762
- item.text
3763
- ) +
3764
- "\n "
3765
- ),
3766
- ]
3767
- ),
3768
- ]
3769
- : _vm._e(),
3770
- ]
3771
- : [
3772
- item.type ===
3773
- "data-table" ||
3774
- item.type ===
3775
- "dataTable" ||
3776
- item.type ===
3777
- "flow-list" ||
3778
- item.type ===
3779
- "flowList"
3780
- ? _c(
3781
- "es-data-table",
3782
- _vm._g(
3783
- _vm._b(
3784
- {
3785
- class:
3712
+ }
3713
+ )
3714
+ : _vm._e(),
3715
+ item.htmlType ===
3716
+ "p"
3717
+ ? [
3718
+ item.html
3719
+ ? _c(
3720
+ "p",
3721
+ {
3722
+ style:
3723
+ item.style,
3724
+ domProps:
3725
+ {
3726
+ innerHTML:
3727
+ _vm._s(
3728
+ item.html
3729
+ ),
3730
+ },
3731
+ }
3732
+ )
3733
+ : _c(
3734
+ "p",
3786
3735
  {
3787
- "es-flow-group-data-table":
3788
- item.type ===
3789
- "data-table" ||
3790
- item.type ===
3791
- "dataTable",
3792
- "es-flow-list":
3793
- item.type ===
3794
- "flow-list" ||
3795
- item.type ===
3796
- "flowList",
3736
+ style:
3737
+ item.style,
3797
3738
  },
3798
- attrs:
3739
+ [
3740
+ _vm._v(
3741
+ "\n " +
3742
+ _vm._s(
3743
+ item.text
3744
+ ) +
3745
+ "\n "
3746
+ ),
3747
+ ]
3748
+ ),
3749
+ ]
3750
+ : _vm._e(),
3751
+ item.htmlType ===
3752
+ "div"
3753
+ ? [
3754
+ item.html
3755
+ ? _c(
3756
+ "div",
3757
+ {
3758
+ style:
3759
+ item.style,
3760
+ domProps:
3761
+ {
3762
+ innerHTML:
3763
+ _vm._s(
3764
+ item.html
3765
+ ),
3766
+ },
3767
+ }
3768
+ )
3769
+ : _c(
3770
+ "div",
3799
3771
  {
3800
- display:
3801
- show,
3772
+ style:
3773
+ item.style,
3802
3774
  },
3803
- },
3804
- "es-data-table",
3805
- _vm.handleExclAttribute(
3775
+ [
3776
+ _vm._v(
3777
+ "\n " +
3778
+ _vm._s(
3779
+ item.text
3780
+ ) +
3781
+ "\n "
3782
+ ),
3783
+ ]
3784
+ ),
3785
+ ]
3786
+ : _vm._e(),
3787
+ ]
3788
+ : [
3789
+ item.type ===
3790
+ "data-table" ||
3791
+ item.type ===
3792
+ "dataTable" ||
3793
+ item.type ===
3794
+ "flow-list" ||
3795
+ item.type ===
3796
+ "flowList"
3797
+ ? _c(
3798
+ "es-data-table",
3799
+ _vm._g(
3800
+ _vm._b(
3806
3801
  {
3807
- data: item,
3802
+ class:
3803
+ {
3804
+ "es-flow-group-data-table":
3805
+ item.type ===
3806
+ "data-table" ||
3807
+ item.type ===
3808
+ "dataTable",
3809
+ "es-flow-list":
3810
+ item.type ===
3811
+ "flow-list" ||
3812
+ item.type ===
3813
+ "flowList",
3814
+ },
3808
3815
  attrs:
3809
- [
3810
- "events",
3811
- "visible",
3812
- "type",
3813
- ],
3814
- }
3816
+ {
3817
+ display:
3818
+ show,
3819
+ },
3820
+ },
3821
+ "es-data-table",
3822
+ _vm.handleExclAttribute(
3823
+ {
3824
+ data: item,
3825
+ attrs:
3826
+ [
3827
+ "events",
3828
+ "visible",
3829
+ "type",
3830
+ ],
3831
+ }
3832
+ ),
3833
+ false
3815
3834
  ),
3816
- false
3835
+ item.events
3817
3836
  ),
3818
- item.events
3819
- ),
3820
- [
3821
- item.dialog
3822
- ? _c(
3823
- "template",
3824
- {
3825
- slot: "dialog",
3826
- },
3827
- [
3828
- Array.isArray(
3829
- item.dialog
3830
- )
3831
- ? _vm._l(
3832
- item.dialog,
3833
- function (
3834
- ele,
3835
- ids
3836
- ) {
3837
- return _c(
3838
- "es-dialog",
3839
- _vm._g(
3840
- _vm._b(
3841
- {
3842
- key: ids,
3843
- attrs:
3844
- {
3845
- isReload: true,
3846
- visible:
3847
- ele.visible,
3848
- },
3849
- on: {
3850
- "update:visible":
3851
- function (
3852
- $event
3853
- ) {
3854
- _vm.$set(
3855
- ele,
3856
- "visible",
3857
- $event
3858
- )
3859
- },
3860
- },
3861
- },
3862
- "es-dialog",
3863
- _vm.handleExclAttribute(
3837
+ [
3838
+ item.dialog
3839
+ ? _c(
3840
+ "template",
3841
+ {
3842
+ slot: "dialog",
3843
+ },
3844
+ [
3845
+ Array.isArray(
3846
+ item.dialog
3847
+ )
3848
+ ? _vm._l(
3849
+ item.dialog,
3850
+ function (
3851
+ ele,
3852
+ ids
3853
+ ) {
3854
+ return _c(
3855
+ "es-dialog",
3856
+ _vm._g(
3857
+ _vm._b(
3864
3858
  {
3865
- data: ele,
3859
+ key: ids,
3866
3860
  attrs:
3867
- [
3868
- "visible",
3869
- ],
3870
- }
3861
+ {
3862
+ isReload: true,
3863
+ visible:
3864
+ ele.visible,
3865
+ },
3866
+ on: {
3867
+ "update:visible":
3868
+ function (
3869
+ $event
3870
+ ) {
3871
+ _vm.$set(
3872
+ ele,
3873
+ "visible",
3874
+ $event
3875
+ )
3876
+ },
3877
+ },
3878
+ },
3879
+ "es-dialog",
3880
+ _vm.handleExclAttribute(
3881
+ {
3882
+ data: ele,
3883
+ attrs:
3884
+ [
3885
+ "visible",
3886
+ ],
3887
+ }
3888
+ ),
3889
+ false
3871
3890
  ),
3872
- false
3873
- ),
3874
- Object.assign(
3875
- {},
3876
- ele.events
3891
+ Object.assign(
3892
+ {},
3893
+ ele.events
3894
+ )
3877
3895
  )
3878
3896
  )
3879
- )
3880
- }
3881
- )
3882
- : _c(
3883
- "es-dialog",
3884
- _vm._g(
3885
- _vm._b(
3886
- {
3887
- attrs:
3888
- {
3889
- isReload: true,
3890
- visible:
3891
- item
3892
- .dialog
3893
- .visible,
3894
- },
3895
- on: {
3896
- "update:visible":
3897
- function (
3898
- $event
3899
- ) {
3900
- _vm.$set(
3901
- item.dialog,
3902
- "visible",
3903
- $event
3904
- )
3905
- },
3906
- },
3907
- },
3908
- "es-dialog",
3909
- _vm.handleExclAttribute(
3897
+ }
3898
+ )
3899
+ : _c(
3900
+ "es-dialog",
3901
+ _vm._g(
3902
+ _vm._b(
3910
3903
  {
3911
- data: item.dialog,
3912
3904
  attrs:
3913
- [
3914
- "visible",
3915
- ],
3916
- }
3917
- ),
3918
- false
3919
- ),
3920
- Object.assign(
3921
- {},
3922
- item
3923
- .dialog
3924
- .events
3905
+ {
3906
+ isReload: true,
3907
+ visible:
3908
+ item
3909
+ .dialog
3910
+ .visible,
3911
+ },
3912
+ on: {
3913
+ "update:visible":
3914
+ function (
3915
+ $event
3916
+ ) {
3917
+ _vm.$set(
3918
+ item.dialog,
3919
+ "visible",
3920
+ $event
3921
+ )
3922
+ },
3923
+ },
3924
+ },
3925
+ "es-dialog",
3926
+ _vm.handleExclAttribute(
3927
+ {
3928
+ data: item.dialog,
3929
+ attrs:
3930
+ [
3931
+ "visible",
3932
+ ],
3933
+ }
3934
+ ),
3935
+ false
3936
+ ),
3937
+ Object.assign(
3938
+ {},
3939
+ item
3940
+ .dialog
3941
+ .events
3942
+ )
3925
3943
  )
3926
- )
3927
- ),
3928
- ],
3929
- 2
3930
- )
3931
- : _vm._e(),
3932
- ],
3933
- 2
3934
- )
3935
- : _vm._e(),
3936
- item.type ===
3937
- "tree-group" ||
3938
- item.type ===
3939
- "treeGroup"
3940
- ? _c(
3941
- "es-tree-group",
3942
- _vm._g(
3943
- _vm._b(
3944
- {
3945
- attrs:
3946
- {
3947
- display:
3948
- show,
3949
- },
3950
- },
3951
- "es-tree-group",
3952
- _vm.handleExclAttribute(
3953
- {
3954
- data: item,
3955
- attrs:
3956
- [
3957
- "events",
3958
- "visible",
3959
- "type",
3944
+ ),
3960
3945
  ],
3961
- }
3962
- ),
3963
- false
3964
- ),
3965
- Object.assign(
3966
- {},
3967
- item.events
3968
- )
3946
+ 2
3947
+ )
3948
+ : _vm._e(),
3949
+ ],
3950
+ 2
3969
3951
  )
3970
- )
3971
- : _vm._e(),
3972
- item.type ===
3973
- "iframe" &&
3974
- !item.blank
3975
- ? _c(
3976
- "iframe",
3977
- {
3978
- attrs:
3979
- {
3980
- id:
3981
- item.id ||
3982
- item.name,
3983
- name: item.name,
3984
- frameborder:
3985
- "0",
3986
- width:
3987
- "100%",
3988
- height:
3989
- "100%",
3990
- src: _vm.handleUrlJoinParams(
3952
+ : _vm._e(),
3953
+ item.type ===
3954
+ "tree-group" ||
3955
+ item.type ===
3956
+ "treeGroup"
3957
+ ? _c(
3958
+ "es-tree-group",
3959
+ _vm._g(
3960
+ _vm._b(
3961
+ {
3962
+ attrs:
3963
+ {
3964
+ display:
3965
+ show,
3966
+ },
3967
+ },
3968
+ "es-tree-group",
3969
+ _vm.handleExclAttribute(
3991
3970
  {
3992
- url: item.url,
3993
- param:
3994
- item.param ||
3995
- {},
3971
+ data: item,
3972
+ attrs:
3973
+ [
3974
+ "events",
3975
+ "visible",
3976
+ "type",
3977
+ ],
3996
3978
  }
3997
3979
  ),
3998
- },
3999
- }
4000
- )
4001
- : _vm._e(),
4002
- item.type ===
4003
- "attachment"
4004
- ? _c(
4005
- "es-upload",
4006
- _vm._g(
4007
- _vm._b(
4008
- {
4009
- staticClass:
4010
- "es-attachment",
4011
- attrs:
4012
- {
4013
- "file-count":
4014
- title.count,
4015
- height:
4016
- "auto",
4017
- display:
4018
- show,
4019
- },
4020
- on: {
4021
- "update:fileCount":
4022
- function (
4023
- $event
4024
- ) {
4025
- _vm.$set(
4026
- title,
4027
- "count",
4028
- $event
4029
- )
4030
- },
3980
+ false
3981
+ ),
3982
+ Object.assign(
3983
+ {},
3984
+ item.events
3985
+ )
3986
+ )
3987
+ )
3988
+ : _vm._e(),
3989
+ item.type ===
3990
+ "iframe" &&
3991
+ !item.blank
3992
+ ? _c(
3993
+ "iframe",
3994
+ {
3995
+ attrs:
3996
+ {
3997
+ id:
3998
+ item.id ||
3999
+ item.name,
4000
+ name: item.name,
4001
+ frameborder:
4002
+ "0",
4003
+ width:
4004
+ "100%",
4005
+ height:
4006
+ "100%",
4007
+ src: _vm.handleUrlJoinParams(
4008
+ {
4009
+ url: item.url,
4010
+ param:
4011
+ item.param ||
4012
+ {},
4013
+ }
4014
+ ),
4031
4015
  },
4032
- },
4033
- "es-upload",
4034
- _vm.handleExclAttribute(
4016
+ }
4017
+ )
4018
+ : _vm._e(),
4019
+ item.type ===
4020
+ "attachment"
4021
+ ? _c(
4022
+ "es-upload",
4023
+ _vm._g(
4024
+ _vm._b(
4035
4025
  {
4036
- data: item,
4026
+ staticClass:
4027
+ "es-attachment",
4037
4028
  attrs:
4038
- [
4039
- "events",
4040
- "type",
4041
- ],
4042
- }
4029
+ {
4030
+ "file-count":
4031
+ title.count,
4032
+ height:
4033
+ "auto",
4034
+ display:
4035
+ show,
4036
+ },
4037
+ on: {
4038
+ "update:fileCount":
4039
+ function (
4040
+ $event
4041
+ ) {
4042
+ _vm.$set(
4043
+ title,
4044
+ "count",
4045
+ $event
4046
+ )
4047
+ },
4048
+ },
4049
+ },
4050
+ "es-upload",
4051
+ _vm.handleExclAttribute(
4052
+ {
4053
+ data: item,
4054
+ attrs:
4055
+ [
4056
+ "events",
4057
+ "type",
4058
+ ],
4059
+ }
4060
+ ),
4061
+ false
4043
4062
  ),
4044
- false
4045
- ),
4046
- Object.assign(
4047
- {},
4048
- item.events
4063
+ Object.assign(
4064
+ {},
4065
+ item.events
4066
+ )
4049
4067
  )
4050
4068
  )
4051
- )
4052
- : _vm._e(),
4053
- ],
4054
- ],
4055
- 2
4056
- ),
4057
- ]
4058
- )
4059
- : [
4060
- item.htmlType === "h1"
4061
- ? [
4062
- item.html
4063
- ? _c(
4064
- "h1",
4065
- _vm._b(
4066
- {
4067
- key: index,
4068
- domProps:
4069
- {
4070
- innerHTML:
4071
- _vm._s(
4072
- item.html
4073
- ),
4074
- },
4075
- },
4069
+ : _vm._e(),
4070
+ ],
4071
+ ],
4072
+ 2
4073
+ ),
4074
+ ]
4075
+ )
4076
+ : [
4077
+ item.htmlType ===
4078
+ "h1"
4079
+ ? [
4080
+ item.html
4081
+ ? _c(
4076
4082
  "h1",
4077
- _vm.handleExclAttribute(
4083
+ _vm._b(
4078
4084
  {
4079
- data: item,
4080
- attrs:
4081
- [
4082
- "html",
4083
- "htmlType",
4084
- ],
4085
- }
4086
- ),
4087
- false
4085
+ key: index,
4086
+ domProps:
4087
+ {
4088
+ innerHTML:
4089
+ _vm._s(
4090
+ item.html
4091
+ ),
4092
+ },
4093
+ },
4094
+ "h1",
4095
+ _vm.handleExclAttribute(
4096
+ {
4097
+ data: item,
4098
+ attrs:
4099
+ [
4100
+ "html",
4101
+ "htmlType",
4102
+ ],
4103
+ }
4104
+ ),
4105
+ false
4106
+ )
4088
4107
  )
4089
- )
4090
- : _c(
4091
- "h1",
4092
- _vm._b(
4093
- {
4094
- key: index,
4095
- },
4108
+ : _c(
4096
4109
  "h1",
4097
- _vm.handleExclAttribute(
4110
+ _vm._b(
4098
4111
  {
4099
- data: item,
4100
- attrs:
4101
- [
4102
- "html",
4103
- "htmlType",
4104
- ],
4105
- }
4112
+ key: index,
4113
+ },
4114
+ "h1",
4115
+ _vm.handleExclAttribute(
4116
+ {
4117
+ data: item,
4118
+ attrs:
4119
+ [
4120
+ "html",
4121
+ "htmlType",
4122
+ ],
4123
+ }
4124
+ ),
4125
+ false
4106
4126
  ),
4107
- false
4127
+ [
4128
+ _vm._v(
4129
+ "\n " +
4130
+ _vm._s(
4131
+ item.text
4132
+ ) +
4133
+ "\n "
4134
+ ),
4135
+ ]
4108
4136
  ),
4109
- [
4110
- _vm._v(
4111
- "\n " +
4112
- _vm._s(
4113
- item.text
4114
- ) +
4115
- "\n "
4116
- ),
4117
- ]
4118
- ),
4119
- ]
4120
- : _vm._e(),
4121
- item.htmlType === "h2"
4122
- ? [
4123
- item.html
4124
- ? _c(
4125
- "h2",
4126
- _vm._b(
4127
- {
4128
- key: index,
4129
- domProps:
4130
- {
4131
- innerHTML:
4132
- _vm._s(
4133
- item.html
4134
- ),
4135
- },
4136
- },
4137
+ ]
4138
+ : _vm._e(),
4139
+ item.htmlType ===
4140
+ "h2"
4141
+ ? [
4142
+ item.html
4143
+ ? _c(
4137
4144
  "h2",
4138
- _vm.handleExclAttribute(
4145
+ _vm._b(
4139
4146
  {
4140
- data: item,
4141
- attrs:
4142
- [
4143
- "html",
4144
- "htmlType",
4145
- ],
4146
- }
4147
- ),
4148
- false
4147
+ key: index,
4148
+ domProps:
4149
+ {
4150
+ innerHTML:
4151
+ _vm._s(
4152
+ item.html
4153
+ ),
4154
+ },
4155
+ },
4156
+ "h2",
4157
+ _vm.handleExclAttribute(
4158
+ {
4159
+ data: item,
4160
+ attrs:
4161
+ [
4162
+ "html",
4163
+ "htmlType",
4164
+ ],
4165
+ }
4166
+ ),
4167
+ false
4168
+ )
4149
4169
  )
4150
- )
4151
- : _c(
4152
- "h2",
4153
- _vm._b(
4154
- {
4155
- key: index,
4156
- },
4170
+ : _c(
4157
4171
  "h2",
4158
- _vm.handleExclAttribute(
4172
+ _vm._b(
4159
4173
  {
4160
- data: item,
4161
- attrs:
4162
- [
4163
- "html",
4164
- "htmlType",
4165
- ],
4166
- }
4174
+ key: index,
4175
+ },
4176
+ "h2",
4177
+ _vm.handleExclAttribute(
4178
+ {
4179
+ data: item,
4180
+ attrs:
4181
+ [
4182
+ "html",
4183
+ "htmlType",
4184
+ ],
4185
+ }
4186
+ ),
4187
+ false
4167
4188
  ),
4168
- false
4189
+ [
4190
+ _vm._v(
4191
+ "\n " +
4192
+ _vm._s(
4193
+ item.text
4194
+ ) +
4195
+ "\n "
4196
+ ),
4197
+ ]
4169
4198
  ),
4170
- [
4171
- _vm._v(
4172
- "\n " +
4173
- _vm._s(
4174
- item.text
4175
- ) +
4176
- "\n "
4177
- ),
4178
- ]
4179
- ),
4180
- ]
4181
- : _vm._e(),
4182
- item.htmlType === "ul"
4183
- ? [
4184
- item.html
4185
- ? _c(
4186
- "ul",
4187
- _vm._b(
4188
- {
4189
- key: index,
4190
- domProps:
4191
- {
4192
- innerHTML:
4193
- _vm._s(
4194
- item.html
4195
- ),
4196
- },
4197
- },
4199
+ ]
4200
+ : _vm._e(),
4201
+ item.htmlType ===
4202
+ "ul"
4203
+ ? [
4204
+ item.html
4205
+ ? _c(
4198
4206
  "ul",
4199
- _vm.handleExclAttribute(
4207
+ _vm._b(
4200
4208
  {
4201
- data: item,
4202
- attrs:
4203
- [
4204
- "html",
4205
- "htmlType",
4206
- ],
4207
- }
4208
- ),
4209
- false
4209
+ key: index,
4210
+ domProps:
4211
+ {
4212
+ innerHTML:
4213
+ _vm._s(
4214
+ item.html
4215
+ ),
4216
+ },
4217
+ },
4218
+ "ul",
4219
+ _vm.handleExclAttribute(
4220
+ {
4221
+ data: item,
4222
+ attrs:
4223
+ [
4224
+ "html",
4225
+ "htmlType",
4226
+ ],
4227
+ }
4228
+ ),
4229
+ false
4230
+ )
4210
4231
  )
4211
- )
4212
- : _c(
4213
- "ul",
4214
- _vm._b(
4215
- {
4216
- key: index,
4217
- },
4232
+ : _c(
4218
4233
  "ul",
4219
- _vm.handleExclAttribute(
4234
+ _vm._b(
4220
4235
  {
4221
- data: item,
4222
- attrs:
4223
- [
4224
- "html",
4225
- "htmlType",
4226
- ],
4227
- }
4236
+ key: index,
4237
+ },
4238
+ "ul",
4239
+ _vm.handleExclAttribute(
4240
+ {
4241
+ data: item,
4242
+ attrs:
4243
+ [
4244
+ "html",
4245
+ "htmlType",
4246
+ ],
4247
+ }
4248
+ ),
4249
+ false
4228
4250
  ),
4229
- false
4230
- ),
4231
- [
4232
- _vm._l(
4233
- data,
4234
- function (
4235
- liItem,
4236
- liIndex
4237
- ) {
4238
- return [
4239
- _vm
4240
- .liitems
4241
- .html
4242
- ? _c(
4243
- "li",
4244
- {
4245
- key: liIndex,
4246
- domProps:
4247
- {
4248
- innerHTML:
4251
+ [
4252
+ _vm._l(
4253
+ data,
4254
+ function (
4255
+ liItem,
4256
+ liIndex
4257
+ ) {
4258
+ return [
4259
+ _vm
4260
+ .liitems
4261
+ .html
4262
+ ? _c(
4263
+ "li",
4264
+ {
4265
+ key: liIndex,
4266
+ domProps:
4267
+ {
4268
+ innerHTML:
4269
+ _vm._s(
4270
+ _vm
4271
+ .liitems
4272
+ .html
4273
+ ),
4274
+ },
4275
+ }
4276
+ )
4277
+ : _c(
4278
+ "li",
4279
+ {
4280
+ key: liIndex,
4281
+ },
4282
+ [
4283
+ _vm._v(
4284
+ "\n " +
4249
4285
  _vm._s(
4250
- _vm
4251
- .liitems
4252
- .html
4253
- ),
4254
- },
4255
- }
4256
- )
4257
- : _c(
4258
- "li",
4259
- {
4260
- key: liIndex,
4261
- },
4262
- [
4263
- _vm._v(
4264
- "\n " +
4265
- _vm._s(
4266
- liItem
4267
- ) +
4268
- "\n "
4269
- ),
4270
- ]
4271
- ),
4272
- ]
4273
- }
4274
- ),
4275
- ],
4276
- 2
4277
- ),
4278
- ]
4279
- : _vm._e(),
4280
- item.htmlType ===
4281
- "image" ||
4282
- item.htmlType ===
4283
- "img"
4284
- ? [
4285
- _c(
4286
- "img",
4287
- _vm._b(
4288
- {
4289
- key: index,
4290
- attrs: {
4291
- src:
4292
- item.url ||
4293
- item.src,
4294
- },
4295
- },
4286
+ liItem
4287
+ ) +
4288
+ "\n "
4289
+ ),
4290
+ ]
4291
+ ),
4292
+ ]
4293
+ }
4294
+ ),
4295
+ ],
4296
+ 2
4297
+ ),
4298
+ ]
4299
+ : _vm._e(),
4300
+ item.htmlType ===
4301
+ "image" ||
4302
+ item.htmlType ===
4303
+ "img"
4304
+ ? [
4305
+ _c(
4296
4306
  "img",
4297
- _vm.handleExclAttribute(
4307
+ _vm._b(
4298
4308
  {
4299
- data: item,
4300
- attrs: [
4301
- "html",
4302
- "htmlType",
4303
- "src",
4304
- ],
4305
- }
4306
- ),
4307
- false
4308
- )
4309
- ),
4310
- ]
4311
- : _vm._e(),
4312
- item.htmlType === "p"
4313
- ? [
4314
- item.html
4315
- ? _c(
4316
- "p",
4317
- _vm._b(
4318
- {
4319
- key: index,
4320
- domProps:
4321
- {
4322
- innerHTML:
4323
- _vm._s(
4324
- item.html
4325
- ),
4326
- },
4309
+ key: index,
4310
+ attrs: {
4311
+ src:
4312
+ item.url ||
4313
+ item.src,
4327
4314
  },
4315
+ },
4316
+ "img",
4317
+ _vm.handleExclAttribute(
4318
+ {
4319
+ data: item,
4320
+ attrs:
4321
+ [
4322
+ "html",
4323
+ "htmlType",
4324
+ "src",
4325
+ ],
4326
+ }
4327
+ ),
4328
+ false
4329
+ )
4330
+ ),
4331
+ ]
4332
+ : _vm._e(),
4333
+ item.htmlType ===
4334
+ "p"
4335
+ ? [
4336
+ item.html
4337
+ ? _c(
4328
4338
  "p",
4329
- _vm.handleExclAttribute(
4339
+ _vm._b(
4330
4340
  {
4331
- data: item,
4332
- attrs:
4333
- [
4334
- "html",
4335
- "htmlType",
4336
- ],
4337
- }
4338
- ),
4339
- false
4341
+ key: index,
4342
+ domProps:
4343
+ {
4344
+ innerHTML:
4345
+ _vm._s(
4346
+ item.html
4347
+ ),
4348
+ },
4349
+ },
4350
+ "p",
4351
+ _vm.handleExclAttribute(
4352
+ {
4353
+ data: item,
4354
+ attrs:
4355
+ [
4356
+ "html",
4357
+ "htmlType",
4358
+ ],
4359
+ }
4360
+ ),
4361
+ false
4362
+ )
4340
4363
  )
4341
- )
4342
- : _c(
4343
- "p",
4344
- _vm._b(
4345
- {
4346
- key: index,
4347
- },
4364
+ : _c(
4348
4365
  "p",
4349
- _vm.handleExclAttribute(
4366
+ _vm._b(
4350
4367
  {
4351
- data: item,
4352
- attrs:
4353
- [
4354
- "text",
4355
- "htmlType",
4356
- ],
4357
- }
4368
+ key: index,
4369
+ },
4370
+ "p",
4371
+ _vm.handleExclAttribute(
4372
+ {
4373
+ data: item,
4374
+ attrs:
4375
+ [
4376
+ "text",
4377
+ "htmlType",
4378
+ ],
4379
+ }
4380
+ ),
4381
+ false
4358
4382
  ),
4359
- false
4383
+ [
4384
+ _vm._v(
4385
+ "\n " +
4386
+ _vm._s(
4387
+ item.text
4388
+ ) +
4389
+ "\n "
4390
+ ),
4391
+ ]
4360
4392
  ),
4361
- [
4362
- _vm._v(
4363
- "\n " +
4364
- _vm._s(
4365
- item.text
4366
- ) +
4367
- "\n "
4368
- ),
4369
- ]
4370
- ),
4371
- ]
4372
- : _vm._e(),
4373
- item.htmlType ===
4374
- "div"
4375
- ? [
4376
- item.html
4377
- ? _c(
4378
- "div",
4379
- _vm._b(
4380
- {
4381
- key: index,
4382
- domProps:
4383
- {
4384
- innerHTML:
4385
- _vm._s(
4386
- item.html
4387
- ),
4388
- },
4389
- },
4393
+ ]
4394
+ : _vm._e(),
4395
+ item.htmlType ===
4396
+ "div"
4397
+ ? [
4398
+ item.html
4399
+ ? _c(
4390
4400
  "div",
4391
- _vm.handleExclAttribute(
4401
+ _vm._b(
4392
4402
  {
4393
- data: item,
4394
- attrs:
4395
- [
4396
- "html",
4397
- "htmlType",
4398
- ],
4399
- }
4400
- ),
4401
- false
4403
+ key: index,
4404
+ domProps:
4405
+ {
4406
+ innerHTML:
4407
+ _vm._s(
4408
+ item.html
4409
+ ),
4410
+ },
4411
+ },
4412
+ "div",
4413
+ _vm.handleExclAttribute(
4414
+ {
4415
+ data: item,
4416
+ attrs:
4417
+ [
4418
+ "html",
4419
+ "htmlType",
4420
+ ],
4421
+ }
4422
+ ),
4423
+ false
4424
+ )
4402
4425
  )
4403
- )
4404
- : _c(
4405
- "div",
4406
- _vm._b(
4407
- {
4408
- key: index,
4409
- },
4426
+ : _c(
4410
4427
  "div",
4411
- _vm.handleExclAttribute(
4428
+ _vm._b(
4412
4429
  {
4413
- data: item,
4414
- attrs:
4415
- [
4416
- "html",
4417
- "htmlType",
4418
- ],
4419
- }
4430
+ key: index,
4431
+ },
4432
+ "div",
4433
+ _vm.handleExclAttribute(
4434
+ {
4435
+ data: item,
4436
+ attrs:
4437
+ [
4438
+ "html",
4439
+ "htmlType",
4440
+ ],
4441
+ }
4442
+ ),
4443
+ false
4420
4444
  ),
4421
- false
4445
+ [
4446
+ _vm._v(
4447
+ "\n " +
4448
+ _vm._s(
4449
+ item.text
4450
+ ) +
4451
+ "\n "
4452
+ ),
4453
+ ]
4422
4454
  ),
4423
- [
4424
- _vm._v(
4425
- "\n " +
4426
- _vm._s(
4427
- item.text
4428
- ) +
4429
- "\n "
4430
- ),
4431
- ]
4432
- ),
4433
- ]
4434
- : _vm._e(),
4435
- item.type === "form"
4436
- ? _c(
4437
- "es-form",
4438
- _vm._g(
4439
- _vm._b(
4440
- {
4441
- key: index,
4442
- ref: "esFlowForm",
4443
- refInFor: true,
4444
- attrs: {
4445
- full: "",
4446
- model:
4447
- item.model,
4448
- display:
4449
- show,
4450
- closeDialog: false,
4451
- },
4452
- on: {
4453
- "update:model":
4454
- function (
4455
- $event
4456
- ) {
4457
- _vm.$set(
4458
- item,
4459
- "model",
4455
+ ]
4456
+ : _vm._e(),
4457
+ item.type === "form"
4458
+ ? _c(
4459
+ "es-form",
4460
+ _vm._g(
4461
+ _vm._b(
4462
+ {
4463
+ key: index,
4464
+ ref: "esFlowForm",
4465
+ refInFor: true,
4466
+ attrs: {
4467
+ full: "",
4468
+ model:
4469
+ item.model,
4470
+ display:
4471
+ show,
4472
+ closeDialog: false,
4473
+ },
4474
+ on: {
4475
+ "update:model":
4476
+ function (
4460
4477
  $event
4461
- )
4462
- },
4478
+ ) {
4479
+ _vm.$set(
4480
+ item,
4481
+ "model",
4482
+ $event
4483
+ )
4484
+ },
4485
+ },
4463
4486
  },
4464
- },
4465
- "es-form",
4466
- _vm.handleExclAttribute(
4467
- {
4468
- data: item,
4469
- attrs: [
4470
- "events",
4471
- "visible",
4472
- "model",
4473
- "type",
4474
- "ref",
4475
- ],
4476
- }
4487
+ "es-form",
4488
+ _vm.handleExclAttribute(
4489
+ {
4490
+ data: item,
4491
+ attrs:
4492
+ [
4493
+ "events",
4494
+ "visible",
4495
+ "model",
4496
+ "type",
4497
+ "ref",
4498
+ ],
4499
+ }
4500
+ ),
4501
+ false
4477
4502
  ),
4478
- false
4479
- ),
4480
- Object.assign(
4481
- {},
4482
- item.events
4503
+ Object.assign(
4504
+ {},
4505
+ item.events
4506
+ )
4483
4507
  )
4484
4508
  )
4485
- )
4486
- : _vm._e(),
4487
- item.type ===
4488
- "data-table" ||
4489
- item.type ===
4490
- "dataTable" ||
4491
- item.type ===
4492
- "flow-list" ||
4493
- item.type ===
4494
- "flowList"
4495
- ? _c(
4496
- "es-data-table",
4497
- _vm._g(
4498
- _vm._b(
4499
- {
4500
- key: index,
4501
- class: {
4502
- "es-flow-group-data-table":
4503
- item.type ===
4504
- "data-table" ||
4505
- item.type ===
4506
- "dataTable",
4507
- "es-flow-list":
4508
- item.type ===
4509
- "flow-list" ||
4510
- item.type ===
4511
- "flowList",
4512
- },
4513
- attrs: {
4514
- display:
4515
- show,
4516
- },
4517
- },
4518
- "es-data-table",
4519
- _vm.handleExclAttribute(
4509
+ : _vm._e(),
4510
+ item.type ===
4511
+ "data-table" ||
4512
+ item.type ===
4513
+ "dataTable" ||
4514
+ item.type ===
4515
+ "flow-list" ||
4516
+ item.type ===
4517
+ "flowList"
4518
+ ? _c(
4519
+ "es-data-table",
4520
+ _vm._g(
4521
+ _vm._b(
4520
4522
  {
4521
- data: item,
4522
- attrs: [
4523
- "events",
4524
- "visible",
4525
- "type",
4526
- ],
4527
- }
4523
+ key: index,
4524
+ class: {
4525
+ "es-flow-group-data-table":
4526
+ item.type ===
4527
+ "data-table" ||
4528
+ item.type ===
4529
+ "dataTable",
4530
+ "es-flow-list":
4531
+ item.type ===
4532
+ "flow-list" ||
4533
+ item.type ===
4534
+ "flowList",
4535
+ },
4536
+ attrs: {
4537
+ display:
4538
+ show,
4539
+ },
4540
+ },
4541
+ "es-data-table",
4542
+ _vm.handleExclAttribute(
4543
+ {
4544
+ data: item,
4545
+ attrs:
4546
+ [
4547
+ "events",
4548
+ "visible",
4549
+ "type",
4550
+ ],
4551
+ }
4552
+ ),
4553
+ false
4528
4554
  ),
4529
- false
4555
+ item.events
4530
4556
  ),
4531
- item.events
4532
- ),
4533
- [
4534
- item.dialog
4535
- ? _c(
4536
- "template",
4537
- {
4538
- slot: "dialog",
4539
- },
4540
- [
4541
- Array.isArray(
4542
- item.dialog
4543
- )
4544
- ? _vm._l(
4545
- item.dialog,
4546
- function (
4547
- ele,
4548
- ids
4549
- ) {
4550
- return _c(
4551
- "es-dialog",
4552
- _vm._g(
4553
- _vm._b(
4554
- {
4555
- key: ids,
4556
- attrs:
4557
- {
4558
- isReload: true,
4559
- visible:
4560
- ele.visible,
4557
+ [
4558
+ item.dialog
4559
+ ? _c(
4560
+ "template",
4561
+ {
4562
+ slot: "dialog",
4563
+ },
4564
+ [
4565
+ Array.isArray(
4566
+ item.dialog
4567
+ )
4568
+ ? _vm._l(
4569
+ item.dialog,
4570
+ function (
4571
+ ele,
4572
+ ids
4573
+ ) {
4574
+ return _c(
4575
+ "es-dialog",
4576
+ _vm._g(
4577
+ _vm._b(
4578
+ {
4579
+ key: ids,
4580
+ attrs:
4581
+ {
4582
+ isReload: true,
4583
+ visible:
4584
+ ele.visible,
4585
+ },
4586
+ on: {
4587
+ "update:visible":
4588
+ function (
4589
+ $event
4590
+ ) {
4591
+ _vm.$set(
4592
+ ele,
4593
+ "visible",
4594
+ $event
4595
+ )
4596
+ },
4561
4597
  },
4562
- on: {
4563
- "update:visible":
4564
- function (
4565
- $event
4566
- ) {
4567
- _vm.$set(
4568
- ele,
4598
+ },
4599
+ "es-dialog",
4600
+ _vm.handleExclAttribute(
4601
+ {
4602
+ data: ele,
4603
+ attrs:
4604
+ [
4569
4605
  "visible",
4570
- $event
4571
- )
4572
- },
4606
+ ],
4607
+ }
4608
+ ),
4609
+ false
4610
+ ),
4611
+ Object.assign(
4612
+ {},
4613
+ ele.events
4614
+ )
4615
+ )
4616
+ )
4617
+ }
4618
+ )
4619
+ : _c(
4620
+ "es-dialog",
4621
+ _vm._g(
4622
+ _vm._b(
4623
+ {
4624
+ attrs:
4625
+ {
4626
+ isReload: true,
4627
+ visible:
4628
+ item
4629
+ .dialog
4630
+ .visible,
4573
4631
  },
4632
+ on: {
4633
+ "update:visible":
4634
+ function (
4635
+ $event
4636
+ ) {
4637
+ _vm.$set(
4638
+ item.dialog,
4639
+ "visible",
4640
+ $event
4641
+ )
4642
+ },
4574
4643
  },
4575
- "es-dialog",
4576
- _vm.handleExclAttribute(
4577
- {
4578
- data: ele,
4579
- attrs:
4580
- [
4581
- "visible",
4582
- ],
4583
- }
4584
- ),
4585
- false
4586
- ),
4587
- Object.assign(
4588
- {},
4589
- ele.events
4590
- )
4591
- )
4592
- )
4593
- }
4594
- )
4595
- : _c(
4596
- "es-dialog",
4597
- _vm._g(
4598
- _vm._b(
4599
- {
4600
- attrs:
4644
+ },
4645
+ "es-dialog",
4646
+ _vm.handleExclAttribute(
4601
4647
  {
4602
- isReload: true,
4603
- visible:
4604
- item
4605
- .dialog
4606
- .visible,
4607
- },
4608
- on: {
4609
- "update:visible":
4610
- function (
4611
- $event
4612
- ) {
4613
- _vm.$set(
4614
- item.dialog,
4648
+ data: item.dialog,
4649
+ attrs:
4650
+ [
4615
4651
  "visible",
4616
- $event
4617
- )
4618
- },
4619
- },
4620
- },
4621
- "es-dialog",
4622
- _vm.handleExclAttribute(
4623
- {
4624
- data: item.dialog,
4625
- attrs:
4626
- [
4627
- "visible",
4628
- ],
4629
- }
4652
+ ],
4653
+ }
4654
+ ),
4655
+ false
4630
4656
  ),
4631
- false
4632
- ),
4633
- Object.assign(
4634
- {},
4635
- item
4636
- .dialog
4637
- .events
4657
+ Object.assign(
4658
+ {},
4659
+ item
4660
+ .dialog
4661
+ .events
4662
+ )
4638
4663
  )
4639
- )
4640
- ),
4641
- ],
4642
- 2
4643
- )
4644
- : _vm._e(),
4645
- ],
4646
- 2
4647
- )
4648
- : _vm._e(),
4649
- item.type ===
4650
- "tree-group" ||
4651
- item.type ===
4652
- "treeGroup"
4653
- ? _c(
4654
- "es-tree-group",
4655
- _vm._g(
4656
- _vm._b(
4657
- {
4658
- key: index,
4659
- attrs: {
4660
- display:
4661
- show,
4662
- },
4663
- },
4664
- "es-tree-group",
4665
- _vm.handleExclAttribute(
4664
+ ),
4665
+ ],
4666
+ 2
4667
+ )
4668
+ : _vm._e(),
4669
+ ],
4670
+ 2
4671
+ )
4672
+ : _vm._e(),
4673
+ item.type ===
4674
+ "tree-group" ||
4675
+ item.type ===
4676
+ "treeGroup"
4677
+ ? _c(
4678
+ "es-tree-group",
4679
+ _vm._g(
4680
+ _vm._b(
4666
4681
  {
4667
- data: item,
4668
- attrs: [
4669
- "events",
4670
- "visible",
4671
- "type",
4672
- ],
4673
- }
4682
+ key: index,
4683
+ attrs: {
4684
+ display:
4685
+ show,
4686
+ },
4687
+ },
4688
+ "es-tree-group",
4689
+ _vm.handleExclAttribute(
4690
+ {
4691
+ data: item,
4692
+ attrs:
4693
+ [
4694
+ "events",
4695
+ "visible",
4696
+ "type",
4697
+ ],
4698
+ }
4699
+ ),
4700
+ false
4674
4701
  ),
4675
- false
4676
- ),
4677
- Object.assign(
4678
- {},
4679
- item.events
4702
+ Object.assign(
4703
+ {},
4704
+ item.events
4705
+ )
4680
4706
  )
4681
4707
  )
4682
- )
4683
- : _vm._e(),
4684
- item.type ===
4685
- "iframe" &&
4686
- !item.blank
4687
- ? _c("iframe", {
4688
- key: index,
4689
- attrs: {
4690
- frameborder:
4691
- "0",
4692
- width: "100%",
4693
- height:
4694
- "100%",
4695
- id:
4696
- item.id ||
4697
- item.name,
4698
- name: item.name,
4699
- src: _vm.handleUrlJoinParams(
4700
- {
4701
- url: item.url,
4702
- param:
4703
- item.param ||
4704
- {},
4705
- }
4706
- ),
4707
- },
4708
- })
4709
- : _vm._e(),
4710
- item.type ===
4711
- "attachment"
4712
- ? _c(
4713
- "es-upload",
4714
- _vm._g(
4715
- _vm._b(
4716
- {
4717
- key: index,
4718
- staticClass:
4719
- "es-attachment",
4720
- attrs: {
4721
- height:
4722
- "auto",
4723
- "file-count":
4724
- title.count,
4725
- display:
4726
- show,
4727
- },
4728
- on: {
4729
- "update:fileCount":
4730
- function (
4731
- $event
4732
- ) {
4733
- _vm.$set(
4734
- title,
4735
- "count",
4736
- $event
4737
- )
4738
- },
4739
- },
4740
- },
4741
- "es-upload",
4742
- _vm.handleExclAttribute(
4708
+ : _vm._e(),
4709
+ item.type ===
4710
+ "iframe" &&
4711
+ !item.blank
4712
+ ? _c("iframe", {
4713
+ key: index,
4714
+ attrs: {
4715
+ frameborder:
4716
+ "0",
4717
+ width:
4718
+ "100%",
4719
+ height:
4720
+ "100%",
4721
+ id:
4722
+ item.id ||
4723
+ item.name,
4724
+ name: item.name,
4725
+ src: _vm.handleUrlJoinParams(
4743
4726
  {
4744
- data: item,
4745
- attrs: [
4746
- "events",
4747
- "type",
4748
- ],
4727
+ url: item.url,
4728
+ param:
4729
+ item.param ||
4730
+ {},
4749
4731
  }
4750
4732
  ),
4751
- false
4752
- ),
4753
- Object.assign(
4754
- {},
4755
- item.events
4733
+ },
4734
+ })
4735
+ : _vm._e(),
4736
+ item.type ===
4737
+ "attachment"
4738
+ ? _c(
4739
+ "es-upload",
4740
+ _vm._g(
4741
+ _vm._b(
4742
+ {
4743
+ key: index,
4744
+ staticClass:
4745
+ "es-attachment",
4746
+ attrs: {
4747
+ height:
4748
+ "auto",
4749
+ "file-count":
4750
+ title.count,
4751
+ display:
4752
+ show,
4753
+ },
4754
+ on: {
4755
+ "update:fileCount":
4756
+ function (
4757
+ $event
4758
+ ) {
4759
+ _vm.$set(
4760
+ title,
4761
+ "count",
4762
+ $event
4763
+ )
4764
+ },
4765
+ },
4766
+ },
4767
+ "es-upload",
4768
+ _vm.handleExclAttribute(
4769
+ {
4770
+ data: item,
4771
+ attrs:
4772
+ [
4773
+ "events",
4774
+ "type",
4775
+ ],
4776
+ }
4777
+ ),
4778
+ false
4779
+ ),
4780
+ Object.assign(
4781
+ {},
4782
+ item.events
4783
+ )
4756
4784
  )
4757
4785
  )
4758
- )
4759
- : _vm._e(),
4760
- item.type === "dialog"
4761
- ? _c(
4762
- "es-dialog",
4763
- _vm._g(
4764
- _vm._b(
4765
- {
4766
- key: index,
4767
- attrs: {
4768
- isReload: true,
4769
- visible:
4770
- item.visible,
4771
- },
4772
- on: {
4773
- "update:visible":
4774
- function (
4775
- $event
4776
- ) {
4777
- _vm.$set(
4778
- item,
4779
- "visible",
4786
+ : _vm._e(),
4787
+ item.type ===
4788
+ "dialog"
4789
+ ? _c(
4790
+ "es-dialog",
4791
+ _vm._g(
4792
+ _vm._b(
4793
+ {
4794
+ key: index,
4795
+ attrs: {
4796
+ isReload: true,
4797
+ visible:
4798
+ item.visible,
4799
+ },
4800
+ on: {
4801
+ "update:visible":
4802
+ function (
4780
4803
  $event
4781
- )
4782
- },
4804
+ ) {
4805
+ _vm.$set(
4806
+ item,
4807
+ "visible",
4808
+ $event
4809
+ )
4810
+ },
4811
+ },
4783
4812
  },
4784
- },
4785
- "es-dialog",
4786
- _vm.handleExclAttribute(
4787
- {
4788
- data: item,
4789
- attrs: [
4790
- "visible",
4791
- "type",
4792
- ],
4793
- }
4813
+ "es-dialog",
4814
+ _vm.handleExclAttribute(
4815
+ {
4816
+ data: item,
4817
+ attrs:
4818
+ [
4819
+ "visible",
4820
+ "type",
4821
+ ],
4822
+ }
4823
+ ),
4824
+ false
4794
4825
  ),
4795
- false
4796
- ),
4797
- Object.assign(
4798
- {},
4799
- item.events
4826
+ Object.assign(
4827
+ {},
4828
+ item.events
4829
+ )
4800
4830
  )
4801
4831
  )
4802
- )
4803
- : _vm._e(),
4804
- ],
4805
- ]
4806
- }
4807
- ),
4808
- ]
4809
- : [
4810
- contents.type === "form"
4811
- ? _c(
4812
- "es-form",
4813
- _vm._g(
4814
- _vm._b(
4815
- {
4816
- ref: "esFlowForm",
4817
- refInFor: true,
4818
- attrs: {
4819
- full: "",
4820
- model:
4821
- contents.model,
4822
- display: show,
4823
- closeDialog: false,
4824
- },
4825
- on: {
4826
- "update:model":
4827
- function (
4828
- $event
4829
- ) {
4830
- _vm.$set(
4831
- contents,
4832
- "model",
4832
+ : _vm._e(),
4833
+ ],
4834
+ ]
4835
+ }
4836
+ ),
4837
+ ]
4838
+ : [
4839
+ contents.type === "form"
4840
+ ? _c(
4841
+ "es-form",
4842
+ _vm._g(
4843
+ _vm._b(
4844
+ {
4845
+ ref: "esFlowForm",
4846
+ refInFor: true,
4847
+ attrs: {
4848
+ full: "",
4849
+ model:
4850
+ contents.model,
4851
+ display: show,
4852
+ closeDialog: false,
4853
+ },
4854
+ on: {
4855
+ "update:model":
4856
+ function (
4833
4857
  $event
4834
- )
4835
- },
4858
+ ) {
4859
+ _vm.$set(
4860
+ contents,
4861
+ "model",
4862
+ $event
4863
+ )
4864
+ },
4865
+ },
4836
4866
  },
4837
- },
4838
- "es-form",
4839
- _vm.handleExclAttribute(
4840
- {
4841
- data: contents,
4842
- attrs: [
4843
- "events",
4844
- "visible",
4845
- "model",
4846
- "type",
4847
- "ref",
4848
- ],
4849
- }
4867
+ "es-form",
4868
+ _vm.handleExclAttribute(
4869
+ {
4870
+ data: contents,
4871
+ attrs: [
4872
+ "events",
4873
+ "visible",
4874
+ "model",
4875
+ "type",
4876
+ "ref",
4877
+ ],
4878
+ }
4879
+ ),
4880
+ false
4850
4881
  ),
4851
- false
4852
- ),
4853
- Object.assign(
4854
- {},
4855
- contents.events
4882
+ Object.assign(
4883
+ {},
4884
+ contents.events
4885
+ )
4856
4886
  )
4857
4887
  )
4858
- )
4859
- : _vm._e(),
4860
- contents.type === "data-table" ||
4861
- contents.type === "dataTable" ||
4862
- contents.type === "flow-list" ||
4863
- items.contents.type === "flowList"
4864
- ? _c(
4865
- "es-data-table",
4866
- _vm._g(
4867
- _vm._b(
4868
- {
4869
- class: {
4870
- "es-flow-group-data-table":
4871
- contents.type ===
4872
- "data-table" ||
4873
- items.contents
4874
- .type ===
4875
- "dataTable",
4876
- "es-flow-list":
4877
- contents.type ===
4878
- "flow-list" ||
4879
- contents.type ===
4880
- "flowList",
4881
- },
4882
- attrs: {
4883
- display: show,
4884
- },
4885
- },
4886
- "es-data-table",
4887
- _vm.handleExclAttribute(
4888
+ : _vm._e(),
4889
+ contents.type ===
4890
+ "data-table" ||
4891
+ contents.type === "dataTable" ||
4892
+ contents.type === "flow-list" ||
4893
+ items.contents.type ===
4894
+ "flowList"
4895
+ ? _c(
4896
+ "es-data-table",
4897
+ _vm._g(
4898
+ _vm._b(
4888
4899
  {
4889
- data: contents,
4890
- attrs: [
4891
- "events",
4892
- "visible",
4893
- "type",
4894
- ],
4895
- }
4900
+ class: {
4901
+ "es-flow-group-data-table":
4902
+ contents.type ===
4903
+ "data-table" ||
4904
+ items.contents
4905
+ .type ===
4906
+ "dataTable",
4907
+ "es-flow-list":
4908
+ contents.type ===
4909
+ "flow-list" ||
4910
+ contents.type ===
4911
+ "flowList",
4912
+ },
4913
+ attrs: {
4914
+ display: show,
4915
+ },
4916
+ },
4917
+ "es-data-table",
4918
+ _vm.handleExclAttribute(
4919
+ {
4920
+ data: contents,
4921
+ attrs: [
4922
+ "events",
4923
+ "visible",
4924
+ "type",
4925
+ ],
4926
+ }
4927
+ ),
4928
+ false
4896
4929
  ),
4897
- false
4930
+ contents.events
4898
4931
  ),
4899
- contents.events
4900
- ),
4901
- [
4902
- contents.dialog
4903
- ? _c(
4904
- "template",
4905
- { slot: "dialog" },
4906
- [
4907
- Array.isArray(
4908
- contents.dialog
4909
- )
4910
- ? _vm._l(
4911
- contents.dialog,
4912
- function (
4913
- ele,
4914
- ids
4915
- ) {
4916
- return _c(
4917
- "es-dialog",
4918
- _vm._g(
4919
- _vm._b(
4920
- {
4921
- key: ids,
4922
- attrs:
4923
- {
4924
- isReload: true,
4925
- visible:
4926
- ele.visible,
4927
- },
4928
- on: {
4929
- "update:visible":
4930
- function (
4931
- $event
4932
- ) {
4933
- _vm.$set(
4934
- ele,
4935
- "visible",
4936
- $event
4937
- )
4938
- },
4939
- },
4940
- },
4941
- "es-dialog",
4942
- _vm.handleExclAttribute(
4932
+ [
4933
+ contents.dialog
4934
+ ? _c(
4935
+ "template",
4936
+ {
4937
+ slot: "dialog",
4938
+ },
4939
+ [
4940
+ Array.isArray(
4941
+ contents.dialog
4942
+ )
4943
+ ? _vm._l(
4944
+ contents.dialog,
4945
+ function (
4946
+ ele,
4947
+ ids
4948
+ ) {
4949
+ return _c(
4950
+ "es-dialog",
4951
+ _vm._g(
4952
+ _vm._b(
4943
4953
  {
4944
- data: ele,
4954
+ key: ids,
4945
4955
  attrs:
4946
- [
4947
- "visible",
4948
- ],
4949
- }
4956
+ {
4957
+ isReload: true,
4958
+ visible:
4959
+ ele.visible,
4960
+ },
4961
+ on: {
4962
+ "update:visible":
4963
+ function (
4964
+ $event
4965
+ ) {
4966
+ _vm.$set(
4967
+ ele,
4968
+ "visible",
4969
+ $event
4970
+ )
4971
+ },
4972
+ },
4973
+ },
4974
+ "es-dialog",
4975
+ _vm.handleExclAttribute(
4976
+ {
4977
+ data: ele,
4978
+ attrs:
4979
+ [
4980
+ "visible",
4981
+ ],
4982
+ }
4983
+ ),
4984
+ false
4950
4985
  ),
4951
- false
4952
- ),
4953
- Object.assign(
4954
- {},
4955
- ele.events
4986
+ Object.assign(
4987
+ {},
4988
+ ele.events
4989
+ )
4956
4990
  )
4957
4991
  )
4958
- )
4959
- }
4960
- )
4961
- : _c(
4962
- "es-dialog",
4963
- _vm._g(
4964
- _vm._b(
4965
- {
4966
- attrs:
4967
- {
4968
- isReload: true,
4969
- visible:
4970
- contents
4971
- .dialog
4972
- .visible,
4973
- },
4974
- on: {
4975
- "update:visible":
4976
- function (
4977
- $event
4978
- ) {
4979
- _vm.$set(
4980
- contents.dialog,
4981
- "visible",
4982
- $event
4983
- )
4984
- },
4985
- },
4986
- },
4987
- "es-dialog",
4988
- _vm.handleExclAttribute(
4992
+ }
4993
+ )
4994
+ : _c(
4995
+ "es-dialog",
4996
+ _vm._g(
4997
+ _vm._b(
4989
4998
  {
4990
- data: contents.dialog,
4991
4999
  attrs:
4992
- [
4993
- "visible",
4994
- ],
4995
- }
5000
+ {
5001
+ isReload: true,
5002
+ visible:
5003
+ contents
5004
+ .dialog
5005
+ .visible,
5006
+ },
5007
+ on: {
5008
+ "update:visible":
5009
+ function (
5010
+ $event
5011
+ ) {
5012
+ _vm.$set(
5013
+ contents.dialog,
5014
+ "visible",
5015
+ $event
5016
+ )
5017
+ },
5018
+ },
5019
+ },
5020
+ "es-dialog",
5021
+ _vm.handleExclAttribute(
5022
+ {
5023
+ data: contents.dialog,
5024
+ attrs:
5025
+ [
5026
+ "visible",
5027
+ ],
5028
+ }
5029
+ ),
5030
+ false
4996
5031
  ),
4997
- false
4998
- ),
4999
- Object.assign(
5000
- {},
5001
- contents
5002
- .dialog
5003
- .events
5032
+ Object.assign(
5033
+ {},
5034
+ contents
5035
+ .dialog
5036
+ .events
5037
+ )
5004
5038
  )
5005
- )
5006
- ),
5007
- ],
5008
- 2
5009
- )
5010
- : _vm._e(),
5011
- ],
5012
- 2
5013
- )
5014
- : _vm._e(),
5015
- contents.type === "tree-group" ||
5016
- contents.type === "treeGroup"
5017
- ? _c(
5018
- "es-tree-group",
5019
- _vm._g(
5020
- _vm._b(
5021
- {
5022
- attrs: {
5023
- display: show,
5024
- },
5025
- },
5026
- "es-tree-group",
5027
- _vm.handleExclAttribute(
5039
+ ),
5040
+ ],
5041
+ 2
5042
+ )
5043
+ : _vm._e(),
5044
+ ],
5045
+ 2
5046
+ )
5047
+ : _vm._e(),
5048
+ contents.type ===
5049
+ "tree-group" ||
5050
+ contents.type === "treeGroup"
5051
+ ? _c(
5052
+ "es-tree-group",
5053
+ _vm._g(
5054
+ _vm._b(
5028
5055
  {
5029
- data: contents,
5030
- attrs: [
5031
- "events",
5032
- "visible",
5033
- "type",
5034
- ],
5035
- }
5056
+ attrs: {
5057
+ display: show,
5058
+ },
5059
+ },
5060
+ "es-tree-group",
5061
+ _vm.handleExclAttribute(
5062
+ {
5063
+ data: contents,
5064
+ attrs: [
5065
+ "events",
5066
+ "visible",
5067
+ "type",
5068
+ ],
5069
+ }
5070
+ ),
5071
+ false
5036
5072
  ),
5037
- false
5038
- ),
5039
- Object.assign(
5040
- {},
5041
- contents.events
5073
+ Object.assign(
5074
+ {},
5075
+ contents.events
5076
+ )
5042
5077
  )
5043
5078
  )
5044
- )
5045
- : _vm._e(),
5046
- contents.type === "iframe" &&
5047
- !contents.blank
5048
- ? _c("iframe", {
5049
- attrs: {
5050
- id:
5051
- contents.id ||
5052
- contents.name,
5053
- name: contents.name,
5054
- frameborder: "0",
5055
- width: "100%",
5056
- height: "100%",
5057
- src: _vm.handleUrlJoinParams(
5058
- {
5059
- url: contents.url,
5060
- param:
5061
- contents.param ||
5062
- {},
5063
- }
5064
- ),
5065
- },
5066
- })
5067
- : _vm._e(),
5068
- contents.type === "attachment"
5069
- ? _c(
5070
- "es-upload",
5071
- _vm._g(
5072
- _vm._b(
5073
- {
5074
- staticClass:
5075
- "es-attachment",
5076
- attrs: {
5077
- display: show,
5078
- "file-count":
5079
- title.count,
5080
- height: "auto",
5081
- },
5082
- on: {
5083
- "update:fileCount":
5084
- function (
5085
- $event
5086
- ) {
5087
- _vm.$set(
5088
- title,
5089
- "count",
5090
- $event
5091
- )
5092
- },
5093
- },
5094
- },
5095
- "es-upload",
5096
- _vm.handleExclAttribute(
5079
+ : _vm._e(),
5080
+ contents.type === "iframe" &&
5081
+ !contents.blank
5082
+ ? _c("iframe", {
5083
+ attrs: {
5084
+ id:
5085
+ contents.id ||
5086
+ contents.name,
5087
+ name: contents.name,
5088
+ frameborder: "0",
5089
+ width: "100%",
5090
+ height: "100%",
5091
+ src: _vm.handleUrlJoinParams(
5097
5092
  {
5098
- data: contents,
5099
- attrs: [
5100
- "events",
5101
- "type",
5102
- ],
5093
+ url: contents.url,
5094
+ param:
5095
+ contents.param ||
5096
+ {},
5103
5097
  }
5104
5098
  ),
5105
- false
5106
- ),
5107
- Object.assign(
5108
- {},
5109
- contents.events
5099
+ },
5100
+ })
5101
+ : _vm._e(),
5102
+ contents.type === "attachment"
5103
+ ? _c(
5104
+ "es-upload",
5105
+ _vm._g(
5106
+ _vm._b(
5107
+ {
5108
+ staticClass:
5109
+ "es-attachment",
5110
+ attrs: {
5111
+ display: show,
5112
+ "file-count":
5113
+ title.count,
5114
+ height: "auto",
5115
+ },
5116
+ on: {
5117
+ "update:fileCount":
5118
+ function (
5119
+ $event
5120
+ ) {
5121
+ _vm.$set(
5122
+ title,
5123
+ "count",
5124
+ $event
5125
+ )
5126
+ },
5127
+ },
5128
+ },
5129
+ "es-upload",
5130
+ _vm.handleExclAttribute(
5131
+ {
5132
+ data: contents,
5133
+ attrs: [
5134
+ "events",
5135
+ "type",
5136
+ ],
5137
+ }
5138
+ ),
5139
+ false
5140
+ ),
5141
+ Object.assign(
5142
+ {},
5143
+ contents.events
5144
+ )
5110
5145
  )
5111
5146
  )
5112
- )
5113
- : _vm._e(),
5114
- ],
5115
- ]
5147
+ : _vm._e(),
5148
+ ],
5149
+ ]
5150
+ },
5116
5151
  },
5117
- },
5118
- ]),
5119
- },
5120
- "es-tabs-panel",
5121
- items,
5122
- false
5123
- )
5124
- ),
5125
- ]
5152
+ ]),
5153
+ },
5154
+ "es-tabs-panel",
5155
+ items,
5156
+ false
5157
+ )
5158
+ ),
5159
+ ]
5160
+ },
5126
5161
  },
5127
- },
5128
- ]),
5129
- },
5130
- [
5131
- items.title
5132
- ? _c("template", { slot: "label" }, [
5133
- _c(
5134
- "span",
5135
- [
5136
- typeof items.title === "object"
5137
- ? [
5138
- items.title.icon
5139
- ? _c("i", { class: items.title.icon })
5140
- : _vm._e(),
5141
- Object.prototype.hasOwnProperty.call(
5142
- items.title,
5143
- "count"
5144
- )
5145
- ? _c("el-badge", {
5146
- attrs: {
5147
- type: "primary",
5148
- value: items.title.count,
5149
- max: 99,
5150
- },
5151
- })
5152
- : _vm._e(),
5153
- _vm._v(
5154
- "\n " +
5155
- _vm._s(items.title.text) +
5156
- "\n "
5157
- ),
5158
- ]
5159
- : [_vm._v(_vm._s(items.title))],
5160
- ],
5161
- 2
5162
- ),
5163
- ])
5164
- : _vm._e(),
5165
- ],
5166
- 2
5167
- )
5168
- : _vm._e(),
5169
- ]
5170
- }),
5162
+ ]),
5163
+ },
5164
+ [
5165
+ items.title
5166
+ ? _c("template", { slot: "label" }, [
5167
+ _c(
5168
+ "span",
5169
+ [
5170
+ typeof items.title === "object"
5171
+ ? [
5172
+ items.title.icon
5173
+ ? _c("i", { class: items.title.icon })
5174
+ : _vm._e(),
5175
+ Object.prototype.hasOwnProperty.call(
5176
+ items.title,
5177
+ "count"
5178
+ )
5179
+ ? _c("el-badge", {
5180
+ attrs: {
5181
+ type: "primary",
5182
+ value: items.title.count,
5183
+ max: 99,
5184
+ },
5185
+ })
5186
+ : _vm._e(),
5187
+ _vm._v(
5188
+ "\n " +
5189
+ _vm._s(items.title.text) +
5190
+ "\n "
5191
+ ),
5192
+ ]
5193
+ : [_vm._v(_vm._s(items.title))],
5194
+ ],
5195
+ 2
5196
+ ),
5197
+ ])
5198
+ : _vm._e(),
5199
+ ],
5200
+ 2
5201
+ )
5202
+ : _vm._e(),
5203
+ ]
5204
+ }),
5205
+ ]),
5171
5206
  ],
5172
5207
  2
5173
5208
  )
@@ -5176,7 +5211,7 @@ var staticRenderFns = []
5176
5211
  render._withStripped = true
5177
5212
 
5178
5213
 
5179
- // CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=6c10896a&
5214
+ // CONCATENATED MODULE: ./packages/tabs/src/main.vue?vue&type=template&id=f3f60fca&
5180
5215
 
5181
5216
  // EXTERNAL MODULE: ./src/utils/util.js
5182
5217
  var util = __webpack_require__(0);
@@ -5799,6 +5834,10 @@ var util = __webpack_require__(0);
5799
5834
  //
5800
5835
  //
5801
5836
  //
5837
+ //
5838
+ //
5839
+ //
5840
+ //
5802
5841
 
5803
5842
 
5804
5843
  /* harmony default export */ var mainvue_type_script_lang_js_ = ({
@@ -5829,7 +5868,8 @@ var util = __webpack_require__(0);
5829
5868
  default: function _default() {
5830
5869
  return [];
5831
5870
  }
5832
- }
5871
+ },
5872
+ states: [Array, Object]
5833
5873
  },
5834
5874
  watch: {
5835
5875
  activeName: function activeName(val) {
@@ -5840,26 +5880,20 @@ var util = __webpack_require__(0);
5840
5880
  immediate: true,
5841
5881
  deep: true,
5842
5882
  handler: function handler(val) {
5843
- var _this = this;
5844
-
5845
5883
  if (val.length) {
5846
- if (this.isSubmit) {
5847
- var obj = {};
5848
- val.forEach(function (item, index) {
5849
- var key = item.name || String(index);
5850
- if (Array.isArray(item.contents)) {
5851
- obj[key] = true;
5852
- for (var i = 0; i < item.contents.length; i++) {
5853
- if (item.contents[i].type === 'form') {
5854
- obj[key] = Object.prototype.hasOwnProperty.call(item.contents[i], 'isSubmit') ? item.contents[i].isSubmit : _this.isSubmit ? false : true;
5855
- break;
5856
- }
5857
- }
5858
- } else {
5859
- obj[key] = item.contents.type === 'form' ? obj[key] = Object.prototype.hasOwnProperty.call(item.contents, 'isSubmit') ? item.contents.isSubmit : _this.isSubmit ? false : true : true;
5860
- }
5861
- });
5862
- this.state = obj;
5884
+ this.getState(val);
5885
+ }
5886
+ }
5887
+ },
5888
+ states: {
5889
+ immediate: true,
5890
+ deep: true,
5891
+ handler: function handler(val) {
5892
+ if (val) {
5893
+ if (Array.isArray(val) && val.length) {
5894
+ this.getState(val);
5895
+ } else if (Object.keys(val).length) {
5896
+ this.state = val;
5863
5897
  }
5864
5898
  }
5865
5899
  }
@@ -5893,6 +5927,28 @@ var util = __webpack_require__(0);
5893
5927
  },
5894
5928
 
5895
5929
  methods: {
5930
+ getState: function getState(val) {
5931
+ var _this = this;
5932
+
5933
+ if (this.isSubmit) {
5934
+ var obj = {};
5935
+ val.forEach(function (item, index) {
5936
+ var key = item.name || String(index);
5937
+ if (Array.isArray(item.contents)) {
5938
+ obj[key] = true;
5939
+ for (var i = 0; i < item.contents.length; i++) {
5940
+ if (item.contents[i].type === 'form') {
5941
+ obj[key] = Object.prototype.hasOwnProperty.call(item.contents[i], 'isSubmit') ? item.contents[i].isSubmit : _this.isSubmit ? false : true;
5942
+ break;
5943
+ }
5944
+ }
5945
+ } else {
5946
+ obj[key] = item.contents.type === 'form' ? obj[key] = Object.prototype.hasOwnProperty.call(item.contents, 'isSubmit') ? item.contents.isSubmit : _this.isSubmit ? false : true : true;
5947
+ }
5948
+ });
5949
+ this.state = obj;
5950
+ }
5951
+ },
5896
5952
  handleExclAttribute: function handleExclAttribute(_ref) {
5897
5953
  var data = _ref.data,
5898
5954
  attrs = _ref.attrs;