eoss-ui 0.4.33 → 0.4.34
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 +1 -1
- package/lib/button.js +1 -1
- package/lib/checkbox-group.js +1 -1
- package/lib/data-table-form.js +1 -1
- package/lib/data-table.js +1 -1
- package/lib/date-picker.js +1 -1
- package/lib/dialog.js +1 -1
- package/lib/eoss-ui.common.js +106 -97
- package/lib/flow-group.js +1 -1
- package/lib/flow-list.js +1 -1
- package/lib/flow.js +65 -56
- package/lib/form.js +1 -1
- package/lib/handle-user.js +4 -4
- package/lib/handler.js +4 -4
- package/lib/index.js +1 -1
- package/lib/input-number.js +1 -1
- package/lib/input.js +2 -2
- package/lib/login.js +1 -1
- package/lib/main.js +5 -5
- package/lib/mainComp.js +5 -5
- package/lib/nav.js +1 -1
- package/lib/page.js +1 -1
- package/lib/player.js +1 -1
- package/lib/qr-code.js +1 -1
- package/lib/radio-group.js +1 -1
- package/lib/select-ganged.js +1 -1
- package/lib/select.js +1 -1
- package/lib/selector-panel.js +1 -1
- package/lib/selector.js +1 -1
- package/lib/sizer.js +1 -1
- package/lib/steps.js +1 -1
- package/lib/switch.js +1 -1
- package/lib/table-form.js +1 -1
- package/lib/tabs.js +1 -1
- package/lib/tips.js +1 -1
- package/lib/tree-group.js +1 -1
- package/lib/tree.js +1 -1
- package/lib/upload.js +1 -1
- package/lib/utils/util.js +1 -1
- package/lib/wujie.js +1 -1
- package/lib/wxlogin.js +1 -1
- package/package.json +2 -2
- package/packages/flow/src/component/taskUnionExamine.vue +30 -25
- package/packages/flow/src/main.vue +25 -18
- package/packages/handle-user/src/main.vue +4 -4
- package/packages/handler/src/main.vue +2 -1
- package/packages/input/src/main.vue +12 -5
- package/packages/main/src/main.vue +3 -2
- package/packages/mainComp/src/main.vue +3 -2
- package/src/index.js +1 -1
- package/src/utils/util.js +2 -1
package/lib/input-number.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/input.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
|
@@ -2900,7 +2900,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
2900
2900
|
if (this.readonly) {
|
|
2901
2901
|
return h('div', {
|
|
2902
2902
|
class: [this.$attrs.type === 'textarea' ? 'es-textarea__inner ' : 'es-input__inner', { 'es-plain': this.plain }]
|
|
2903
|
-
}, [this.model || this.text]);
|
|
2903
|
+
}, [this.model == '' || this.model == null || this.model == undefined || this.model == NaN ? this.text : this.model]);
|
|
2904
2904
|
}
|
|
2905
2905
|
if (this.$slots.prefix) {
|
|
2906
2906
|
doms.push(h('template', { slot: 'prefix' }, this.$slots.prefix));
|
package/lib/login.js
CHANGED
|
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
|
|
|
244
244
|
}
|
|
245
245
|
if (response.status === 200) {
|
|
246
246
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
247
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
247
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
248
248
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
249
249
|
clearTimeout(loginMsg);
|
|
250
250
|
loginMsg = setTimeout(function () {
|
package/lib/main.js
CHANGED
|
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
|
|
|
244
244
|
}
|
|
245
245
|
if (response.status === 200) {
|
|
246
246
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
247
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
247
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
248
248
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
249
249
|
clearTimeout(loginMsg);
|
|
250
250
|
loginMsg = setTimeout(function () {
|
|
@@ -2741,7 +2741,7 @@ module.exports = require("stompjs");
|
|
|
2741
2741
|
// ESM COMPAT FLAG
|
|
2742
2742
|
__webpack_require__.r(__webpack_exports__);
|
|
2743
2743
|
|
|
2744
|
-
// 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=
|
|
2744
|
+
// 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=2e559908&
|
|
2745
2745
|
var render = function () {
|
|
2746
2746
|
var _vm = this
|
|
2747
2747
|
var _h = _vm.$createElement
|
|
@@ -3160,7 +3160,7 @@ var staticRenderFns = []
|
|
|
3160
3160
|
render._withStripped = true
|
|
3161
3161
|
|
|
3162
3162
|
|
|
3163
|
-
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=
|
|
3163
|
+
// CONCATENATED MODULE: ./packages/main/src/main.vue?vue&type=template&id=2e559908&
|
|
3164
3164
|
|
|
3165
3165
|
// 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=1965153d&
|
|
3166
3166
|
var userinfovue_type_template_id_1965153d_render = function () {
|
|
@@ -6168,7 +6168,7 @@ var log = util["a" /* default */].getParams('console');
|
|
|
6168
6168
|
this.page = util["a" /* default */].handlerUrl(page);
|
|
6169
6169
|
} else {
|
|
6170
6170
|
this.method = 'wujie';
|
|
6171
|
-
this.wjName = res.appCode ? res.appCode : 'application';
|
|
6171
|
+
this.wjName = res && res.appCode ? res.appCode : 'application';
|
|
6172
6172
|
this.page = this.host + page;
|
|
6173
6173
|
this.$nextTick(function () {
|
|
6174
6174
|
_this9.refresh = true;
|
|
@@ -6317,7 +6317,7 @@ var log = util["a" /* default */].getParams('console');
|
|
|
6317
6317
|
}
|
|
6318
6318
|
}
|
|
6319
6319
|
this.$confirm(msg, btn).then(function () {
|
|
6320
|
-
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
6320
|
+
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
6321
6321
|
if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
|
|
6322
6322
|
util["a" /* default */].win.top.location.href = './login.html';
|
|
6323
6323
|
} else {
|
package/lib/mainComp.js
CHANGED
|
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
|
|
|
244
244
|
}
|
|
245
245
|
if (response.status === 200) {
|
|
246
246
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
247
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
247
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
248
248
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
249
249
|
clearTimeout(loginMsg);
|
|
250
250
|
loginMsg = setTimeout(function () {
|
|
@@ -2742,7 +2742,7 @@ module.exports = require("stompjs");
|
|
|
2742
2742
|
// ESM COMPAT FLAG
|
|
2743
2743
|
__webpack_require__.r(__webpack_exports__);
|
|
2744
2744
|
|
|
2745
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/mainComp/src/main.vue?vue&type=template&id=
|
|
2745
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/mainComp/src/main.vue?vue&type=template&id=1faf05d8&
|
|
2746
2746
|
var render = function () {
|
|
2747
2747
|
var _vm = this
|
|
2748
2748
|
var _h = _vm.$createElement
|
|
@@ -3156,7 +3156,7 @@ var staticRenderFns = []
|
|
|
3156
3156
|
render._withStripped = true
|
|
3157
3157
|
|
|
3158
3158
|
|
|
3159
|
-
// CONCATENATED MODULE: ./packages/mainComp/src/main.vue?vue&type=template&id=
|
|
3159
|
+
// CONCATENATED MODULE: ./packages/mainComp/src/main.vue?vue&type=template&id=1faf05d8&
|
|
3160
3160
|
|
|
3161
3161
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/mainComp/src/userinfo.vue?vue&type=template&id=5902ef8f&
|
|
3162
3162
|
var userinfovue_type_template_id_5902ef8f_render = function () {
|
|
@@ -6374,7 +6374,7 @@ var isIE = navigator.userAgent.indexOf('MSIE') != -1;
|
|
|
6374
6374
|
this.page = util["a" /* default */].handlerUrl(page);
|
|
6375
6375
|
} else {
|
|
6376
6376
|
this.method = 'wujie';
|
|
6377
|
-
this.wjName = res.appCode ? res.appCode : 'application';
|
|
6377
|
+
this.wjName = res && res.appCode ? res.appCode : 'application';
|
|
6378
6378
|
this.page = page;
|
|
6379
6379
|
this.$nextTick(function () {
|
|
6380
6380
|
_this10.refresh = true;
|
|
@@ -6518,7 +6518,7 @@ var isIE = navigator.userAgent.indexOf('MSIE') != -1;
|
|
|
6518
6518
|
}
|
|
6519
6519
|
}
|
|
6520
6520
|
this.$confirm(msg, btn).then(function () {
|
|
6521
|
-
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
6521
|
+
util["a" /* default */].removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'auth', 'deviceUnique', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
6522
6522
|
if (util["a" /* default */].win.top.location.href.indexOf('main.html') > -1) {
|
|
6523
6523
|
util["a" /* default */].win.top.location.href = './login.html';
|
|
6524
6524
|
} else {
|
package/lib/nav.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/page.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/player.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/qr-code.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/radio-group.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/select-ganged.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/select.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/selector-panel.js
CHANGED
|
@@ -244,7 +244,7 @@ var ajax = function ajax(_ref) {
|
|
|
244
244
|
}
|
|
245
245
|
if (response.status === 200) {
|
|
246
246
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
247
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
247
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
248
248
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
249
249
|
clearTimeout(loginMsg);
|
|
250
250
|
loginMsg = setTimeout(function () {
|
package/lib/selector.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/sizer.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/steps.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/switch.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/table-form.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/tabs.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/tips.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/tree-group.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/tree.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/upload.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/utils/util.js
CHANGED
|
@@ -160,7 +160,7 @@ var ajax = function ajax(_ref) {
|
|
|
160
160
|
}
|
|
161
161
|
if (response.status === 200) {
|
|
162
162
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
163
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
163
|
+
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig', 'jump']);
|
|
164
164
|
if (win.top.location.href.indexOf('#/login') === -1 && win.top.location.href.indexOf('/login.html') === -1) {
|
|
165
165
|
clearTimeout(loginMsg);
|
|
166
166
|
loginMsg = setTimeout(function () {
|
package/lib/wujie.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/lib/wxlogin.js
CHANGED
|
@@ -245,7 +245,7 @@ var ajax = function ajax(_ref) {
|
|
|
245
245
|
}
|
|
246
246
|
if (response.status === 200) {
|
|
247
247
|
if (response.data.rCode === 64 || response.data.rCode === 65 || response.data.rCode === 67 || response.data.rCode === 69) {
|
|
248
|
-
removeStorage(['Authorization', 'token', 'ssId', 'userId', 'userName', 'deviceUnique', 'menus', 'menus', 'useCaseCodes', 'mainConfig']);
|
|
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
|
loginMsg = setTimeout(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eoss-ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.34",
|
|
4
4
|
"description": "eoss内部业务组件",
|
|
5
5
|
"main": "lib/eoss-ui.common.js",
|
|
6
6
|
"files": [
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"cp-cli": "^1.0.2",
|
|
92
92
|
"cross-env": "^3.1.3",
|
|
93
93
|
"css-loader": "^2.1.0",
|
|
94
|
-
"eoss-element": "^0.2.
|
|
94
|
+
"eoss-element": "^0.2.51",
|
|
95
95
|
"es6-promise": "^4.0.5",
|
|
96
96
|
"eslint": "4.18.2",
|
|
97
97
|
"eslint-config-elemefe": "0.1.1",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
label-width="100px"
|
|
8
8
|
>
|
|
9
9
|
<el-form-item v-if="isSinglePage" prop="opinion" label="意见">
|
|
10
|
-
<CommonOpinions @change="val => (opinion = val)" />
|
|
10
|
+
<CommonOpinions @change="(val) => (opinion = val)" />
|
|
11
11
|
</el-form-item>
|
|
12
12
|
<el-form-item
|
|
13
13
|
v-if="isHideCurrentOrg == 0"
|
|
@@ -93,13 +93,11 @@
|
|
|
93
93
|
<span>{{ infoList.noticeInfo }}</span>
|
|
94
94
|
</el-form-item>
|
|
95
95
|
<el-form-item>
|
|
96
|
-
<div style="text-align:right">
|
|
96
|
+
<div style="text-align: right">
|
|
97
97
|
<el-button type="primary" size="small" @click="subMit">
|
|
98
98
|
确定
|
|
99
99
|
</el-button>
|
|
100
|
-
<el-button @click="quit" size="small">
|
|
101
|
-
取消
|
|
102
|
-
</el-button>
|
|
100
|
+
<el-button @click="quit" size="small"> 取消 </el-button>
|
|
103
101
|
</div>
|
|
104
102
|
</el-form-item>
|
|
105
103
|
</el-form>
|
|
@@ -181,7 +179,9 @@ export default {
|
|
|
181
179
|
this.newMultiple = false;
|
|
182
180
|
}
|
|
183
181
|
if (this.type == 'takeAdvice') {
|
|
184
|
-
this.params.filid =
|
|
182
|
+
this.params.filid = JSON.parse(
|
|
183
|
+
sessionStorage.getItem('mainConfig')
|
|
184
|
+
).userModel.orgId;
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
subTaskReview() {
|
|
@@ -210,7 +210,7 @@ export default {
|
|
|
210
210
|
this.loading = true;
|
|
211
211
|
util
|
|
212
212
|
.ajax(params)
|
|
213
|
-
.then(res => {
|
|
213
|
+
.then((res) => {
|
|
214
214
|
const { message, status } = res;
|
|
215
215
|
this.loading = false;
|
|
216
216
|
if (status === 'success') {
|
|
@@ -220,7 +220,7 @@ export default {
|
|
|
220
220
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
221
221
|
}
|
|
222
222
|
})
|
|
223
|
-
.catch(err => {
|
|
223
|
+
.catch((err) => {
|
|
224
224
|
this.loading = false;
|
|
225
225
|
if (err.message && err.message !== 'canceled') {
|
|
226
226
|
this.$message.error(err.message);
|
|
@@ -234,7 +234,7 @@ export default {
|
|
|
234
234
|
};
|
|
235
235
|
util
|
|
236
236
|
.ajax(params)
|
|
237
|
-
.then(res => {
|
|
237
|
+
.then((res) => {
|
|
238
238
|
const { status, message } = res;
|
|
239
239
|
this.loading = false;
|
|
240
240
|
if (status === 'success') {
|
|
@@ -253,7 +253,7 @@ export default {
|
|
|
253
253
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
254
254
|
}
|
|
255
255
|
})
|
|
256
|
-
.catch(err => {
|
|
256
|
+
.catch((err) => {
|
|
257
257
|
this.loading = false;
|
|
258
258
|
if (err.message && err.message !== 'canceled') {
|
|
259
259
|
this.$message.error(err.message);
|
|
@@ -277,7 +277,7 @@ export default {
|
|
|
277
277
|
};
|
|
278
278
|
util
|
|
279
279
|
.ajax(params)
|
|
280
|
-
.then(res => {
|
|
280
|
+
.then((res) => {
|
|
281
281
|
const { message, status } = res;
|
|
282
282
|
this.loading = false;
|
|
283
283
|
if (status == 'success') {
|
|
@@ -328,7 +328,7 @@ export default {
|
|
|
328
328
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
329
329
|
}
|
|
330
330
|
})
|
|
331
|
-
.catch(err => {
|
|
331
|
+
.catch((err) => {
|
|
332
332
|
this.loading = false;
|
|
333
333
|
if (err.message && err.message !== 'canceled') {
|
|
334
334
|
this.$message.error(err.message);
|
|
@@ -363,8 +363,8 @@ export default {
|
|
|
363
363
|
(type == 'takeAdvice' &&
|
|
364
364
|
(nextCurrentOrgObj == '' ||
|
|
365
365
|
(nextCurrentOrgObj == null && isHideCurrentOrg == 0))) ||
|
|
366
|
-
(
|
|
367
|
-
|
|
366
|
+
(isHideOtherOrg == 0 && nextOtherOrgObj == '') ||
|
|
367
|
+
nextOtherOrgObj == null
|
|
368
368
|
) {
|
|
369
369
|
return this.$message.warning('请选择处理对象!');
|
|
370
370
|
} else if (
|
|
@@ -393,8 +393,12 @@ export default {
|
|
|
393
393
|
data: {
|
|
394
394
|
opinion,
|
|
395
395
|
pendingId,
|
|
396
|
-
nextOtherOrgObj:
|
|
397
|
-
|
|
396
|
+
nextOtherOrgObj: Array.isArray(nextOtherOrgObj)
|
|
397
|
+
? nextOtherOrgObj.join(',')
|
|
398
|
+
: nextOtherOrgObj,
|
|
399
|
+
nextCurrentOrgObj: Array.isArray(nextCurrentOrgObj)
|
|
400
|
+
? nextCurrentOrgObj.join(',')
|
|
401
|
+
: nextCurrentOrgObj,
|
|
398
402
|
notificationMsg: noticeInfo,
|
|
399
403
|
notificationType: noticeType.join(','),
|
|
400
404
|
choiceDeptId,
|
|
@@ -407,7 +411,7 @@ export default {
|
|
|
407
411
|
this.loading = true;
|
|
408
412
|
util
|
|
409
413
|
.ajax(param)
|
|
410
|
-
.then(res => {
|
|
414
|
+
.then((res) => {
|
|
411
415
|
const { message, status } = res;
|
|
412
416
|
this.loading = false;
|
|
413
417
|
if (status == 'success') {
|
|
@@ -417,7 +421,7 @@ export default {
|
|
|
417
421
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
418
422
|
}
|
|
419
423
|
})
|
|
420
|
-
.catch(err => {
|
|
424
|
+
.catch((err) => {
|
|
421
425
|
this.loading = false;
|
|
422
426
|
if (err.message && err.message !== 'canceled') {
|
|
423
427
|
this.$message.error(err.message);
|
|
@@ -431,13 +435,14 @@ export default {
|
|
|
431
435
|
changeSelectUser(val, type) {
|
|
432
436
|
const { nextUser, options } = val;
|
|
433
437
|
let newNextUser = '';
|
|
434
|
-
options.map(item => {
|
|
438
|
+
options.map((item) => {
|
|
435
439
|
if (newNextUser) {
|
|
436
440
|
newNextUser += `,${item.stype}-${item.id}`;
|
|
437
441
|
} else {
|
|
438
442
|
newNextUser = `${item.stype}-${item.id}`;
|
|
439
443
|
}
|
|
440
444
|
});
|
|
445
|
+
console.log(options, newNextUser, 'newNextUser');
|
|
441
446
|
this.infoList[type] = newNextUser;
|
|
442
447
|
},
|
|
443
448
|
getNodeType() {
|
|
@@ -446,14 +451,14 @@ export default {
|
|
|
446
451
|
url: findCodeValues,
|
|
447
452
|
params: { ccCode: 'notification_type' }
|
|
448
453
|
})
|
|
449
|
-
.then(res => {
|
|
454
|
+
.then((res) => {
|
|
450
455
|
const { status, data } = res;
|
|
451
456
|
this.loading = false;
|
|
452
457
|
if (status === 'success') {
|
|
453
458
|
this.infoList.noticeList = data;
|
|
454
459
|
}
|
|
455
460
|
})
|
|
456
|
-
.catch(err => {
|
|
461
|
+
.catch((err) => {
|
|
457
462
|
this.loading = false;
|
|
458
463
|
if (err.message && err.message !== 'canceled') {
|
|
459
464
|
this.$message.error(err.message);
|
|
@@ -467,13 +472,13 @@ export default {
|
|
|
467
472
|
};
|
|
468
473
|
util
|
|
469
474
|
.ajax({ url: getNotificationMsg, params, methods: 'post' })
|
|
470
|
-
.then(res => {
|
|
475
|
+
.then((res) => {
|
|
471
476
|
if (res.status === 'success') {
|
|
472
477
|
this.infoList.noticeInfo = res.message;
|
|
473
478
|
}
|
|
474
479
|
this.loading = false;
|
|
475
480
|
})
|
|
476
|
-
.catch(err => {
|
|
481
|
+
.catch((err) => {
|
|
477
482
|
this.loading = false;
|
|
478
483
|
if (err.message && err.message !== 'canceled') {
|
|
479
484
|
this.$message.error(err.message);
|
|
@@ -485,7 +490,7 @@ export default {
|
|
|
485
490
|
.ajax({
|
|
486
491
|
url: findSysCodes
|
|
487
492
|
})
|
|
488
|
-
.then(res => {
|
|
493
|
+
.then((res) => {
|
|
489
494
|
const { status, message } = res;
|
|
490
495
|
if (status === 'success') {
|
|
491
496
|
this.infoList.noticeType = message.split(',');
|
|
@@ -493,7 +498,7 @@ export default {
|
|
|
493
498
|
this.$message.error(message || '系统错误,请联系管理员!');
|
|
494
499
|
}
|
|
495
500
|
})
|
|
496
|
-
.catch(err => {
|
|
501
|
+
.catch((err) => {
|
|
497
502
|
this.loading = false;
|
|
498
503
|
if (err.message && err.message !== 'canceled') {
|
|
499
504
|
this.$message.error(err.message);
|