eoss-ui 0.5.90 → 0.5.92
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 +4780 -4501
- 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 +32 -26
- 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 +17 -10
- package/lib/selector.js +16 -5
- 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/public/search.vue +6 -4
- package/packages/main/src/simplicity/index.vue +2 -1
- package/packages/selector/src/main.vue +4 -0
- package/packages/selector-panel/src/main.vue +19 -5
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +426 -238
package/lib/selector-panel.js
CHANGED
|
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
|
|
|
258
258
|
}
|
|
259
259
|
if (response.status === 200) {
|
|
260
260
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
261
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
261
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
262
262
|
var href = '';
|
|
263
263
|
try {
|
|
264
264
|
href = win.top.location.href;
|
|
@@ -1019,7 +1019,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1019
1019
|
fields.push(td.property);
|
|
1020
1020
|
aligns.push(td.align);
|
|
1021
1021
|
if (td.labelKey && td.valueKey) {
|
|
1022
|
-
keys[td.property] = {
|
|
1022
|
+
keys[td.property] = {
|
|
1023
|
+
labelKey: td.labelKey,
|
|
1024
|
+
valueKey: td.valueKey,
|
|
1025
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1026
|
+
};
|
|
1023
1027
|
}
|
|
1024
1028
|
} else {
|
|
1025
1029
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2983,7 +2987,9 @@ var toFunction = function toFunction(str) {
|
|
|
2983
2987
|
var renders = str.split('=>');
|
|
2984
2988
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2985
2989
|
// eslint-disable-next-line no-control-regex
|
|
2986
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2990
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
// eslint-disable-next-line no-control-regex
|
|
2992
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2987
2993
|
var fn = void 0;
|
|
2988
2994
|
if (args.length) {
|
|
2989
2995
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
|
@@ -3941,7 +3947,7 @@ module.exports = require("sortablejs");
|
|
|
3941
3947
|
// ESM COMPAT FLAG
|
|
3942
3948
|
__webpack_require__.r(__webpack_exports__);
|
|
3943
3949
|
|
|
3944
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
3950
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/main.vue?vue&type=template&id=1990039f&
|
|
3945
3951
|
var render = function () {
|
|
3946
3952
|
var _vm = this
|
|
3947
3953
|
var _h = _vm.$createElement
|
|
@@ -4208,7 +4214,7 @@ var staticRenderFns = []
|
|
|
4208
4214
|
render._withStripped = true
|
|
4209
4215
|
|
|
4210
4216
|
|
|
4211
|
-
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=
|
|
4217
|
+
// CONCATENATED MODULE: ./packages/selector-panel/src/main.vue?vue&type=template&id=1990039f&
|
|
4212
4218
|
|
|
4213
4219
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/tree.vue?vue&type=template&id=24ad732a&
|
|
4214
4220
|
var treevue_type_template_id_24ad732a_render = function () {
|
|
@@ -5500,11 +5506,12 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5500
5506
|
this.nodeData = this.trees[active].nodeData;
|
|
5501
5507
|
} else {
|
|
5502
5508
|
if (typeof this.selection === 'string') {
|
|
5509
|
+
var params = this.param[this.activeName] ? this.param[this.activeName] : this.param;
|
|
5503
5510
|
util["a" /* default */].ajax({
|
|
5504
5511
|
method: this.method,
|
|
5505
5512
|
url: this.host + this.selection,
|
|
5506
|
-
params:
|
|
5507
|
-
data:
|
|
5513
|
+
params: params,
|
|
5514
|
+
data: params
|
|
5508
5515
|
}).then(function (res) {
|
|
5509
5516
|
if (res.rCode === 0) {
|
|
5510
5517
|
_this3.selections = JSON.parse(JSON.stringify(res.results));
|
|
@@ -5524,7 +5531,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5524
5531
|
getTreeData: function getTreeData(url, params, id) {
|
|
5525
5532
|
var _this4 = this;
|
|
5526
5533
|
|
|
5527
|
-
var data = util["a" /* default */].extend({}, params, this.param);
|
|
5534
|
+
var data = util["a" /* default */].extend({}, params, this.param[this.activeName] ? this.param[this.activeName] : this.param);
|
|
5528
5535
|
if (id !== undefined) {
|
|
5529
5536
|
data.id = id;
|
|
5530
5537
|
}
|
|
@@ -5553,7 +5560,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5553
5560
|
if (flag) {
|
|
5554
5561
|
if (data.selection === undefined || data.selection.length === 0) {
|
|
5555
5562
|
this.checkAll = false;
|
|
5556
|
-
var params = util["a" /* default */].extend({}, this.param);
|
|
5563
|
+
var params = util["a" /* default */].extend({}, this.param[this.activeName] ? this.param[this.activeName] : this.param);
|
|
5557
5564
|
params.type = this.activeName;
|
|
5558
5565
|
params.mid = data.id;
|
|
5559
5566
|
if (this.activeName === 'enterprise') {
|
|
@@ -5594,7 +5601,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
5594
5601
|
data.state = '';
|
|
5595
5602
|
}
|
|
5596
5603
|
if (data.state !== '' && (!data.children || data.children.length === 0)) {
|
|
5597
|
-
var _params = util["a" /* default */].extend({}, this.newTabs[this.activeName].param, this.param);
|
|
5604
|
+
var _params = util["a" /* default */].extend({}, this.newTabs[this.activeName].param, this.param[this.activeName] ? this.param[this.activeName] : this.param);
|
|
5598
5605
|
_params.id = data.id;
|
|
5599
5606
|
util["a" /* default */].ajax({
|
|
5600
5607
|
method: this.method,
|
package/lib/selector.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])))();
|
|
@@ -3765,7 +3771,7 @@ module.exports = require("axios");
|
|
|
3765
3771
|
// ESM COMPAT FLAG
|
|
3766
3772
|
__webpack_require__.r(__webpack_exports__);
|
|
3767
3773
|
|
|
3768
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=
|
|
3774
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=template&id=495533b9&
|
|
3769
3775
|
var render = function () {
|
|
3770
3776
|
var _vm = this
|
|
3771
3777
|
var _h = _vm.$createElement
|
|
@@ -4288,6 +4294,7 @@ var render = function () {
|
|
|
4288
4294
|
isShowLevel3: _vm.isShowLevel3,
|
|
4289
4295
|
},
|
|
4290
4296
|
on: {
|
|
4297
|
+
tabschage: _vm.tabschage,
|
|
4291
4298
|
"!click": function ($event) {
|
|
4292
4299
|
return _vm.stopd($event)
|
|
4293
4300
|
},
|
|
@@ -4321,7 +4328,7 @@ var staticRenderFns = []
|
|
|
4321
4328
|
render._withStripped = true
|
|
4322
4329
|
|
|
4323
4330
|
|
|
4324
|
-
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=
|
|
4331
|
+
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=495533b9&
|
|
4325
4332
|
|
|
4326
4333
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
4327
4334
|
var util = __webpack_require__(0);
|
|
@@ -4546,6 +4553,7 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
4546
4553
|
//
|
|
4547
4554
|
//
|
|
4548
4555
|
//
|
|
4556
|
+
//
|
|
4549
4557
|
|
|
4550
4558
|
|
|
4551
4559
|
|
|
@@ -4871,6 +4879,9 @@ var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
|
4871
4879
|
handleBlur: function handleBlur() {
|
|
4872
4880
|
this.focus = false;
|
|
4873
4881
|
},
|
|
4882
|
+
tabschage: function tabschage(trees, active) {
|
|
4883
|
+
this.$emit('tabs-change', trees, active);
|
|
4884
|
+
},
|
|
4874
4885
|
handleClose: function handleClose(res) {
|
|
4875
4886
|
if (!this.multiple && this.selected[0] === this.words) {
|
|
4876
4887
|
this.selected = [];
|
package/lib/sizer.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/steps.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/switch.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/table-form.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/tabs.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/tips.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/tree-group.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/tree.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/upload.js
CHANGED
|
@@ -258,7 +258,7 @@ var ajax = function ajax(_ref) {
|
|
|
258
258
|
}
|
|
259
259
|
if (response.status === 200) {
|
|
260
260
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
261
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
261
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
262
262
|
var href = '';
|
|
263
263
|
try {
|
|
264
264
|
href = win.top.location.href;
|
|
@@ -1019,7 +1019,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
1019
1019
|
fields.push(td.property);
|
|
1020
1020
|
aligns.push(td.align);
|
|
1021
1021
|
if (td.labelKey && td.valueKey) {
|
|
1022
|
-
keys[td.property] = {
|
|
1022
|
+
keys[td.property] = {
|
|
1023
|
+
labelKey: td.labelKey,
|
|
1024
|
+
valueKey: td.valueKey,
|
|
1025
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
1026
|
+
};
|
|
1023
1027
|
}
|
|
1024
1028
|
} else {
|
|
1025
1029
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2983,7 +2987,9 @@ var toFunction = function toFunction(str) {
|
|
|
2983
2987
|
var renders = str.split('=>');
|
|
2984
2988
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2985
2989
|
// eslint-disable-next-line no-control-regex
|
|
2986
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2990
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2991
|
+
// eslint-disable-next-line no-control-regex
|
|
2992
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2987
2993
|
var fn = void 0;
|
|
2988
2994
|
if (args.length) {
|
|
2989
2995
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
package/lib/utils/util.js
CHANGED
|
@@ -176,7 +176,7 @@ var ajax = function ajax(_ref) {
|
|
|
176
176
|
}
|
|
177
177
|
if (response.status === 200) {
|
|
178
178
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
179
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
179
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
180
180
|
var href = '';
|
|
181
181
|
try {
|
|
182
182
|
href = win.top.location.href;
|
|
@@ -937,7 +937,11 @@ var exportXls = function exportXls(_ref6) {
|
|
|
937
937
|
fields.push(td.property);
|
|
938
938
|
aligns.push(td.align);
|
|
939
939
|
if (td.labelKey && td.valueKey) {
|
|
940
|
-
keys[td.property] = {
|
|
940
|
+
keys[td.property] = {
|
|
941
|
+
labelKey: td.labelKey,
|
|
942
|
+
valueKey: td.valueKey,
|
|
943
|
+
multiple: !!(td.valueToString || td['value-to-string'])
|
|
944
|
+
};
|
|
941
945
|
}
|
|
942
946
|
} else {
|
|
943
947
|
others[String(col)] = [td.property, td.align];
|
|
@@ -2901,7 +2905,9 @@ var toFunction = function toFunction(str) {
|
|
|
2901
2905
|
var renders = str.split('=>');
|
|
2902
2906
|
var args = renders[0].replace('(', '').replace(')', '').split(',');
|
|
2903
2907
|
// eslint-disable-next-line no-control-regex
|
|
2904
|
-
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2908
|
+
var fnStr = renders[1].trim().replace(new RegExp('\n', 'gm'), '')
|
|
2909
|
+
// eslint-disable-next-line no-control-regex
|
|
2910
|
+
.replace(new RegExp('\t', 'gm'), '').replace(new RegExp('^\\{+|\\}+$', 'g'), '');
|
|
2905
2911
|
var fn = void 0;
|
|
2906
2912
|
if (args.length) {
|
|
2907
2913
|
fn = new (Function.prototype.bind.apply(Function, [null].concat(args, [fnStr])))();
|
package/lib/wujie.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/wxlogin.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/package.json
CHANGED
|
Binary file
|