eoss-ui 0.4.56 → 0.4.57
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 +4 -2
- package/lib/button.js +4 -2
- package/lib/checkbox-group.js +4 -2
- package/lib/data-table-form.js +4 -2
- package/lib/data-table.js +10 -7
- package/lib/date-picker.js +4 -2
- package/lib/dialog.js +4 -2
- package/lib/eoss-ui.common.js +330 -79
- package/lib/flow-group.js +4 -2
- package/lib/flow-list.js +4 -2
- package/lib/flow.js +274 -28
- package/lib/form.js +21 -20
- package/lib/handle-user.js +4 -2
- package/lib/handler.js +4 -2
- package/lib/index.js +1 -1
- package/lib/input-number.js +4 -2
- package/lib/input.js +4 -2
- package/lib/login.js +7 -4
- package/lib/main.js +4 -2
- package/lib/mainComp.js +4 -2
- package/lib/nav.js +4 -2
- package/lib/page.js +4 -2
- package/lib/player.js +4 -2
- package/lib/qr-code.js +4 -2
- package/lib/radio-group.js +4 -2
- package/lib/retrial-auth.js +4 -2
- package/lib/select-ganged.js +4 -2
- package/lib/select.js +4 -2
- package/lib/selector-panel.js +4 -2
- package/lib/selector.js +4 -2
- package/lib/sizer.js +4 -2
- package/lib/steps.js +4 -2
- package/lib/switch.js +4 -2
- package/lib/table-form.js +4 -2
- package/lib/tabs.js +4 -2
- package/lib/tips.js +4 -2
- package/lib/toolbar.js +12 -8
- package/lib/tree-group.js +4 -2
- package/lib/tree.js +4 -2
- package/lib/upload.js +4 -2
- package/lib/utils/util.js +4 -2
- package/lib/wujie.js +4 -2
- package/lib/wxlogin.js +4 -2
- package/package.json +1 -1
- 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/toolbar/src/main.vue +6 -1
- package/src/index.js +1 -1
- package/src/utils/util.js +4 -2
- package/CHANGELOG.md +0 -929
package/lib/button-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);
|
package/lib/button.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);
|
package/lib/checkbox-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);
|
package/lib/data-table-form.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);
|
package/lib/data-table.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);
|
|
@@ -2892,8 +2894,8 @@ module.exports = require("vue");
|
|
|
2892
2894
|
// ESM COMPAT FLAG
|
|
2893
2895
|
__webpack_require__.r(__webpack_exports__);
|
|
2894
2896
|
|
|
2895
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=
|
|
2896
|
-
var
|
|
2897
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/data-table/src/main.vue?vue&type=template&id=4aace4e3&
|
|
2898
|
+
var mainvue_type_template_id_4aace4e3_render = function () {
|
|
2897
2899
|
var _vm = this
|
|
2898
2900
|
var _h = _vm.$createElement
|
|
2899
2901
|
var _c = _vm._self._c || _h
|
|
@@ -3228,10 +3230,10 @@ var mainvue_type_template_id_59cbc514_render = function () {
|
|
|
3228
3230
|
)
|
|
3229
3231
|
}
|
|
3230
3232
|
var staticRenderFns = []
|
|
3231
|
-
|
|
3233
|
+
mainvue_type_template_id_4aace4e3_render._withStripped = true
|
|
3232
3234
|
|
|
3233
3235
|
|
|
3234
|
-
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=
|
|
3236
|
+
// CONCATENATED MODULE: ./packages/data-table/src/main.vue?vue&type=template&id=4aace4e3&
|
|
3235
3237
|
|
|
3236
3238
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
3237
3239
|
var api = __webpack_require__(1);
|
|
@@ -6577,6 +6579,7 @@ var mainvue_type_script_lang_js_components;
|
|
|
6577
6579
|
this.$emit('next', res);
|
|
6578
6580
|
},
|
|
6579
6581
|
hanleSearch: function hanleSearch(data) {
|
|
6582
|
+
console.log(data);
|
|
6580
6583
|
this.wheres = data;
|
|
6581
6584
|
if (this.url) {
|
|
6582
6585
|
if (this.response !== undefined) {
|
|
@@ -6720,7 +6723,7 @@ var mainvue_type_script_lang_js_components;
|
|
|
6720
6723
|
|
|
6721
6724
|
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
6722
6725
|
src_mainvue_type_script_lang_js_,
|
|
6723
|
-
|
|
6726
|
+
mainvue_type_template_id_4aace4e3_render,
|
|
6724
6727
|
staticRenderFns,
|
|
6725
6728
|
false,
|
|
6726
6729
|
null,
|
package/lib/date-picker.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);
|
package/lib/dialog.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);
|