eoss-ui 0.4.53 → 0.4.54
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 +21 -18
- package/lib/index.js +1 -1
- package/lib/login.js +15 -12
- package/package.json +1 -1
- package/packages/login/src/main.vue +11 -9
- package/src/index.js +1 -1
package/lib/eoss-ui.common.js
CHANGED
|
@@ -43306,8 +43306,8 @@ label_src_main.install = function (Vue) {
|
|
|
43306
43306
|
};
|
|
43307
43307
|
|
|
43308
43308
|
/* harmony default export */ var packages_label = (label_src_main);
|
|
43309
|
-
// 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=
|
|
43310
|
-
var
|
|
43309
|
+
// 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=9df7b90c&
|
|
43310
|
+
var mainvue_type_template_id_9df7b90c_render = function () {
|
|
43311
43311
|
var _vm = this
|
|
43312
43312
|
var _h = _vm.$createElement
|
|
43313
43313
|
var _c = _vm._self._c || _h
|
|
@@ -43408,7 +43408,7 @@ var mainvue_type_template_id_23be641c_render = function () {
|
|
|
43408
43408
|
{ staticClass: "es-login-form-box" },
|
|
43409
43409
|
[
|
|
43410
43410
|
_vm.isShow(_vm.active) &&
|
|
43411
|
-
(_vm.active == 0 || _vm.active == 2)
|
|
43411
|
+
(_vm.active == 0 || _vm.active == 2 || _vm.active == 12)
|
|
43412
43412
|
? [
|
|
43413
43413
|
_c(
|
|
43414
43414
|
"el-form",
|
|
@@ -43577,10 +43577,11 @@ var mainvue_type_template_id_23be641c_render = function () {
|
|
|
43577
43577
|
name: "show",
|
|
43578
43578
|
rawName: "v-show",
|
|
43579
43579
|
value:
|
|
43580
|
-
_vm.active == 2
|
|
43580
|
+
(_vm.active == 2 ||
|
|
43581
|
+
_vm.active == 12) &&
|
|
43581
43582
|
_vm.showVerifyCode,
|
|
43582
43583
|
expression:
|
|
43583
|
-
"active == 2 && showVerifyCode",
|
|
43584
|
+
"(active == 2 || active == 12) && showVerifyCode",
|
|
43584
43585
|
},
|
|
43585
43586
|
],
|
|
43586
43587
|
staticClass: "es-get-code",
|
|
@@ -44151,11 +44152,11 @@ var mainvue_type_template_id_23be641c_render = function () {
|
|
|
44151
44152
|
)
|
|
44152
44153
|
: _vm._e()
|
|
44153
44154
|
}
|
|
44154
|
-
var
|
|
44155
|
-
|
|
44155
|
+
var mainvue_type_template_id_9df7b90c_staticRenderFns = []
|
|
44156
|
+
mainvue_type_template_id_9df7b90c_render._withStripped = true
|
|
44156
44157
|
|
|
44157
44158
|
|
|
44158
|
-
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=
|
|
44159
|
+
// CONCATENATED MODULE: ./packages/login/src/main.vue?vue&type=template&id=9df7b90c&
|
|
44159
44160
|
|
|
44160
44161
|
// 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&
|
|
44161
44162
|
var resetPasswordvue_type_template_id_4f5da52e_render = function () {
|
|
@@ -45115,7 +45116,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45115
45116
|
6: { type: '6', icon: 'es-icon-duanxin', name: '短信登录' },
|
|
45116
45117
|
7: { type: '7', icon: 'es-icon-dingding', name: '钉钉扫码登录' },
|
|
45117
45118
|
9: { type: '9', icon: 'es-icon-weixin', name: '微信扫码登录' },
|
|
45118
|
-
11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' }
|
|
45119
|
+
11: { type: '11', icon: 'es-icon-youxiang', name: '邮箱登录' },
|
|
45120
|
+
12: { type: '12', icon: 'es-icon-zhuanhuan', name: '双因素登录' }
|
|
45119
45121
|
} : {
|
|
45120
45122
|
0: { type: '0', icon: 'es-icon-jianpan', name: '账号登录' },
|
|
45121
45123
|
1: { type: '1', icon: 'es-icon-ca', name: '证书登录' },
|
|
@@ -45128,7 +45130,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45128
45130
|
type: '11',
|
|
45129
45131
|
icon: 'es-icon-wodeyouxiang',
|
|
45130
45132
|
name: '邮箱登录'
|
|
45131
|
-
}
|
|
45133
|
+
},
|
|
45134
|
+
12: { type: '12', icon: 'es-icon-zhuanhuan', name: '双因素登录' }
|
|
45132
45135
|
};
|
|
45133
45136
|
},
|
|
45134
45137
|
icons: function icons() {
|
|
@@ -45436,7 +45439,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45436
45439
|
this.app = res.appName || res.subsystemName;
|
|
45437
45440
|
this.qrimg = res.qrimg || res.qrImg;
|
|
45438
45441
|
this.loginModel = res.loginModel;
|
|
45439
|
-
// this.loginModel = '0,3,11,6,9,
|
|
45442
|
+
// this.loginModel = '0,3,11,6,9,12';
|
|
45440
45443
|
this.loginBackgroundImg = res.loginBackgroundUrl ? res.loginBackgroundUrl.split(',') : null;
|
|
45441
45444
|
this.loginLogoImg = res.loginLogoUrl ? res.loginLogoUrl : null;
|
|
45442
45445
|
if (res.subsystemExtend && Object.keys(res.subsystemExtend).length) {
|
|
@@ -45487,7 +45490,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45487
45490
|
}
|
|
45488
45491
|
var data = {};
|
|
45489
45492
|
var flag = false;
|
|
45490
|
-
if (this.active == 2) {
|
|
45493
|
+
if (this.active == 2 || this.active == 12) {
|
|
45491
45494
|
if (!this.formData.username) {
|
|
45492
45495
|
this.$refs.login.validateField('username');
|
|
45493
45496
|
return false;
|
|
@@ -45532,7 +45535,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45532
45535
|
}, 1000);
|
|
45533
45536
|
utils_util["a" /* default */].ajax({
|
|
45534
45537
|
method: 'post',
|
|
45535
|
-
url: this.active ==
|
|
45538
|
+
url: this.active == 12 ? this.getTwoFactorLoginCode : this.getLoginCode,
|
|
45536
45539
|
data: data
|
|
45537
45540
|
}).then(function (res) {
|
|
45538
45541
|
_this4.$message({
|
|
@@ -45570,7 +45573,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45570
45573
|
}) : _this5.formData.password,
|
|
45571
45574
|
identifyingCode: _this5.formData.identifyingCode,
|
|
45572
45575
|
identifyingId: _this5.identifyingId
|
|
45573
|
-
} : _this5.active == '
|
|
45576
|
+
} : _this5.active == '12' ? {
|
|
45574
45577
|
username: _this5.formData.username,
|
|
45575
45578
|
password: _this5.secret && _this5.isEncrypt ? utils_util["a" /* default */].esmEncrypt({
|
|
45576
45579
|
data: _this5.formData.password,
|
|
@@ -45614,7 +45617,7 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45614
45617
|
var extUserBindHandleId = sessionStorage.getItem('extUserBindHandleId');
|
|
45615
45618
|
utils_util["a" /* default */].ajax({
|
|
45616
45619
|
method: 'post',
|
|
45617
|
-
url: this.active == '0' ? this.actionUrl : this.active == '
|
|
45620
|
+
url: this.active == '0' ? this.actionUrl : this.active == '12' ? this.doTwoFactorLogin : this.doCodeLogin,
|
|
45618
45621
|
data: extUserBindHandleId ? login_src_mainvue_type_script_lang_js_extends({}, data, { extUserBindHandleId: extUserBindHandleId }) : data
|
|
45619
45622
|
}).then(function (res) {
|
|
45620
45623
|
_this6.submit = false;
|
|
@@ -45835,8 +45838,8 @@ var login_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
45835
45838
|
|
|
45836
45839
|
var login_src_main_component = normalizeComponent(
|
|
45837
45840
|
packages_login_src_mainvue_type_script_lang_js_,
|
|
45838
|
-
|
|
45839
|
-
|
|
45841
|
+
mainvue_type_template_id_9df7b90c_render,
|
|
45842
|
+
mainvue_type_template_id_9df7b90c_staticRenderFns,
|
|
45840
45843
|
false,
|
|
45841
45844
|
null,
|
|
45842
45845
|
null,
|
|
@@ -71766,7 +71769,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
71766
71769
|
}
|
|
71767
71770
|
|
|
71768
71771
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
71769
|
-
version: '0.4.
|
|
71772
|
+
version: '0.4.54',
|
|
71770
71773
|
install: install,
|
|
71771
71774
|
Button: packages_button,
|
|
71772
71775
|
ButtonGroup: button_group,
|