eoss-ui 0.6.22 → 0.6.23
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/eoss-ui.common.js +62 -34
- package/lib/index.js +1 -1
- package/lib/main.js +62 -34
- package/package.json +1 -1
- package/packages/main/src/default/index.vue +2 -1
- package/packages/main/src/default/userinfo.vue +14 -3
- package/packages/main/src/simplicity/user.vue +10 -1
- package/packages/main/src/simplicity/userinfo.vue +7 -1
package/lib/main.js
CHANGED
|
@@ -6683,8 +6683,8 @@ var apps_component = Object(componentNormalizer["a" /* default */])(
|
|
|
6683
6683
|
)
|
|
6684
6684
|
|
|
6685
6685
|
/* harmony default export */ var simplicity_apps = (apps_component.exports);
|
|
6686
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/user.vue?vue&type=template&id=
|
|
6687
|
-
var
|
|
6686
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/user.vue?vue&type=template&id=1d4b46d0&scoped=true&
|
|
6687
|
+
var uservue_type_template_id_1d4b46d0_scoped_true_render = function () {
|
|
6688
6688
|
var _vm = this
|
|
6689
6689
|
var _h = _vm.$createElement
|
|
6690
6690
|
var _c = _vm._self._c || _h
|
|
@@ -6835,6 +6835,7 @@ var uservue_type_template_id_edaa0dc4_scoped_true_render = function () {
|
|
|
6835
6835
|
_vm.visible
|
|
6836
6836
|
? _c("user-info", {
|
|
6837
6837
|
attrs: { contents: _vm.contents, value: _vm.userInfo },
|
|
6838
|
+
on: { success: _vm.handleSuccess },
|
|
6838
6839
|
})
|
|
6839
6840
|
: _vm._e(),
|
|
6840
6841
|
],
|
|
@@ -6844,14 +6845,14 @@ var uservue_type_template_id_edaa0dc4_scoped_true_render = function () {
|
|
|
6844
6845
|
1
|
|
6845
6846
|
)
|
|
6846
6847
|
}
|
|
6847
|
-
var
|
|
6848
|
-
|
|
6848
|
+
var uservue_type_template_id_1d4b46d0_scoped_true_staticRenderFns = []
|
|
6849
|
+
uservue_type_template_id_1d4b46d0_scoped_true_render._withStripped = true
|
|
6849
6850
|
|
|
6850
6851
|
|
|
6851
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=
|
|
6852
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/user.vue?vue&type=template&id=1d4b46d0&scoped=true&
|
|
6852
6853
|
|
|
6853
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=
|
|
6854
|
-
var
|
|
6854
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=028fdb19&
|
|
6855
|
+
var userinfovue_type_template_id_028fdb19_render = function () {
|
|
6855
6856
|
var _vm = this
|
|
6856
6857
|
var _h = _vm.$createElement
|
|
6857
6858
|
var _c = _vm._self._c || _h
|
|
@@ -6867,11 +6868,11 @@ var userinfovue_type_template_id_9d115418_render = function () {
|
|
|
6867
6868
|
2
|
|
6868
6869
|
)
|
|
6869
6870
|
}
|
|
6870
|
-
var
|
|
6871
|
-
|
|
6871
|
+
var userinfovue_type_template_id_028fdb19_staticRenderFns = []
|
|
6872
|
+
userinfovue_type_template_id_028fdb19_render._withStripped = true
|
|
6872
6873
|
|
|
6873
6874
|
|
|
6874
|
-
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=
|
|
6875
|
+
// CONCATENATED MODULE: ./packages/main/src/simplicity/userinfo.vue?vue&type=template&id=028fdb19&
|
|
6875
6876
|
|
|
6876
6877
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/simplicity/userinfo.vue?vue&type=script&lang=js&
|
|
6877
6878
|
//
|
|
@@ -7102,7 +7103,13 @@ userinfovue_type_template_id_9d115418_render._withStripped = true
|
|
|
7102
7103
|
}
|
|
7103
7104
|
}).catch(function (e) {});
|
|
7104
7105
|
} else {
|
|
7105
|
-
_this2.$message
|
|
7106
|
+
_this2.$message({
|
|
7107
|
+
message: res.msg,
|
|
7108
|
+
type: 'success',
|
|
7109
|
+
onClose: function onClose() {
|
|
7110
|
+
_this2.$emit('success', _this2.model);
|
|
7111
|
+
}
|
|
7112
|
+
});
|
|
7106
7113
|
}
|
|
7107
7114
|
} else {
|
|
7108
7115
|
var msg = res.msg || '系统错误,请联系管理员!';
|
|
@@ -7132,8 +7139,8 @@ userinfovue_type_template_id_9d115418_render._withStripped = true
|
|
|
7132
7139
|
|
|
7133
7140
|
var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
7134
7141
|
simplicity_userinfovue_type_script_lang_js_,
|
|
7135
|
-
|
|
7136
|
-
|
|
7142
|
+
userinfovue_type_template_id_028fdb19_render,
|
|
7143
|
+
userinfovue_type_template_id_028fdb19_staticRenderFns,
|
|
7137
7144
|
false,
|
|
7138
7145
|
null,
|
|
7139
7146
|
null,
|
|
@@ -7213,6 +7220,11 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7213
7220
|
//
|
|
7214
7221
|
//
|
|
7215
7222
|
//
|
|
7223
|
+
//
|
|
7224
|
+
//
|
|
7225
|
+
//
|
|
7226
|
+
//
|
|
7227
|
+
//
|
|
7216
7228
|
|
|
7217
7229
|
|
|
7218
7230
|
|
|
@@ -7382,6 +7394,10 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7382
7394
|
//打开修改密码弹窗
|
|
7383
7395
|
handleOpen: function handleOpen() {
|
|
7384
7396
|
this.visible = true;
|
|
7397
|
+
},
|
|
7398
|
+
handleSuccess: function handleSuccess() {
|
|
7399
|
+
this.visible = false;
|
|
7400
|
+
this.getData();
|
|
7385
7401
|
}
|
|
7386
7402
|
}
|
|
7387
7403
|
});
|
|
@@ -7397,11 +7413,11 @@ var userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
|
7397
7413
|
|
|
7398
7414
|
var user_component = Object(componentNormalizer["a" /* default */])(
|
|
7399
7415
|
simplicity_uservue_type_script_lang_js_,
|
|
7400
|
-
|
|
7401
|
-
|
|
7416
|
+
uservue_type_template_id_1d4b46d0_scoped_true_render,
|
|
7417
|
+
uservue_type_template_id_1d4b46d0_scoped_true_staticRenderFns,
|
|
7402
7418
|
false,
|
|
7403
7419
|
null,
|
|
7404
|
-
"
|
|
7420
|
+
"1d4b46d0",
|
|
7405
7421
|
null
|
|
7406
7422
|
|
|
7407
7423
|
)
|
|
@@ -11799,8 +11815,8 @@ var simplicity_component = Object(componentNormalizer["a" /* default */])(
|
|
|
11799
11815
|
)
|
|
11800
11816
|
|
|
11801
11817
|
/* harmony default export */ var simplicity = (simplicity_component.exports);
|
|
11802
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=
|
|
11803
|
-
var
|
|
11818
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/index.vue?vue&type=template&id=5f12ae62&
|
|
11819
|
+
var defaultvue_type_template_id_5f12ae62_render = function () {
|
|
11804
11820
|
var _vm = this
|
|
11805
11821
|
var _h = _vm.$createElement
|
|
11806
11822
|
var _c = _vm._self._c || _h
|
|
@@ -12135,7 +12151,7 @@ var defaultvue_type_template_id_7a0d5c92_render = function () {
|
|
|
12135
12151
|
attrs: { contents: _vm.userInfoContents },
|
|
12136
12152
|
on: {
|
|
12137
12153
|
change: _vm.handleUserModel,
|
|
12138
|
-
|
|
12154
|
+
success: _vm.reGetConfig,
|
|
12139
12155
|
},
|
|
12140
12156
|
},
|
|
12141
12157
|
"userinfo",
|
|
@@ -12188,14 +12204,14 @@ var defaultvue_type_template_id_7a0d5c92_render = function () {
|
|
|
12188
12204
|
1
|
|
12189
12205
|
)
|
|
12190
12206
|
}
|
|
12191
|
-
var
|
|
12192
|
-
|
|
12207
|
+
var defaultvue_type_template_id_5f12ae62_staticRenderFns = []
|
|
12208
|
+
defaultvue_type_template_id_5f12ae62_render._withStripped = true
|
|
12193
12209
|
|
|
12194
12210
|
|
|
12195
|
-
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=
|
|
12211
|
+
// CONCATENATED MODULE: ./packages/main/src/default/index.vue?vue&type=template&id=5f12ae62&
|
|
12196
12212
|
|
|
12197
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=
|
|
12198
|
-
var
|
|
12213
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=template&id=b6520920&
|
|
12214
|
+
var userinfovue_type_template_id_b6520920_render = function () {
|
|
12199
12215
|
var _vm = this
|
|
12200
12216
|
var _h = _vm.$createElement
|
|
12201
12217
|
var _c = _vm._self._c || _h
|
|
@@ -12211,11 +12227,11 @@ var userinfovue_type_template_id_d207c2e8_render = function () {
|
|
|
12211
12227
|
2
|
|
12212
12228
|
)
|
|
12213
12229
|
}
|
|
12214
|
-
var
|
|
12215
|
-
|
|
12230
|
+
var userinfovue_type_template_id_b6520920_staticRenderFns = []
|
|
12231
|
+
userinfovue_type_template_id_b6520920_render._withStripped = true
|
|
12216
12232
|
|
|
12217
12233
|
|
|
12218
|
-
// CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=
|
|
12234
|
+
// CONCATENATED MODULE: ./packages/main/src/default/userinfo.vue?vue&type=template&id=b6520920&
|
|
12219
12235
|
|
|
12220
12236
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/default/userinfo.vue?vue&type=script&lang=js&
|
|
12221
12237
|
var userinfovue_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; };
|
|
@@ -12612,7 +12628,6 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
12612
12628
|
}
|
|
12613
12629
|
}).catch(function (e) {});
|
|
12614
12630
|
} else {
|
|
12615
|
-
_this4.$emit('reGetConfig');
|
|
12616
12631
|
var notify = _this4.values.notify.sort().join(',');
|
|
12617
12632
|
if (notify != _this4.notify.split(',').sort().join(',')) {
|
|
12618
12633
|
util["a" /* default */].ajax({
|
|
@@ -12622,7 +12637,13 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
12622
12637
|
}
|
|
12623
12638
|
}).then(function (results) {
|
|
12624
12639
|
if (results.rCode === 0) {
|
|
12625
|
-
_this4.$message
|
|
12640
|
+
_this4.$message({
|
|
12641
|
+
message: results.msg,
|
|
12642
|
+
type: 'success',
|
|
12643
|
+
onClose: function onClose() {
|
|
12644
|
+
_this4.$emit('success', _this4.values);
|
|
12645
|
+
}
|
|
12646
|
+
});
|
|
12626
12647
|
} else {
|
|
12627
12648
|
_this4.$message.error(results.msg || '系统错误,请联系管理员!');
|
|
12628
12649
|
}
|
|
@@ -12632,7 +12653,13 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
12632
12653
|
}
|
|
12633
12654
|
});
|
|
12634
12655
|
} else {
|
|
12635
|
-
_this4.$message
|
|
12656
|
+
_this4.$message({
|
|
12657
|
+
message: res.msg,
|
|
12658
|
+
type: 'success',
|
|
12659
|
+
onClose: function onClose() {
|
|
12660
|
+
_this4.$emit('success', _this4.values);
|
|
12661
|
+
}
|
|
12662
|
+
});
|
|
12636
12663
|
}
|
|
12637
12664
|
}
|
|
12638
12665
|
} else {
|
|
@@ -12664,8 +12691,8 @@ var userinfovue_type_script_lang_js_extends = Object.assign || function (target)
|
|
|
12664
12691
|
|
|
12665
12692
|
var default_userinfo_component = Object(componentNormalizer["a" /* default */])(
|
|
12666
12693
|
src_default_userinfovue_type_script_lang_js_,
|
|
12667
|
-
|
|
12668
|
-
|
|
12694
|
+
userinfovue_type_template_id_b6520920_render,
|
|
12695
|
+
userinfovue_type_template_id_b6520920_staticRenderFns,
|
|
12669
12696
|
false,
|
|
12670
12697
|
null,
|
|
12671
12698
|
null,
|
|
@@ -14308,6 +14335,7 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
14308
14335
|
reGetConfig: function reGetConfig() {
|
|
14309
14336
|
var _this2 = this;
|
|
14310
14337
|
|
|
14338
|
+
this.showUserInfo = false;
|
|
14311
14339
|
util["a" /* default */].ajax({ url: this.mainConfig }).then(function (res) {
|
|
14312
14340
|
if (res && res.rCode === 0) {
|
|
14313
14341
|
var results = JSON.parse(JSON.stringify(res.results));
|
|
@@ -15400,8 +15428,8 @@ var appCode = util["a" /* default */].getParams('appCode') || util["a" /* defaul
|
|
|
15400
15428
|
|
|
15401
15429
|
var default_component = Object(componentNormalizer["a" /* default */])(
|
|
15402
15430
|
src_defaultvue_type_script_lang_js_,
|
|
15403
|
-
|
|
15404
|
-
|
|
15431
|
+
defaultvue_type_template_id_5f12ae62_render,
|
|
15432
|
+
defaultvue_type_template_id_5f12ae62_staticRenderFns,
|
|
15405
15433
|
false,
|
|
15406
15434
|
null,
|
|
15407
15435
|
null,
|
package/package.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
v-bind="$attrs"
|
|
187
187
|
:contents="userInfoContents"
|
|
188
188
|
@change="handleUserModel"
|
|
189
|
-
@
|
|
189
|
+
@success="reGetConfig"
|
|
190
190
|
>
|
|
191
191
|
<slot name="userInfo"></slot>
|
|
192
192
|
</userinfo>
|
|
@@ -911,6 +911,7 @@ export default {
|
|
|
911
911
|
}
|
|
912
912
|
},
|
|
913
913
|
reGetConfig() {
|
|
914
|
+
this.showUserInfo = false;
|
|
914
915
|
util
|
|
915
916
|
.ajax({ url: this.mainConfig })
|
|
916
917
|
.then((res) => {
|
|
@@ -445,7 +445,6 @@ export default {
|
|
|
445
445
|
})
|
|
446
446
|
.catch((e) => {});
|
|
447
447
|
} else {
|
|
448
|
-
this.$emit('reGetConfig');
|
|
449
448
|
const notify = this.values.notify.sort().join(',');
|
|
450
449
|
if (notify != this.notify.split(',').sort().join(',')) {
|
|
451
450
|
util
|
|
@@ -457,7 +456,13 @@ export default {
|
|
|
457
456
|
})
|
|
458
457
|
.then((results) => {
|
|
459
458
|
if (results.rCode === 0) {
|
|
460
|
-
this.$message
|
|
459
|
+
this.$message({
|
|
460
|
+
message: results.msg,
|
|
461
|
+
type: 'success',
|
|
462
|
+
onClose: () => {
|
|
463
|
+
this.$emit('success', this.values);
|
|
464
|
+
}
|
|
465
|
+
});
|
|
461
466
|
} else {
|
|
462
467
|
this.$message.error(
|
|
463
468
|
results.msg || '系统错误,请联系管理员!'
|
|
@@ -470,7 +475,13 @@ export default {
|
|
|
470
475
|
}
|
|
471
476
|
});
|
|
472
477
|
} else {
|
|
473
|
-
this.$message
|
|
478
|
+
this.$message({
|
|
479
|
+
message: res.msg,
|
|
480
|
+
type: 'success',
|
|
481
|
+
onClose: () => {
|
|
482
|
+
this.$emit('success', this.values);
|
|
483
|
+
}
|
|
484
|
+
});
|
|
474
485
|
}
|
|
475
486
|
}
|
|
476
487
|
} else {
|
|
@@ -62,7 +62,12 @@
|
|
|
62
62
|
修改密码 <i class="es-icon-arrow-right"></i>
|
|
63
63
|
</div>
|
|
64
64
|
<es-dialog title="修改密码" :visible.sync="visible">
|
|
65
|
-
<user-info
|
|
65
|
+
<user-info
|
|
66
|
+
v-if="visible"
|
|
67
|
+
:contents="contents"
|
|
68
|
+
:value="userInfo"
|
|
69
|
+
@success="handleSuccess"
|
|
70
|
+
>
|
|
66
71
|
</user-info>
|
|
67
72
|
</es-dialog>
|
|
68
73
|
</div>
|
|
@@ -240,6 +245,10 @@ export default {
|
|
|
240
245
|
//打开修改密码弹窗
|
|
241
246
|
handleOpen() {
|
|
242
247
|
this.visible = true;
|
|
248
|
+
},
|
|
249
|
+
handleSuccess() {
|
|
250
|
+
this.visible = false;
|
|
251
|
+
this.getData();
|
|
243
252
|
}
|
|
244
253
|
}
|
|
245
254
|
};
|
|
@@ -285,7 +285,13 @@ export default {
|
|
|
285
285
|
})
|
|
286
286
|
.catch((e) => {});
|
|
287
287
|
} else {
|
|
288
|
-
this.$message
|
|
288
|
+
this.$message({
|
|
289
|
+
message: res.msg,
|
|
290
|
+
type: 'success',
|
|
291
|
+
onClose: () => {
|
|
292
|
+
this.$emit('success', this.model);
|
|
293
|
+
}
|
|
294
|
+
});
|
|
289
295
|
}
|
|
290
296
|
} else {
|
|
291
297
|
let msg = res.msg || '系统错误,请联系管理员!';
|