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/input-number.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/input.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/login.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])))();
|
|
@@ -3992,7 +3998,7 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
|
|
|
3992
3998
|
// ESM COMPAT FLAG
|
|
3993
3999
|
__webpack_require__.r(__webpack_exports__);
|
|
3994
4000
|
|
|
3995
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=
|
|
4001
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/main.vue?vue&type=template&id=56141b5b&
|
|
3996
4002
|
var render = function () {
|
|
3997
4003
|
var _vm = this
|
|
3998
4004
|
var _h = _vm.$createElement
|
|
@@ -4953,7 +4959,7 @@ var staticRenderFns = []
|
|
|
4953
4959
|
render._withStripped = true
|
|
4954
4960
|
|
|
4955
4961
|
|
|
4956
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
4962
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=56141b5b&
|
|
4957
4963
|
|
|
4958
4964
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
4959
4965
|
var regenerator_ = __webpack_require__(13);
|
|
@@ -6160,7 +6166,16 @@ var ceshi = util["a" /* default */].getParams('ceshi');
|
|
|
6160
6166
|
}
|
|
6161
6167
|
},
|
|
6162
6168
|
warnInfo: function warnInfo() {
|
|
6163
|
-
|
|
6169
|
+
if (this.warning === false && !this.warningText) {
|
|
6170
|
+
return false;
|
|
6171
|
+
}
|
|
6172
|
+
if (this.warningText && this.warningText !== 'true' && this.warningText !== true) {
|
|
6173
|
+
return this.warningText;
|
|
6174
|
+
}
|
|
6175
|
+
if (this.warning && typeof this.warning === 'string') {
|
|
6176
|
+
return this.warning;
|
|
6177
|
+
}
|
|
6178
|
+
return '本系统为非涉密系统,禁止上传和处理任何涉密文件';
|
|
6164
6179
|
},
|
|
6165
6180
|
switchs: function switchs() {
|
|
6166
6181
|
return Array.isArray(this.loginModel) ? this.loginModel.length : this.loginModel.split(',').length;
|
|
@@ -6313,6 +6328,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
|
|
|
6313
6328
|
checkCode: '',
|
|
6314
6329
|
showAssistance: false,
|
|
6315
6330
|
doAssistance: null,
|
|
6331
|
+
warningText: '',
|
|
6316
6332
|
safes: {
|
|
6317
6333
|
paste: function paste(event) {
|
|
6318
6334
|
event.preventDefault();
|
|
@@ -6337,7 +6353,7 @@ var ceshi = util["a" /* default */].getParams('ceshi');
|
|
|
6337
6353
|
this.setScale = Object(external_throttle_debounce_["debounce"])(300, function () {
|
|
6338
6354
|
util["a" /* default */].setScale();
|
|
6339
6355
|
});
|
|
6340
|
-
util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes']);
|
|
6356
|
+
util["a" /* default */].removeStorage(['remind', 'ssId', 'token', 'Authorization', 'deviceUnique', 'userId', 'userName', 'useCaseCodes', 'showLaunch']);
|
|
6341
6357
|
},
|
|
6342
6358
|
created: function created() {
|
|
6343
6359
|
if (ceshi == 'true' || ceshi == true) {
|
package/lib/main.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])))();
|
|
@@ -3963,7 +3969,7 @@ module.exports = require("wujie-vue2");
|
|
|
3963
3969
|
// ESM COMPAT FLAG
|
|
3964
3970
|
__webpack_require__.r(__webpack_exports__);
|
|
3965
3971
|
|
|
3966
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=
|
|
3972
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=template&id=3aaac316&
|
|
3967
3973
|
var render = function () {
|
|
3968
3974
|
var _vm = this
|
|
3969
3975
|
var _h = _vm.$createElement
|
|
@@ -4037,10 +4043,10 @@ var staticRenderFns = []
|
|
|
4037
4043
|
render._withStripped = true
|
|
4038
4044
|
|
|
4039
4045
|
|
|
4040
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
4046
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=3aaac316&
|
|
4041
4047
|
|
|
4042
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
4043
|
-
var
|
|
4048
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/index.vue?vue&type=template&id=7c181d54&scoped=true&
|
|
4049
|
+
var simplicityvue_type_template_id_7c181d54_scoped_true_render = function () {
|
|
4044
4050
|
var _vm = this
|
|
4045
4051
|
var _h = _vm.$createElement
|
|
4046
4052
|
var _c = _vm._self._c || _h
|
|
@@ -4666,11 +4672,11 @@ var simplicityvue_type_template_id_d7dbfbf8_scoped_true_render = function () {
|
|
|
4666
4672
|
),
|
|
4667
4673
|
])
|
|
4668
4674
|
}
|
|
4669
|
-
var
|
|
4670
|
-
|
|
4675
|
+
var simplicityvue_type_template_id_7c181d54_scoped_true_staticRenderFns = []
|
|
4676
|
+
simplicityvue_type_template_id_7c181d54_scoped_true_render._withStripped = true
|
|
4671
4677
|
|
|
4672
4678
|
|
|
4673
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=
|
|
4679
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/index.vue?vue&type=template&id=7c181d54&scoped=true&
|
|
4674
4680
|
|
|
4675
4681
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/avatar.vue?vue&type=template&id=1560e8bf&scoped=true&
|
|
4676
4682
|
var avatarvue_type_template_id_1560e8bf_scoped_true_render = function () {
|
|
@@ -8575,8 +8581,8 @@ var online_component = Object(componentNormalizer["a" /* default */])(
|
|
|
8575
8581
|
)
|
|
8576
8582
|
|
|
8577
8583
|
/* harmony default export */ var online = (online_component.exports);
|
|
8578
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=
|
|
8579
|
-
var
|
|
8584
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
|
|
8585
|
+
var searchvue_type_template_id_4c2b6f24_render = function () {
|
|
8580
8586
|
var _vm = this
|
|
8581
8587
|
var _h = _vm.$createElement
|
|
8582
8588
|
var _c = _vm._self._c || _h
|
|
@@ -8986,11 +8992,11 @@ var searchvue_type_template_id_fa3bcf48_render = function () {
|
|
|
8986
8992
|
1
|
|
8987
8993
|
)
|
|
8988
8994
|
}
|
|
8989
|
-
var
|
|
8990
|
-
|
|
8995
|
+
var searchvue_type_template_id_4c2b6f24_staticRenderFns = []
|
|
8996
|
+
searchvue_type_template_id_4c2b6f24_render._withStripped = true
|
|
8991
8997
|
|
|
8992
8998
|
|
|
8993
|
-
// CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=
|
|
8999
|
+
// CONCATENATED MODULE: ./packages/main/src/public/search.vue?vue&type=template&id=4c2b6f24&
|
|
8994
9000
|
|
|
8995
9001
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/public/search.vue?vue&type=script&lang=js&
|
|
8996
9002
|
var searchvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -9228,7 +9234,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9228
9234
|
_this.searchAll(res);
|
|
9229
9235
|
});
|
|
9230
9236
|
this.handleSearchd = Object(external_throttle_debounce_["debounce"])(500, function (obj, index) {
|
|
9231
|
-
_this.handleSearch(obj, index);
|
|
9237
|
+
_this.handleSearch(obj, index, false);
|
|
9232
9238
|
});
|
|
9233
9239
|
},
|
|
9234
9240
|
created: function created() {
|
|
@@ -9323,7 +9329,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9323
9329
|
this.$set(this.noMore, item.id || String(i), true);
|
|
9324
9330
|
} else if (item.dataRequestUrl) {
|
|
9325
9331
|
this.isLoading = true;
|
|
9326
|
-
this.handleSearch(item, i);
|
|
9332
|
+
this.handleSearch(item, i, true);
|
|
9327
9333
|
} else {
|
|
9328
9334
|
this.types[i].records = [];
|
|
9329
9335
|
this.types[i].totalCount = 0;
|
|
@@ -9361,7 +9367,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9361
9367
|
});
|
|
9362
9368
|
return records;
|
|
9363
9369
|
},
|
|
9364
|
-
handleSearch: function handleSearch(obj, index) {
|
|
9370
|
+
handleSearch: function handleSearch(obj, index, reset) {
|
|
9365
9371
|
var _this4 = this;
|
|
9366
9372
|
|
|
9367
9373
|
if (obj.pageNum < obj.pageCount && this.keyWords) {
|
|
@@ -9397,7 +9403,7 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9397
9403
|
obj.totalCount = results.totalCount;
|
|
9398
9404
|
obj.pageCount = results.pageCount;
|
|
9399
9405
|
obj.pageNum = results.pageNum;
|
|
9400
|
-
obj.records = obj.records.concat(results.records);
|
|
9406
|
+
obj.records = reset ? results.records : obj.records.concat(results.records);
|
|
9401
9407
|
_this4.$set(_this4.noMore, obj.id || String(index), results.pageNum >= results.pageCount);
|
|
9402
9408
|
} else {
|
|
9403
9409
|
_this4.types[index].records = [];
|
|
@@ -9447,8 +9453,8 @@ var searchvue_type_script_lang_js_extends = Object.assign || function (target) {
|
|
|
9447
9453
|
|
|
9448
9454
|
var search_component = Object(componentNormalizer["a" /* default */])(
|
|
9449
9455
|
public_searchvue_type_script_lang_js_,
|
|
9450
|
-
|
|
9451
|
-
|
|
9456
|
+
searchvue_type_template_id_4c2b6f24_render,
|
|
9457
|
+
searchvue_type_template_id_4c2b6f24_staticRenderFns,
|
|
9452
9458
|
false,
|
|
9453
9459
|
null,
|
|
9454
9460
|
null,
|
|
@@ -11110,7 +11116,7 @@ var events = [function (tabs, index, that) {
|
|
|
11110
11116
|
}).then(function () {
|
|
11111
11117
|
util["a" /* default */].ajax({ method: 'post', url: api["eb" /* logout */] }).then(function (res) {
|
|
11112
11118
|
if (res.rCode == 0) {
|
|
11113
|
-
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
11119
|
+
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
11114
11120
|
if (_this8.onQuit && typeof _this8.onQuit === 'function') {
|
|
11115
11121
|
_this8.onQuit();
|
|
11116
11122
|
} else {
|
|
@@ -11291,11 +11297,11 @@ var events = [function (tabs, index, that) {
|
|
|
11291
11297
|
|
|
11292
11298
|
var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
11293
11299
|
src_simplicityvue_type_script_lang_js_,
|
|
11294
|
-
|
|
11295
|
-
|
|
11300
|
+
simplicityvue_type_template_id_7c181d54_scoped_true_render,
|
|
11301
|
+
simplicityvue_type_template_id_7c181d54_scoped_true_staticRenderFns,
|
|
11296
11302
|
false,
|
|
11297
11303
|
null,
|
|
11298
|
-
"
|
|
11304
|
+
"7c181d54",
|
|
11299
11305
|
null
|
|
11300
11306
|
|
|
11301
11307
|
)
|
|
@@ -15547,7 +15553,7 @@ var bus = external_wujie_vue2_default.a.bus;
|
|
|
15547
15553
|
console.log('handleReLogin');
|
|
15548
15554
|
sessionStorage.setItem('remind', 1);
|
|
15549
15555
|
_this2.$confirm(msg, btn).then(function () {
|
|
15550
|
-
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
15556
|
+
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump', 'showLaunch']);
|
|
15551
15557
|
var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
|
|
15552
15558
|
try {
|
|
15553
15559
|
if (loginPage) {
|
package/lib/nav.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/page.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/pagination.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/player.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/qr-code.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/radio-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/retrial-auth.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/select-ganged.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/select.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])))();
|