eoss-ui 0.4.56 → 0.4.58
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 +5 -2
- package/lib/button.js +5 -2
- package/lib/checkbox-group.js +5 -2
- package/lib/data-table-form.js +5 -2
- package/lib/data-table.js +11 -7
- package/lib/date-picker.js +5 -2
- package/lib/dialog.js +5 -2
- package/lib/eoss-ui.common.js +383 -118
- package/lib/flow-group.js +5 -2
- package/lib/flow-list.js +5 -2
- package/lib/flow.js +275 -28
- package/lib/form.js +22 -20
- package/lib/handle-user.js +5 -2
- package/lib/handler.js +5 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +5 -2
- package/lib/input.js +5 -2
- package/lib/login.js +8 -4
- package/lib/main.js +15 -10
- package/lib/mainComp.js +5 -2
- package/lib/nav.js +5 -2
- package/lib/page.js +5 -2
- package/lib/player.js +5 -2
- package/lib/qr-code.js +5 -2
- package/lib/radio-group.js +5 -2
- package/lib/retrial-auth.js +10 -6
- package/lib/select-ganged.js +5 -2
- package/lib/select.js +5 -2
- package/lib/selector-panel.js +5 -2
- package/lib/selector.js +5 -2
- package/lib/sizer.js +5 -2
- package/lib/steps.js +5 -2
- package/lib/switch.js +5 -2
- package/lib/table-form.js +5 -2
- package/lib/tabs.js +5 -2
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +5 -2
- package/lib/toolbar.js +12 -8
- package/lib/tree-group.js +5 -2
- package/lib/tree.js +5 -2
- package/lib/upload.js +30 -17
- package/lib/utils/util.js +5 -2
- package/lib/wujie.js +5 -2
- package/lib/wxlogin.js +5 -2
- package/package.json +2 -2
- package/packages/data-table/src/main.vue +1 -0
- package/packages/flow/src/main.vue +148 -11
- package/packages/flow/src/startTaskRead.vue +12 -9
- package/packages/form/src/main.vue +13 -7
- package/packages/login/src/main.vue +1 -0
- package/packages/main/src/main.vue +8 -6
- package/packages/retrial-auth/src/main.vue +3 -2
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/upload.scss +50 -26
- package/packages/toolbar/src/main.vue +6 -1
- package/packages/upload/src/main.vue +13 -10
- package/src/index.js +1 -1
- package/src/utils/util.js +5 -2
package/lib/input-number.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/input.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/login.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
|
@@ -2855,7 +2858,7 @@ function normalizeComponent(
|
|
|
2855
2858
|
// ESM COMPAT FLAG
|
|
2856
2859
|
__webpack_require__.r(__webpack_exports__);
|
|
2857
2860
|
|
|
2858
|
-
// 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=
|
|
2861
|
+
// 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=49ebf1b6&
|
|
2859
2862
|
var render = function () {
|
|
2860
2863
|
var _vm = this
|
|
2861
2864
|
var _h = _vm.$createElement
|
|
@@ -3705,7 +3708,7 @@ var staticRenderFns = []
|
|
|
3705
3708
|
render._withStripped = true
|
|
3706
3709
|
|
|
3707
3710
|
|
|
3708
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
3711
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=49ebf1b6&
|
|
3709
3712
|
|
|
3710
3713
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/login/src/resetPassword.vue?vue&type=template&id=4f5da52e&
|
|
3711
3714
|
var resetPasswordvue_type_template_id_4f5da52e_render = function () {
|
|
@@ -5316,6 +5319,7 @@ var mainvue_type_script_lang_js_extends = Object.assign || function (target) { f
|
|
|
5316
5319
|
type: 'success',
|
|
5317
5320
|
duration: 1500,
|
|
5318
5321
|
onClose: function onClose() {
|
|
5322
|
+
sessionStorage.removeItem('remind');
|
|
5319
5323
|
if (_this10.toUrl) {
|
|
5320
5324
|
window.location.href = _this10.toUrl;
|
|
5321
5325
|
} else if (results.doorIndex && _this10.doorIndex) {
|
package/lib/main.js
CHANGED
|
@@ -248,7 +248,9 @@ var ajax = function ajax(_ref) {
|
|
|
248
248
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
249
249
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
250
250
|
clearTimeout(loginMsg);
|
|
251
|
-
|
|
251
|
+
var remind = sessionStorage.getItem('remind');
|
|
252
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
253
|
+
sessionStorage.setItem('remind', 1);
|
|
252
254
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
253
255
|
confirmButtonText: '确定',
|
|
254
256
|
closeOnClickModal: false,
|
|
@@ -275,7 +277,7 @@ var ajax = function ajax(_ref) {
|
|
|
275
277
|
}
|
|
276
278
|
}
|
|
277
279
|
}).catch(function (e) {});
|
|
278
|
-
}, 1000);
|
|
280
|
+
}, 1000));
|
|
279
281
|
}
|
|
280
282
|
} else if (response.data.rCode === 61) {
|
|
281
283
|
clearTimeout(initAuth);
|
|
@@ -292,6 +294,7 @@ var ajax = function ajax(_ref) {
|
|
|
292
294
|
return h('es-retrial-auth', {
|
|
293
295
|
ref: 'auth',
|
|
294
296
|
props: {
|
|
297
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
295
298
|
group: response.data.results.retrialAuthGroupIds,
|
|
296
299
|
type: response.data.results.retrialAuthType,
|
|
297
300
|
msgBox: msgBox
|
|
@@ -2916,7 +2919,7 @@ module.exports = require("stompjs");
|
|
|
2916
2919
|
// ESM COMPAT FLAG
|
|
2917
2920
|
__webpack_require__.r(__webpack_exports__);
|
|
2918
2921
|
|
|
2919
|
-
// 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=
|
|
2922
|
+
// 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=558be874&
|
|
2920
2923
|
var render = function () {
|
|
2921
2924
|
var _vm = this
|
|
2922
2925
|
var _h = _vm.$createElement
|
|
@@ -3344,7 +3347,7 @@ var staticRenderFns = []
|
|
|
3344
3347
|
render._withStripped = true
|
|
3345
3348
|
|
|
3346
3349
|
|
|
3347
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
3350
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=558be874&
|
|
3348
3351
|
|
|
3349
3352
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/userinfo.vue?vue&type=template&id=327101d6&
|
|
3350
3353
|
var userinfovue_type_template_id_327101d6_render = function () {
|
|
@@ -6429,12 +6432,14 @@ var log = util["a" /* default */].getParams('console');
|
|
|
6429
6432
|
}
|
|
6430
6433
|
break;
|
|
6431
6434
|
case 'sys':
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6435
|
+
if (Number(node.urlopenmode) !== 1) {
|
|
6436
|
+
this.navIds = [node.id];
|
|
6437
|
+
this.tabs = [];
|
|
6438
|
+
this.menu = node.children;
|
|
6439
|
+
this.title = node.text;
|
|
6440
|
+
this.active = this.getFirst(node.children[0]).id;
|
|
6441
|
+
this.isSide = true;
|
|
6442
|
+
}
|
|
6438
6443
|
break;
|
|
6439
6444
|
case 'sub':
|
|
6440
6445
|
this.navIds = [node.id];
|
package/lib/mainComp.js
CHANGED
|
@@ -248,7 +248,9 @@ var ajax = function ajax(_ref) {
|
|
|
248
248
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
249
249
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
250
250
|
clearTimeout(loginMsg);
|
|
251
|
-
|
|
251
|
+
var remind = sessionStorage.getItem('remind');
|
|
252
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
253
|
+
sessionStorage.setItem('remind', 1);
|
|
252
254
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
253
255
|
confirmButtonText: '确定',
|
|
254
256
|
closeOnClickModal: false,
|
|
@@ -275,7 +277,7 @@ var ajax = function ajax(_ref) {
|
|
|
275
277
|
}
|
|
276
278
|
}
|
|
277
279
|
}).catch(function (e) {});
|
|
278
|
-
}, 1000);
|
|
280
|
+
}, 1000));
|
|
279
281
|
}
|
|
280
282
|
} else if (response.data.rCode === 61) {
|
|
281
283
|
clearTimeout(initAuth);
|
|
@@ -292,6 +294,7 @@ var ajax = function ajax(_ref) {
|
|
|
292
294
|
return h('es-retrial-auth', {
|
|
293
295
|
ref: 'auth',
|
|
294
296
|
props: {
|
|
297
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
295
298
|
group: response.data.results.retrialAuthGroupIds,
|
|
296
299
|
type: response.data.results.retrialAuthType,
|
|
297
300
|
msgBox: msgBox
|
package/lib/nav.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/page.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/player.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/qr-code.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/radio-group.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/retrial-auth.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
|
@@ -2844,7 +2847,7 @@ module.exports = require("axios");
|
|
|
2844
2847
|
// ESM COMPAT FLAG
|
|
2845
2848
|
__webpack_require__.r(__webpack_exports__);
|
|
2846
2849
|
|
|
2847
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=
|
|
2850
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/retrial-auth/src/main.vue?vue&type=template&id=74d02fd0&
|
|
2848
2851
|
var render = function () {
|
|
2849
2852
|
var _vm = this
|
|
2850
2853
|
var _h = _vm.$createElement
|
|
@@ -2998,7 +3001,7 @@ var staticRenderFns = []
|
|
|
2998
3001
|
render._withStripped = true
|
|
2999
3002
|
|
|
3000
3003
|
|
|
3001
|
-
// CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=
|
|
3004
|
+
// CONCATENATED MODULE: ./packages/retrial-auth/src/main.vue?vue&type=template&id=74d02fd0&
|
|
3002
3005
|
|
|
3003
3006
|
// EXTERNAL MODULE: ./src/utils/util.js
|
|
3004
3007
|
var util = __webpack_require__(0);
|
|
@@ -3072,6 +3075,7 @@ var api = __webpack_require__(1);
|
|
|
3072
3075
|
name: 'EsRetrialAuth',
|
|
3073
3076
|
inheritAttrs: false,
|
|
3074
3077
|
props: {
|
|
3078
|
+
reload: Boolean,
|
|
3075
3079
|
group: String,
|
|
3076
3080
|
type: Array,
|
|
3077
3081
|
msgBox: {}
|
|
@@ -3180,7 +3184,7 @@ var api = __webpack_require__(1);
|
|
|
3180
3184
|
type: 'success'
|
|
3181
3185
|
});
|
|
3182
3186
|
_this3.msgBox.handleClose();
|
|
3183
|
-
util["a" /* default */].win.top.location.reload();
|
|
3187
|
+
_this3.reload && util["a" /* default */].win.top.location.reload();
|
|
3184
3188
|
} else {
|
|
3185
3189
|
_this3.$message({
|
|
3186
3190
|
message: msg,
|
|
@@ -3256,7 +3260,7 @@ var api = __webpack_require__(1);
|
|
|
3256
3260
|
type: 'success'
|
|
3257
3261
|
});
|
|
3258
3262
|
_this5.msgBox.handleClose();
|
|
3259
|
-
util["a" /* default */].win.top.location.reload();
|
|
3263
|
+
_this5.reload && util["a" /* default */].win.top.location.reload();
|
|
3260
3264
|
} else {
|
|
3261
3265
|
_this5.scanCode = setTimeout(function () {
|
|
3262
3266
|
_this5.handleScanCodeRetrialAuth();
|
package/lib/select-ganged.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/select.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/selector-panel.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/selector.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/sizer.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/steps.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|
package/lib/switch.js
CHANGED
|
@@ -249,7 +249,9 @@ var ajax = function ajax(_ref) {
|
|
|
249
249
|
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
250
250
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
251
251
|
clearTimeout(loginMsg);
|
|
252
|
-
|
|
252
|
+
var remind = sessionStorage.getItem('remind');
|
|
253
|
+
!remind && (loginMsg = setTimeout(function () {
|
|
254
|
+
sessionStorage.setItem('remind', 1);
|
|
253
255
|
eoss_element__WEBPACK_IMPORTED_MODULE_4__["MessageBox"].confirm(response.data.rCode === 69 ? '该账号在其他地方已登陆!' : '登录已过期,请重新登录!', '提示', response.data.rCode === 69 ? {
|
|
254
256
|
confirmButtonText: '确定',
|
|
255
257
|
closeOnClickModal: false,
|
|
@@ -276,7 +278,7 @@ var ajax = function ajax(_ref) {
|
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
}).catch(function (e) {});
|
|
279
|
-
}, 1000);
|
|
281
|
+
}, 1000));
|
|
280
282
|
}
|
|
281
283
|
} else if (response.data.rCode === 61) {
|
|
282
284
|
clearTimeout(initAuth);
|
|
@@ -293,6 +295,7 @@ var ajax = function ajax(_ref) {
|
|
|
293
295
|
return h('es-retrial-auth', {
|
|
294
296
|
ref: 'auth',
|
|
295
297
|
props: {
|
|
298
|
+
reload: response.data.results.reload || response.data.results.refresh,
|
|
296
299
|
group: response.data.results.retrialAuthGroupIds,
|
|
297
300
|
type: response.data.results.retrialAuthType,
|
|
298
301
|
msgBox: msgBox
|