eoss-ui 0.5.90 → 0.5.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/button-group.js +9 -3
- package/lib/button.js +9 -3
- package/lib/checkbox-group.js +9 -3
- package/lib/data-table-form.js +9 -3
- package/lib/data-table.js +9 -3
- package/lib/date-picker.js +9 -3
- package/lib/dialog.js +9 -3
- package/lib/eoss-ui.common.js +4744 -4471
- package/lib/flow-group.js +9 -3
- package/lib/flow-list.js +9 -3
- package/lib/flow.js +9 -3
- package/lib/form.js +4500 -4242
- package/lib/handle-user.js +9 -3
- package/lib/handler.js +206 -195
- package/lib/icon.js +9 -3
- package/lib/index.js +1 -1
- package/lib/input-number.js +9 -3
- package/lib/input.js +9 -3
- package/lib/login.js +23 -7
- package/lib/main.js +21 -15
- package/lib/nav.js +9 -3
- package/lib/page.js +9 -3
- package/lib/pagination.js +9 -3
- package/lib/player.js +9 -3
- package/lib/qr-code.js +9 -3
- package/lib/radio-group.js +9 -3
- package/lib/retrial-auth.js +9 -3
- package/lib/select-ganged.js +9 -3
- package/lib/select.js +9 -3
- package/lib/selector-panel.js +9 -3
- package/lib/selector.js +9 -3
- package/lib/sizer.js +9 -3
- package/lib/steps.js +9 -3
- package/lib/switch.js +9 -3
- package/lib/table-form.js +9 -3
- package/lib/tabs.js +9 -3
- package/lib/tips.js +9 -3
- package/lib/tree-group.js +9 -3
- package/lib/tree.js +9 -3
- package/lib/upload.js +9 -3
- package/lib/utils/util.js +9 -3
- package/lib/wujie.js +9 -3
- package/lib/wxlogin.js +9 -3
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/form/src/main.vue +1863 -1759
- package/packages/handler/src/main.vue +95 -97
- package/packages/login/src/main.vue +17 -6
- package/packages/main/src/main.vue +2 -1
- package/packages/main/src/simplicity/index.vue +2 -1
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +426 -238
package/lib/handle-user.js
CHANGED
|
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
|
|
|
259
259
|
}
|
|
260
260
|
if (response.status === 200) {
|
|
261
261
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
262
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
262
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
263
263
|
var href = '';
|
|
264
264
|
try {
|
|
265
265
|
href = win.top.location.href;
|
|
@@ -1020,7 +1020,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1020
1020
|
fields.push(td.property);
|
|
1021
1021
|
aligns.push(td.align);
|
|
1022
1022
|
if (td.labelKey && td.valueKey) {
|
|
1023
|
-
keys[td.property] = {
|
|
1023
|
+
keys[td.property] = {
|
|
1024
|
+
labelKey: td.labelKey,
|
|
1025
|
+
valueKey: td.valueKey,
|
|
1026
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1027
|
+
};
|
|
1024
1028
|
}
|
|
1025
1029
|
} else {
|
|
1026
1030
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2984,7 +2988,9 @@ var toFunction = function toFunction(str) {
|
|
|
2984
2988
|
var renders = str.split('=>');
|
|
2985
2989
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2986
2990
|
// eslint-disable-next-line no-control-regex
|
|
2987
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2992
|
+
// eslint-disable-next-line no-control-regex
|
|
2993
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2988
2994
|
var fn = void 0;
|
|
2989
2995
|
if (args.length) {
|
|
2990
2996
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
package/lib/handler.js
CHANGED
|
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
|
|
|
259
259
|
}
|
|
260
260
|
if (response.status === 200) {
|
|
261
261
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
262
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
262
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
263
263
|
var href = '';
|
|
264
264
|
try {
|
|
265
265
|
href = win.top.location.href;
|
|
@@ -1020,7 +1020,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1020
1020
|
fields.push(td.property);
|
|
1021
1021
|
aligns.push(td.align);
|
|
1022
1022
|
if (td.labelKey && td.valueKey) {
|
|
1023
|
-
keys[td.property] = {
|
|
1023
|
+
keys[td.property] = {
|
|
1024
|
+
labelKey: td.labelKey,
|
|
1025
|
+
valueKey: td.valueKey,
|
|
1026
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1027
|
+
};
|
|
1024
1028
|
}
|
|
1025
1029
|
} else {
|
|
1026
1030
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2984,7 +2988,9 @@ var toFunction = function toFunction(str) {
|
|
|
2984
2988
|
var renders = str.split('=>');
|
|
2985
2989
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2986
2990
|
// eslint-disable-next-line no-control-regex
|
|
2987
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2992
|
+
// eslint-disable-next-line no-control-regex
|
|
2993
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2988
2994
|
var fn = void 0;
|
|
2989
2995
|
if (args.length) {
|
|
2990
2996
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
|
@@ -3751,7 +3757,7 @@ module.exports = require("qs");
|
|
|
3751
3757
|
// ESM COMPAT FLAG
|
|
3752
3758
|
__webpack_require__.r(__webpack_exports__);
|
|
3753
3759
|
|
|
3754
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=
|
|
3760
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=2cddbcc4&
|
|
3755
3761
|
var render = function () {
|
|
3756
3762
|
var _vm = this
|
|
3757
3763
|
var _h = _vm.$createElement
|
|
@@ -3760,206 +3766,214 @@ var render = function () {
|
|
|
3760
3766
|
"ul",
|
|
3761
3767
|
{ staticClass: "es-handler" },
|
|
3762
3768
|
_vm._l(_vm.lists, function (item, index) {
|
|
3763
|
-
return
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
data: item,
|
|
3773
|
-
userModel: _vm.userModel,
|
|
3774
|
-
"job-scrollbar": _vm.jobScrollbar,
|
|
3775
|
-
},
|
|
3776
|
-
on: {
|
|
3777
|
-
"visible-change": _vm.handleVisibleChange,
|
|
3778
|
-
click: _vm.handleClick,
|
|
3779
|
-
change: _vm.handleChange,
|
|
3780
|
-
},
|
|
3781
|
-
})
|
|
3782
|
-
: item.type === "date"
|
|
3783
|
-
? _c("div", { staticClass: "es-handler-date" }, [
|
|
3784
|
-
_c("div", [
|
|
3785
|
-
_vm._v("\n " + _vm._s(_vm.time) + "\n "),
|
|
3786
|
-
_vm.show
|
|
3787
|
-
? _c("span", [
|
|
3788
|
-
_vm._v("当前"),
|
|
3789
|
-
_c(
|
|
3790
|
-
"span",
|
|
3791
|
-
{
|
|
3792
|
-
staticClass: "es-online-num",
|
|
3793
|
-
class: { "es-pointer": _vm.onlineList },
|
|
3794
|
-
on: {
|
|
3795
|
-
click: function ($event) {
|
|
3796
|
-
$event.stopPropagation()
|
|
3797
|
-
_vm.onlineList
|
|
3798
|
-
? _vm.handleClick({ type: "online" })
|
|
3799
|
-
: ""
|
|
3800
|
-
},
|
|
3801
|
-
},
|
|
3802
|
-
},
|
|
3803
|
-
[_vm._v(_vm._s(_vm.online))]
|
|
3804
|
-
),
|
|
3805
|
-
_vm._v("人在线"),
|
|
3806
|
-
])
|
|
3807
|
-
: _vm._e(),
|
|
3808
|
-
]),
|
|
3809
|
-
_c("div", [_vm._v("今 天:" + _vm._s(_vm.date))]),
|
|
3810
|
-
])
|
|
3811
|
-
: item.type === "system"
|
|
3812
|
-
? _c(
|
|
3813
|
-
"el-popover",
|
|
3814
|
-
{
|
|
3815
|
-
ref: "system",
|
|
3816
|
-
refInFor: true,
|
|
3769
|
+
return _c(
|
|
3770
|
+
"li",
|
|
3771
|
+
{ key: index, staticClass: "es-handler-item" },
|
|
3772
|
+
[
|
|
3773
|
+
!item.hide
|
|
3774
|
+
? [
|
|
3775
|
+
item.type === "user"
|
|
3776
|
+
? _c("es-handle-user", {
|
|
3777
|
+
staticClass: "es-handler-user",
|
|
3817
3778
|
attrs: {
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
"
|
|
3821
|
-
_vm.system.length > 4
|
|
3822
|
-
? "es-popper-sub-system is-width"
|
|
3823
|
-
: "es-popper-sub-system",
|
|
3779
|
+
data: item,
|
|
3780
|
+
userModel: _vm.userModel,
|
|
3781
|
+
"job-scrollbar": _vm.jobScrollbar,
|
|
3824
3782
|
},
|
|
3825
3783
|
on: {
|
|
3826
|
-
|
|
3827
|
-
|
|
3784
|
+
"visible-change": _vm.handleVisibleChange,
|
|
3785
|
+
click: _vm.handleClick,
|
|
3786
|
+
change: _vm.handleChange,
|
|
3787
|
+
},
|
|
3788
|
+
})
|
|
3789
|
+
: item.type === "date"
|
|
3790
|
+
? _c("div", { staticClass: "es-handler-date" }, [
|
|
3791
|
+
_c("div", [
|
|
3792
|
+
_vm._v(
|
|
3793
|
+
"\n " + _vm._s(_vm.time) + "\n "
|
|
3794
|
+
),
|
|
3795
|
+
_vm.show
|
|
3796
|
+
? _c("span", [
|
|
3797
|
+
_vm._v("当前"),
|
|
3798
|
+
_c(
|
|
3799
|
+
"span",
|
|
3800
|
+
{
|
|
3801
|
+
staticClass: "es-online-num",
|
|
3802
|
+
class: { "es-pointer": _vm.onlineList },
|
|
3803
|
+
on: {
|
|
3804
|
+
click: function ($event) {
|
|
3805
|
+
$event.stopPropagation()
|
|
3806
|
+
_vm.onlineList
|
|
3807
|
+
? _vm.handleClick({ type: "online" })
|
|
3808
|
+
: ""
|
|
3809
|
+
},
|
|
3810
|
+
},
|
|
3811
|
+
},
|
|
3812
|
+
[_vm._v(_vm._s(_vm.online))]
|
|
3813
|
+
),
|
|
3814
|
+
_vm._v("人在线"),
|
|
3815
|
+
])
|
|
3816
|
+
: _vm._e(),
|
|
3817
|
+
]),
|
|
3818
|
+
_c("div", [_vm._v("今 天:" + _vm._s(_vm.date))]),
|
|
3819
|
+
])
|
|
3820
|
+
: item.type === "system"
|
|
3821
|
+
? _c(
|
|
3822
|
+
"el-popover",
|
|
3823
|
+
{
|
|
3824
|
+
ref: "system",
|
|
3825
|
+
refInFor: true,
|
|
3826
|
+
attrs: {
|
|
3827
|
+
placement: "bottom",
|
|
3828
|
+
trigger: "hover",
|
|
3829
|
+
"popper-class":
|
|
3830
|
+
_vm.system.length > 4
|
|
3831
|
+
? "es-popper-sub-system is-width"
|
|
3832
|
+
: "es-popper-sub-system",
|
|
3828
3833
|
},
|
|
3829
|
-
|
|
3830
|
-
|
|
3834
|
+
on: {
|
|
3835
|
+
show: function ($event) {
|
|
3836
|
+
_vm.showPopper = true
|
|
3837
|
+
},
|
|
3838
|
+
hide: function ($event) {
|
|
3839
|
+
_vm.showPopper = false
|
|
3840
|
+
},
|
|
3831
3841
|
},
|
|
3832
3842
|
},
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
},
|
|
3856
|
-
attrs: { title: ele.text },
|
|
3857
|
-
on: {
|
|
3858
|
-
click: function ($event) {
|
|
3859
|
-
$event.stopPropagation()
|
|
3860
|
-
_vm.handleSelect({ node: ele })
|
|
3843
|
+
[
|
|
3844
|
+
_vm.system.length
|
|
3845
|
+
? _c(
|
|
3846
|
+
"el-scrollbar",
|
|
3847
|
+
{ attrs: { "max-height": _vm.maxHeight } },
|
|
3848
|
+
[
|
|
3849
|
+
_c(
|
|
3850
|
+
"ul",
|
|
3851
|
+
{ staticClass: "es-sub-system" },
|
|
3852
|
+
_vm._l(_vm.system, function (ele) {
|
|
3853
|
+
return _c(
|
|
3854
|
+
"li",
|
|
3855
|
+
{
|
|
3856
|
+
key: ele.id,
|
|
3857
|
+
staticClass: "es-sub-system-item",
|
|
3858
|
+
class: {
|
|
3859
|
+
"es-disabled":
|
|
3860
|
+
(_vm.application &&
|
|
3861
|
+
!ele.hasPermission) ||
|
|
3862
|
+
(ele.extendData &&
|
|
3863
|
+
ele.extendData.businessStatus ==
|
|
3864
|
+
0),
|
|
3861
3865
|
},
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
{
|
|
3868
|
-
attrs: {
|
|
3869
|
-
"is-dot":
|
|
3870
|
-
typeof ele.tips === "boolean",
|
|
3871
|
-
hidden: !ele.tips,
|
|
3872
|
-
max: 99,
|
|
3873
|
-
value:
|
|
3874
|
-
typeof ele.tips !== "boolean"
|
|
3875
|
-
? ele.tips
|
|
3876
|
-
: 0,
|
|
3866
|
+
attrs: { title: ele.text },
|
|
3867
|
+
on: {
|
|
3868
|
+
click: function ($event) {
|
|
3869
|
+
$event.stopPropagation()
|
|
3870
|
+
_vm.handleSelect({ node: ele })
|
|
3877
3871
|
},
|
|
3878
3872
|
},
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
"
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
? ""
|
|
3894
|
-
: ele.icons
|
|
3895
|
-
),
|
|
3873
|
+
},
|
|
3874
|
+
[
|
|
3875
|
+
_c(
|
|
3876
|
+
"el-badge",
|
|
3877
|
+
{
|
|
3878
|
+
attrs: {
|
|
3879
|
+
"is-dot":
|
|
3880
|
+
typeof ele.tips === "boolean",
|
|
3881
|
+
hidden: !ele.tips,
|
|
3882
|
+
max: 99,
|
|
3883
|
+
value:
|
|
3884
|
+
typeof ele.tips !== "boolean"
|
|
3885
|
+
? ele.tips
|
|
3886
|
+
: 0,
|
|
3896
3887
|
},
|
|
3897
|
-
}
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3888
|
+
},
|
|
3889
|
+
[
|
|
3890
|
+
_c("i", {
|
|
3891
|
+
class: [
|
|
3892
|
+
_vm.unicode(ele.icons)
|
|
3893
|
+
? ele.icons
|
|
3894
|
+
: "es-icon",
|
|
3895
|
+
"es-sub-system-icon",
|
|
3896
|
+
{
|
|
3897
|
+
"es-icon-yingyong":
|
|
3898
|
+
!ele.icons,
|
|
3899
|
+
},
|
|
3900
|
+
],
|
|
3901
|
+
domProps: {
|
|
3902
|
+
innerHTML: _vm._s(
|
|
3903
|
+
_vm.unicode(ele.icons)
|
|
3904
|
+
? ""
|
|
3905
|
+
: ele.icons
|
|
3906
|
+
),
|
|
3907
|
+
},
|
|
3908
|
+
}),
|
|
3909
|
+
]
|
|
3910
|
+
),
|
|
3911
|
+
_c(
|
|
3912
|
+
"div",
|
|
3913
|
+
{
|
|
3914
|
+
staticClass: "es-sub-system-title",
|
|
3915
|
+
},
|
|
3916
|
+
[_vm._v(_vm._s(ele.text))]
|
|
3917
|
+
),
|
|
3918
|
+
],
|
|
3919
|
+
1
|
|
3920
|
+
)
|
|
3921
|
+
}),
|
|
3922
|
+
0
|
|
3923
|
+
),
|
|
3924
|
+
]
|
|
3925
|
+
)
|
|
3926
|
+
: _vm._e(),
|
|
3927
|
+
_c("div", {
|
|
3928
|
+
staticClass: "es-handler-icon",
|
|
3929
|
+
class: item.icon,
|
|
3930
|
+
attrs: { slot: "reference", title: item.title },
|
|
3931
|
+
slot: "reference",
|
|
3932
|
+
}),
|
|
3933
|
+
],
|
|
3934
|
+
1
|
|
3935
|
+
)
|
|
3936
|
+
: item.type === "notice"
|
|
3937
|
+
? _c(
|
|
3938
|
+
"el-badge",
|
|
3939
|
+
{
|
|
3940
|
+
staticClass: "es-badge",
|
|
3941
|
+
attrs: {
|
|
3942
|
+
value: _vm.notice,
|
|
3943
|
+
max: 99,
|
|
3944
|
+
hidden: _vm.notice === 0,
|
|
3945
|
+
},
|
|
3932
3946
|
},
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3947
|
+
[
|
|
3948
|
+
_c("div", {
|
|
3949
|
+
staticClass: "es-handler-icon",
|
|
3950
|
+
class: item.icon,
|
|
3951
|
+
attrs: { title: item.title },
|
|
3952
|
+
on: {
|
|
3953
|
+
click: function ($event) {
|
|
3954
|
+
$event.stopPropagation()
|
|
3955
|
+
_vm.handleClick(item)
|
|
3956
|
+
},
|
|
3943
3957
|
},
|
|
3958
|
+
}),
|
|
3959
|
+
]
|
|
3960
|
+
)
|
|
3961
|
+
: _c("div", {
|
|
3962
|
+
staticClass: "es-handler-icon",
|
|
3963
|
+
class: item.icon,
|
|
3964
|
+
attrs: { title: item.title },
|
|
3965
|
+
on: {
|
|
3966
|
+
click: function ($event) {
|
|
3967
|
+
$event.stopPropagation()
|
|
3968
|
+
_vm.handleClick(item)
|
|
3944
3969
|
},
|
|
3945
|
-
}),
|
|
3946
|
-
]
|
|
3947
|
-
)
|
|
3948
|
-
: _c("div", {
|
|
3949
|
-
staticClass: "es-handler-icon",
|
|
3950
|
-
class: item.icon,
|
|
3951
|
-
attrs: { title: item.title },
|
|
3952
|
-
on: {
|
|
3953
|
-
click: function ($event) {
|
|
3954
|
-
$event.stopPropagation()
|
|
3955
|
-
_vm.handleClick(item)
|
|
3956
3970
|
},
|
|
3957
|
-
},
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3971
|
+
}),
|
|
3972
|
+
]
|
|
3973
|
+
: _vm._e(),
|
|
3974
|
+
],
|
|
3975
|
+
2
|
|
3976
|
+
)
|
|
3963
3977
|
}),
|
|
3964
3978
|
0
|
|
3965
3979
|
)
|
|
@@ -3968,7 +3982,7 @@ var staticRenderFns = []
|
|
|
3968
3982
|
render._withStripped = true
|
|
3969
3983
|
|
|
3970
3984
|
|
|
3971
|
-
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=
|
|
3985
|
+
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=2cddbcc4&
|
|
3972
3986
|
|
|
3973
3987
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
3974
3988
|
var api = __webpack_require__(1);
|
|
@@ -4082,9 +4096,6 @@ var util = __webpack_require__(0);
|
|
|
4082
4096
|
//
|
|
4083
4097
|
//
|
|
4084
4098
|
//
|
|
4085
|
-
//
|
|
4086
|
-
//
|
|
4087
|
-
//
|
|
4088
4099
|
|
|
4089
4100
|
|
|
4090
4101
|
|
|
@@ -4272,7 +4283,7 @@ var util = __webpack_require__(0);
|
|
|
4272
4283
|
}).then(function () {
|
|
4273
4284
|
util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
4274
4285
|
if (res.rCode == 0) {
|
|
4275
|
-
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
4286
|
+
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
4276
4287
|
if (_this2.onQuit && typeof _this2.onQuit === 'function') {
|
|
4277
4288
|
_this2.onQuit();
|
|
4278
4289
|
} else {
|
package/lib/icon.js
CHANGED
|
@@ -259,7 +259,7 @@ var ajax = function ajax(_ref) {
|
|
|
259
259
|
}
|
|
260
260
|
if (response.status === 200) {
|
|
261
261
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
262
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
262
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
263
263
|
var href = '';
|
|
264
264
|
try {
|
|
265
265
|
href = win.top.location.href;
|
|
@@ -1020,7 +1020,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1020
1020
|
fields.push(td.property);
|
|
1021
1021
|
aligns.push(td.align);
|
|
1022
1022
|
if (td.labelKey && td.valueKey) {
|
|
1023
|
-
keys[td.property] = {
|
|
1023
|
+
keys[td.property] = {
|
|
1024
|
+
labelKey: td.labelKey,
|
|
1025
|
+
valueKey: td.valueKey,
|
|
1026
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1027
|
+
};
|
|
1024
1028
|
}
|
|
1025
1029
|
} else {
|
|
1026
1030
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2984,7 +2988,9 @@ var toFunction = function toFunction(str) {
|
|
|
2984
2988
|
var renders = str.split('=>');
|
|
2985
2989
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2986
2990
|
// eslint-disable-next-line no-control-regex
|
|
2987
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2992
|
+
// eslint-disable-next-line no-control-regex
|
|
2993
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2988
2994
|
var fn = void 0;
|
|
2989
2995
|
if (args.length) {
|
|
2990
2996
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|