eoss-ui 0.4.58 → 0.4.59
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 +18 -5
- package/lib/button.js +18 -5
- package/lib/checkbox-group.js +18 -5
- package/lib/clients.js +95 -4
- package/lib/data-table-form.js +18 -5
- package/lib/data-table.js +23 -11
- package/lib/date-picker.js +18 -5
- package/lib/dialog.js +18 -5
- package/lib/eoss-ui.common.js +1322 -1049
- package/lib/flow-group.js +927 -860
- package/lib/flow-list.js +18 -5
- package/lib/flow.js +31 -16
- package/lib/form.js +18 -5
- package/lib/handle-user.js +18 -5
- package/lib/handler.js +37 -15
- package/lib/index.js +1 -1
- package/lib/input-number.js +18 -5
- package/lib/input.js +30 -10
- package/lib/login.js +101 -33
- package/lib/main.js +62 -30
- package/lib/mainComp.js +18 -5
- package/lib/nav.js +18 -5
- package/lib/page.js +18 -5
- package/lib/player.js +18 -5
- package/lib/qr-code.js +18 -5
- package/lib/radio-group.js +18 -5
- package/lib/retrial-auth.js +18 -5
- package/lib/select-ganged.js +18 -5
- package/lib/select.js +18 -5
- package/lib/selector-panel.js +18 -5
- package/lib/selector.js +18 -5
- package/lib/sizer.js +18 -5
- package/lib/steps.js +18 -5
- package/lib/switch.js +18 -5
- package/lib/table-form.js +25 -11
- package/lib/tabs.js +18 -5
- package/lib/theme-chalk/clients.css +1 -1
- package/lib/theme-chalk/flow-group.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/tips.js +18 -5
- package/lib/toolbar.js +0 -1
- package/lib/tree-group.js +18 -5
- package/lib/tree.js +18 -5
- package/lib/upload.js +89 -52
- package/lib/utils/util.js +18 -5
- package/lib/wujie.js +18 -5
- package/lib/wxlogin.js +18 -5
- package/package.json +2 -2
- package/packages/clients/src/main.vue +60 -2
- package/packages/data-table/src/main.vue +0 -1
- package/packages/flow/src/main.vue +1 -0
- package/packages/flow/src/startTaskRead.vue +2 -2
- package/packages/flow-group/src/main.vue +284 -265
- package/packages/form/src/table.vue +3 -2
- package/packages/handler/src/main.vue +20 -10
- package/packages/input/src/main.vue +7 -2
- package/packages/login/src/main.vue +77 -27
- package/packages/main/src/main.vue +20 -10
- package/packages/main/src/userinfo.vue +20 -9
- package/packages/theme-chalk/lib/clients.css +1 -1
- package/packages/theme-chalk/lib/flow-group.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/src/clients.scss +8 -0
- package/packages/theme-chalk/src/flow-group.scss +9 -3
- package/packages/theme-chalk/src/login.scss +3 -0
- package/packages/toolbar/src/main.vue +0 -1
- package/packages/upload/src/main.vue +43 -27
- package/src/index.js +1 -1
- package/src/utils/util.js +20 -10
package/lib/flow-list.js
CHANGED
|
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
267
|
+
var src = void 0;
|
|
268
|
+
if (!startWith(loginPage, ['http', '/'])) {
|
|
269
|
+
var pathname = win.top.location.pathname;
|
|
270
|
+
if (pathname !== '/') {
|
|
271
|
+
pathname = pathname.split('/');
|
|
272
|
+
pathname.splice(pathname.length - 1);
|
|
273
|
+
pathname = pathname.join('/');
|
|
274
|
+
}
|
|
275
|
+
src = pathname + loginPage.replace('./', '');
|
|
276
|
+
} else {
|
|
277
|
+
src = loginPage;
|
|
278
|
+
}
|
|
279
|
+
win.top.location.href = src;
|
|
268
280
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
281
|
win.top.location.href = './login.html';
|
|
270
282
|
} else {
|
|
271
283
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
284
|
+
if (hash) {
|
|
273
285
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
286
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
287
|
} else {
|
|
277
288
|
win.top.location.href = '/login.html';
|
|
278
289
|
}
|
|
279
290
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
291
|
+
}).catch(function (e) {
|
|
292
|
+
sessionStorage.removeItem('remind');
|
|
293
|
+
});
|
|
281
294
|
}, 1000));
|
|
282
295
|
}
|
|
283
296
|
} else if (response.data.rCode === 61) {
|
package/lib/flow.js
CHANGED
|
@@ -263,20 +263,33 @@ var ajax = function ajax(_ref) {
|
|
|
263
263
|
}).then(function () {
|
|
264
264
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
265
265
|
if (loginPage) {
|
|
266
|
-
|
|
266
|
+
var src = void 0;
|
|
267
|
+
if (!startWith(loginPage, ['http', '/'])) {
|
|
268
|
+
var pathname = win.top.location.pathname;
|
|
269
|
+
if (pathname !== '/') {
|
|
270
|
+
pathname = pathname.split('/');
|
|
271
|
+
pathname.splice(pathname.length - 1);
|
|
272
|
+
pathname = pathname.join('/');
|
|
273
|
+
}
|
|
274
|
+
src = pathname + loginPage.replace('./', '');
|
|
275
|
+
} else {
|
|
276
|
+
src = loginPage;
|
|
277
|
+
}
|
|
278
|
+
win.top.location.href = src;
|
|
267
279
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
268
280
|
win.top.location.href = './login.html';
|
|
269
281
|
} else {
|
|
270
282
|
var hash = win.top.location.hash;
|
|
271
|
-
if (hash
|
|
283
|
+
if (hash) {
|
|
272
284
|
var len = win.top.location.href.indexOf(hash);
|
|
273
|
-
|
|
274
|
-
win.top.location.href = href;
|
|
285
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
275
286
|
} else {
|
|
276
287
|
win.top.location.href = '/login.html';
|
|
277
288
|
}
|
|
278
289
|
}
|
|
279
|
-
}).catch(function (e) {
|
|
290
|
+
}).catch(function (e) {
|
|
291
|
+
sessionStorage.removeItem('remind');
|
|
292
|
+
});
|
|
280
293
|
}, 1000));
|
|
281
294
|
}
|
|
282
295
|
} else if (response.data.rCode === 61) {
|
|
@@ -3049,7 +3062,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
3049
3062
|
// ESM COMPAT FLAG
|
|
3050
3063
|
__webpack_require__.r(__webpack_exports__);
|
|
3051
3064
|
|
|
3052
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=
|
|
3065
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/main.vue?vue&type=template&id=122da260&
|
|
3053
3066
|
var render = function () {
|
|
3054
3067
|
var _vm = this
|
|
3055
3068
|
var _h = _vm.$createElement
|
|
@@ -4553,7 +4566,7 @@ var staticRenderFns = []
|
|
|
4553
4566
|
render._withStripped = true
|
|
4554
4567
|
|
|
4555
4568
|
|
|
4556
|
-
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=
|
|
4569
|
+
// CONCATENATED MODULE: ./packages/flow/src/main.vue?vue&type=template&id=122da260&
|
|
4557
4570
|
|
|
4558
4571
|
// EXTERNAL MODULE: external "babel-runtime/regenerator"
|
|
4559
4572
|
var regenerator_ = __webpack_require__(9);
|
|
@@ -9612,8 +9625,8 @@ var processReject_component = Object(componentNormalizer["a" /* default */])(
|
|
|
9612
9625
|
)
|
|
9613
9626
|
|
|
9614
9627
|
/* harmony default export */ var processReject = (processReject_component.exports);
|
|
9615
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
9616
|
-
var
|
|
9628
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=template&id=44f07b3f&
|
|
9629
|
+
var startTaskReadvue_type_template_id_44f07b3f_render = function () {
|
|
9617
9630
|
var _vm = this
|
|
9618
9631
|
var _h = _vm.$createElement
|
|
9619
9632
|
var _c = _vm._self._c || _h
|
|
@@ -9988,11 +10001,11 @@ var startTaskReadvue_type_template_id_503131e8_render = function () {
|
|
|
9988
10001
|
1
|
|
9989
10002
|
)
|
|
9990
10003
|
}
|
|
9991
|
-
var
|
|
9992
|
-
|
|
10004
|
+
var startTaskReadvue_type_template_id_44f07b3f_staticRenderFns = []
|
|
10005
|
+
startTaskReadvue_type_template_id_44f07b3f_render._withStripped = true
|
|
9993
10006
|
|
|
9994
10007
|
|
|
9995
|
-
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=
|
|
10008
|
+
// CONCATENATED MODULE: ./packages/flow/src/startTaskRead.vue?vue&type=template&id=44f07b3f&
|
|
9996
10009
|
|
|
9997
10010
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/startTaskRead.vue?vue&type=script&lang=js&
|
|
9998
10011
|
var startTaskReadvue_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; };
|
|
@@ -10418,7 +10431,8 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
10418
10431
|
pendingId = this.pendingId,
|
|
10419
10432
|
nextNode = this.nextNode,
|
|
10420
10433
|
newsInfo = this.newsInfo,
|
|
10421
|
-
multiple = this.multiple
|
|
10434
|
+
multiple = this.multiple,
|
|
10435
|
+
type = this.type;
|
|
10422
10436
|
|
|
10423
10437
|
var params = {
|
|
10424
10438
|
url: api["zb" /* taskTransfer */],
|
|
@@ -10427,7 +10441,7 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
10427
10441
|
choiceOrgId: choiceOrgId,
|
|
10428
10442
|
bCode: bCode,
|
|
10429
10443
|
bName: bName,
|
|
10430
|
-
nextUserId: multiple ? nextNode.nextUser.join(',') : nextNode.nextUser,
|
|
10444
|
+
nextUserId: multiple && type != 'transfer' ? nextNode.nextUser.join(',') : nextNode.nextUser,
|
|
10431
10445
|
opinion: opinion,
|
|
10432
10446
|
pendingId: pendingId,
|
|
10433
10447
|
notificationType: nextNode.noticeType.join(','),
|
|
@@ -10592,8 +10606,8 @@ var startTaskReadvue_type_script_lang_js_components;
|
|
|
10592
10606
|
|
|
10593
10607
|
var startTaskRead_component = Object(componentNormalizer["a" /* default */])(
|
|
10594
10608
|
src_startTaskReadvue_type_script_lang_js_,
|
|
10595
|
-
|
|
10596
|
-
|
|
10609
|
+
startTaskReadvue_type_template_id_44f07b3f_render,
|
|
10610
|
+
startTaskReadvue_type_template_id_44f07b3f_staticRenderFns,
|
|
10597
10611
|
false,
|
|
10598
10612
|
null,
|
|
10599
10613
|
null,
|
|
@@ -12267,6 +12281,7 @@ function _asyncToGenerator(fn) { return function () { var gen = fn.apply(this, a
|
|
|
12267
12281
|
}
|
|
12268
12282
|
},
|
|
12269
12283
|
setShrink: function setShrink() {
|
|
12284
|
+
this.shrink = !this.shrink;
|
|
12270
12285
|
this.$emit('shrink', this.shrink);
|
|
12271
12286
|
},
|
|
12272
12287
|
customLoading: function customLoading(type) {
|
package/lib/form.js
CHANGED
|
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
267
|
+
var src = void 0;
|
|
268
|
+
if (!startWith(loginPage, ['http', '/'])) {
|
|
269
|
+
var pathname = win.top.location.pathname;
|
|
270
|
+
if (pathname !== '/') {
|
|
271
|
+
pathname = pathname.split('/');
|
|
272
|
+
pathname.splice(pathname.length - 1);
|
|
273
|
+
pathname = pathname.join('/');
|
|
274
|
+
}
|
|
275
|
+
src = pathname + loginPage.replace('./', '');
|
|
276
|
+
} else {
|
|
277
|
+
src = loginPage;
|
|
278
|
+
}
|
|
279
|
+
win.top.location.href = src;
|
|
268
280
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
281
|
win.top.location.href = './login.html';
|
|
270
282
|
} else {
|
|
271
283
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
284
|
+
if (hash) {
|
|
273
285
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
286
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
287
|
} else {
|
|
277
288
|
win.top.location.href = '/login.html';
|
|
278
289
|
}
|
|
279
290
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
291
|
+
}).catch(function (e) {
|
|
292
|
+
sessionStorage.removeItem('remind');
|
|
293
|
+
});
|
|
281
294
|
}, 1000));
|
|
282
295
|
}
|
|
283
296
|
} else if (response.data.rCode === 61) {
|
package/lib/handle-user.js
CHANGED
|
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
267
|
+
var src = void 0;
|
|
268
|
+
if (!startWith(loginPage, ['http', '/'])) {
|
|
269
|
+
var pathname = win.top.location.pathname;
|
|
270
|
+
if (pathname !== '/') {
|
|
271
|
+
pathname = pathname.split('/');
|
|
272
|
+
pathname.splice(pathname.length - 1);
|
|
273
|
+
pathname = pathname.join('/');
|
|
274
|
+
}
|
|
275
|
+
src = pathname + loginPage.replace('./', '');
|
|
276
|
+
} else {
|
|
277
|
+
src = loginPage;
|
|
278
|
+
}
|
|
279
|
+
win.top.location.href = src;
|
|
268
280
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
281
|
win.top.location.href = './login.html';
|
|
270
282
|
} else {
|
|
271
283
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
284
|
+
if (hash) {
|
|
273
285
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
286
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
287
|
} else {
|
|
277
288
|
win.top.location.href = '/login.html';
|
|
278
289
|
}
|
|
279
290
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
291
|
+
}).catch(function (e) {
|
|
292
|
+
sessionStorage.removeItem('remind');
|
|
293
|
+
});
|
|
281
294
|
}, 1000));
|
|
282
295
|
}
|
|
283
296
|
} else if (response.data.rCode === 61) {
|
package/lib/handler.js
CHANGED
|
@@ -264,20 +264,33 @@ var ajax = function ajax(_ref) {
|
|
|
264
264
|
}).then(function () {
|
|
265
265
|
var loginPage = getStorage('login') || getStorage('loginPage');
|
|
266
266
|
if (loginPage) {
|
|
267
|
-
|
|
267
|
+
var src = void 0;
|
|
268
|
+
if (!startWith(loginPage, ['http', '/'])) {
|
|
269
|
+
var pathname = win.top.location.pathname;
|
|
270
|
+
if (pathname !== '/') {
|
|
271
|
+
pathname = pathname.split('/');
|
|
272
|
+
pathname.splice(pathname.length - 1);
|
|
273
|
+
pathname = pathname.join('/');
|
|
274
|
+
}
|
|
275
|
+
src = pathname + loginPage.replace('./', '');
|
|
276
|
+
} else {
|
|
277
|
+
src = loginPage;
|
|
278
|
+
}
|
|
279
|
+
win.top.location.href = src;
|
|
268
280
|
} else if (win.top.location.href.indexOf('main.html') > -1) {
|
|
269
281
|
win.top.location.href = './login.html';
|
|
270
282
|
} else {
|
|
271
283
|
var hash = win.top.location.hash;
|
|
272
|
-
if (hash
|
|
284
|
+
if (hash) {
|
|
273
285
|
var len = win.top.location.href.indexOf(hash);
|
|
274
|
-
|
|
275
|
-
win.top.location.href = href;
|
|
286
|
+
win.top.location.href = win.location.href.slice(0, len) + '#/login';
|
|
276
287
|
} else {
|
|
277
288
|
win.top.location.href = '/login.html';
|
|
278
289
|
}
|
|
279
290
|
}
|
|
280
|
-
}).catch(function (e) {
|
|
291
|
+
}).catch(function (e) {
|
|
292
|
+
sessionStorage.removeItem('remind');
|
|
293
|
+
});
|
|
281
294
|
}, 1000));
|
|
282
295
|
}
|
|
283
296
|
} else if (response.data.rCode === 61) {
|
|
@@ -2840,7 +2853,7 @@ module.exports = require("qs");
|
|
|
2840
2853
|
// ESM COMPAT FLAG
|
|
2841
2854
|
__webpack_require__.r(__webpack_exports__);
|
|
2842
2855
|
|
|
2843
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=
|
|
2856
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/handler/src/main.vue?vue&type=template&id=fae24fe8&
|
|
2844
2857
|
var render = function () {
|
|
2845
2858
|
var _vm = this
|
|
2846
2859
|
var _h = _vm.$createElement
|
|
@@ -3015,7 +3028,7 @@ var staticRenderFns = []
|
|
|
3015
3028
|
render._withStripped = true
|
|
3016
3029
|
|
|
3017
3030
|
|
|
3018
|
-
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=
|
|
3031
|
+
// CONCATENATED MODULE: ./packages/handler/src/main.vue?vue&type=template&id=fae24fe8&
|
|
3019
3032
|
|
|
3020
3033
|
// EXTERNAL MODULE: ./src/config/api.js
|
|
3021
3034
|
var api = __webpack_require__(1);
|
|
@@ -3169,7 +3182,6 @@ var util = __webpack_require__(0);
|
|
|
3169
3182
|
lists: function lists() {
|
|
3170
3183
|
var _this = this;
|
|
3171
3184
|
|
|
3172
|
-
console.log(111);
|
|
3173
3185
|
if (this.data === undefined) {
|
|
3174
3186
|
if (Object.keys(this.hide).length) {
|
|
3175
3187
|
this.list.forEach(function (item) {
|
|
@@ -3288,7 +3300,22 @@ var util = __webpack_require__(0);
|
|
|
3288
3300
|
if (_this2.onQuit && typeof _this2.onQuit === 'function') {
|
|
3289
3301
|
_this2.onQuit();
|
|
3290
3302
|
} else {
|
|
3291
|
-
|
|
3303
|
+
var loginPage = util["a" /* default */].getStorage('login') || util["a" /* default */].getStorage('loginPage');
|
|
3304
|
+
if (loginPage) {
|
|
3305
|
+
var src = void 0;
|
|
3306
|
+
if (!util["a" /* default */].startWith(loginPage, ['http', '/'])) {
|
|
3307
|
+
var pathname = util["a" /* default */].win.top.location.pathname;
|
|
3308
|
+
if (pathname !== '/') {
|
|
3309
|
+
pathname = pathname.split('/');
|
|
3310
|
+
pathname.splice(pathname.length - 1);
|
|
3311
|
+
pathname = pathname.join('/');
|
|
3312
|
+
}
|
|
3313
|
+
src = pathname + loginPage.replace('./', '');
|
|
3314
|
+
} else {
|
|
3315
|
+
src = loginPage;
|
|
3316
|
+
}
|
|
3317
|
+
util["a" /* default */].win.top.location.href = src;
|
|
3318
|
+
} else if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
|
|
3292
3319
|
util["a" /* default */].win.top.location.href = './login.html';
|
|
3293
3320
|
} else {
|
|
3294
3321
|
var hash = util["a" /* default */].win.top.location.hash;
|
|
@@ -3296,12 +3323,7 @@ var util = __webpack_require__(0);
|
|
|
3296
3323
|
var len = util["a" /* default */].win.top.location.href.indexOf(hash);
|
|
3297
3324
|
util["a" /* default */].win.top.location.href = util["a" /* default */].win.location.href.slice(0, len) + '#/login';
|
|
3298
3325
|
} else {
|
|
3299
|
-
|
|
3300
|
-
if (loginPage) {
|
|
3301
|
-
util["a" /* default */].win.top.location.href = loginPage;
|
|
3302
|
-
} else {
|
|
3303
|
-
util["a" /* default */].win.top.location.href = '/login.html';
|
|
3304
|
-
}
|
|
3326
|
+
util["a" /* default */].win.top.location.href = '/login.html';
|
|
3305
3327
|
}
|
|
3306
3328
|
}
|
|
3307
3329
|
}
|