icve-sso 0.0.21 → 0.0.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.
@@ -339,6 +339,13 @@ setToStringTag(Math, 'Math', true);
339
339
  setToStringTag(global.JSON, 'JSON', true);
340
340
 
341
341
 
342
+ /***/ }),
343
+
344
+ /***/ "026b":
345
+ /***/ (function(module, exports, __webpack_require__) {
346
+
347
+ // extracted by mini-css-extract-plugin
348
+
342
349
  /***/ }),
343
350
 
344
351
  /***/ "0395":
@@ -365,6 +372,20 @@ module.exports.f = function getOwnPropertyNames(it) {
365
372
  };
366
373
 
367
374
 
375
+ /***/ }),
376
+
377
+ /***/ "04b1":
378
+ /***/ (function(module, exports, __webpack_require__) {
379
+
380
+ // extracted by mini-css-extract-plugin
381
+
382
+ /***/ }),
383
+
384
+ /***/ "04b5":
385
+ /***/ (function(module, exports, __webpack_require__) {
386
+
387
+ // extracted by mini-css-extract-plugin
388
+
368
389
  /***/ }),
369
390
 
370
391
  /***/ "07e3":
@@ -532,6 +553,17 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
532
553
  module.exports = Axios;
533
554
 
534
555
 
556
+ /***/ }),
557
+
558
+ /***/ "0d8f":
559
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
560
+
561
+ "use strict";
562
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NationalitySelector_vue_vue_type_style_index_0_id_abd02b60_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d9de");
563
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NationalitySelector_vue_vue_type_style_index_0_id_abd02b60_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NationalitySelector_vue_vue_type_style_index_0_id_abd02b60_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
564
+ /* unused harmony reexport * */
565
+
566
+
535
567
  /***/ }),
536
568
 
537
569
  /***/ "0df6":
@@ -1135,7 +1167,7 @@ module.exports = (
1135
1167
  /***/ "1779":
1136
1168
  /***/ (function(module) {
1137
1169
 
1138
- module.exports = JSON.parse("{\"手机绑定\":\"Phone Binding\",\"请输入验证码\":\"Code\",\"获取验证码\":\"Send Code\",\"请输入手机号\":\"Please enter your phone number\",\"手机号码格式错误\":\"Mobile phone number format error\",\"秒重获\":\"Seconds to reacquire\",\"中->英\":\"English ->Chinese\",\"欢迎登录\":\"Log in to learn in ICVE\",\"账号密码登录\":\"Account Log in with\",\"手机验证码登录\":\"Mobile login\",\"请输入账号\":\"Account\",\"请输入密码\":\"Password\",\"请输入新密码\":\"Please enter a new password\",\"姓名\":\"Name\",\"新密码\":\"New password\",\"学校或企业\":\"School or enterprise\",\"点击进行验证\":\"Click to verify\",\"向右滑动完成验证\":\"Swipe to the right to complete verification\",\"请完成安全验证\":\"Please complete the security verification\",\"我已阅读并同意\":\"I have read and agreed to \",\"用户协议及隐私协议\":\"User Agreement and Privacy Agreement\",\"已阅读并同意用户协议,隐私协议\":\"Already read and agreed to the user agreement and privacy policy\",\"用户服务协议\":\"the User Service Agreement\",\"隐私协议\":\"Privacy Agreement\",\"忘记密码\":\"Forget password\",\"登录\":\"Log in\",\"注册\":\"Register\",\"联系客服\":\"Contact customer service\",\"《国家职业教育智慧教育平台用户协议》\":\"《National Vocational Education and Training Intelligent Education Platform User Agreement》\",\"《国家职业教育智慧教育平台隐私协议》\":\"《National Vocational Education and Training Intelligent Education Platform Privacy Agreement》\",\"京公网安备 11010202007836号 京ICP备 12020869号-19\":\"Jing Gong Wang An Bei No. 11010202007836 Jing ICP Bei No. 12020869-19\",\"Copyright© 2022 国家职业教育智慧教育平台\":\"Copyright © 2022 National Vocational Education and Training Intelligent Education Platform\",\"Copyright© 2022 湖北职业教育智慧教育平台\":\"Copyright © 2022 Hubei Vocational Education and Training Intelligent Education Platform\",\"Copyright©2022 高等教育出版社\":\"Copyright © 2022 Higher Education Press\",\"京ICP备 09059518号-20 京公网安备 11010202007836号\":\"Beijing ICP No. 09059518-20 Beijing Public Security No. 11010202007836\",\"请仔细阅读用户协议,隐私协议并勾\":\"Please carefully read the user agreement, privacy agreement and check\",\"请点击验证\":\"Click to verify\",\"手机号为空或手机号格式不正确\":\"Mobile phone number is empty or the mobile phone number format is incorrect\",\"登录成功\":\"Login successful\",\"密码包含大写 小写 特殊字符 数字,大于8位,小于50位\":\"Password contains capital letters, lowercase letters, special characters, numbers, greater than 8 bits, less than 50 bits\",\"至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)\":\"At least three classes of characters (capital, lowercase, number, special character) are included, length (8~50 bits)\",\"密码修改成功\":\"Password modification successful\",\"账号注册\":\"Account registration\",\"已有账号\":\"Existing account\",\"立即登录\":\"Log in now\",\"返回\":\"return\",\"国籍\":\"nationality\",\"单位列表\":\"Unit List\",\"请选择身份类型\":\"Please select identity type\",\"身份类型\":\"Identity Type\",\"学生\":\"student\",\"老师\":\"teacher\",\"社会学习者\":\"Social learners\",\"企业用户\":\"corporate user\",\"国际学习者\":\"International learners\",\"国际教师\":\"International teachers\",\"点击选择国籍\":\"Click to select nationality\",\"单位名称\":\"Unit Name\",\"工号/学号\":\"Employee ID/Student ID\",\"真实姓名\":\"Real Name\",\"性别\":\"Gender\",\"男\":\"Male\",\"女\":\"Female\",\"用户名需符合以下格式:6-20位(字母+数字)\":\"The username must conform to the following format: 6-20 characters (letters+numbers)\",\"确认密码,保持一致\":\"Confirm password and keep it consistent\",\"出生日期\":\"Date of Birth:\",\"注册信息填写不完整\":\"Incomplete registration information filled in\",\"两次密码输入不一致,请重新输入\":\"The password entered twice is inconsistent. Please re-enter\",\"注册成功\":\"registered successfully\",\"账号验证\":\"Account verification\",\"修改密码\":\"Change password\",\"完成\":\"complete\",\"下一步\":\"Next step\",\"验证通过,您需要修改密码的用户名为\":\"Verification passed, the username for which you need to change your password is\",\"修改成功\":\"Modified successfully\",\"去登录\":\"Log in\",\"账号绑定\":\"Account Binding\",\"立即绑定\":\"Bind Now\",\"账号绑定成功\":\"Account binding successful\",\"还没有账号?\":\"Don't have an account yet?\",\"立即注册\":\"Register Now\",\"该手机号下拥有多个账号,请选择要进行登录的账号!\":\"There are multiple accounts under this phone number, please select the account you want to log in to!\",\"请选择要进行登录的账号\":\"Please select the account to log in to\",\"手机号绑定\":\"Phone number binding\",\"下次绑定\":\"Next binding\",\"提交绑定\":\"Submit binding\",\"取消\":\"Cancel\",\"确定\":\"confirm\",\"您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。\":\"The password strength you have set is insufficient and poses a security risk. Please change it to a more complex password as soon as possible.\",\"微信扫码二维码\":\"Scan QR code on WeChat\",\"不再提醒\":\"Do not remind again\",\"中国大陆\":\"Chinese Mainland\",\"手机号验证\":\"Mobile number verification\",\"无手机号验证\":\"No phone number verification\",\"该手机号为后续账号绑定手机号\":\"This phone number is the phone number for subsequent account binding\",\"请选择需修改账号\":\"Please select the account to be modified\",\"最后登录时间\":\"last login time\",\"单位未填写\":\"Unit not filled in\",\"工号未填写\":\"The job number is not filled in\",\"姓名未填写\":\"Name not filled in\",\"找回用户名或密码,请点击\":\"Forgot Account or Password?\",\"该手机号绑定多个账号请选择\":\"This phone number is bound to multiple accounts. Please select\",\"您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:\":\"Your username has been changed, and old users will no longer be able to log in. The changed username is called:\",\"手机号登录新用户自动注册\":\"Mobile phone number login, new user automatic registration\",\"邮箱登录新用户自动注册\":\"New users will be auto-registered\",\"提示\":\"prompt\",\"检测到该手机号绑定了多个账号,账号名称为:\":\"Detected that the phone number is bound to multiple accounts, with the account name being:\",\"建议您合并多余账号\":\"I suggest you merge your excess accounts!\",\"继续登录\":\"Continue Login\",\"合并账号\":\"Merge accounts\",\"验证身份\":\"Verify identity\",\"立即验证\":\"Verify Now\",\"去重置\":\"Go reset\",\"重置密码\":\"Reset password\",\"重置成功\":\"Reset successful\",\"提交\":\"submit\",\"首次登录完善基本信息\":\"Improve basic information\",\"请输入姓名\":\"Please enter your name\",\"请输入学校或企业\":\"Please enter school or enterprise\",\"请输入邮箱地址\":\"Please enter your email address\",\"邮箱格式不正确\":\"Email format incorrect\",\"请输入邮箱\":\"Email\",\"请输入邮箱验证码\":\"Verfivcation code\",\"邮箱登录\":\"Email Log in with\",\"邮箱注册\":\"Please enter the email verification code\",\"手机号注册\":\"Mobile number registration\",\"用户名\":\"enter one user name\",\"密码\":\"Password\",\"手机号\":\"mobile phone number\",\"确认密码\":\"Confirm Password\",\"用户名称\":\"Username\",\"您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?\":\"The phone number you entered has already been bound to the following account. Binding to this account will automatically unbind the original bound account. Are you sure?\",\"绑定手机\":\"Bind mobile phone\",\"请选择学校或企业\":\"Please choose a school or enterprise\",\"安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。\":\"Security Reminder: Multiple accounts have been linked to the current phone number, and some accounts have not been logged in for over a year. To ensure account security, these accounts that have not been logged in for a long time will automatically have their phone numbers unbound.\",\"安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。\":\"Security reminder: Multiple accounts have been linked to the current phone number. To ensure account security, unselected accounts will be automatically unlinked after this login.\",\"微信或App扫码均可登录\":\"Scan witch Wechat or ICVE+ APP\",\"你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~\":\"Your current WeChat account or email has not been linked yet. You need to complete the binding first, and there will be no need for repeated verification when logging in later. Just enter directly\",\"微信绑定\":\"WeChat Binding\",\"密码不能为空\":\"Password cannot be empty\",\",\":\"and\",\"已扫码\":\"Scanned\",\"请在手机上确认\":\"Please confirm on your phone\",\"重新扫码\":\"Rescan QR code\",\"二维码已过期\":\"The QR code has expired\",\"请点击下方按钮刷新\":\"Please click the button below to refresh\",\"重新生成\":\"regenerate\",\"微信绑定成功\":\"WeChat binding is successful\"}");
1170
+ module.exports = JSON.parse("{\"手机绑定\":\"Phone Binding\",\"请输入验证码\":\"Code\",\"获取验证码\":\"Send Code\",\"请输入手机号\":\"Please enter your phone number\",\"手机号码格式错误\":\"Mobile phone number format error\",\"秒重获\":\"Seconds to reacquire\",\"中->英\":\"English ->Chinese\",\"欢迎登录\":\"Log in to learn in ICVE\",\"账号密码登录\":\"Account Log in with\",\"手机验证码登录\":\"Mobile login\",\"请输入账号\":\"Account\",\"请输入密码\":\"Password\",\"请输入新密码\":\"Please enter a new password\",\"姓名\":\"Name\",\"新密码\":\"New password\",\"学校或企业\":\"School or enterprise\",\"点击进行验证\":\"Click to verify\",\"向右滑动完成验证\":\"Swipe to the right to complete verification\",\"请完成安全验证\":\"Please complete the security verification\",\"我已阅读并同意\":\"I have read and agreed to \",\"用户协议及隐私协议\":\"User Agreement and Privacy Agreement\",\"已阅读并同意用户协议,隐私协议\":\"Already read and agreed to the user agreement and privacy policy\",\"用户服务协议\":\"the User Service Agreement\",\"隐私协议\":\"Privacy Agreement\",\"忘记密码\":\"Forget password\",\"登录\":\"Log in\",\"注册\":\"Register\",\"联系客服\":\"Contact customer service\",\"《国家职业教育智慧教育平台用户协议》\":\"《National Vocational Education and Training Intelligent Education Platform User Agreement》\",\"《国家职业教育智慧教育平台隐私协议》\":\"《National Vocational Education and Training Intelligent Education Platform Privacy Agreement》\",\"京公网安备 11010202007836号 京ICP备 12020869号-19\":\"Jing Gong Wang An Bei No. 11010202007836 Jing ICP Bei No. 12020869-19\",\"Copyright© 2022 国家职业教育智慧教育平台\":\"Copyright © 2022 National Vocational Education and Training Intelligent Education Platform\",\"Copyright© 2022 湖北职业教育智慧教育平台\":\"Copyright © 2022 Hubei Vocational Education and Training Intelligent Education Platform\",\"Copyright©2022 高等教育出版社\":\"Copyright © 2022 Higher Education Press\",\"京ICP备 09059518号-20 京公网安备 11010202007836号\":\"Beijing ICP No. 09059518-20 Beijing Public Security No. 11010202007836\",\"请仔细阅读用户协议,隐私协议并勾\":\"Please carefully read the user agreement, privacy agreement and check\",\"请点击验证\":\"Click to verify\",\"手机号为空或手机号格式不正确\":\"Mobile phone number is empty or the mobile phone number format is incorrect\",\"登录成功\":\"Login successful\",\"密码包含大写 小写 特殊字符 数字,大于8位,小于50位\":\"Password contains capital letters, lowercase letters, special characters, numbers, greater than 8 bits, less than 50 bits\",\"至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)\":\"At least three classes of characters (capital, lowercase, number, special character) are included, length (8~50 bits)\",\"密码修改成功\":\"Password modification successful\",\"账号注册\":\"Account registration\",\"已有账号\":\"Existing account\",\"立即登录\":\"Log in now\",\"返回\":\"return\",\"国籍\":\"nationality\",\"单位列表\":\"Unit List\",\"请选择身份类型\":\"Please select identity type\",\"身份类型\":\"Identity Type\",\"学生\":\"student\",\"老师\":\"teacher\",\"社会学习者\":\"Social learners\",\"企业用户\":\"corporate user\",\"国际学习者\":\"International learners\",\"国际教师\":\"International teachers\",\"点击选择国籍\":\"Click to select nationality\",\"单位名称\":\"Unit Name\",\"工号/学号\":\"Employee ID/Student ID\",\"真实姓名\":\"Real Name\",\"性别\":\"Gender\",\"男\":\"Male\",\"女\":\"Female\",\"用户名需符合以下格式:6-20位(字母+数字)\":\"The username must conform to the following format: 6-20 characters (letters+numbers)\",\"确认密码,保持一致\":\"Confirm password and keep it consistent\",\"出生日期\":\"Date of Birth:\",\"注册信息填写不完整\":\"Incomplete registration information filled in\",\"两次密码输入不一致,请重新输入\":\"The password entered twice is inconsistent. Please re-enter\",\"注册成功\":\"registered successfully\",\"账号验证\":\"Account verification\",\"修改密码\":\"Change password\",\"完成\":\"complete\",\"下一步\":\"Next step\",\"验证通过,您需要修改密码的用户名为\":\"Verification passed, the username for which you need to change your password is\",\"修改成功\":\"Modified successfully\",\"去登录\":\"Log in\",\"账号绑定\":\"Account Binding\",\"立即绑定\":\"Bind Now\",\"账号绑定成功\":\"Account binding successful\",\"还没有账号?\":\"Don't have an account yet?\",\"立即注册\":\"Register Now\",\"该手机号下拥有多个账号,请选择要进行登录的账号!\":\"There are multiple accounts under this phone number, please select the account you want to log in to!\",\"请选择要进行登录的账号\":\"Please select the account to log in to\",\"手机号绑定\":\"Phone number binding\",\"下次绑定\":\"Next binding\",\"提交绑定\":\"Submit binding\",\"取消\":\"Cancel\",\"确定\":\"confirm\",\"您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。\":\"The password strength you have set is insufficient and poses a security risk. Please change it to a more complex password as soon as possible.\",\"微信扫码二维码\":\"Scan QR code on WeChat\",\"不再提醒\":\"Do not remind again\",\"中国大陆\":\"Chinese Mainland\",\"手机号验证\":\"Mobile number verification\",\"无手机号验证\":\"No phone number verification\",\"该手机号为后续账号绑定手机号\":\"This phone number is the phone number for subsequent account binding\",\"请选择需修改账号\":\"Please select the account to be modified\",\"最后登录时间\":\"last login time\",\"单位未填写\":\"Unit not filled in\",\"工号未填写\":\"The job number is not filled in\",\"姓名未填写\":\"Name not filled in\",\"找回用户名或密码,请点击\":\"Forgot Account or Password?\",\"该手机号绑定多个账号请选择\":\"This phone number is bound to multiple accounts. Please select\",\"您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:\":\"Your username has been changed, and old users will no longer be able to log in. The changed username is called:\",\"手机号登录新用户自动注册\":\"Mobile phone number login, new user automatic registration\",\"邮箱登录新用户自动注册\":\"New users will be auto-registered\",\"提示\":\"prompt\",\"检测到该手机号绑定了多个账号,账号名称为:\":\"Detected that the phone number is bound to multiple accounts, with the account name being:\",\"建议您合并多余账号\":\"I suggest you merge your excess accounts!\",\"继续登录\":\"Continue Login\",\"合并账号\":\"Merge accounts\",\"验证身份\":\"Verify identity\",\"立即验证\":\"Verify Now\",\"去重置\":\"Go reset\",\"重置密码\":\"Reset password\",\"重置成功\":\"Reset successful\",\"提交\":\"submit\",\"首次登录完善基本信息\":\"Improve basic information\",\"请输入姓名\":\"Please enter your name\",\"请输入学校或企业\":\"Please enter school or enterprise\",\"请输入邮箱地址\":\"Please enter your email address\",\"邮箱格式不正确\":\"Email format incorrect\",\"请输入邮箱\":\"Email\",\"请输入邮箱验证码\":\"Verfivcation code\",\"邮箱登录\":\"Email Log in with\",\"邮箱注册\":\"Please enter the email verification code\",\"手机号注册\":\"Mobile number registration\",\"用户名\":\"enter one user name\",\"密码\":\"Password\",\"手机号\":\"mobile phone number\",\"确认密码\":\"Confirm Password\",\"用户名称\":\"Username\",\"您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?\":\"The phone number you entered has already been bound to the following account. Binding to this account will automatically unbind the original bound account. Are you sure?\",\"绑定手机\":\"Bind mobile phone\",\"请选择学校或企业\":\"Please choose a school or enterprise\",\"安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。\":\"Security Reminder: Multiple accounts have been linked to the current phone number, and some accounts have not been logged in for over a year. To ensure account security, these accounts that have not been logged in for a long time will automatically have their phone numbers unbound.\",\"安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。\":\"Security reminder: Multiple accounts have been linked to the current phone number. To ensure account security, unselected accounts will be automatically unlinked after this login.\",\"微信或App扫码均可登录\":\"Scan witch Wechat or ICVE+ APP\",\"你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~\":\"Your current WeChat account or email has not been linked yet. You need to complete the binding first, and there will be no need for repeated verification when logging in later. Just enter directly\",\"微信绑定\":\"WeChat Binding\",\"密码不能为空\":\"Password cannot be empty\",\",\":\"and\",\"已扫码\":\"Scanned\",\"请在手机上确认\":\"Please confirm on your phone\",\"重新扫码\":\"Rescan QR code\",\"二维码已过期\":\"The QR code has expired\",\"请点击下方按钮刷新\":\"Please click the button below to refresh\",\"重新生成\":\"regenerate\",\"微信绑定成功\":\"WeChat binding is successful\",\"微信扫码进行账号绑定\":\"Scan the QR code with WeChat to bind the account\"}");
1139
1171
 
1140
1172
  /***/ }),
1141
1173
 
@@ -4291,6 +4323,17 @@ module.exports = __webpack_require__("7f4d");
4291
4323
 
4292
4324
  /******/ });
4293
4325
 
4326
+ /***/ }),
4327
+
4328
+ /***/ "477a":
4329
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4330
+
4331
+ "use strict";
4332
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_agreement_vue_vue_type_style_index_0_id_4d527b39_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("026b");
4333
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_agreement_vue_vue_type_style_index_0_id_4d527b39_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_agreement_vue_vue_type_style_index_0_id_4d527b39_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
4334
+ /* unused harmony reexport * */
4335
+
4336
+
4294
4337
  /***/ }),
4295
4338
 
4296
4339
  /***/ "47ee":
@@ -51308,7 +51351,7 @@ module.exports = {
51308
51351
  /***/ "5e53":
51309
51352
  /***/ (function(module) {
51310
51353
 
51311
- module.exports = JSON.parse("{\"手机绑定\":\"手机绑定\",\"请输入验证码\":\"请输入验证码\",\"获取验证码\":\"获取验证码\",\"请输入手机号\":\"请输入手机号\",\"手机号码格式错误\":\"手机号码格式错误\",\"秒重获\":\"秒重获\",\"中->英\":\"中->英\",\"欢迎登录\":\"欢迎登录\",\"账号密码登录\":\"账号密码登录\",\"手机验证码登录\":\"手机验证码登录\",\"请输入账号\":\"请输入账号\",\"请输入密码\":\"请输入密码\",\"请输入新密码\":\"请输入新密码\",\"姓名\":\"姓名\",\"新密码\":\"新密码\",\"学校或企业\":\"学校或企业\",\"点击进行验证\":\"点击进行验证\",\"向右滑动完成验证\":\"向右滑动完成验证\",\"请完成安全验证\":\"请完成安全验证\",\"我已阅读并同意\":\"我已阅读并同意\",\"用户服务协议\":\"用户服务协议\",\"隐私协议\":\"隐私协议\",\"忘记密码\":\"忘记密码\",\"登录\":\"登录\",\"注册\":\"注册\",\"联系客服\":\"联系客服\",\"《国家职业教育智慧教育平台用户协议》\":\"《国家职业教育智慧教育平台用户协议》\",\"《国家职业教育智慧教育平台隐私协议》\":\"《国家职业教育智慧教育平台隐私协议》\",\"京公网安备 11010202007836号 京ICP备 12020869号-19\":\"京公网安备 11010202007836号 京ICP备 12020869号-19\",\"Copyright© 2022 国家职业教育智慧教育平台\":\"Copyright© 2022 国家职业教育智慧教育平台\",\"Copyright© 2022 湖北职业教育智慧教育平台\":\"Copyright© 2022 湖北职业教育智慧教育平台\",\"Copyright©2022 高等教育出版社\":\"Copyright©2022 高等教育出版社\",\"京ICP备 09059518号-20 京公网安备 11010202007836号\":\"京ICP备 09059518号-20 京公网安备 11010202007836号\",\"请仔细阅读用户协议,隐私协议并勾选\":\"请仔细阅读用户协议,隐私协议并勾选\",\"已阅读并同意用户协议,隐私协议\":\"已阅读并同意用户协议,隐私协议\",\"用户协议及隐私协议\":\"用户协议及隐私协议\",\"请点击验证\":\"请点击验证\",\"手机号为空或手机号格式不正确\":\"手机号为空或手机号格式不正确\",\"登录成功\":\"登录成功\",\"密码包含大写 小写 特殊字符 数字,大于8位,小于50位\":\"密码包含大写 小写 特殊字符 数字,大于8位,小于50位\",\"至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)\":\"至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)\",\"密码修改成功\":\"密码修改成功\",\"账号注册\":\"账号注册\",\"已有账号\":\"已有账号\",\"立即登录\":\"立即登录\",\"返回\":\"返回\",\"国籍\":\"国籍\",\"单位列表\":\"单位列表\",\"请选择身份类型\":\"请选择身份类型\",\"身份类型\":\"身份类型\",\"学生\":\"学生\",\"老师\":\"老师\",\"社会学习者\":\"社会学习者\",\"企业用户\":\"企业用户\",\"国际学习者\":\"国际学习者\",\"国际教师\":\"国际教师\",\"点击选择国籍\":\"点击选择国籍\",\"单位名称\":\"单位名称\",\"工号/学号\":\"工号/学号\",\"真实姓名\":\"真实姓名\",\"性别\":\"性别\",\"男\":\"男\",\"女\":\"女\",\"用户名需符合以下格式:6-20位(字母+数字)\":\"用户名需符合以下格式:6-20位(字母+数字)\",\"确认密码,保持一致\":\"确认密码,保持一致\",\"出生日期\":\"出生日期\",\"注册信息填写不完整\":\"注册信息填写不完整\",\"两次密码输入不一致,请重新输入\":\"两次密码输入不一致,请重新输入\",\"注册成功\":\"注册成功\",\"账号验证\":\"账号验证\",\"修改密码\":\"修改密码\",\"完成\":\"完成\",\"下一步\":\"下一步\",\"验证通过,您需要修改密码的用户名为\":\" 验证通过,您需要修改密码的用户名为\",\"修改成功\":\"修改成功\",\"去登录\":\"去登录\",\"账号绑定\":\"账号绑定\",\"立即绑定\":\"立即绑定\",\"账号绑定成功\":\"账号绑定成功\",\"还没有账号?\":\"还没有账号?\",\"立即注册\":\"立即注册\",\"该手机号下拥有多个账号,请选择要进行登录的账号!\":\"该手机号下拥有多个账号,请选择要进行登录的账号!\",\"请选择要进行登录的账号\":\"请选择要进行登录的账号\",\"手机号绑定\":\"手机号绑定\",\"下次绑定\":\"下次绑定\",\"提交绑定\":\"提交绑定\",\"取消\":\"取消\",\"确定\":\"确定\",\"您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。\":\"您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。\",\"微信扫码二维码\":\"微信扫码二维码\",\"不再提醒\":\"不再提醒\",\"中国大陆\":\"中国大陆\",\"手机号验证\":\"手机号验证\",\"无手机号验证\":\"无手机号验证\",\"该手机号为后续账号绑定手机号\":\"该手机号为后续账号绑定手机号\",\"请选择需修改账号\":\"请选择需修改账号\",\"最后登录时间\":\"最后登录时间\",\"单位未填写\":\"单位未填写\",\"工号未填写\":\"工号未填写\",\"姓名未填写\":\"姓名未填写\",\"找回用户名或密码,请点击\":\"找回用户名或密码,请点击\",\"该手机号绑定多个账号请选择\":\"该手机号绑定多个账号请选择\",\"您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:\":\"您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:\",\"手机号登录新用户自动注册\":\"手机号登录新用户自动注册\",\"邮箱登录新用户自动注册\":\"邮箱登录新用户自动注册\",\"提示\":\"提示\",\"检测到该手机号绑定了多个账号,账号名称为:\":\"检测到该手机号绑定了多个账号,账号名称为:\",\"建议您合并多余账号\":\"建议您合并多余账号!\",\"继续登录\":\"继续登录\",\"合并账号\":\"合并账号\",\"验证身份\":\"验证身份\",\"立即验证\":\"立即验证\",\"去重置\":\"去重置\",\"重置密码\":\"重置密码\",\"重置成功\":\"重置成功\",\"提交\":\"提交\",\"首次登录完善基本信息\":\"完善基本信息\",\"请输入姓名\":\"请输入姓名\",\"请输入学校或企业\":\"请输入学校或企业\",\"请输入邮箱地址\":\"请输入邮箱地址\",\"邮箱格式不正确\":\"邮箱格式不正确\",\"请输入邮箱\":\"请输入邮箱\",\"请输入邮箱验证码\":\"请输入邮箱验证码\",\"邮箱登录\":\"邮箱登录\",\"邮箱注册\":\"邮箱注册\",\"手机号注册\":\"手机号注册\",\"用户名\":\"请输入用户名\",\"密码\":\"密码\",\"手机号\":\"手机号\",\"确认密码\":\"确认密码\",\"用户名称\":\"用户名称\",\"您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?\":\"您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?\",\"绑定手机\":\"绑定手机\",\"请选择学校或企业\":\"请选择学校或企业\",\"安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。\":\"安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。\",\"安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。\":\"安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。\",\"微信或App扫码均可登录\":\"微信或App扫码均可登录\",\"你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~\":\"你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~\",\"微信绑定\":\"微信绑定\",\"密码不能为空\":\"密码不能为空\",\",\":\",\",\"已扫码\":\"已扫码\",\"请在手机上确认\":\"请在手机上确认\",\"重新扫码\":\"重新扫码\",\"二维码已过期\":\"二维码已过期\",\"请点击下方按钮刷新\":\"请点击下方按钮刷新\",\"重新生成\":\"重新生成\",\"微信绑定成功\":\"微信绑定成功\"}");
51354
+ module.exports = JSON.parse("{\"手机绑定\":\"手机绑定\",\"请输入验证码\":\"请输入验证码\",\"获取验证码\":\"获取验证码\",\"请输入手机号\":\"请输入手机号\",\"手机号码格式错误\":\"手机号码格式错误\",\"秒重获\":\"秒重获\",\"中->英\":\"中->英\",\"欢迎登录\":\"欢迎登录\",\"账号密码登录\":\"账号密码登录\",\"手机验证码登录\":\"手机验证码登录\",\"请输入账号\":\"请输入账号\",\"请输入密码\":\"请输入密码\",\"请输入新密码\":\"请输入新密码\",\"姓名\":\"姓名\",\"新密码\":\"新密码\",\"学校或企业\":\"学校或企业\",\"点击进行验证\":\"点击进行验证\",\"向右滑动完成验证\":\"向右滑动完成验证\",\"请完成安全验证\":\"请完成安全验证\",\"我已阅读并同意\":\"我已阅读并同意\",\"用户服务协议\":\"用户服务协议\",\"隐私协议\":\"隐私协议\",\"忘记密码\":\"忘记密码\",\"登录\":\"登录\",\"注册\":\"注册\",\"联系客服\":\"联系客服\",\"《国家职业教育智慧教育平台用户协议》\":\"《国家职业教育智慧教育平台用户协议》\",\"《国家职业教育智慧教育平台隐私协议》\":\"《国家职业教育智慧教育平台隐私协议》\",\"京公网安备 11010202007836号 京ICP备 12020869号-19\":\"京公网安备 11010202007836号 京ICP备 12020869号-19\",\"Copyright© 2022 国家职业教育智慧教育平台\":\"Copyright© 2022 国家职业教育智慧教育平台\",\"Copyright© 2022 湖北职业教育智慧教育平台\":\"Copyright© 2022 湖北职业教育智慧教育平台\",\"Copyright©2022 高等教育出版社\":\"Copyright©2022 高等教育出版社\",\"京ICP备 09059518号-20 京公网安备 11010202007836号\":\"京ICP备 09059518号-20 京公网安备 11010202007836号\",\"请仔细阅读用户协议,隐私协议并勾选\":\"请仔细阅读用户协议,隐私协议并勾选\",\"已阅读并同意用户协议,隐私协议\":\"已阅读并同意用户协议,隐私协议\",\"用户协议及隐私协议\":\"用户协议及隐私协议\",\"请点击验证\":\"请点击验证\",\"手机号为空或手机号格式不正确\":\"手机号为空或手机号格式不正确\",\"登录成功\":\"登录成功\",\"密码包含大写 小写 特殊字符 数字,大于8位,小于50位\":\"密码包含大写 小写 特殊字符 数字,大于8位,小于50位\",\"至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)\":\"至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)\",\"密码修改成功\":\"密码修改成功\",\"账号注册\":\"账号注册\",\"已有账号\":\"已有账号\",\"立即登录\":\"立即登录\",\"返回\":\"返回\",\"国籍\":\"国籍\",\"单位列表\":\"单位列表\",\"请选择身份类型\":\"请选择身份类型\",\"身份类型\":\"身份类型\",\"学生\":\"学生\",\"老师\":\"老师\",\"社会学习者\":\"社会学习者\",\"企业用户\":\"企业用户\",\"国际学习者\":\"国际学习者\",\"国际教师\":\"国际教师\",\"点击选择国籍\":\"点击选择国籍\",\"单位名称\":\"单位名称\",\"工号/学号\":\"工号/学号\",\"真实姓名\":\"真实姓名\",\"性别\":\"性别\",\"男\":\"男\",\"女\":\"女\",\"用户名需符合以下格式:6-20位(字母+数字)\":\"用户名需符合以下格式:6-20位(字母+数字)\",\"确认密码,保持一致\":\"确认密码,保持一致\",\"出生日期\":\"出生日期\",\"注册信息填写不完整\":\"注册信息填写不完整\",\"两次密码输入不一致,请重新输入\":\"两次密码输入不一致,请重新输入\",\"注册成功\":\"注册成功\",\"账号验证\":\"账号验证\",\"修改密码\":\"修改密码\",\"完成\":\"完成\",\"下一步\":\"下一步\",\"验证通过,您需要修改密码的用户名为\":\" 验证通过,您需要修改密码的用户名为\",\"修改成功\":\"修改成功\",\"去登录\":\"去登录\",\"账号绑定\":\"账号绑定\",\"立即绑定\":\"立即绑定\",\"账号绑定成功\":\"账号绑定成功\",\"还没有账号?\":\"还没有账号?\",\"立即注册\":\"立即注册\",\"该手机号下拥有多个账号,请选择要进行登录的账号!\":\"该手机号下拥有多个账号,请选择要进行登录的账号!\",\"请选择要进行登录的账号\":\"请选择要进行登录的账号\",\"手机号绑定\":\"手机号绑定\",\"下次绑定\":\"下次绑定\",\"提交绑定\":\"提交绑定\",\"取消\":\"取消\",\"确定\":\"确定\",\"您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。\":\"您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。\",\"微信扫码二维码\":\"微信扫码二维码\",\"不再提醒\":\"不再提醒\",\"中国大陆\":\"中国大陆\",\"手机号验证\":\"手机号验证\",\"无手机号验证\":\"无手机号验证\",\"该手机号为后续账号绑定手机号\":\"该手机号为后续账号绑定手机号\",\"请选择需修改账号\":\"请选择需修改账号\",\"最后登录时间\":\"最后登录时间\",\"单位未填写\":\"单位未填写\",\"工号未填写\":\"工号未填写\",\"姓名未填写\":\"姓名未填写\",\"找回用户名或密码,请点击\":\"找回用户名或密码,请点击\",\"该手机号绑定多个账号请选择\":\"该手机号绑定多个账号请选择\",\"您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:\":\"您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:\",\"手机号登录新用户自动注册\":\"手机号登录新用户自动注册\",\"邮箱登录新用户自动注册\":\"邮箱登录新用户自动注册\",\"提示\":\"提示\",\"检测到该手机号绑定了多个账号,账号名称为:\":\"检测到该手机号绑定了多个账号,账号名称为:\",\"建议您合并多余账号\":\"建议您合并多余账号!\",\"继续登录\":\"继续登录\",\"合并账号\":\"合并账号\",\"验证身份\":\"验证身份\",\"立即验证\":\"立即验证\",\"去重置\":\"去重置\",\"重置密码\":\"重置密码\",\"重置成功\":\"重置成功\",\"提交\":\"提交\",\"首次登录完善基本信息\":\"完善基本信息\",\"请输入姓名\":\"请输入姓名\",\"请输入学校或企业\":\"请输入学校或企业\",\"请输入邮箱地址\":\"请输入邮箱地址\",\"邮箱格式不正确\":\"邮箱格式不正确\",\"请输入邮箱\":\"请输入邮箱\",\"请输入邮箱验证码\":\"请输入邮箱验证码\",\"邮箱登录\":\"邮箱登录\",\"邮箱注册\":\"邮箱注册\",\"手机号注册\":\"手机号注册\",\"用户名\":\"请输入用户名\",\"密码\":\"密码\",\"手机号\":\"手机号\",\"确认密码\":\"确认密码\",\"用户名称\":\"用户名称\",\"您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?\":\"您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?\",\"绑定手机\":\"绑定手机\",\"请选择学校或企业\":\"请选择学校或企业\",\"安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。\":\"安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。\",\"安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。\":\"安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。\",\"微信或App扫码均可登录\":\"微信或App扫码均可登录\",\"你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~\":\"你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~\",\"微信绑定\":\"微信绑定\",\"密码不能为空\":\"密码不能为空\",\",\":\",\",\"已扫码\":\"已扫码\",\"请在手机上确认\":\"请在手机上确认\",\"重新扫码\":\"重新扫码\",\"二维码已过期\":\"二维码已过期\",\"请点击下方按钮刷新\":\"请点击下方按钮刷新\",\"重新生成\":\"重新生成\",\"微信绑定成功\":\"微信绑定成功\",\"微信扫码进行账号绑定\":\"微信扫码进行账号绑定\"}");
51312
51355
 
51313
51356
  /***/ }),
51314
51357
 
@@ -52690,6 +52733,13 @@ module.exports = function (name) {
52690
52733
  };
52691
52734
 
52692
52735
 
52736
+ /***/ }),
52737
+
52738
+ /***/ "68bf":
52739
+ /***/ (function(module, exports, __webpack_require__) {
52740
+
52741
+ // extracted by mini-css-extract-plugin
52742
+
52693
52743
  /***/ }),
52694
52744
 
52695
52745
  /***/ "69d3":
@@ -54358,13 +54408,6 @@ module.exports = function (TO_STRING) {
54358
54408
  };
54359
54409
 
54360
54410
 
54361
- /***/ }),
54362
-
54363
- /***/ "71f9":
54364
- /***/ (function(module, exports, __webpack_require__) {
54365
-
54366
- // extracted by mini-css-extract-plugin
54367
-
54368
54411
  /***/ }),
54369
54412
 
54370
54413
  /***/ "722f":
@@ -54714,13 +54757,6 @@ exports.default = function (target) {
54714
54757
 
54715
54758
  /***/ }),
54716
54759
 
54717
- /***/ "7fc0":
54718
- /***/ (function(module, exports, __webpack_require__) {
54719
-
54720
- // extracted by mini-css-extract-plugin
54721
-
54722
- /***/ }),
54723
-
54724
54760
  /***/ "7fc1":
54725
54761
  /***/ (function(module, exports, __webpack_require__) {
54726
54762
 
@@ -55856,12 +55892,12 @@ module.exports = {
55856
55892
 
55857
55893
  /***/ }),
55858
55894
 
55859
- /***/ "8b9f":
55895
+ /***/ "856f":
55860
55896
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
55861
55897
 
55862
55898
  "use strict";
55863
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NationalitySelector_vue_vue_type_style_index_0_id_137a9432_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f4d1");
55864
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NationalitySelector_vue_vue_type_style_index_0_id_137a9432_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_NationalitySelector_vue_vue_type_style_index_0_id_137a9432_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
55899
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_QRCodeLogin_vue_vue_type_style_index_0_id_29f6d0ca_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("04b1");
55900
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_QRCodeLogin_vue_vue_type_style_index_0_id_29f6d0ca_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_QRCodeLogin_vue_vue_type_style_index_0_id_29f6d0ca_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
55865
55901
  /* unused harmony reexport * */
55866
55902
 
55867
55903
 
@@ -56641,13 +56677,6 @@ module.exports = Array.isArray || function isArray(arg) {
56641
56677
  };
56642
56678
 
56643
56679
 
56644
- /***/ }),
56645
-
56646
- /***/ "90ae":
56647
- /***/ (function(module, exports, __webpack_require__) {
56648
-
56649
- // extracted by mini-css-extract-plugin
56650
-
56651
56680
  /***/ }),
56652
56681
 
56653
56682
  /***/ "9138":
@@ -58235,17 +58264,6 @@ var isDefined = exports.isDefined = function isDefined(val) {
58235
58264
  return val !== undefined && val !== null;
58236
58265
  };
58237
58266
 
58238
- /***/ }),
58239
-
58240
- /***/ "aaf8":
58241
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
58242
-
58243
- "use strict";
58244
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_userCenterLogin_vue_vue_type_style_index_0_id_2d601256_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7fc0");
58245
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_userCenterLogin_vue_vue_type_style_index_0_id_2d601256_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_userCenterLogin_vue_vue_type_style_index_0_id_2d601256_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
58246
- /* unused harmony reexport * */
58247
-
58248
-
58249
58267
  /***/ }),
58250
58268
 
58251
58269
  /***/ "aebd":
@@ -61429,14 +61447,10 @@ var validateRangeInOneMonth = exports.validateRangeInOneMonth = function validat
61429
61447
 
61430
61448
  /***/ }),
61431
61449
 
61432
- /***/ "d9c5":
61433
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
61434
-
61435
- "use strict";
61436
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_QRCodeLogin_vue_vue_type_style_index_0_id_2b34fb84_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("71f9");
61437
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_QRCodeLogin_vue_vue_type_style_index_0_id_2b34fb84_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_QRCodeLogin_vue_vue_type_style_index_0_id_2b34fb84_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
61438
- /* unused harmony reexport * */
61450
+ /***/ "d9de":
61451
+ /***/ (function(module, exports, __webpack_require__) {
61439
61452
 
61453
+ // extracted by mini-css-extract-plugin
61440
61454
 
61441
61455
  /***/ }),
61442
61456
 
@@ -61463,12 +61477,12 @@ exports.f = __webpack_require__("8e60") ? Object.defineProperty : function defin
61463
61477
 
61464
61478
  /***/ }),
61465
61479
 
61466
- /***/ "da86":
61480
+ /***/ "dad0":
61467
61481
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
61468
61482
 
61469
61483
  "use strict";
61470
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_agreement_vue_vue_type_style_index_0_id_84d8c420_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("90ae");
61471
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_agreement_vue_vue_type_style_index_0_id_84d8c420_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_agreement_vue_vue_type_style_index_0_id_84d8c420_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
61484
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_mobileBinding_vue_vue_type_style_index_0_id_773bfc2c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("04b5");
61485
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_mobileBinding_vue_vue_type_style_index_0_id_773bfc2c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_mobileBinding_vue_vue_type_style_index_0_id_773bfc2c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
61472
61486
  /* unused harmony reexport * */
61473
61487
 
61474
61488
 
@@ -63337,6 +63351,17 @@ var global = module.exports = typeof window != 'undefined' && window.Math == Mat
63337
63351
  if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
63338
63352
 
63339
63353
 
63354
+ /***/ }),
63355
+
63356
+ /***/ "e58c":
63357
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
63358
+
63359
+ "use strict";
63360
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_userCenterLogin_vue_vue_type_style_index_0_id_57f84286_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("68bf");
63361
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_userCenterLogin_vue_vue_type_style_index_0_id_57f84286_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_userCenterLogin_vue_vue_type_style_index_0_id_57f84286_prod_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
63362
+ /* unused harmony reexport * */
63363
+
63364
+
63340
63365
  /***/ }),
63341
63366
 
63342
63367
  /***/ "e62d":
@@ -64189,6 +64214,13 @@ var meta = module.exports = {
64189
64214
  };
64190
64215
 
64191
64216
 
64217
+ /***/ }),
64218
+
64219
+ /***/ "ecdc":
64220
+ /***/ (function(module, exports, __webpack_require__) {
64221
+
64222
+ // extracted by mini-css-extract-plugin
64223
+
64192
64224
  /***/ }),
64193
64225
 
64194
64226
  /***/ "eedf":
@@ -66191,13 +66223,6 @@ src_radio.install = function (Vue) {
66191
66223
 
66192
66224
  /***/ }),
66193
66225
 
66194
- /***/ "f4d1":
66195
- /***/ (function(module, exports, __webpack_require__) {
66196
-
66197
- // extracted by mini-css-extract-plugin
66198
-
66199
- /***/ }),
66200
-
66201
66226
  /***/ "f6b4":
66202
66227
  /***/ (function(module, exports, __webpack_require__) {
66203
66228
 
@@ -66362,7 +66387,7 @@ const request = axios_default.a.create({
66362
66387
  baseURL: "/prod-api",
66363
66388
  // 超时
66364
66389
  timeout: 10000,
66365
- });
66390
+ })
66366
66391
 
66367
66392
  // 配置请求拦截器
66368
66393
  request.interceptors.request.use(
@@ -66370,52 +66395,48 @@ request.interceptors.request.use(
66370
66395
  // if (getToken()) {
66371
66396
  // config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
66372
66397
  // }
66373
-
66374
- // 开发环境使用代理,生产环境直接请求
66375
- if (false) {} else {
66376
- // 生产环境根据环境变量决定API地址
66377
- if (sessionStorage.getItem('environment') === 'test') {
66378
- config.url = 'https://testssov2.icve.com.cn/prod-api' + config.url;
66379
- } else {
66380
- config.url = 'https://sso.icve.com.cn/prod-api' + config.url;
66381
- }
66398
+ if (sessionStorage.getItem('environment') === 'test') {
66399
+ config.url = 'http://192.168.130.71:9101' + config.url
66400
+ // config.url = 'https://testssov2.icve.com.cn/prod-api' + config.url
66401
+ } else {
66402
+ config.url = 'https://sso.icve.com.cn/prod-api' + config.url
66382
66403
  }
66383
- return config;
66404
+ return config
66384
66405
  },
66385
66406
  function (error) {
66386
66407
  // 对请求错误做些什么
66387
- return Promise.reject(error);
66388
- },
66389
- );
66408
+ return Promise.reject(error)
66409
+ }
66410
+ )
66390
66411
 
66391
66412
  // 添加响应拦截器
66392
66413
  // 响应拦截器
66393
66414
  request.interceptors.response.use(
66394
66415
  (res) => {
66395
66416
  // 未设置状态码则默认成功状态
66396
- const code = res.data.code || 200;
66417
+ const code = res.data.code || 200
66397
66418
  // 获取错误信息
66398
- const msg = errorCode[code] || res.data.msg || errorCode['default'];
66399
- return res;
66419
+ const msg = errorCode[code] || res.data.msg || errorCode['default']
66420
+ return res
66400
66421
  },
66401
66422
  (error) => {
66402
- console.log('err' + error);
66403
- let { message } = error;
66423
+ console.log('err' + error)
66424
+ let { message } = error
66404
66425
  if (message == 'Network Error') {
66405
- message = '后端接口连接异常';
66426
+ message = '后端接口连接异常'
66406
66427
  } else if (message.includes('timeout')) {
66407
- message = '系统接口请求超时';
66428
+ message = '系统接口请求超时'
66408
66429
  } else if (message.includes('Request failed with status code')) {
66409
- message = '系统接口' + message.substr(message.length - 3) + '异常';
66430
+ message = '系统接口' + message.substr(message.length - 3) + '异常'
66410
66431
  }
66411
66432
  Object(element_ui_common["Message"])({
66412
66433
  message: message,
66413
66434
  type: 'error',
66414
66435
  duration: 5 * 1000,
66415
- });
66416
- return Promise.reject(error);
66417
- },
66418
- );
66436
+ })
66437
+ return Promise.reject(error)
66438
+ }
66439
+ )
66419
66440
 
66420
66441
  // 暴露出去
66421
66442
  /* harmony default export */ var utils_request = (request);
@@ -66808,97 +66829,84 @@ var component = normalizeComponent(
66808
66829
  )
66809
66830
 
66810
66831
  /* harmony default export */ var userCenterCompleteInformation = (component.exports);
66811
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/userCenterLogin.vue?vue&type=template&id=2d601256
66812
- var userCenterLoginvue_type_template_id_2d601256_render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.loginShow)?_c('div',{staticClass:"icve-sso-login-bg"},[_c('div',{staticClass:"icve-sso-escrool"},[_c('el-scrollbar',{staticStyle:{"height":"100%"}},[_c('div',{staticClass:"icve-sso-title-wrapper"},[_c('div',{staticClass:"icve-sso-title"},[_vm._v(_vm._s(_vm.wxRandom ? _vm.$t('微信绑定') : _vm.$t('欢迎登录')))]),_c('div',{staticClass:"icve-sso-close-btn",attrs:{"title":_vm.$t('关闭')},on:{"click":_vm.closeLoginModal}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M18 6L6 18M6 6L18 18","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),_c('div',{staticClass:"icve-sso-source_space"},[_c('div',{staticClass:"icve-sso-l"},[_c('div',{staticClass:"icve-sso-erm"},[_c('QRCodeLogin',{on:{"loginSuccess":_vm.loginSuccess}})],1)]),_c('div',{staticClass:"icve-sso-xian"}),_c('div',{staticClass:"icve-sso-ri"},[_c('div',{staticClass:"icve-sso-tabs"},[_c('span',{class:_vm.tab == 2 ? 'icve-sso-spanActive' : '',on:{"click":function($event){return _vm.handleClick(2)}}},[_vm._v(" "+_vm._s(_vm.$i18n.locale == 'cn' ? _vm.$t('手机验证码登录') : _vm.$t('邮箱登录'))+" ")]),_c('span',{class:_vm.tab == 1 ? 'icve-sso-spanActive' : '',on:{"click":function($event){return _vm.handleClick(1)}}},[_vm._v(" "+_vm._s(_vm.$t('账号密码登录'))+" ")]),_c('div',{staticClass:"icve-sso-qiehuan",on:{"click":_vm.changeLanguage}},[_c('a',{attrs:{"title":_vm.$t('中->英'),"href":"#"}},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/927/697/E7CAE67C9BE854D9BB773D4AC5A6940D.png"}})])]),_c('div',{staticClass:"icve-sso-xian1"})]),(_vm.tab == 1)?_c('el-form',{ref:"form",staticClass:"icve-sso-demo-ruleForm",attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"rules":[
66813
- {
66814
- required: true,
66815
- message: _vm.$t('请输入账号'),
66816
- trigger: 'blur',
66817
- },
66818
- ],"label":"","prop":"userName"}},[_c('el-input',{attrs:{"placeholder":_vm.$t('请输入账号'),"prefix-icon":"el-icon-user"},scopedSlots:_vm._u([{key:"prepend",fn:function(){return undefined},proxy:true}],null,false,1321973649),model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, "userName", $$v)},expression:"form.userName"}})],1),_c('el-form-item',{attrs:{"rules":[
66819
- {
66820
- required: true,
66821
- message: _vm.$t('请输入密码'),
66822
- trigger: 'blur',
66823
- },
66824
- ],"label":"","prop":"password"}},[_c('el-input',{attrs:{"placeholder":_vm.$t('请输入密码'),"prefix-icon":"el-icon-lock","show-password":""},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, "password", $$v)},expression:"form.password"}})],1),_c('agreement',{ref:"agreement",attrs:{"source":_vm.source},on:{"change":_vm.change}}),_c('div',{staticClass:"icve-sso-login",on:{"click":_vm.login}},[_vm._v(_vm._s(_vm.wxRandom ? _vm.$t('账号绑定') : _vm.$t('登录')))]),_c('div',{staticClass:"icve-sso-customer"},[_c('div',{staticClass:"icve-sso-tip"},[_c('span',[_vm._v(_vm._s(_vm.$t('手机号登录新用户自动注册')))])])])],1):_vm._e(),(_vm.tab == 2 && _vm.$i18n.locale == 'cn')?_c('el-form',{ref:"phoneForm",staticClass:"icve-sso-demo-ruleForm",attrs:{"model":_vm.phoneForm}},[_c('el-form-item',{staticClass:"icve-sso-Prefix",attrs:{"rules":_vm.isRules
66825
- ? [
66826
- {
66827
- required: true,
66828
- message: _vm.$t('请输入手机号'),
66829
- trigger: 'blur',
66830
- },
66831
- {
66832
- pattern: /^1[3456789]\d{9}$/,
66833
- message: _vm.$t('手机号码格式错误'),
66834
- trigger: 'change',
66835
- },
66836
- ]
66837
- : [],"label":"","prop":"mobile"}},[_c('div',{staticClass:"icve-sso-prefix",on:{"click":_vm.showNationalityModal}},[_vm._v(" "+_vm._s(_vm.gjMsg)+" ")]),_c('el-input',{staticClass:"icve-sso-mobile_login",attrs:{"placeholder":_vm.$t('请输入手机号'),"prefix-icon":"el-icon-mobile-phone"},model:{value:(_vm.phoneForm.mobile),callback:function ($$v) {_vm.$set(_vm.phoneForm, "mobile", $$v)},expression:"phoneForm.mobile"}})],1),_c('el-form-item',{class:_vm.txyzmShow ? 'icve-sso-Code1' : 'icve-sso-Code',attrs:{"rules":[
66838
- {
66839
- required: true,
66840
- message: _vm.$t('请输入验证码'),
66841
- trigger: 'blur',
66842
- },
66843
- ],"label":"","prop":"msgCode"}},[_c('img',{staticClass:"icve-sso-code",attrs:{"alt":"","src":"https://file.icve.com.cn/rc/737/546/B8588913D6F3ACDCC1275979123080D6.png"}}),_c('el-input',{attrs:{"placeholder":_vm.$t('请输入验证码'),"prefix-icon":""},model:{value:(_vm.phoneForm.msgCode),callback:function ($$v) {_vm.$set(_vm.phoneForm, "msgCode", $$v)},expression:"phoneForm.msgCode"}}),(!_vm.sms_timer)?_c('div',{staticClass:"icve-sso-djs",on:{"click":_vm.obtain}},[_vm._v(" "+_vm._s(_vm.$t('获取验证码'))+" ")]):_c('div',{staticClass:"icve-sso-djs"},[_vm._v(" "+_vm._s(_vm.sms_time_count + _vm.$t('秒重获'))+" ")])],1),(_vm.accountList.length > 0)?_c('div',{staticClass:"icve-sso-success-tip",staticStyle:{"color":"#95a1bc"}},[_vm._v(" "+_vm._s(_vm.$t('安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。'))+" ")]):_vm._e(),(_vm.accountList.length > 0)?_c('el-form-item',[_c('div',{staticClass:"icve-sso-moreUserName"},[_c('ul',_vm._l((_vm.accountList),function(i,idx){return _c('li',{key:i.id},[_c('div',{staticClass:"icve-sso-lee"},[_c('div',{staticClass:"icve-sso-tp",on:{"click":function($event){return _vm.phonechange(i.userName)}}},[_vm._v(" "+_vm._s(i.userName)+" ")]),_c('div',{staticClass:"icve-sso-b"},[_vm._v(_vm._s(_vm.$t('最后登录时间'))+":"+_vm._s(i.dateLastVisit || '--')+" ")])]),_c('div',{staticClass:"icve-sso-ree"},[_c('el-checkbox',{on:{"change":function($event){return _vm.inverseSelected(i, idx)}},model:{value:(i.checked),callback:function ($$v) {_vm.$set(i, "checked", $$v)},expression:"i.checked"}})],1)])}),0)])]):_vm._e(),_c('div',{staticClass:"icve-sso-Verify icve-sso-Verify2"},[(_vm.clickVerifyShow)?_c('Verify',{ref:"clickVerify",attrs:{"captchaType":'blockPuzzle',"explain":_vm.$t('向右滑动完成验证'),"imgSize":{ width: '450px', height: '207px' },"mode":'pop'},on:{"success":_vm.phoneSuccess}}):_vm._e()],1),(_vm.buttonShow)?_c('div',{staticClass:"icve-sso-clickVerify",on:{"click":_vm.clickVerify}},[_vm._v(" "+_vm._s(_vm.$t('点击进行验证'))+" ")]):_vm._e(),_c('agreement',{ref:"agreement",attrs:{"source":_vm.source},on:{"change":_vm.change}}),_c('div',{staticClass:"icve-sso-login",on:{"click":_vm.phonVerify}},[_vm._v(_vm._s(_vm.wxRandom ? _vm.$t('账号绑定') : _vm.$t('登录')))]),_c('div',{staticClass:"icve-sso-customer"},[_c('div',{staticClass:"icve-sso-tip"},[_c('span',[_vm._v(_vm._s(_vm.$t('手机号登录新用户自动注册')))])])])],1):_vm._e(),(_vm.tab == 2 && _vm.$i18n.locale == 'en')?_c('el-form',{ref:"emailForm",staticClass:"icve-sso-demo-ruleForm",attrs:{"model":_vm.emailForm}},[_c('el-form-item',{attrs:{"rules":[
66844
- {
66845
- required: true,
66846
- message: _vm.$t('请输入邮箱'),
66847
- trigger: 'blur',
66848
- },
66849
- ],"label":"","prop":"email"}},[_c('el-input',{attrs:{"placeholder":_vm.$t('请输入邮箱')},model:{value:(_vm.emailForm.email),callback:function ($$v) {_vm.$set(_vm.emailForm, "email", $$v)},expression:"emailForm.email"}})],1),_c('el-form-item',{staticClass:"icve-sso-Code",attrs:{"rules":[
66850
- {
66851
- required: true,
66852
- message: _vm.$t('请输入邮箱验证码'),
66853
- trigger: 'blur',
66854
- },
66855
- ],"label":"","prop":"msgCode"}},[_c('el-input',{attrs:{"placeholder":_vm.$t('请输入邮箱验证码'),"prefix-icon":""},model:{value:(_vm.emailForm.msgCode),callback:function ($$v) {_vm.$set(_vm.emailForm, "msgCode", $$v)},expression:"emailForm.msgCode"}}),(!_vm.sms_timer)?_c('div',{staticClass:"icve-sso-djs",on:{"click":_vm.emailObtain}},[_vm._v(" "+_vm._s(_vm.$t('获取验证码'))+" ")]):_c('div',{staticClass:"icve-sso-djs"},[_vm._v(" "+_vm._s(_vm.sms_time_count + _vm.$t('秒重获'))+" ")])],1),_c('agreement',{ref:"agreement",attrs:{"source":_vm.source},on:{"change":_vm.change}}),_c('div',{staticClass:"icve-sso-login",on:{"click":_vm.emailLogin}},[_vm._v(_vm._s(_vm.wxRandom ? _vm.$t('账号绑定') : _vm.$t('登录')))]),_c('div',{staticClass:"icve-sso-customer"},[_c('div',{staticClass:"icve-sso-tip"},[_c('span',[_vm._v(_vm._s(_vm.$t('邮箱登录新用户自动注册')))])])])],1):_vm._e()],1)]),_c('div',{staticClass:"icve-sso-footer1"},[_c('div',{staticClass:"icve-sso-h5"},[_vm._v(_vm._s(_vm.footMsg))]),_c('div',{staticClass:"icve-sso-h6"},[_vm._v(_vm._s(_vm.footMsg1))])])])],1),(_vm.testShow)?_c('div',{staticClass:"custom-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.handleClose.apply(null, arguments)}}},[_c('div',{staticClass:"custom-dialog icve-sso-test"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.$t('提示')))])]),_c('div',{staticClass:"custom-dialog-body"},[_c('span',[_vm._v(_vm._s(_vm.test))])]),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-primary-button",on:{"click":_vm.handleClose}},[_vm._v(_vm._s(_vm.$t('确定')))])])])]):_vm._e(),(_vm.ishbzhShow)?_c('div',{staticClass:"custom-dialog-overlay"},[_c('div',{staticClass:"custom-dialog icve-sso-test"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.$t('提示')))])]),_c('div',{staticClass:"custom-dialog-body"},[_vm._v(" "+_vm._s(_vm.$t('检测到该手机号绑定了多个账号,账号名称为:'))+" "),_vm._l((_vm.accountList),function(i,j){return _c('span',{key:j},[_vm._v(_vm._s(i.userName.replace(/^(.{2}).+(.)/, '$1**$2'))+"("+_vm._s(i.userType)+"),")])}),_vm._v(" "+_vm._s(_vm.$t('建议您合并多余账号'))+" ")],2),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-plain-button",on:{"click":function($event){_vm.ishbzhShow = false}}},[_vm._v(_vm._s(_vm.$t('继续登录')))]),_c('button',{staticClass:"custom-primary-button",attrs:{"disabled":!_vm.isMerged},on:{"click":_vm.hbtiaozhuan}},[_vm._v(_vm._s(_vm.$t('合并账号')))])])])]):_vm._e(),(_vm.bdwxShow)?_c('div',{staticClass:"custom-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.xcbd.apply(null, arguments)}}},[_c('div',{staticClass:"custom-dialog"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.$t('微信绑定')))])]),_vm._m(0),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-plain-button",on:{"click":_vm.bztx}},[_vm._v(_vm._s(_vm.$t('不再提醒')))]),_c('button',{staticClass:"custom-plain-button",on:{"click":_vm.xcbd}},[_vm._v(_vm._s(_vm.$t('下次绑定')))])])])]):_vm._e(),(_vm.isOneYearBeforeLogin)?_c('div',{staticClass:"custom-dialog-overlay"},[_c('div',{staticClass:"custom-dialog icve-sso-test",staticStyle:{"width":"540px"}},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.$t('安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。'))+" ")])]),_c('div',{staticClass:"custom-dialog-body"},[_c('div',{staticClass:"icve-sso-oneYearBeforeLogin"},[_c('div',{staticClass:"icve-sso-oneYearBeforeLogin-title"}),_c('ul',_vm._l((_vm.userList),function(i,idx){return _c('li',{key:idx},[_c('div',{staticClass:"icve-sso-lee"},[_c('div',{staticClass:"icve-sso-tp"},[_vm._v(_vm._s(i.userName))]),_c('div',{staticClass:"icve-sso-b"},[_vm._v(_vm._s(_vm.$t('最后登录时间'))+":"+_vm._s(i.dateLastVisit || '--'))])])])}),0)])]),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-primary-button",on:{"click":_vm.oneYearBeforeLogin}},[_vm._v(_vm._s(_vm.$t('确定')))])])])]):_vm._e(),(_vm.nationalityModalShow)?_c('NationalitySelector',{attrs:{"value":_vm.nationalityList},on:{"change":_vm.handleNationalityChange,"close":function($event){_vm.nationalityModalShow = false}}}):_vm._e()],1):_vm._e()
66832
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/userCenterLogin.vue?vue&type=template&id=57f84286
66833
+ var userCenterLoginvue_type_template_id_57f84286_render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.loginShow)?_c('div',{staticClass:"icve-sso-login-bg"},[_c('div',{staticClass:"icve-sso-escrool"},[_c('el-scrollbar',{staticStyle:{"height":"100%"}},[_c('div',{staticClass:"icve-sso-title-wrapper"},[_c('div',{staticClass:"icve-sso-title"},[_vm._v(_vm._s(_vm.wxRandom ? _vm.i18n('微信绑定') : _vm.i18n('欢迎登录')))]),_c('div',{staticClass:"icve-sso-close-btn",attrs:{"title":_vm.i18n('关闭')},on:{"click":_vm.closeLoginModal}},[_c('svg',{attrs:{"width":"34","height":"34","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M18 6L6 18M6 6L18 18","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),_c('div',{staticClass:"icve-sso-source_space"},[_c('div',{staticClass:"icve-sso-l"},[_c('div',{staticClass:"icve-sso-erm"},[_c('QRCodeLogin',{on:{"loginSuccess":_vm.wxLoginSuccess}})],1)]),_c('div',{staticClass:"icve-sso-xian"}),_c('div',{staticClass:"icve-sso-ri"},[_c('div',{staticClass:"icve-sso-tabs"},[_c('span',{class:_vm.tab == 2 ? 'icve-sso-spanActive' : '',on:{"click":function($event){return _vm.handleClick(2)}}},[_vm._v(" "+_vm._s(_vm.$i18n.locale == 'cn' ? _vm.i18n('手机验证码登录') : _vm.i18n('邮箱登录'))+" ")]),_c('span',{class:_vm.tab == 1 ? 'icve-sso-spanActive' : '',on:{"click":function($event){return _vm.handleClick(1)}}},[_vm._v(" "+_vm._s(_vm.i18n('账号密码登录'))+" ")]),_c('div',{staticClass:"icve-sso-qiehuan",on:{"click":_vm.changeLanguage}},[_c('a',{attrs:{"title":_vm.i18n('中->英'),"href":"#"}},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/927/697/E7CAE67C9BE854D9BB773D4AC5A6940D.png"}})])]),_c('div',{staticClass:"icve-sso-xian1"})]),(_vm.tab == 1)?_c('el-form',{ref:"form",staticClass:"icve-sso-demo-ruleForm",attrs:{"model":_vm.form}},[_c('el-form-item',{attrs:{"rules":[{required: true,message: _vm.i18n('请输入账号'),trigger: 'blur',},],"label":"","prop":"userName"}},[_c('el-input',{attrs:{"placeholder":_vm.i18n('请输入账号'),"prefix-icon":"el-icon-user"},scopedSlots:_vm._u([{key:"prepend",fn:function(){return undefined},proxy:true}],null,false,1321973649),model:{value:(_vm.form.userName),callback:function ($$v) {_vm.$set(_vm.form, "userName", $$v)},expression:"form.userName"}})],1),_c('el-form-item',{attrs:{"rules":[{required: true,message: _vm.i18n('请输入密码'), trigger: 'blur',},],"label":"","prop":"password"}},[_c('el-input',{attrs:{"placeholder":_vm.i18n('请输入密码'),"prefix-icon":"el-icon-lock","show-password":""},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, "password", $$v)},expression:"form.password"}})],1),_c('agreement',{ref:"agreement",attrs:{"source":_vm.source},on:{"change":_vm.change}}),_c('div',{staticClass:"icve-sso-login",on:{"click":_vm.login}},[_vm._v(_vm._s(_vm.wxRandom ? _vm.i18n('账号绑定') : _vm.i18n('登录')))]),_c('div',{staticClass:"icve-sso-customer"},[_c('div',{staticClass:"icve-sso-tip"},[_c('span',[_vm._v(_vm._s(_vm.i18n('手机号登录新用户自动注册')))])])])],1):_vm._e(),(_vm.tab == 2 && _vm.$i18n.locale == 'cn')?_c('el-form',{ref:"phoneForm",staticClass:"icve-sso-demo-ruleForm",attrs:{"model":_vm.phoneForm}},[_c('el-form-item',{staticClass:"icve-sso-Prefix",attrs:{"rules":_vm.isRules? [{required: true,message: _vm.i18n('请输入手机号'),trigger: 'blur',},{pattern: /^1[3456789]\d{9}$/,message: _vm.i18n('手机号码格式错误'),trigger: 'change',},]: [],"label":"","prop":"mobile"}},[_c('div',{staticClass:"icve-sso-prefix",on:{"click":_vm.showNationalityModal}},[_vm._v(" "+_vm._s(_vm.gjMsg)+" ")]),_c('el-input',{staticClass:"icve-sso-mobile_login",attrs:{"placeholder":_vm.i18n('请输入手机号'),"prefix-icon":"el-icon-mobile-phone"},model:{value:(_vm.phoneForm.mobile),callback:function ($$v) {_vm.$set(_vm.phoneForm, "mobile", $$v)},expression:"phoneForm.mobile"}})],1),_c('el-form-item',{class:_vm.txyzmShow ? 'icve-sso-Code1' : 'icve-sso-Code',attrs:{"rules":[{required: true,message: _vm.i18n('请输入验证码'),trigger: 'blur',},],"label":"","prop":"msgCode"}},[_c('img',{staticClass:"icve-sso-code",attrs:{"alt":"","src":"https://file.icve.com.cn/rc/737/546/B8588913D6F3ACDCC1275979123080D6.png"}}),_c('el-input',{attrs:{"placeholder":_vm.i18n('请输入验证码'),"prefix-icon":""},model:{value:(_vm.phoneForm.msgCode),callback:function ($$v) {_vm.$set(_vm.phoneForm, "msgCode", $$v)},expression:"phoneForm.msgCode"}}),(!_vm.sms_timer)?_c('div',{staticClass:"icve-sso-djs",on:{"click":_vm.obtain}},[_vm._v(" "+_vm._s(_vm.i18n('获取验证码'))+" ")]):_c('div',{staticClass:"icve-sso-djs"},[_vm._v(" "+_vm._s(_vm.sms_time_count + _vm.i18n('秒重获'))+" ")])],1),(_vm.accountList.length > 0)?_c('div',{staticClass:"icve-sso-success-tip",staticStyle:{"color":"#95a1bc"}},[_vm._v(" "+_vm._s(_vm.i18n('安全提醒:检测到当前手机号已绑定多个账号。为保障账户安全,本次登录后,未选择的账号将自动解除手机号绑定。'))+" ")]):_vm._e(),(_vm.accountList.length > 0)?_c('el-form-item',[_c('div',{staticClass:"icve-sso-moreUserName"},[_c('ul',_vm._l((_vm.accountList),function(i,idx){return _c('li',{key:i.id},[_c('div',{staticClass:"icve-sso-lee"},[_c('div',{staticClass:"icve-sso-tp",on:{"click":function($event){return _vm.phonechange(i.userName)}}},[_vm._v(" "+_vm._s(i.userName)+" ")]),_c('div',{staticClass:"icve-sso-b"},[_vm._v(" "+_vm._s(_vm.i18n('最后登录时间'))+":"+_vm._s(i.dateLastVisit || '--')+" ")])]),_c('div',{staticClass:"icve-sso-ree"},[_c('el-checkbox',{on:{"change":function($event){return _vm.inverseSelected(i, idx)}},model:{value:(i.checked),callback:function ($$v) {_vm.$set(i, "checked", $$v)},expression:"i.checked"}})],1)])}),0)])]):_vm._e(),_c('agreement',{ref:"agreement",attrs:{"source":_vm.source},on:{"change":_vm.change}}),_c('div',{staticClass:"icve-sso-login",on:{"click":_vm.phonVerify}},[_vm._v(_vm._s(_vm.wxRandom ? _vm.i18n('账号绑定') : _vm.i18n('登录'))+" ")]),_c('div',{staticClass:"icve-sso-customer"},[_c('div',{staticClass:"icve-sso-tip"},[_c('span',[_vm._v(_vm._s(_vm.i18n('手机号登录新用户自动注册')))])])])],1):_vm._e(),(_vm.tab == 2 && _vm.$i18n.locale == 'en')?_c('el-form',{ref:"emailForm",staticClass:"icve-sso-demo-ruleForm",attrs:{"model":_vm.emailForm}},[_c('el-form-item',{attrs:{"rules":[{ required: true,message: _vm.i18n('请输入邮箱'),trigger: 'blur',},],"label":"","prop":"email"}},[_c('el-input',{attrs:{"placeholder":_vm.i18n('请输入邮箱')},model:{value:(_vm.emailForm.email),callback:function ($$v) {_vm.$set(_vm.emailForm, "email", $$v)},expression:"emailForm.email"}})],1),_c('el-form-item',{staticClass:"icve-sso-Code",attrs:{"rules":[{required: true,message: _vm.i18n('请输入邮箱验证码'),trigger: 'blur',},],"label":"","prop":"msgCode"}},[_c('el-input',{attrs:{"placeholder":_vm.i18n('请输入邮箱验证码'),"prefix-icon":""},model:{value:(_vm.emailForm.msgCode),callback:function ($$v) {_vm.$set(_vm.emailForm, "msgCode", $$v)},expression:"emailForm.msgCode"}}),(!_vm.sms_timer)?_c('div',{staticClass:"icve-sso-djs",on:{"click":_vm.emailObtain}},[_vm._v(" "+_vm._s(_vm.i18n('获取验证码'))+" ")]):_c('div',{staticClass:"icve-sso-djs"},[_vm._v(" "+_vm._s(_vm.sms_time_count + _vm.i18n('秒重获'))+" ")])],1),_c('agreement',{ref:"agreement",attrs:{"source":_vm.source},on:{"change":_vm.change}}),_c('div',{staticClass:"icve-sso-login",on:{"click":_vm.emailLogin}},[_vm._v(_vm._s(_vm.wxRandom ? _vm.i18n('账号绑定') : _vm.i18n('登录'))+" ")]),_c('div',{staticClass:"icve-sso-customer"},[_c('div',{staticClass:"icve-sso-tip"},[_c('span',[_vm._v(_vm._s(_vm.i18n('邮箱登录新用户自动注册')))])])])],1):_vm._e()],1)]),_c('div',{staticClass:"icve-sso-footer1"},[_c('div',{staticClass:"icve-sso-h5"},[_vm._v(_vm._s(_vm.footMsg))]),_c('div',{staticClass:"icve-sso-h6"},[_vm._v(_vm._s(_vm.footMsg1))])])])],1),(_vm.testShow)?_c('div',{staticClass:"custom-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.handleClose.apply(null, arguments)}}},[_c('div',{staticClass:"custom-dialog icve-sso-test icve-sso-test1"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.i18n('提示')))])]),_c('div',{staticClass:"custom-dialog-body"},[_c('span',[_vm._v(_vm._s(_vm.test)+"ssssssss")])]),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-primary-button",on:{"click":_vm.handleClose}},[_vm._v(_vm._s(_vm.i18n('确定')))])])])]):_vm._e(),(_vm.ishbzhShow)?_c('div',{staticClass:"custom-dialog-overlay"},[_c('div',{staticClass:"custom-dialog icve-sso-test"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.i18n('提示')))])]),_c('div',{staticClass:"custom-dialog-body"},[_vm._v(" "+_vm._s(_vm.i18n('检测到该手机号绑定了多个账号,账号名称为:'))+" "),_vm._l((_vm.accountList),function(i,j){return _c('span',{key:j},[_vm._v(_vm._s(i.userName.replace(/^(.{2}).+(.)/, '$1**$2'))+"("+_vm._s(i.userType)+"),")])}),_vm._v(" "+_vm._s(_vm.i18n('建议您合并多余账号'))+" ")],2),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-plain-button",on:{"click":function($event){_vm.ishbzhShow = false}}},[_vm._v(_vm._s(_vm.i18n('继续登录')))]),_c('button',{staticClass:"custom-primary-button",attrs:{"disabled":!_vm.isMerged},on:{"click":_vm.hbtiaozhuan}},[_vm._v(_vm._s(_vm.i18n('合并账号'))+" ")])])])]):_vm._e(),(_vm.bdwxShow)?_c('div',{staticClass:"custom-dialog-overlay"},[_c('div',{staticClass:"custom-dialog"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.i18n('微信绑定')))])]),_c('div',{staticClass:"custom-dialog-body"},[_c('div',{staticClass:"icve-sso-wxdl"},[_c('QRCodeLogin',{attrs:{"bdwxShow":_vm.bdwxShow},on:{"loginSuccess":_vm.wxLoginSuccess}})],1)]),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-plain-button",on:{"click":_vm.bztx}},[_vm._v(_vm._s(_vm.i18n('不再提醒')))]),_c('button',{staticClass:"custom-plain-button",on:{"click":_vm.xcbd}},[_vm._v(_vm._s(_vm.i18n('下次绑定')))])])])]):_vm._e(),(_vm.isOneYearBeforeLogin)?_c('div',{staticClass:"custom-dialog-overlay"},[_c('div',{staticClass:"custom-dialog icve-sso-test",staticStyle:{"width":"540px"}},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.i18n('安全提醒:检测到当前手机号已绑定多个账号,且部分账号已超过一年未登录。为保障账户安全,这些长期未登录的账号将自动解除手机号绑定。'))+" ")])]),_c('div',{staticClass:"custom-dialog-body"},[_c('div',{staticClass:"icve-sso-oneYearBeforeLogin"},[_c('div',{staticClass:"icve-sso-oneYearBeforeLogin-title"}),_c('ul',_vm._l((_vm.userList),function(i,idx){return _c('li',{key:idx},[_c('div',{staticClass:"icve-sso-lee"},[_c('div',{staticClass:"icve-sso-tp"},[_vm._v(_vm._s(i.userName))]),_c('div',{staticClass:"icve-sso-b"},[_vm._v(_vm._s(_vm.i18n('最后登录时间'))+":"+_vm._s(i.dateLastVisit || '--'))])])])}),0)])]),_c('div',{staticClass:"custom-dialog-footer"},[_c('button',{staticClass:"custom-primary-button",on:{"click":_vm.oneYearBeforeLogin}},[_vm._v(_vm._s(_vm.i18n('确定')))])])])]):_vm._e(),(_vm.phoneBindShow)?_c('div',{staticClass:"custom-dialog-overlay"},[_c('div',{staticClass:"custom-dialog"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.i18n('手机绑定')))])]),_c('div',{staticClass:"custom-dialog-body"},[_c('MobileBinding',{attrs:{"userId":_vm.userId,"mobileType":_vm.mobileType},on:{"loginSuccess":function($event){return _vm.loginSuccess(_vm.tzToken)}}})],1)])]):_vm._e(),(_vm.editPasswordShow)?_c('div',{staticClass:"custom-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.xcbd.apply(null, arguments)}}},[_c('div',{staticClass:"custom-dialog"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(" "+_vm._s(_vm.isWeakPwd ? _vm.i18n('您当前设置的密码强度不足,存在安全风险,请尽快修改为更复杂的密码。') : _vm.i18n('首次登录完善基本信息'))+" ")])]),_c('div',{staticClass:"custom-dialog-body"},[_c('improveInformation',{attrs:{"weakPwd":_vm.isWeakPwd,"tzToken":_vm.tzToken},on:{"loginSuccess":function($event){return _vm.loginSuccess(_vm.tzToken)}}})],1)])]):_vm._e(),_c('NationalitySelector',{attrs:{"value":_vm.nationalityModalShow},on:{"change":_vm.handleNationalityChange,"close":function($event){_vm.nationalityModalShow = false}}}),(_vm.loadLanguage)?_c('verifyComponents',{ref:"verifyComponents",on:{"success":_vm.CaptchaSuccess}}):_vm._e()],1):_vm._e()
66856
66834
  }
66857
- var userCenterLoginvue_type_template_id_2d601256_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"custom-dialog-body"},[_c('div',{staticClass:"icve-sso-wxdl"},[_c('div',{staticStyle:{"width":"180px","margin":"0 auto"},attrs:{"id":"wechat_code1"}})])])
66858
- }]
66835
+ var userCenterLoginvue_type_template_id_57f84286_staticRenderFns = []
66859
66836
 
66860
66837
 
66861
- // CONCATENATED MODULE: ./src/components/userCenterLogin.vue?vue&type=template&id=2d601256
66838
+ // CONCATENATED MODULE: ./src/components/userCenterLogin.vue?vue&type=template&id=57f84286
66862
66839
 
66863
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agreement.vue?vue&type=template&id=84d8c420&scoped=true
66864
- var agreementvue_type_template_id_84d8c420_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"icve-sso-agreement"},[_c('el-checkbox',{staticClass:"el",on:{"change":_vm.change},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:"checked"}}),_c('div',{class:_vm.source == 7 ? 'content1' : 'content'},[_c('div',{},[_vm._v(" "+_vm._s(_vm.$t('我已阅读并同意'))+" "),_c('span',{on:{"click":function($event){return _vm.$router.push(_vm.source != 8 ? '/userAgreement' : '/zhjysUserAgreement')}}},[_vm._v(_vm._s(_vm.$t('用户服务协议')))]),_vm._v(" "+_vm._s(_vm.$t(','))+" "),_c('span',{on:{"click":function($event){return _vm.$router.push(_vm.source != 8 ? '/privacyAgreement' : '/zhjysPrivacyAgreement')}}},[_vm._v(_vm._s(_vm.$t('隐私协议')))])]),(_vm.$i18n.locale == 'cn' && _vm.show)?_c('div',{staticClass:"r",on:{"click":function($event){return _vm.$router.push('/sso/forgotPassword')}}},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/111/261/1BD417BB2DC8C71CEF3B304913617EC4.png"}}),_c('u',[_vm._v(_vm._s(_vm.$t('找回用户名或密码,请点击')))])]):_vm._e()]),(_vm.$i18n.locale == 'en' && _vm.show)?_c('div',{staticClass:"ren",on:{"click":function($event){return _vm.$router.push('/sso/forgotPassword')}}},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/111/261/1BD417BB2DC8C71CEF3B304913617EC4.png"}}),_c('u',[_vm._v(_vm._s(_vm.$t('找回用户名或密码,请点击')))])]):_vm._e()],1)
66840
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agreement.vue?vue&type=template&id=4d527b39&scoped=true
66841
+ var agreementvue_type_template_id_4d527b39_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"icve-sso-agreement"},[_c('el-checkbox',{staticClass:"el",on:{"change":_vm.change},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:"checked"}}),_c('div',{class:_vm.source == 7 ? 'content1' : 'content'},[_c('div',{},[_vm._v(" "+_vm._s(_vm.i18n('我已阅读并同意'))+" "),_c('span',{on:{"click":_vm.userServices}},[_vm._v(_vm._s(_vm.i18n('用户服务协议')))]),_vm._v(" "+_vm._s(_vm.i18n(','))+" "),_c('span',{on:{"click":_vm.userPrivacy}},[_vm._v(_vm._s(_vm.i18n('隐私协议')))])]),(_vm.$i18n.locale == 'cn' && _vm.show)?_c('div',{staticClass:"r",on:{"click":_vm.recoverYourPassword}},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/111/261/1BD417BB2DC8C71CEF3B304913617EC4.png"}}),_c('u',[_vm._v(_vm._s(_vm.i18n('找回用户名或密码,请点击')))])]):_vm._e()]),(_vm.$i18n.locale == 'en' && _vm.show)?_c('div',{staticClass:"ren",on:{"click":_vm.recoverYourPassword}},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/111/261/1BD417BB2DC8C71CEF3B304913617EC4.png"}}),_c('u',[_vm._v(_vm._s(_vm.i18n('找回用户名或密码,请点击')))])]):_vm._e()],1)
66865
66842
  }
66866
- var agreementvue_type_template_id_84d8c420_scoped_true_staticRenderFns = []
66843
+ var agreementvue_type_template_id_4d527b39_scoped_true_staticRenderFns = []
66867
66844
 
66868
66845
 
66869
- // CONCATENATED MODULE: ./src/components/agreement.vue?vue&type=template&id=84d8c420&scoped=true
66846
+ // CONCATENATED MODULE: ./src/components/agreement.vue?vue&type=template&id=4d527b39&scoped=true
66870
66847
 
66871
66848
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/agreement.vue?vue&type=script&lang=js
66872
66849
 
66873
66850
  /* harmony default export */ var agreementvue_type_script_lang_js = ({
66874
- name: 'agreement',
66875
- props: {
66876
- source: {
66877
- type: String,
66878
- default: 0,
66879
- },
66880
- show: {
66881
- type: Boolean,
66882
- default: true,
66883
- },
66851
+ name: 'agreement',
66852
+ props: {
66853
+ source: {
66854
+ type: String,
66855
+ default: 0,
66884
66856
  },
66885
- data() {
66886
- return {
66887
- checked: false,
66888
- };
66857
+ show: {
66858
+ type: Boolean,
66859
+ default: true,
66889
66860
  },
66890
- methods: {
66891
- change(val) {
66892
- this.$emit('change', val);
66893
- },
66861
+ },
66862
+ data() {
66863
+ return {
66864
+ checked: false,
66865
+ };
66866
+ },
66867
+ methods: {
66868
+ // 自定义翻译方法,兼容有无全局i18n的情况
66869
+ i18n(key) {
66870
+ // 如果组件有自己的i18n实例
66871
+ if (this.$options.i18n && this.$options.i18n.t) {
66872
+ return this.$options.i18n.t(key);
66873
+ }
66874
+ // 如果全局有i18n
66875
+ if (this.$root.$i18n && this.$root.$i18n.t) {
66876
+ return this.$root.$i18n.t(key);
66877
+ }
66878
+ // 如果Vue实例有$t方法
66879
+ if (this.$t && typeof this.$t === 'function') {
66880
+ return this.$t(key);
66881
+ }
66882
+ // 如果都没有,返回key本身
66883
+ return key;
66894
66884
  },
66895
- created() { },
66885
+ userServices() {
66886
+ window.open('https://sso.icve.com.cn/userAgreement')
66887
+ },
66888
+ userPrivacy() {
66889
+ window.open('https://sso.icve.com.cn/privacyAgreement')
66890
+ },
66891
+ recoverYourPassword(){
66892
+ if(sessionStorage.getItem('environment') === 'test') {
66893
+ window.open('https://testssov2.icve.com.cn/sso/forgotPassword')
66894
+ }else{
66895
+ window.open('https://sso.icve.com.cn/sso/forgotPassword')
66896
+ }
66897
+ },
66898
+ change(val) {
66899
+ this.$emit('change', val);
66900
+ },
66901
+ },
66902
+ created() {
66903
+ },
66896
66904
  });
66897
66905
 
66898
66906
  // CONCATENATED MODULE: ./src/components/agreement.vue?vue&type=script&lang=js
66899
66907
  /* harmony default export */ var components_agreementvue_type_script_lang_js = (agreementvue_type_script_lang_js);
66900
- // EXTERNAL MODULE: ./src/components/agreement.vue?vue&type=style&index=0&id=84d8c420&prod&lang=scss&scoped=true
66901
- var agreementvue_type_style_index_0_id_84d8c420_prod_lang_scss_scoped_true = __webpack_require__("da86");
66908
+ // EXTERNAL MODULE: ./src/components/agreement.vue?vue&type=style&index=0&id=4d527b39&prod&lang=scss&scoped=true
66909
+ var agreementvue_type_style_index_0_id_4d527b39_prod_lang_scss_scoped_true = __webpack_require__("477a");
66902
66910
 
66903
66911
  // CONCATENATED MODULE: ./src/components/agreement.vue
66904
66912
 
@@ -66911,11 +66919,11 @@ var agreementvue_type_style_index_0_id_84d8c420_prod_lang_scss_scoped_true = __w
66911
66919
 
66912
66920
  var agreement_component = normalizeComponent(
66913
66921
  components_agreementvue_type_script_lang_js,
66914
- agreementvue_type_template_id_84d8c420_scoped_true_render,
66915
- agreementvue_type_template_id_84d8c420_scoped_true_staticRenderFns,
66922
+ agreementvue_type_template_id_4d527b39_scoped_true_render,
66923
+ agreementvue_type_template_id_4d527b39_scoped_true_staticRenderFns,
66916
66924
  false,
66917
66925
  null,
66918
- "84d8c420",
66926
+ "4d527b39",
66919
66927
  null
66920
66928
 
66921
66929
  )
@@ -67750,13 +67758,13 @@ var verifyComponents_component = normalizeComponent(
67750
67758
  )
67751
67759
 
67752
67760
  /* harmony default export */ var verifyComponents = (verifyComponents_component.exports);
67753
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/QRCodeLogin.vue?vue&type=template&id=2b34fb84&scoped=true
67754
- var QRCodeLoginvue_type_template_id_2b34fb84_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"qr-login-container"},[_c('div',{staticClass:"qr-code-wrapper"},[_c('div',{attrs:{"id":`qrcode-container-${_vm._uid}`}}),(_vm.loginStatus == 1 || _vm.loginStatus == 3)?_c('div',{staticClass:"qr-login-overlay"},[(_vm.loginStatus == 1)?_c('div',{staticClass:"overlay-content"},[_c('p',{staticClass:"overlay-text"},[_vm._v(_vm._s(_vm.$t('已扫码')))]),_c('p',{staticClass:"overlay-tip"},[_vm._v(_vm._s(_vm.$t('请在手机上确认')))]),_c('button',{staticClass:"rescan-btn",on:{"click":_vm.handleRescanQrCode}},[_vm._v(_vm._s(_vm.$t('重新扫码')))])]):(_vm.loginStatus == 3)?_c('div',{staticClass:"overlay-content"},[_c('p',{staticClass:"overlay-text",staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.$t('二维码已过期')))]),_c('p',{staticClass:"overlay-tip"},[_vm._v(_vm._s(_vm.$t('请点击下方按钮刷新')))]),_c('button',{staticClass:"rescan-btn",on:{"click":_vm.handleRescanQrCode}},[_vm._v(_vm._s(_vm.$t('重新生成')))])]):_vm._e()]):_vm._e()]),_c('p',{staticClass:"qr-tip"},[_vm._v(_vm._s(_vm.$t('微信或App扫码均可登录')))]),(_vm.$route.query.wxRandom)?_c('div',{staticClass:"bind-tip"},[_vm._v(" "+_vm._s(_vm.$t('你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~'))+" ")]):_vm._e()])
67761
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/QRCodeLogin.vue?vue&type=template&id=29f6d0ca&scoped=true
67762
+ var QRCodeLoginvue_type_template_id_29f6d0ca_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"qr-login-container",class:{ 'qr-login-container1': _vm.bdwxShow }},[_c('div',{staticClass:"qr-code-wrapper"},[_c('div',{attrs:{"id":`qrcode-container-${_vm._uid}`}}),(_vm.loginStatus == 1 || _vm.loginStatus == 3)?_c('div',{staticClass:"qr-login-overlay"},[(_vm.loginStatus == 1)?_c('div',{staticClass:"overlay-content"},[_c('p',{staticClass:"overlay-text"},[_vm._v(_vm._s(_vm.i18n('已扫码')))]),_c('p',{staticClass:"overlay-tip"},[_vm._v(_vm._s(_vm.i18n('请在手机上确认')))]),_c('button',{staticClass:"rescan-btn",on:{"click":_vm.handleRescanQrCode}},[_vm._v(_vm._s(_vm.i18n('重新扫码')))])]):(_vm.loginStatus == 3)?_c('div',{staticClass:"overlay-content"},[_c('p',{staticClass:"overlay-text",staticStyle:{"color":"red"}},[_vm._v(_vm._s(_vm.i18n('二维码已过期')))]),_c('p',{staticClass:"overlay-tip"},[_vm._v(_vm._s(_vm.i18n('请点击下方按钮刷新')))]),_c('button',{staticClass:"rescan-btn",on:{"click":_vm.handleRescanQrCode}},[_vm._v(_vm._s(_vm.i18n('重新生成')))])]):_vm._e()]):_vm._e()]),_c('p',{staticClass:"qr-tip"},[_vm._v(_vm._s(_vm.bdwxShow ? _vm.i18n('微信扫码进行账号绑定') : _vm.i18n('微信或App扫码均可登录')))]),(_vm.$route.query.wxRandom)?_c('div',{staticClass:"bind-tip"},[_vm._v(" "+_vm._s(_vm.i18n('你当前的微信暂未绑定账号或手机号,需先完成绑定,后续登录将无需重复验证,直接进入即可~'))+" ")]):_vm._e()])
67755
67763
  }
67756
- var QRCodeLoginvue_type_template_id_2b34fb84_scoped_true_staticRenderFns = []
67764
+ var QRCodeLoginvue_type_template_id_29f6d0ca_scoped_true_staticRenderFns = []
67757
67765
 
67758
67766
 
67759
- // CONCATENATED MODULE: ./src/components/QRCodeLogin.vue?vue&type=template&id=2b34fb84&scoped=true
67767
+ // CONCATENATED MODULE: ./src/components/QRCodeLogin.vue?vue&type=template&id=29f6d0ca&scoped=true
67760
67768
 
67761
67769
  // EXTERNAL MODULE: ./node_modules/qrcodejs2/qrcode.js
67762
67770
  var qrcode = __webpack_require__("d044");
@@ -67785,6 +67793,12 @@ function removeToken() {
67785
67793
 
67786
67794
 
67787
67795
  /* harmony default export */ var QRCodeLoginvue_type_script_lang_js = ({
67796
+ props: {
67797
+ bdwxShow: {
67798
+ type: Boolean,
67799
+ default: false
67800
+ }
67801
+ },
67788
67802
  data() {
67789
67803
  return {
67790
67804
  sceneId: '',
@@ -67804,6 +67818,22 @@ function removeToken() {
67804
67818
  this.clearTimers();
67805
67819
  },
67806
67820
  methods: {
67821
+ i18n(key) {
67822
+ // 如果组件有自己的i18n实例
67823
+ if (this.$options.i18n && this.$options.i18n.t) {
67824
+ return this.$options.i18n.t(key);
67825
+ }
67826
+ // 如果全局有i18n
67827
+ if (this.$root.$i18n && this.$root.$i18n.t) {
67828
+ return this.$root.$i18n.t(key);
67829
+ }
67830
+ // 如果Vue实例有$t方法
67831
+ if (this.$t && typeof this.$t === 'function') {
67832
+ return this.$t(key);
67833
+ }
67834
+ // 如果都没有,返回key本身
67835
+ return key;
67836
+ },
67807
67837
  // 生成二维码
67808
67838
  generateQrCode() {
67809
67839
  this.loading = true;
@@ -67832,8 +67862,8 @@ function removeToken() {
67832
67862
  // 创建新的二维码实例
67833
67863
  new qrcode_default.a(document.getElementById(containerId), {
67834
67864
  text: url, // 二维码内容(链接)
67835
- width: 200, // 宽度
67836
- height: 200, // 高度
67865
+ width: 240, // 宽度
67866
+ height: 240, // 高度
67837
67867
  colorDark: '#000000', // 前景色
67838
67868
  colorLight: '#ffffff', // 背景色
67839
67869
  correctLevel: qrcode_default.a.CorrectLevel.H, // 容错级别
@@ -67892,8 +67922,8 @@ function removeToken() {
67892
67922
 
67893
67923
  // CONCATENATED MODULE: ./src/components/QRCodeLogin.vue?vue&type=script&lang=js
67894
67924
  /* harmony default export */ var components_QRCodeLoginvue_type_script_lang_js = (QRCodeLoginvue_type_script_lang_js);
67895
- // EXTERNAL MODULE: ./src/components/QRCodeLogin.vue?vue&type=style&index=0&id=2b34fb84&prod&lang=scss&scoped=true
67896
- var QRCodeLoginvue_type_style_index_0_id_2b34fb84_prod_lang_scss_scoped_true = __webpack_require__("d9c5");
67925
+ // EXTERNAL MODULE: ./src/components/QRCodeLogin.vue?vue&type=style&index=0&id=29f6d0ca&prod&lang=scss&scoped=true
67926
+ var QRCodeLoginvue_type_style_index_0_id_29f6d0ca_prod_lang_scss_scoped_true = __webpack_require__("856f");
67897
67927
 
67898
67928
  // CONCATENATED MODULE: ./src/components/QRCodeLogin.vue
67899
67929
 
@@ -67906,132 +67936,647 @@ var QRCodeLoginvue_type_style_index_0_id_2b34fb84_prod_lang_scss_scoped_true = _
67906
67936
 
67907
67937
  var QRCodeLogin_component = normalizeComponent(
67908
67938
  components_QRCodeLoginvue_type_script_lang_js,
67909
- QRCodeLoginvue_type_template_id_2b34fb84_scoped_true_render,
67910
- QRCodeLoginvue_type_template_id_2b34fb84_scoped_true_staticRenderFns,
67939
+ QRCodeLoginvue_type_template_id_29f6d0ca_scoped_true_render,
67940
+ QRCodeLoginvue_type_template_id_29f6d0ca_scoped_true_staticRenderFns,
67911
67941
  false,
67912
67942
  null,
67913
- "2b34fb84",
67943
+ "29f6d0ca",
67914
67944
  null
67915
67945
 
67916
67946
  )
67917
67947
 
67918
67948
  /* harmony default export */ var QRCodeLogin = (QRCodeLogin_component.exports);
67919
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NationalitySelector.vue?vue&type=template&id=137a9432&scoped=true
67920
- var NationalitySelectorvue_type_template_id_137a9432_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"nationality-selector"},[_c('div',{staticClass:"modal-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.closeModal.apply(null, arguments)}}},[_c('div',{staticClass:"modal-content"},[_c('div',{staticClass:"modal-header"},[_c('h3',{staticClass:"modal-title"},[_vm._v(_vm._s(_vm.$t('选择国家/地区')))]),_c('button',{staticClass:"close-btn",on:{"click":_vm.closeModal}},[_c('svg',{attrs:{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none"}},[_c('path',{attrs:{"d":"M18 6L6 18M6 6L18 18","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),_c('div',{staticClass:"modal-body"},[_c('div',{staticClass:"search-box"},[_c('svg',{staticClass:"search-icon",attrs:{"width":"20","height":"20","viewBox":"0 0 24 24","fill":"none"}},[_c('circle',{attrs:{"cx":"11","cy":"11","r":"8","stroke":"currentColor","stroke-width":"2"}}),_c('path',{attrs:{"d":"M21 21L16.65 16.65","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('input',{directives:[{name:"model",rawName:"v-model",value:(_vm.searchQuery),expression:"searchQuery"}],staticClass:"search-input",attrs:{"type":"text","placeholder":_vm.$t('搜索国家或地区')},domProps:{"value":(_vm.searchQuery)},on:{"input":[function($event){if($event.target.composing)return;_vm.searchQuery=$event.target.value},_vm.handleSearch]}}),(_vm.searchQuery)?_c('button',{staticClass:"clear-btn",on:{"click":_vm.clearSearch}},[_c('svg',{attrs:{"width":"16","height":"16","viewBox":"0 0 24 24","fill":"none"}},[_c('path',{attrs:{"d":"M18 6L6 18M6 6L18 18","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])]):_vm._e()]),_c('div',{staticClass:"nationality-list"},[_vm._l((_vm.filteredNationalities),function(item){return _c('div',{key:item.code,staticClass:"nationality-item",class:{ active: _vm.selectedNationality.code === item.code },on:{"click":function($event){return _vm.selectNationality(item)}}},[_c('span',{staticClass:"flag"},[_vm._v(_vm._s(item.flag))]),_c('span',{staticClass:"name"},[_vm._v(_vm._s(item.name))]),_c('span',{staticClass:"code"},[_vm._v(_vm._s(item.code))])])}),(_vm.filteredNationalities.length === 0)?_c('div',{staticClass:"no-results"},[_c('svg',{staticClass:"no-results-icon",attrs:{"width":"48","height":"48","viewBox":"0 0 24 24","fill":"none"}},[_c('circle',{attrs:{"cx":"11","cy":"11","r":"8","stroke":"currentColor","stroke-width":"2"}}),_c('path',{attrs:{"d":"M21 21L16.65 16.65","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})]),_c('p',[_vm._v(_vm._s(_vm.$t('未找到匹配的国家或地区')))]),_c('p',{staticClass:"suggestion"},[_vm._v(_vm._s(_vm.$t('请尝试其他关键词')))])]):_vm._e()],2)])])])])
67949
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mobileBinding.vue?vue&type=template&id=773bfc2c&scoped=true
67950
+ var mobileBindingvue_type_template_id_773bfc2c_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"mobile",class:{ 'dialog-mode': _vm.isDialogMode }},[_c('div',{staticClass:"main"},[_c('div',{staticClass:"phone_form"},[_c('el-form',{directives:[{name:"show",rawName:"v-show",value:(_vm.list.length == 0),expression:"list.length == 0"}],ref:"phoneForm",attrs:{"model":_vm.phoneForm}},[_c('el-form-item',{staticClass:"phone",attrs:{"rules":_vm.isRules
67951
+ ? [
67952
+ {
67953
+ required: true,
67954
+ message: _vm.i18n('请输入手机号'),
67955
+ trigger: 'change',
67956
+ },
67957
+ {
67958
+ pattern: /^1[3456789]\d{9}$/,
67959
+ message: _vm.i18n('手机号码格式错误'),
67960
+ trigger: 'change',
67961
+ },
67962
+ ]
67963
+ : [],"label":"","prop":"mobile"}},[_c('div',{attrs:{"id":"ghduhfue"},on:{"click":_vm.tolink}},[_vm._v(" "+_vm._s(_vm.gjMsg)+" ")]),_c('el-input',{attrs:{"id":"mobile_login","placeholder":_vm.i18n('请输入手机号'),"prefix-icon":"el-icon-mobile-phone"},model:{value:(_vm.phoneForm.mobile),callback:function ($$v) {_vm.$set(_vm.phoneForm, "mobile", $$v)},expression:"phoneForm.mobile"}})],1),_c('el-form-item',{attrs:{"rules":[
67964
+ {
67965
+ required: true,
67966
+ message: _vm.i18n('请输入验证码'),
67967
+ trigger: 'change',
67968
+ },
67969
+ ],"label":"","prop":"msgCode"}},[_c('div',{staticClass:"Code"},[_c('img',{attrs:{"id":"code","alt":"","src":"https://file.icve.com.cn/rc/737/546/B8588913D6F3ACDCC1275979123080D6.png"}}),_c('el-input',{attrs:{"placeholder":_vm.i18n('请输入验证码'),"prefix-icon":""},model:{value:(_vm.phoneForm.msgCode),callback:function ($$v) {_vm.$set(_vm.phoneForm, "msgCode", $$v)},expression:"phoneForm.msgCode"}}),(!_vm.sms_timer)?_c('div',{attrs:{"id":"djs"},on:{"click":_vm.sjbdobtain}},[_vm._v(" "+_vm._s(_vm.i18n('获取验证码'))+" ")]):_c('div',{attrs:{"id":"djs"}},[_vm._v(" "+_vm._s(_vm.sms_time_count + _vm.i18n('秒重获'))+" ")])],1)])],1),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.list.length > 0),expression:"list.length > 0"}],staticClass:"test"},[_c('div',{staticClass:"ti"},[_vm._v(_vm._s(_vm.i18n('您输入的手机号已绑定过以下账号,绑定到该账号将自动解绑原绑定账户,是否确定?')))]),_c('ul',_vm._l((_vm.list),function(i,j){return _c('li',{key:j,on:{"click":function($event){return _vm.select(i)}}},[_c('div',{staticClass:"le"},[_c('div',{staticClass:"name"},[_vm._v(_vm._s(i.userName))]),_c('div',{staticClass:"mobile1"},[_vm._v(_vm._s(i.mobile))])]),_c('div',{staticClass:"ri"},[_c('span',[_vm._v(_vm._s(_vm.i18n('最后登录时间'))+": "+_vm._s(i.dateCreated))])])])}),0)])],1),_c('div',{staticClass:"footer"},[(_vm.userType == '2' && _vm.list.length == 0)?_c('button',{staticClass:"custom-plain-button",on:{"click":_vm.toRedirect}},[_vm._v(_vm._s(_vm.i18n('下次绑定')))]):_vm._e(),_c('button',{staticClass:"custom-primary-button",on:{"click":_vm.mobileSubmit}},[_vm._v(_vm._s(_vm.list.length == 0 ? _vm.i18n('绑定手机') : _vm.i18n('确定')))])])]),_c('NationalitySelector',{attrs:{"value":_vm.nationalityModalShow},on:{"change":_vm.handleNationalityChange,"close":function($event){_vm.nationalityModalShow = false}}}),_c('verifyComponents',{ref:"verifyComponents",on:{"success":_vm.sjbdsuccess}})],1)
67970
+ }
67971
+ var mobileBindingvue_type_template_id_773bfc2c_scoped_true_staticRenderFns = []
67972
+
67973
+
67974
+ // CONCATENATED MODULE: ./src/components/mobileBinding.vue?vue&type=template&id=773bfc2c&scoped=true
67975
+
67976
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NationalitySelector.vue?vue&type=template&id=abd02b60&scoped=true
67977
+ var NationalitySelectorvue_type_template_id_abd02b60_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.show)?_c('div',{staticClass:"custom-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.handleOverlayClick.apply(null, arguments)}}},[_c('div',{staticClass:"custom-dialog nationality-selector"},[_c('div',{staticClass:"custom-dialog-header"},[_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.i18n('国籍选择')))]),_c('div',{staticClass:"custom-dialog-close",attrs:{"title":_vm.i18n('关闭')},on:{"click":_vm.closeModal}},[_c('svg',{attrs:{"width":"24","height":"24","viewBox":"0 0 24 24","fill":"none","xmlns":"http://www.w3.org/2000/svg"}},[_c('path',{attrs:{"d":"M18 6L6 18M6 6L18 18","stroke":"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),_c('div',{staticClass:"custom-dialog-body"},[(!_vm.searchKeyword)?_c('div',{staticClass:"nationality-index-bar"},[_c('div',{staticClass:"index-nav"},_vm._l((_vm.alphabetList),function(letter){return _c('div',{key:letter,class:['index-item', { active: _vm.currentLetter === letter }],on:{"click":function($event){return _vm.scrollToLetter(letter)}}},[_vm._v(" "+_vm._s(letter)+" ")])}),0),_c('div',{staticClass:"nationality-list-container"},[_c('el-scrollbar',{staticStyle:{"height":"100%"}},[_c('div',{ref:"nationalityList",staticClass:"nationality-list"},_vm._l((_vm.alphabetList),function(letter){return _c('div',{key:letter,ref:`letter-${letter}`,refInFor:true},[(_vm.getCountriesByLetter(letter).length > 0)?_c('div',{staticClass:"letter-section"},[_c('div',{staticClass:"letter-anchor"},[_vm._v(_vm._s(letter))]),_vm._l((_vm.getCountriesByLetter(letter)),function(country){return _c('div',{key:country.id,staticClass:"country-item",on:{"click":function($event){return _vm.select(country)}}},[_c('span',{staticClass:"country-name"},[_vm._v(_vm._s(_vm.defaultLang === 'cn' ? country.name : country.country))]),_c('i',{staticClass:"el-icon-check country-check"})])})],2):_vm._e()])}),0)])],1)]):_c('div',{staticClass:"search-results-container"},[_c('el-scrollbar',{staticStyle:{"height":"100%"}},[_c('div',{staticClass:"search-results"},_vm._l((_vm.filteredCountries),function(country){return _c('div',{key:country.id,staticClass:"country-item",on:{"click":function($event){return _vm.select(country)}}},[_c('span',{staticClass:"country-name"},[_vm._v(" "+_vm._s(_vm.defaultLang === 'cn' ? country.name : country.country)+" ")]),_c('i',{staticClass:"el-icon-check country-check"})])}),0)])],1)])])]):_vm._e()
67921
67978
  }
67922
- var NationalitySelectorvue_type_template_id_137a9432_scoped_true_staticRenderFns = []
67979
+ var NationalitySelectorvue_type_template_id_abd02b60_scoped_true_staticRenderFns = []
67923
67980
 
67924
67981
 
67925
- // CONCATENATED MODULE: ./src/components/NationalitySelector.vue?vue&type=template&id=137a9432&scoped=true
67982
+ // CONCATENATED MODULE: ./src/components/NationalitySelector.vue?vue&type=template&id=abd02b60&scoped=true
67926
67983
 
67927
67984
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/NationalitySelector.vue?vue&type=script&lang=js
67928
67985
 
67986
+
67987
+
67929
67988
  /* harmony default export */ var NationalitySelectorvue_type_script_lang_js = ({
67930
- name: 'NationalitySelector',
67989
+ name: "NationalitySelector",
67990
+ props: {
67991
+ // 弹框显示状态
67992
+ value: {
67993
+ type: Boolean,
67994
+ default: false
67995
+ },
67996
+ // 语言设置
67997
+ language: {
67998
+ type: String,
67999
+ default: ''
68000
+ }
68001
+ },
68002
+ data() {
68003
+ return {
68004
+ show: this.value,
68005
+ defaultLang: this.getBrowserLanguage(),
68006
+ searchKeyword: '', // 搜索关键词
68007
+ currentLetter: 'A', // 当前选中的字母
68008
+ countriesData: [], // 所有国籍数据
68009
+ alphabetList: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z']
68010
+ };
68011
+ },
68012
+ computed: {
68013
+ // 根据搜索关键词过滤的国籍列表
68014
+ filteredCountries() {
68015
+ if (!this.searchKeyword) return [];
68016
+
68017
+ const keyword = this.searchKeyword.toLowerCase();
68018
+ return this.countriesData.filter(country => {
68019
+ const name = this.defaultLang === 'cn' ? country.name : country.country;
68020
+ return name.toLowerCase().includes(keyword);
68021
+ });
68022
+ }
68023
+ },
68024
+ watch: {
68025
+ value(newVal) {
68026
+ this.show = newVal;
68027
+ if (newVal) {
68028
+ this.getList();
68029
+ }
68030
+ },
68031
+ show(newVal) {
68032
+ this.$emit('input', newVal);
68033
+ }
68034
+ },
68035
+ created() {
68036
+ // 初始化时获取数据
68037
+ if (this.show) {
68038
+ this.getList();
68039
+ }
68040
+
68041
+ // 添加键盘事件监听
68042
+ document.addEventListener('keydown', this.handleKeyDown);
68043
+ },
68044
+ beforeDestroy() {
68045
+ // 移除键盘事件监听
68046
+ document.removeEventListener('keydown', this.handleKeyDown);
68047
+ },
68048
+ methods: {
68049
+ // 获取浏览器语言设置
68050
+ getBrowserLanguage() {
68051
+ // 如果props中传入了language参数,优先使用props
68052
+ if (this.language) {
68053
+ return this.language;
68054
+ }
68055
+
68056
+ // 从localStorage获取语言设置
68057
+ const storedLang = localStorage.getItem("language") || "cn";
68058
+ return storedLang;
68059
+ },
68060
+
68061
+ // 自定义翻译方法,兼容有无全局i18n的情况
68062
+ i18n(key) {
68063
+ // 如果组件有自己的i18n实例
68064
+ if (this.$options.i18n && this.$options.i18n.t) {
68065
+ return this.$options.i18n.t(key);
68066
+ }
68067
+ // 如果全局有i18n
68068
+ if (this.$root.$i18n && this.$root.$i18n.t) {
68069
+ return this.$root.$i18n.t(key);
68070
+ }
68071
+ // 如果Vue实例有$t方法
68072
+ if (this.$t && typeof this.$t === 'function') {
68073
+ return this.$t(key);
68074
+ }
68075
+ // 如果都没有,返回key本身
68076
+ return key;
68077
+ },
68078
+
68079
+ // 处理键盘事件
68080
+ handleKeyDown(event) {
68081
+ // ESC键关闭弹框
68082
+ if (event.key === 'Escape' && this.show) {
68083
+ this.closeModal();
68084
+ }
68085
+ },
68086
+
68087
+ // 选择国籍
68088
+ select(country) {
68089
+ // 触发选择事件
68090
+ this.$emit('change', country);
68091
+ this.closeModal();
68092
+ },
68093
+
68094
+ // 关闭弹框
68095
+ closeModal() {
68096
+ this.show = false;
68097
+ this.searchKeyword = '';
68098
+ this.$emit('close');
68099
+ },
68100
+
68101
+ // 处理遮罩层点击事件
68102
+ handleOverlayClick() {
68103
+ // 可选:点击遮罩关闭弹框
68104
+ this.closeModal();
68105
+ },
68106
+
68107
+ // 处理搜索
68108
+ handleSearch() {
68109
+ // 搜索时清除当前字母选中状态
68110
+ this.currentLetter = '';
68111
+ },
68112
+
68113
+ // 根据字母获取国籍列表
68114
+ getCountriesByLetter(letter) {
68115
+ return this.countriesData.filter(country => {
68116
+ const firstLetter = this.defaultLang === 'cn'
68117
+ ? country.shortName.charAt(0).toUpperCase()
68118
+ : country.country.charAt(0).toUpperCase();
68119
+ return firstLetter === letter;
68120
+ });
68121
+ },
68122
+
68123
+ // 滚动到指定字母
68124
+ scrollToLetter(letter) {
68125
+ this.currentLetter = letter;
68126
+ // 获取滚动容器
68127
+ const scrollContainer = this.$el.querySelector('.nationality-list-container .el-scrollbar__wrap');
68128
+ const element = this.$refs[`letter-${letter}`];
68129
+
68130
+ if (element && element[0] && scrollContainer) {
68131
+ const containerTop = scrollContainer.getBoundingClientRect().top;
68132
+ const elementTop = element[0].getBoundingClientRect().top;
68133
+ const scrollTop = scrollContainer.scrollTop;
68134
+ const targetScrollTop = scrollTop + (elementTop - containerTop);
68135
+
68136
+ scrollContainer.scrollTo({
68137
+ top: targetScrollTop,
68138
+ behavior: 'smooth'
68139
+ });
68140
+ }
68141
+ },
68142
+
68143
+ // 获取国籍列表数据
68144
+ getList() {
68145
+ login_gjList().then(({data}) => {
68146
+ this.countriesData = data.data || [];
68147
+ }).catch(error => {
68148
+ console.error('获取国籍列表失败:', error);
68149
+ this.countriesData = [];
68150
+ });
68151
+ }
68152
+ }
68153
+ });
68154
+
68155
+ // CONCATENATED MODULE: ./src/components/NationalitySelector.vue?vue&type=script&lang=js
68156
+ /* harmony default export */ var components_NationalitySelectorvue_type_script_lang_js = (NationalitySelectorvue_type_script_lang_js);
68157
+ // EXTERNAL MODULE: ./src/components/NationalitySelector.vue?vue&type=style&index=0&id=abd02b60&prod&scoped=true&lang=scss
68158
+ var NationalitySelectorvue_type_style_index_0_id_abd02b60_prod_scoped_true_lang_scss = __webpack_require__("0d8f");
68159
+
68160
+ // CONCATENATED MODULE: ./src/components/NationalitySelector.vue
68161
+
68162
+
68163
+
68164
+
68165
+
68166
+
68167
+ /* normalize component */
68168
+
68169
+ var NationalitySelector_component = normalizeComponent(
68170
+ components_NationalitySelectorvue_type_script_lang_js,
68171
+ NationalitySelectorvue_type_template_id_abd02b60_scoped_true_render,
68172
+ NationalitySelectorvue_type_template_id_abd02b60_scoped_true_staticRenderFns,
68173
+ false,
68174
+ null,
68175
+ "abd02b60",
68176
+ null
68177
+
68178
+ )
68179
+
68180
+ /* harmony default export */ var NationalitySelector = (NationalitySelector_component.exports);
68181
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/mobileBinding.vue?vue&type=script&lang=js
68182
+
68183
+
68184
+
68185
+
68186
+ /* harmony default export */ var mobileBindingvue_type_script_lang_js = ({
68187
+ name: 'mobileBinding',
68188
+ components: {
68189
+ verifyComponents: verifyComponents,
68190
+ NationalitySelector: NationalitySelector
68191
+ },
67931
68192
  props: {
67932
- // 当前选中的国籍信息
67933
- value: {
67934
- type: Object,
67935
- default: () => ({ code: '+ 86', name: '中国', sms: '86' })
68193
+ userId: {
68194
+ type: String,
68195
+ default: ''
68196
+ },
68197
+ mobileType: {
68198
+ type: String,
68199
+ default: ''
67936
68200
  }
67937
68201
  },
67938
68202
  data() {
67939
68203
  return {
67940
- searchQuery: '',
67941
- selectedNationality: { ...this.value },
67942
- // 国籍数据列表
67943
- nationalities: [
67944
- { code: '+ 86', name: '中国', flag: '🇨🇳', sms: '86' },
67945
- { code: '+ 1', name: '美国', flag: '🇺🇸', sms: '1' },
67946
- { code: '+ 44', name: '英国', flag: '🇬🇧', sms: '44' },
67947
- { code: '+ 81', name: '日本', flag: '🇯🇵', sms: '81' },
67948
- { code: '+ 82', name: '韩国', flag: '🇰🇷', sms: '82' },
67949
- { code: '+ 33', name: '法国', flag: '🇫🇷', sms: '33' },
67950
- { code: '+ 49', name: '德国', flag: '🇩🇪', sms: '49' },
67951
- { code: '+ 39', name: '意大利', flag: '🇮🇹', sms: '39' },
67952
- { code: '+ 34', name: '西班牙', flag: '🇪🇸', sms: '34' },
67953
- { code: '+ 7', name: '俄罗斯', flag: '🇷🇺', sms: '7' },
67954
- { code: '+ 91', name: '印度', flag: '🇮🇳', sms: '91' },
67955
- { code: '+ 55', name: '巴西', flag: '🇧🇷', sms: '55' },
67956
- { code: '+ 61', name: '澳大利亚', flag: '🇦🇺', sms: '61' },
67957
- { code: '+ 1', name: '加拿大', flag: '🇨🇦', sms: '1' },
67958
- { code: '+ 52', name: '墨西哥', flag: '🇲🇽', sms: '52' },
67959
- { code: '+ 65', name: '新加坡', flag: '🇸🇬', sms: '65' },
67960
- { code: '+ 60', name: '马来西亚', flag: '🇲🇾', sms: '60' },
67961
- { code: '+ 66', name: '泰国', flag: '🇹🇭', sms: '66' },
67962
- { code: '+ 84', name: '越南', flag: '🇻🇳', sms: '84' },
67963
- { code: '+ 63', name: '菲律宾', flag: '🇵🇭', sms: '63' },
67964
- { code: '+ 62', name: '印度尼西亚', flag: '🇮🇩', sms: '62' },
67965
- { code: '+ 31', name: '荷兰', flag: '🇳🇱', sms: '31' },
67966
- { code: '+ 46', name: '瑞典', flag: '🇸🇪', sms: '46' },
67967
- { code: '+ 47', name: '挪威', flag: '🇳🇴', sms: '47' },
67968
- { code: '+ 45', name: '丹麦', flag: '🇩🇰', sms: '45' },
67969
- { code: '+ 41', name: '瑞士', flag: '🇨🇭', sms: '41' },
67970
- { code: '+ 43', name: '奥地利', flag: '🇦🇹', sms: '43' },
67971
- { code: '+ 32', name: '比利时', flag: '🇧🇪', sms: '32' },
67972
- { code: '+ 351', name: '葡萄牙', flag: '🇵🇹', sms: '351' },
67973
- { code: '+ 30', name: '希腊', flag: '🇬🇷', sms: '30' }
67974
- ]
67975
- }
68204
+ nationalityModalShow: false, // 国籍弹框显示状态
68205
+ phoneForm: {},
68206
+ isRules: true,
68207
+ gjMsg: '+ 86',
68208
+ // 定时器
68209
+ sms_timer: null,
68210
+ sms_time_count: 60,
68211
+ successShow: false,
68212
+ source: localStorage.getItem('source') || '',
68213
+ nationalityList: {},
68214
+ redirect: null,
68215
+ userType: this.mobileType || '2',
68216
+ whiteList: [],
68217
+ middleQuery: null,
68218
+ middleUrl: null,
68219
+ list: [],
68220
+ isDialogMode: false, // 是否在对话框模式下
68221
+ };
67976
68222
  },
67977
- computed: {
67978
- // 过滤后的国籍列表
67979
- filteredNationalities() {
67980
- if (!this.searchQuery.trim()) {
67981
- return this.nationalities;
68223
+ created() {
68224
+ // 检测是否在对话框中显示
68225
+ this.checkDialogMode();
68226
+ },
68227
+ methods: {
68228
+ // 处理国籍选择变化
68229
+ handleNationalityChange(nationality) {
68230
+ this.nationalityList = nationality;
68231
+ this.gjMsg = '+ ' + nationality.sms || false;
68232
+
68233
+ // 根据选择的国籍更新手机号验证规则
68234
+ if (nationality.sms && nationality.sms.includes('86')) {
68235
+ this.isRules = true;
68236
+ } else {
68237
+ this.isRules = false;
68238
+ }
68239
+ // 关闭弹框
68240
+ this.nationalityModalShow = false;
68241
+ },
68242
+ // 检测是否在对话框模式下
68243
+ checkDialogMode() {
68244
+ // 通过检查父元素是否包含对话框相关的类名来判断
68245
+ this.$nextTick(() => {
68246
+ let parent = this.$el.parentElement;
68247
+ while (parent) {
68248
+ if (parent.classList && (
68249
+ parent.classList.contains('custom-dialog-body') ||
68250
+ parent.classList.contains('el-dialog__body') ||
68251
+ parent.classList.contains('dialog-body')
68252
+ )) {
68253
+ this.isDialogMode = true;
68254
+ break;
68255
+ }
68256
+ parent = parent.parentElement;
68257
+ }
68258
+ });
68259
+ },
68260
+ // tzToken
68261
+ // this.loginSuccess()
68262
+ i18n(key) {
68263
+ // 如果组件有自己的i18n实例
68264
+ if (this.$options.i18n && this.$options.i18n.t) {
68265
+ return this.$options.i18n.t(key);
68266
+ }
68267
+ // 如果全局有i18n
68268
+ if (this.$root.$i18n && this.$root.$i18n.t) {
68269
+ return this.$root.$i18n.t(key);
68270
+ }
68271
+ // 如果Vue实例有$t方法
68272
+ if (this.$t && typeof this.$t === 'function') {
68273
+ return this.$t(key);
68274
+ }
68275
+ // 如果都没有,返回key本身
68276
+ return key;
68277
+ },
68278
+ toRedirect() {
68279
+ this.$emit('loginSuccess')
68280
+ },
68281
+ tolink() {
68282
+ this.nationalityModalShow = true;
68283
+ },
68284
+ sjbdsuccess(captchaVerifyParam) {
68285
+ const obj = {
68286
+ msgSendType: 5,
68287
+ param: this.nationalityList.sms ? this.nationalityList.sms + '-' + this.phoneForm.mobile : '86-' + this.phoneForm.mobile,
68288
+ ...captchaVerifyParam,
68289
+ source: this.source,
68290
+ };
68291
+ smsLoginCaptcha(obj).then(res => {
68292
+ if (res.data.code == 500) {
68293
+ this.$message.warning(res.data.msg);
68294
+ } else {
68295
+ this.sms_timer = setInterval(() => {
68296
+ this.sms_time_count--;
68297
+ if (this.sms_time_count <= 0) {
68298
+ this.sms_time_count = 60;
68299
+ clearInterval(this.sms_timer);
68300
+ this.sms_timer = null;
68301
+ }
68302
+ }, 1000);
68303
+ this.phoneForm.msgKey = res.data.data.msgKey;
68304
+ }
68305
+ });
68306
+ },
68307
+ sjbdobtain() {
68308
+ let mobile = /^1[3456789]\d{9}$/;
68309
+ if (!mobile.test(this.phoneForm.mobile) && this.gjMsg.includes('86')) {
68310
+ this.$message.warning(this.i18n('手机号码格式错误'));
68311
+ } else {
68312
+ this.$refs.verifyComponents.show();
67982
68313
  }
68314
+ },
68315
+ mobileSubmit() {
68316
+ this.$refs.phoneForm.validate(valid => {
68317
+ if (valid) {
68318
+ let obj = JSON.parse(JSON.stringify(this.phoneForm));
68319
+ obj.mobile = this.nationalityList.sms ? this.nationalityList.sms + '-' + obj.mobile : '86-' + obj.mobile;
68320
+ obj.isLogin = false;
68321
+ obj.bindVerify = true;
68322
+ obj.userId = this.userId;
68323
+ obj.isConfirm = this.list.length > 0 ? true : false;
68324
+ BindMobileV2(obj).then(res => {
68325
+ if (res.data.code == 500) {
68326
+ this.$message.warning(res.data.msg);
68327
+ } else {
68328
+ this.list = res.data.data.accountList;
68329
+ if (this.list.length == 0) {
68330
+ this.toRedirect();
68331
+ }
68332
+ }
68333
+ });
68334
+ }
68335
+ });
68336
+ },
68337
+ },
68338
+ });
68339
+
68340
+ // CONCATENATED MODULE: ./src/components/mobileBinding.vue?vue&type=script&lang=js
68341
+ /* harmony default export */ var components_mobileBindingvue_type_script_lang_js = (mobileBindingvue_type_script_lang_js);
68342
+ // EXTERNAL MODULE: ./src/components/mobileBinding.vue?vue&type=style&index=0&id=773bfc2c&prod&lang=scss&scoped=true
68343
+ var mobileBindingvue_type_style_index_0_id_773bfc2c_prod_lang_scss_scoped_true = __webpack_require__("dad0");
68344
+
68345
+ // CONCATENATED MODULE: ./src/components/mobileBinding.vue
68346
+
68347
+
68348
+
68349
+
68350
+
68351
+
68352
+ /* normalize component */
68353
+
68354
+ var mobileBinding_component = normalizeComponent(
68355
+ components_mobileBindingvue_type_script_lang_js,
68356
+ mobileBindingvue_type_template_id_773bfc2c_scoped_true_render,
68357
+ mobileBindingvue_type_template_id_773bfc2c_scoped_true_staticRenderFns,
68358
+ false,
68359
+ null,
68360
+ "773bfc2c",
68361
+ null
68362
+
68363
+ )
68364
+
68365
+ /* harmony default export */ var mobileBinding = (mobileBinding_component.exports);
68366
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c6825d74-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/improveInformation.vue?vue&type=template&id=ab04775e&scoped=true
68367
+ var improveInformationvue_type_template_id_ab04775e_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"mproveInformation"},[_c('div',{staticClass:"content"},[_c('el-form',{ref:"form",attrs:{"model":_vm.form}},[_c('div',{staticClass:"input-radio"},[_c('label',{staticClass:"input-type",class:{ 'input-en': _vm.defaultLang === 'en' }},[_vm._v(_vm._s(_vm.i18n('身份类型')))]),_c('el-form-item',{attrs:{"rules":[{ required: true, message: _vm.i18n('请选择身份类型'), trigger: 'change' }],"prop":"userType"}},[_c('el-radio-group',{attrs:{"disabled":_vm.disableFields.userType},model:{value:(_vm.form.userType),callback:function ($$v) {_vm.$set(_vm.form, "userType", $$v)},expression:"form.userType"}},[_c('el-radio',{attrs:{"label":1}},[_vm._v(_vm._s(_vm.i18n('学生')))]),_c('el-radio',{attrs:{"label":2}},[_vm._v(_vm._s(_vm.i18n('老师')))]),_c('el-radio',{attrs:{"label":3}},[_vm._v(_vm._s(_vm.i18n('社会学习者')))]),_c('el-radio',{attrs:{"label":4}},[_vm._v(_vm._s(_vm.i18n('企业用户')))]),_c('el-radio',{attrs:{"label":5}},[_vm._v(_vm._s(_vm.i18n('国际学习者')))]),_c('el-radio',{attrs:{"label":6}},[_vm._v(_vm._s(_vm.i18n('国际教师')))])],1)],1)],1),(_vm.form.userType == 6 || _vm.form.userType == 5)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.gjName || _vm.focusedFields.gjName }},[_vm._v(_vm._s(_vm.i18n('国籍')))]),_c('el-form-item',{attrs:{"rules":[
68368
+ {
68369
+ required: true,
68370
+ message: _vm.i18n('国籍'),
68371
+ trigger: 'change',
68372
+ },
68373
+ ],"prop":"gjName"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"disabled":_vm.disableFields.gjName,"loading":_vm.loading,"clearable":"","filterable":"","placeholder":"","remote":"","reserve-keyword":""},on:{"blur":function($event){_vm.focusedFields.gjName = !!_vm.form.gjName},"focus":function($event){_vm.focusedFields.gjName = true}},model:{value:(_vm.form.gjName),callback:function ($$v) {_vm.$set(_vm.form, "gjName", $$v)},expression:"form.gjName"}},_vm._l((_vm.gjList),function(item){return _c('el-option',{key:item.sms,attrs:{"label":_vm.defaultLang == 'cn' ? item.name : item.country,"value":_vm.defaultLang == 'cn' ? item.name : item.country}})}),1)],1)],1):_vm._e(),(_vm.form.userType != 3)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.schoolId || _vm.focusedFields.schoolId }},[_vm._v(_vm._s(_vm.i18n('单位名称')))]),_c('el-form-item',{attrs:{"rules":[
68374
+ {
68375
+ required: true,
68376
+ message: _vm.i18n('单位名称'),
68377
+ trigger: 'change',
68378
+ },
68379
+ ],"prop":"schoolName"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"disabled":_vm.disableFields.schoolId,"loading":_vm.loading,"remote-method":_vm.remoteMethod,"clearable":"","filterable":"","placeholder":"","remote":"","reserve-keyword":""},on:{"blur":function($event){_vm.focusedFields.schoolId = !!_vm.form.schoolId},"focus":function($event){_vm.focusedFields.schoolId = true}},model:{value:(_vm.form.schoolName),callback:function ($$v) {_vm.$set(_vm.form, "schoolName", $$v)},expression:"form.schoolName"}},_vm._l((_vm.list),function(item){return _c('el-option',{key:item.schoolId,attrs:{"label":item.schoolName,"value":item.schoolName},nativeOn:{"click":function($event){return _vm.handleSchoolInput(item)}}})}),1)],1)],1):_vm._e(),_c('div',{staticClass:"line-item"},[_c('div',{staticClass:"input-field input-displayName"},[_c('label',{class:{ active: _vm.form.displayName || _vm.focusedFields.displayName }},[_vm._v(_vm._s(_vm.i18n('真实姓名')))]),_c('el-form-item',{attrs:{"rules":[{ required: true, message: _vm.i18n('真实姓名'), trigger: 'change' }],"prop":"displayName"}},[_c('el-input',{attrs:{"disabled":_vm.disableFields.displayName},on:{"blur":function($event){_vm.focusedFields.displayName = !!_vm.form.displayName},"focus":function($event){_vm.focusedFields.displayName = true}},model:{value:(_vm.form.displayName),callback:function ($$v) {_vm.$set(_vm.form, "displayName", $$v)},expression:"form.displayName"}})],1)],1),(_vm.form.userType != 3 && _vm.form.userType != 4)?_c('div',{staticClass:"input-field input-employeeNumber"},[_c('label',{class:{ active: _vm.form.employeeNumber || _vm.focusedFields.employeeNumber }},[_vm._v(_vm._s(_vm.i18n('工号/学号')))]),_c('el-form-item',{attrs:{"rules":[{ required: true, message: _vm.i18n('工号/学号'), trigger: 'change' }],"prop":"employeeNumber"}},[_c('el-input',{attrs:{"disabled":_vm.disableFields.employeeNumber},on:{"blur":function($event){_vm.focusedFields.employeeNumber = !!_vm.form.employeeNumber},"focus":function($event){_vm.focusedFields.employeeNumber = true}},model:{value:(_vm.form.employeeNumber),callback:function ($$v) {_vm.$set(_vm.form, "employeeNumber", $$v)},expression:"form.employeeNumber"}})],1)],1):_vm._e()]),(_vm.isWeakPwd || _vm.form.isEmptyPwd)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.password || _vm.focusedFields.password }},[_vm._v(_vm._s(_vm.i18n('密码')))]),_c('el-form-item',{attrs:{"rules":[
68380
+ {
68381
+ required: true,
68382
+ message: _vm.i18n('至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)'),
68383
+ trigger: 'change',
68384
+ },
68385
+ {
68386
+ pattern:
68387
+ /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])|(?=.*[A-Z])(?=.*[a-z])(?=.*[^A-Za-z0-9])|(?=.*[A-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])|(?=.*[a-z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).{8,50}$/,
68388
+ message: _vm.i18n('至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)'),
68389
+ trigger: 'change',
68390
+ },
68391
+ ],"prop":"password"}},[_c('el-input',{attrs:{"disabled":_vm.disableFields.password,"autocomplete":"new-password","show-password":""},on:{"blur":function($event){_vm.focusedFields.password = !!_vm.form.password},"focus":function($event){_vm.focusedFields.password = true}},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, "password", $$v)},expression:"form.password"}})],1)],1):_vm._e(),(_vm.isWeakPwd || _vm.form.isEmptyPwd)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.rePassword || _vm.focusedFields.rePassword }},[_vm._v(_vm._s(_vm.i18n('确认密码')))]),_c('el-form-item',{attrs:{"rules":[{ required: true, message: _vm.i18n('确认密码,保持一致'), trigger: 'change' }],"prop":"rePassword"}},[_c('el-input',{attrs:{"disabled":_vm.disableFields.rePassword,"autocomplete":"new-password","show-password":""},on:{"blur":function($event){_vm.focusedFields.rePassword = !!_vm.form.rePassword},"focus":function($event){_vm.focusedFields.rePassword = true}},model:{value:(_vm.form.rePassword),callback:function ($$v) {_vm.$set(_vm.form, "rePassword", $$v)},expression:"form.rePassword"}})],1)],1):_vm._e()]),_c('div',{staticClass:"button",on:{"click":_vm.submit}},[_vm._v(" "+_vm._s(_vm.i18n('提交'))+" ")])],1)])
68392
+ }
68393
+ var improveInformationvue_type_template_id_ab04775e_scoped_true_staticRenderFns = []
68394
+
68395
+
68396
+ // CONCATENATED MODULE: ./src/components/improveInformation.vue?vue&type=template&id=ab04775e&scoped=true
68397
+
68398
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/improveInformation.vue?vue&type=script&lang=js
67983
68399
 
67984
- const query = this.searchQuery.toLowerCase().trim();
67985
- return this.nationalities.filter(item =>
67986
- item.name.toLowerCase().includes(query) ||
67987
- item.code.toLowerCase().includes(query) ||
67988
- item.sms.includes(query)
67989
- );
68400
+
68401
+ /* harmony default export */ var improveInformationvue_type_script_lang_js = ({
68402
+ name: 'mproveInformation',
68403
+ props: {
68404
+ weakPwd: {
68405
+ type: Boolean,
68406
+ default: true
68407
+ },
68408
+ tzToken: {
68409
+ type: String,
68410
+ default: ''
67990
68411
  }
67991
68412
  },
67992
- watch: {
67993
- value: {
67994
- handler(newVal) {
67995
- this.selectedNationality = { ...newVal };
68413
+ data() {
68414
+ return {
68415
+ defaultLang: this.$i18n.locale,
68416
+ value: '',
68417
+ timeout: null,
68418
+ queryParams: {
68419
+ pageSize: 10,
68420
+ curPage: 1,
68421
+ schoolName: '',
67996
68422
  },
67997
- deep: true
67998
- }
68423
+ list: [],
68424
+ gjList: [],
68425
+ loading: false,
68426
+ form: {
68427
+ userType: 1,
68428
+ },
68429
+ source: localStorage.getItem('source'),
68430
+ footMsg: '',
68431
+ footMsg1: '',
68432
+ sptImg: '',
68433
+ whiteList: [],
68434
+ middleQuery: null,
68435
+ middleUrl: null,
68436
+ //1是弱密码2是强密码
68437
+ isWeakPwd: this.weakPwd,
68438
+ // 添加用于跟踪输入框焦点状态的属性
68439
+ focusedFields: {
68440
+ userName: false,
68441
+ userType: false,
68442
+ gjName: false,
68443
+ displayName: false,
68444
+ employeeNumber: false,
68445
+ schoolId: false,
68446
+ password: false,
68447
+ rePassword: false,
68448
+ },
68449
+ //页面初始化有值时禁用输入框
68450
+ disableFields: {
68451
+ userName: false,
68452
+ userType: false,
68453
+ gjName: false,
68454
+ displayName: false,
68455
+ employeeNumber: false,
68456
+ schoolId: false,
68457
+ password: false,
68458
+ rePassword: false,
68459
+ },
68460
+ };
68461
+ },
68462
+ created() {
68463
+ //获取用户信息
68464
+ this.getUserInfo();
68465
+ this.getNationList();
67999
68466
  },
68000
68467
  methods: {
68001
- // 选择国籍
68002
- selectNationality(nationality) {
68003
- this.selectedNationality = { ...nationality };
68004
- this.$emit('input', this.selectedNationality);
68005
- this.$emit('change', this.selectedNationality);
68006
- this.$emit('close'); // 添加关闭事件
68007
- this.closeModal();
68468
+ // 自定义翻译方法,兼容有无全局i18n的情况
68469
+ i18n(key) {
68470
+ // 如果组件有自己的i18n实例
68471
+ if (this.$options.i18n && this.$options.i18n.t) {
68472
+ return this.$options.i18n.t(key);
68473
+ }
68474
+ // 如果全局有i18n
68475
+ if (this.$root.$i18n && this.$root.$i18n.t) {
68476
+ return this.$root.$i18n.t(key);
68477
+ }
68478
+ // 如果Vue实例有$t方法
68479
+ if (this.$t && typeof this.$t === 'function') {
68480
+ return this.$t(key);
68481
+ }
68482
+ // 如果都没有,返回key本身
68483
+ return key;
68008
68484
  },
68009
-
68010
- // 关闭弹框
68011
- closeModal() {
68012
- this.showModal = false;
68013
- this.searchQuery = '';
68014
- this.$emit('close'); // 触发关闭事件
68485
+ handleSchoolInput(val) {
68486
+ this.form.schoolId = val.schoolId;
68015
68487
  },
68016
-
68017
- // 处理搜索
68018
- handleSearch() {
68019
- // 搜索逻辑已在computed中处理
68488
+ // 获取外部某个字符串
68489
+ getUrlCode(name) {
68490
+ return (
68491
+ decodeURIComponent(
68492
+ (new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ''])[1].replace(/\+/g, '%20'),
68493
+ ) || null
68494
+ );
68020
68495
  },
68021
-
68022
- // 清除搜索
68023
- clearSearch() {
68024
- this.searchQuery = '';
68025
- }
68026
- }
68496
+ getSchoolList() {
68497
+ login_getDw(this.queryParams).then(({ data }) => {
68498
+ this.loading = false;
68499
+ this.list = data.data.data;
68500
+ });
68501
+ },
68502
+ remoteMethod(query) {
68503
+ this.queryParams.schoolName = query; // 保存查询关键字到 queryParams 中
68504
+ // 清除上一次的定时器,防止重复请求
68505
+ clearTimeout(this.timeout);
68506
+ if (query !== '') {
68507
+ this.loading = true;
68508
+ this.timeout = setTimeout(() => {
68509
+ this.getSchoolList();
68510
+ }, 500);
68511
+ } else {
68512
+ this.list = [];
68513
+ }
68514
+ },
68515
+ //获取国籍数据
68516
+ getNationList() {
68517
+ login_gjList().then(({ data }) => {
68518
+ this.gjList = data.data;
68519
+ });
68520
+ },
68521
+ //获取用户信息
68522
+ getUserInfo() {
68523
+ login_getInfo(this.tzToken).then(({ data }) => {
68524
+ this.form = data.data;
68525
+ this.form.gjName = this.defaultLang ? this.form.cn : this.form.en;
68526
+ this.disableFields.gjName = this.disableFields.userName = !!this.form.userName;
68527
+ this.disableFields.userType = !!this.form.userType;
68528
+ this.disableFields.gjName = !!this.form.en;
68529
+ this.disableFields.displayName = !!this.form.displayName;
68530
+ this.disableFields.employeeNumber = !!this.form.employeeNumber;
68531
+ this.disableFields.schoolId = !!this.form.schoolId;
68532
+ this.disableFields.password = !!this.form.password;
68533
+ this.disableFields.rePassword = !!this.form.rePassword;
68534
+ //用户类型为空时默认为学生
68535
+ if (this.form.userType == 1 && this.form.en != null && this.form.en != 'China') {
68536
+ this.form.userType = 5;
68537
+ } else if (this.form.userType == 2 && this.form.en != null && this.form.en != 'China') {
68538
+ this.form.userType = 6;
68539
+ } else if (!this.form.userType) {
68540
+ this.form.userType = 1;
68541
+ }
68542
+ });
68543
+ },
68544
+ submit() {
68545
+ this.$refs.form.validate(valid => {
68546
+ if (valid) {
68547
+ if (this.form.password !== this.form.rePassword && (this.form.isEmptyPwd || isWeakPwd)) {
68548
+ return this.$message.error(this.i18n('确认密码,保持一致'));
68549
+ }
68550
+ //后端是否需要校验密码 true 需要 false 不需要
68551
+ // this.isWeakPwd 是否为弱密码 true 弱密码 false 正常密码
68552
+ //this.form.isEmptyPwd 是否为空密码 true 空密码 false 正常密码
68553
+ this.form.isVerifyData = this.isWeakPwd || !!this.form.isEmptyPwd;
68554
+ let obj = JSON.parse(JSON.stringify(this.form));
68555
+ obj.userType = obj.userType == 5 ? 1 : obj.userType == 6 ? 2 : obj.userType;
68556
+ login_saveUserInfo(obj).then(res => {
68557
+ if (res.data.code == 500) {
68558
+ this.$message.warning(res.data.msg);
68559
+ } else {
68560
+ sessionStorage.removeItem('information');
68561
+ window.location.href = this.getBusinessPlatformLoginUrl();
68562
+ }
68563
+ });
68564
+ }
68565
+ });
68566
+ },
68567
+ //获取业务平台登录网址
68568
+ getBusinessPlatformLoginUrl() {
68569
+ this.$emit('loginSuccess')
68570
+ },
68571
+ },
68027
68572
  });
68028
68573
 
68029
- // CONCATENATED MODULE: ./src/components/NationalitySelector.vue?vue&type=script&lang=js
68030
- /* harmony default export */ var components_NationalitySelectorvue_type_script_lang_js = (NationalitySelectorvue_type_script_lang_js);
68031
- // EXTERNAL MODULE: ./src/components/NationalitySelector.vue?vue&type=style&index=0&id=137a9432&prod&lang=scss&scoped=true
68032
- var NationalitySelectorvue_type_style_index_0_id_137a9432_prod_lang_scss_scoped_true = __webpack_require__("8b9f");
68574
+ // CONCATENATED MODULE: ./src/components/improveInformation.vue?vue&type=script&lang=js
68575
+ /* harmony default export */ var components_improveInformationvue_type_script_lang_js = (improveInformationvue_type_script_lang_js);
68576
+ // EXTERNAL MODULE: ./src/components/improveInformation.vue?vue&type=style&index=0&id=ab04775e&prod&lang=scss&scoped=true
68577
+ var improveInformationvue_type_style_index_0_id_ab04775e_prod_lang_scss_scoped_true = __webpack_require__("fbf9");
68033
68578
 
68034
- // CONCATENATED MODULE: ./src/components/NationalitySelector.vue
68579
+ // CONCATENATED MODULE: ./src/components/improveInformation.vue
68035
68580
 
68036
68581
 
68037
68582
 
@@ -68040,18 +68585,18 @@ var NationalitySelectorvue_type_style_index_0_id_137a9432_prod_lang_scss_scoped_
68040
68585
 
68041
68586
  /* normalize component */
68042
68587
 
68043
- var NationalitySelector_component = normalizeComponent(
68044
- components_NationalitySelectorvue_type_script_lang_js,
68045
- NationalitySelectorvue_type_template_id_137a9432_scoped_true_render,
68046
- NationalitySelectorvue_type_template_id_137a9432_scoped_true_staticRenderFns,
68588
+ var improveInformation_component = normalizeComponent(
68589
+ components_improveInformationvue_type_script_lang_js,
68590
+ improveInformationvue_type_template_id_ab04775e_scoped_true_render,
68591
+ improveInformationvue_type_template_id_ab04775e_scoped_true_staticRenderFns,
68047
68592
  false,
68048
68593
  null,
68049
- "137a9432",
68594
+ "ab04775e",
68050
68595
  null
68051
68596
 
68052
68597
  )
68053
68598
 
68054
- /* harmony default export */ var NationalitySelector = (NationalitySelector_component.exports);
68599
+ /* harmony default export */ var improveInformation = (improveInformation_component.exports);
68055
68600
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
68056
68601
  var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
68057
68602
  var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
@@ -70356,700 +70901,664 @@ const i18n = new vue_i18n_esm({
70356
70901
 
70357
70902
 
70358
70903
 
70904
+
70359
70905
  /* harmony default export */ var userCenterLoginvue_type_script_lang_js = ({
70360
- name: 'Login',
70361
- i18n: utils_i18n, // 将i18n实例挂载到组件
70362
- components: {
70363
- Agreement: agreement,
70364
- verifyComponents: verifyComponents,
70365
- QRCodeLogin: QRCodeLogin,
70366
- NationalitySelector: NationalitySelector
70906
+ name: 'Login',
70907
+ i18n: utils_i18n, // 将i18n实例挂载到组件
70908
+ components: {
70909
+ Agreement: agreement,
70910
+ verifyComponents: verifyComponents,
70911
+ QRCodeLogin: QRCodeLogin,
70912
+ MobileBinding: mobileBinding,
70913
+ improveInformation: improveInformation,
70914
+ NationalitySelector: NationalitySelector
70915
+ },
70916
+ provide: ['reload'],
70917
+ props: {
70918
+ loginModalShow: {
70919
+ type: Boolean,
70920
+ default: false
70921
+ }
70922
+ },
70923
+ data() {
70924
+ return {
70925
+ phoneBindShow: false,
70926
+ editPasswordShow: false,
70927
+ wxRandom: '',
70928
+ loginShow: this.loginModalShow,
70929
+ nationalityModalShow: false, // 国籍弹框显示状态
70930
+ loadLanguage: true,
70931
+ isOneYearBeforeLogin: false,
70932
+ isOneYearBeforeLoginForm: {},
70933
+ status: null,
70934
+ captchaVerifyParam: '',
70935
+ isSmartEduLogin: false,
70936
+ whiteList: [],
70937
+ middleUrl: '',
70938
+ middleQuery: '',
70939
+ isMerged: true,
70940
+ isTz2p: false,
70941
+ isUpdateName: false,
70942
+ zjtxUrl: '',
70943
+ userList: [],
70944
+ verifyForm: {},
70945
+ bdwxShow: false,
70946
+ tzToken: null,
70947
+ sptImg: '',
70948
+ // 接收国籍
70949
+ nationalityList: {},
70950
+ //多个账号列表
70951
+ accountList: [],
70952
+ gjMsg: '+ 86',
70953
+ tab: 2,
70954
+ isRules: true,
70955
+ // 用户协议勾选判断
70956
+ checked: false,
70957
+ // 点击验证的时候在调用滑块接口
70958
+ clickVerifyShow: false,
70959
+ // 获取验证码点击显示滑块接口
70960
+ obtainShow: false,
70961
+ // 点击进行验证按钮是否显示
70962
+ buttonShow: false,
70963
+ // 提示弹框变量
70964
+ testShow: false,
70965
+ // 验证码弹框样式调整
70966
+ txyzmShow: false,
70967
+ // 客服弹框变量
70968
+ kfShow: false,
70969
+ test: '',
70970
+ // 定时器
70971
+ sms_timer: null,
70972
+ sms_time_count: 60,
70973
+ // 账号密码
70974
+ form: {
70975
+ type: 1,
70976
+ },
70977
+ // 手机号密码
70978
+ phoneForm: {
70979
+ // type: 2
70980
+ },
70981
+ // 邮箱密码
70982
+ emailForm: {},
70983
+ footMsg: '',
70984
+ footMsg1: '',
70985
+ source: '',
70986
+ redirect: '',
70987
+ activeIndex: 0,
70988
+ mobileList: ['绑定新号码', '绑定已有手机号'],
70989
+ phoneList: [],
70990
+ userType: null,
70991
+ selectMobile: '',
70992
+ successShow: false,
70993
+ ishbzhShow: false,
70994
+ str: '',
70995
+ editForm: {},
70996
+ schoolId: '',
70997
+ userId: "",
70998
+ mobileType: '',
70999
+ isWeakPwd: false,
71000
+ };
71001
+ },
71002
+ methods: {
71003
+ // 自定义翻译方法,兼容有无全局i18n的情况
71004
+ i18n(key) {
71005
+ // 如果组件有自己的i18n实例
71006
+ if (this.$options.i18n && this.$options.i18n.t) {
71007
+ return this.$options.i18n.t(key);
71008
+ }
71009
+ // 如果全局有i18n
71010
+ if (this.$root.$i18n && this.$root.$i18n.t) {
71011
+ return this.$root.$i18n.t(key);
71012
+ }
71013
+ // 如果Vue实例有$t方法
71014
+ if (this.$t && typeof this.$t === 'function') {
71015
+ return this.$t(key);
71016
+ }
71017
+ // 如果都没有,返回key本身
71018
+ return key;
70367
71019
  },
70368
- provide: ['reload'],
70369
- props: {
70370
- loginModalShow: {
70371
- type: Boolean,
70372
- default: false
71020
+ hbtiaozhuan() {
71021
+ if (sessionStorage.getItem('environment') === 'test') {
71022
+ window.open('https://testssov2.icve.com.cn/sso/accountConsolidation')
71023
+ } else {
71024
+ window.open('https://sso.icve.com.cn/sso/accountConsolidation')
71025
+ }
71026
+ },
71027
+ maskedPhoneNumber(i) {
71028
+ // 使用正则表达式匹配手机号的格式,并将中间四位替换为星号
71029
+ const maskedNumber = i.replace(/(\d{3})\d{4}(\d{3})/, (match, p1, p2) => p1 + '*'.repeat(4) + p2);
71030
+ return maskedNumber;
71031
+ },
71032
+ // 获取职教通行权限
71033
+ getfeaturesBySource(source) {
71034
+ featuresBySource({
71035
+ source: source,
71036
+ featuresName: 'zhzgLogin',
71037
+ }).then(res => {
71038
+ if (res.data.code == 200) {
71039
+ if (res.data.data.loginPermission == 1) {
71040
+ this.zjtxUrl = res.data.data.uri;
71041
+ }
71042
+ if (res.data.data.isSmartEduLogin == 1) {
71043
+ this.isSmartEduLogin = true;
71044
+ }
70373
71045
  }
71046
+ });
70374
71047
  },
70375
- computed: {
70376
- // 判断微信登录是否需要绑定账号
70377
- wxRandom() {
70378
- return this.$route.query.wxRandom;
70379
- },
71048
+ phonechange(name) {
71049
+ this.phoneForm.userName = name;
71050
+
71051
+ this.accountList.forEach(item => {
71052
+ if (item.userName == name) {
71053
+ item.checked = true;
71054
+ } else {
71055
+ item.checked = false;
71056
+ }
71057
+ });
71058
+ this.phoneLogin();
70380
71059
  },
70381
- data() {
70382
- return {
70383
- loginShow: this.loginModalShow,
70384
- nationalityModalShow: false, // 国籍弹框显示状态
70385
- loadLanguage: true,
70386
- isOneYearBeforeLogin: false,
70387
- isOneYearBeforeLoginForm: {},
70388
- status: null,
70389
- captchaVerifyParam: '',
70390
- isSmartEduLogin: false,
70391
- whiteList: [],
70392
- middleUrl: '',
70393
- middleQuery: '',
70394
- isMerged: true,
70395
- isTz2p: false,
70396
- isUpdateName: false,
70397
- zjtxUrl: '',
70398
- userList: [],
70399
- verifyForm: {},
70400
- bdwxShow: false,
70401
- tzToken: null,
70402
- sptImg: '',
70403
- // 接收国籍
70404
- nationalityList: {},
70405
- //多个账号列表
70406
- accountList: [],
70407
- gjMsg: '+ 86',
70408
- tab: 2,
70409
- isRules: true,
70410
- // 用户协议勾选判断
70411
- checked: false,
70412
- // 点击验证的时候在调用滑块接口
70413
- clickVerifyShow: false,
70414
- // 获取验证码点击显示滑块接口
70415
- obtainShow: false,
70416
- // 点击进行验证按钮是否显示
70417
- buttonShow: false,
70418
- // 提示弹框变量
70419
- testShow: false,
70420
- // 验证码弹框样式调整
70421
- txyzmShow: false,
70422
- // 客服弹框变量
70423
- kfShow: false,
70424
- test: '',
70425
- // 定时器
70426
- sms_timer: null,
70427
- sms_time_count: 60,
70428
- // 账号密码
70429
- form: {
70430
- type: 1,
70431
- },
70432
- // 手机号密码
70433
- phoneForm: {
70434
- // type: 2
70435
- },
70436
- // 邮箱密码
70437
- emailForm: {},
70438
- footMsg: '',
70439
- footMsg1: '',
70440
- source: '',
70441
- redirect: '',
70442
- activeIndex: 0,
70443
- mobileList: ['绑定新号码', '绑定已有手机号'],
70444
- phoneList: [],
70445
- userType: null,
70446
- selectMobile: '',
70447
- successShow: false,
70448
- ishbzhShow: false,
70449
- str: '',
70450
- editForm: {},
70451
- schoolId: '',
70452
- };
71060
+ inverseSelected(i, idx) {
71061
+ this.phoneForm.userName = i.userName;
71062
+ this.accountList.forEach(item => {
71063
+ if (item.userName == i.userName) {
71064
+ item.checked = true;
71065
+ } else {
71066
+ item.checked = false;
71067
+ }
71068
+ });
71069
+ },
71070
+ inverseSelected1(i, idx) {
71071
+ this.selectMobile = i.mobile;
71072
+ this.phoneList.forEach(item => {
71073
+ if (item.mobile == i.mobile) {
71074
+ item.checked = true;
71075
+ } else {
71076
+ item.checked = false;
71077
+ }
71078
+ });
71079
+ },
71080
+ kctz() {
71081
+ window.open(
71082
+ 'https://hephelp.udesk.cn/im_client/?web_plugin_id=93901&cur_title=%E6%99%BA%E6%85%A7%E8%81%8C%E6%95%99&src_url=https%3A%2F%2Fsso.icve.com.cn%2Fh5%2F&cur_url=https%3A%2F%2Fsso.icve.com.cn%2F&pre_url=https%3A%2F%2Fsso.icve.com.cn%2Fsso%2Fbackstage%3Fsource%3D14&robot_enable_agent=true&robot_enable_robot=true&robot_reception_strategy=all_day&robot_scene_id=3533&robot_udesk_robot_id=761&robot_show_robot_times=0',
71083
+ );
71084
+ },
71085
+ // 职教通行判断
71086
+ zjtxdl() {
71087
+ if (this.source == 1) {
71088
+ window.open(
71089
+ 'https://auth.smartedu.cn/uias/oauth/authorize?client_id=v16wt6TMGejoFeALGzRhzAPMMjLAn1hx&grant_type=authorization_code&response_type=code&redirect_uri=https://vocational.smartedu.cn/thirdLogin.html?state=https://vocational.smartedu.cn',
71090
+ );
71091
+ } else if (this.source == 4) {
71092
+ window.open(
71093
+ 'https://auth.smartedu.cn/uias/oauth/authorize?client_id=CjuEqAyujmdYI7LDcjrTgAm0YFm6h9em&grant_type=authorization_code&response_type=code&redirect_uri=https://sso.icve.com.cn/sso/zjtxPedding',
71094
+ );
71095
+ } else if (this.source == 7) {
71096
+ window.open(
71097
+ 'https://auth.smartedu.cn/uias/oauth/authorize?client_id=JUPELHVTxjGGiUK8kZ9gxgDS1r7ZnHXW&grant_type=authorization_code&response_type=code&redirect_uri=https://vocational.beijing.smartedu.cn/icve-admin/pedding&scope=userInfo',
71098
+ );
71099
+ } else {
71100
+ window.open(`${this.zjtxUrl}`);
71101
+ }
71102
+ },
71103
+ loginSuccess(token) {
71104
+ this.$emit('loginSuccess', token)
71105
+ },
71106
+ //提示框关闭事件
71107
+ handleClose() {
71108
+ this.test = '';
71109
+ this.testShow = false;
71110
+ if (this.isUpdateName) {
71111
+ this.loginSuccess(this.editForm.token)
71112
+ }
70453
71113
  },
70454
- methods: {
70455
- hbtiaozhuan() {
70456
- this.$router.push({
70457
- path: '/sso/accountConsolidation',
70458
- query: {
70459
- back: '/sso/auth',
70460
- },
70461
- });
70462
- },
70463
- maskedPhoneNumber(i) {
70464
- // 使用正则表达式匹配手机号的格式,并将中间四位替换为星号
70465
- const maskedNumber = i.replace(/(\d{3})\d{4}(\d{3})/, (match, p1, p2) => p1 + '*'.repeat(4) + p2);
70466
- return maskedNumber;
70467
- },
70468
- // 获取职教通行权限
70469
- getfeaturesBySource(source) {
70470
- featuresBySource({
70471
- source: source,
70472
- featuresName: 'zhzgLogin',
70473
- }).then(res => {
70474
- if (res.data.code == 200) {
70475
- if (res.data.data.loginPermission == 1) {
70476
- this.zjtxUrl = res.data.data.uri;
70477
- }
70478
- if (res.data.data.isSmartEduLogin == 1) {
70479
- this.isSmartEduLogin = true;
70480
- }
70481
- }
70482
- });
70483
- },
70484
- phonechange(name) {
70485
- this.phoneForm.userName = name;
70486
71114
 
70487
- this.accountList.forEach(item => {
70488
- if (item.userName == name) {
70489
- item.checked = true;
70490
- } else {
70491
- item.checked = false;
70492
- }
70493
- });
70494
- this.phoneLogin();
70495
- },
70496
- inverseSelected(i, idx) {
70497
- this.phoneForm.userName = i.userName;
70498
- this.accountList.forEach(item => {
70499
- if (item.userName == i.userName) {
70500
- item.checked = true;
70501
- } else {
70502
- item.checked = false;
70503
- }
70504
- });
70505
- },
70506
- inverseSelected1(i, idx) {
70507
- this.selectMobile = i.mobile;
70508
- this.phoneList.forEach(item => {
70509
- if (item.mobile == i.mobile) {
70510
- item.checked = true;
70511
- } else {
70512
- item.checked = false;
70513
- }
71115
+ // 获取外部某个字符串
71116
+ getUrlCode(name) {
71117
+ return (
71118
+ decodeURIComponent(
71119
+ (new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ''])[1].replace(/\+/g, '%20'),
71120
+ ) || null
71121
+ );
71122
+ },
71123
+ // 账号登录,手机号登录切换
71124
+ handleClick(tab) {
71125
+ this.tab = tab;
71126
+ },
71127
+ // 账号密码登录滑块验证通过事件
71128
+ success(params) {
71129
+ this.form.imgCode = params.captchaVerification;
71130
+ },
71131
+ // 用户协议勾选事件
71132
+ change(val) {
71133
+ this.checked = val;
71134
+ },
71135
+ // 中英切换
71136
+ changeLanguage() {
71137
+ this.sms_time_count = 60;
71138
+ clearInterval(this.sms_timer);
71139
+ this.sms_timer = null;
71140
+ this.loadLanguage = false;
71141
+ const currentLang = this.$i18n.locale;
71142
+ const newLang = currentLang === 'cn' ? 'en' : 'cn';
71143
+ localStorage.setItem('language', newLang);
71144
+ this.$i18n.locale = newLang;
71145
+ this.gjMsg = '+ 86';
71146
+ if (this.source == 1 || this.source == 17) {
71147
+ this.footMsg = this.i18n('Copyright© 2022 国家职业教育智慧教育平台');
71148
+ this.footMsg1 = this.i18n('京ICP备 09059518号-20 京公网安备 11010202007836号');
71149
+ } else if (this.source == 4) {
71150
+ this.footMsg = this.i18n('Copyright© 2022 湖北职业教育智慧教育平台');
71151
+ this.footMsg1 = this.i18n('京ICP备 09059518号-20 京公网安备 11010202007836号');
71152
+ } else {
71153
+ this.footMsg = this.i18n('Copyright©2022 高等教育出版社');
71154
+ this.footMsg1 = this.i18n('京公网安备 11010202007836号 京ICP备 12020869号-19');
71155
+ }
71156
+ //当前执行逻辑是为了重新初始化阿里云滑块验证, 因为切换语言会重新加载样式
71157
+ setTimeout(() => {
71158
+ this.loadLanguage = true;
71159
+ }, 200);
71160
+ },
71161
+ // 点击获取验证码显示滑块
71162
+ obtain() {
71163
+ var mobile = /^1[3456789]\d{9}$/;
71164
+ if (!mobile.test(this.phoneForm.mobile) && this.gjMsg.includes('86')) {
71165
+ this.testShow = true;
71166
+ this.test = this.i18n('手机号为空或手机号格式不正确');
71167
+ } else {
71168
+ this.status = 2;
71169
+ this.$refs.verifyComponents.show();
71170
+ }
71171
+ },
71172
+ //点击获取邮箱验证码
71173
+ emailObtain() {
71174
+ if (!this.emailForm.email) {
71175
+ return this.$message.warning(this.i18n('请输入邮箱地址'));
71176
+ }
71177
+ this.status = 3;
71178
+ this.$refs.verifyComponents.show();
71179
+ },
71180
+ //邮箱登录事件
71181
+ emailLogin() {
71182
+ this.$refs.emailForm.validate(valid => {
71183
+ if (valid) {
71184
+ if (!this.checked) {
71185
+ const h = this.$createElement;
71186
+ this.$msgbox({
71187
+ title: this.i18n('用户协议及隐私协议'),
71188
+ message: h('p', null, [
71189
+ h('span', null, this.i18n('我已阅读并同意')),
71190
+ h('span', {style: 'color: #004b90'}, this.i18n('用户服务协议') + ',' + this.i18n('隐私协议')),
71191
+ ]),
71192
+ showCancelButton: true,
71193
+ confirmButtonText: this.i18n('确定'),
71194
+ cancelButtonText: this.i18n('取消'),
71195
+ }).then(action => {
71196
+ this.$refs.agreement.checked = true;
71197
+ this.checked = true;
71198
+ this.emailLogin();
70514
71199
  });
70515
- },
70516
- kctz() {
70517
- window.open(
70518
- 'https://hephelp.udesk.cn/im_client/?web_plugin_id=93901&cur_title=%E6%99%BA%E6%85%A7%E8%81%8C%E6%95%99&src_url=https%3A%2F%2Fsso.icve.com.cn%2Fh5%2F&cur_url=https%3A%2F%2Fsso.icve.com.cn%2F&pre_url=https%3A%2F%2Fsso.icve.com.cn%2Fsso%2Fbackstage%3Fsource%3D14&robot_enable_agent=true&robot_enable_robot=true&robot_reception_strategy=all_day&robot_scene_id=3533&robot_udesk_robot_id=761&robot_show_robot_times=0',
70519
- );
70520
- },
70521
- // 职教通行判断
70522
- zjtxdl() {
70523
- if (this.source == 1) {
70524
- window.open(
70525
- 'https://auth.smartedu.cn/uias/oauth/authorize?client_id=v16wt6TMGejoFeALGzRhzAPMMjLAn1hx&grant_type=authorization_code&response_type=code&redirect_uri=https://vocational.smartedu.cn/thirdLogin.html?state=https://vocational.smartedu.cn',
70526
- );
70527
- } else if (this.source == 4) {
70528
- window.open(
70529
- 'https://auth.smartedu.cn/uias/oauth/authorize?client_id=CjuEqAyujmdYI7LDcjrTgAm0YFm6h9em&grant_type=authorization_code&response_type=code&redirect_uri=https://sso.icve.com.cn/sso/zjtxPedding',
70530
- );
70531
- } else if (this.source == 7) {
70532
- window.open(
70533
- 'https://auth.smartedu.cn/uias/oauth/authorize?client_id=JUPELHVTxjGGiUK8kZ9gxgDS1r7ZnHXW&grant_type=authorization_code&response_type=code&redirect_uri=https://vocational.beijing.smartedu.cn/icve-admin/pedding&scope=userInfo',
70534
- );
70535
- } else {
70536
- window.open(`${this.zjtxUrl}`);
70537
- }
70538
- },
70539
- //提示框关闭事件
70540
- handleClose() {
70541
- this.test = '';
70542
- this.testShow = false;
70543
- if (this.isUpdateName) {
70544
- window.location.href = this.getBusinessPlatformLoginUrl(this.editForm.token);
70545
- }
70546
- },
71200
+ return false;
71201
+ }
71202
+ this.emailLoginSuccess();
71203
+ }
71204
+ });
71205
+ },
70547
71206
 
70548
- // 获取外部某个字符串
70549
- getUrlCode(name) {
70550
- return (
70551
- decodeURIComponent(
70552
- (new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ''])[1].replace(/\+/g, '%20'),
70553
- ) || null
70554
- );
70555
- },
70556
- // 账号登录,手机号登录切换
70557
- handleClick(tab) {
70558
- this.tab = tab;
70559
- },
70560
- // 账号密码登录输入次数过去点击进行验证
70561
- clickVerify() {
70562
- this.clickVerifyShow = true;
70563
- this.$nextTick(() => {
70564
- this.$refs.clickVerify.show();
70565
- });
70566
- },
70567
- // 账号密码登录滑块验证通过事件
70568
- success(params) {
70569
- this.form.imgCode = params.captchaVerification;
70570
- },
70571
- // 手机号登录滑块验证通过事件
70572
- phoneSuccess(params) {
70573
- this.phoneForm.imgCode = params.captchaVerification;
70574
- },
70575
- // 用户协议勾选事件
70576
- change(val) {
70577
- this.checked = val;
70578
- },
70579
- // 中英切换
70580
- changeLanguage() {
71207
+ emailLoginSuccess() {
71208
+ let obj = JSON.parse(JSON.stringify(this.emailForm));
71209
+ obj.dataSource = this.source;
71210
+ emailRegister({
71211
+ ...obj,
71212
+ wxRandom: this.wxRandom,
71213
+ }).then(({data}) => {
71214
+ // console.log(res)
71215
+
71216
+ if (data.code == 500) {
71217
+ this.testShow = true;
71218
+ this.test = data.msg;
71219
+ } else {
71220
+ //邮箱首次登录完善信息
71221
+ // if (data.data.isNeedAdd) {
71222
+ // sessionStorage.setItem("information", JSON.stringify(data.data.accountList[0]));
71223
+ // this.$router.push({
71224
+ // path: '/improveInformation'
71225
+ // })
71226
+ // return false4
71227
+ // }
71228
+ userEncrypt({
71229
+ token: data.data.token,
71230
+ source: this.source,
71231
+ }).then(middle => {
71232
+ this.whiteList = middle.data.data.sources || [];
71233
+ this.middleQuery = middle.data.data.sign;
71234
+ this.middleUrl = middle.data.data.jumpUrl;
71235
+ this.test = this.i18n('登录成功');
71236
+ this.testShow = true;
71237
+ this.loginSuccess(data.data.token)
71238
+ });
71239
+ }
71240
+ });
71241
+ },
71242
+ // 邮箱登录滑块验证成功
71243
+ emailSuccess(captchaVerifyParam) {
71244
+ const obj = {
71245
+ msgSendType: 2,
71246
+ param: this.emailForm.email,
71247
+ ...captchaVerifyParam,
71248
+ };
71249
+ sendEmailMsg(obj).then(res => {
71250
+ if (res.data.code == 500) {
71251
+ return this.$message.warning(res.data.msg);
71252
+ }
71253
+ this.sms_timer = setInterval(() => {
71254
+ this.sms_time_count--;
71255
+ if (this.sms_time_count <= 0) {
70581
71256
  this.sms_time_count = 60;
70582
71257
  clearInterval(this.sms_timer);
70583
71258
  this.sms_timer = null;
70584
- this.loadLanguage = false;
70585
- const currentLang = this.$i18n.locale;
70586
- const newLang = currentLang === 'cn' ? 'en' : 'cn';
70587
- localStorage.setItem('language', newLang);
70588
- this.$i18n.locale = newLang;
70589
- this.gjMsg = '+ 86';
70590
- if (this.source == 1 || this.source == 17) {
70591
- this.footMsg = this.$t('Copyright© 2022 国家职业教育智慧教育平台');
70592
- this.footMsg1 = this.$t('京ICP备 09059518号-20 京公网安备 11010202007836号');
70593
- } else if (this.source == 4) {
70594
- this.footMsg = this.$t('Copyright© 2022 湖北职业教育智慧教育平台');
70595
- this.footMsg1 = this.$t('京ICP备 09059518号-20 京公网安备 11010202007836号');
70596
- } else {
70597
- this.footMsg = this.$t('Copyright©2022 高等教育出版社');
70598
- this.footMsg1 = this.$t('京公网安备 11010202007836号 京ICP备 12020869号-19');
70599
- }
70600
- //当前执行逻辑是为了重新初始化阿里云滑块验证, 因为切换语言会重新加载样式
70601
- setTimeout(() => {
70602
- this.loadLanguage = true;
70603
- }, 200);
70604
- },
70605
- // 点击获取验证码显示滑块
70606
- obtain() {
70607
- var mobile = /^1[3456789]\d{9}$/;
70608
- if (!mobile.test(this.phoneForm.mobile) && this.gjMsg.includes('86')) {
70609
- this.testShow = true;
70610
- this.test = this.$t('手机号为空或手机号格式不正确');
70611
- } else {
70612
- this.status = 2;
70613
- this.$refs.verifyComponents.show();
70614
- }
70615
- },
70616
- //点击获取邮箱验证码
70617
- emailObtain() {
70618
- if (!this.emailForm.email) {
70619
- return this.$message.warning(this.$t('请输入邮箱地址'));
71259
+ }
71260
+ }, 1000);
71261
+ this.emailForm.msgKey = res.data.data.msgKey;
71262
+ });
71263
+ },
71264
+ // 手机号验证码滑块验证成功
71265
+ obtainSuccess(captchaVerifyParam) {
71266
+ const obj = {
71267
+ msgSendType: 1,
71268
+ ...captchaVerifyParam,
71269
+ param: this.nationalityList.sms ? this.nationalityList.sms + '-' + this.phoneForm.mobile : '86-' + this.phoneForm.mobile,
71270
+ };
71271
+ smsLoginCaptcha(obj).then(res => {
71272
+ if (res.data.code == 500) {
71273
+ this.testShow = true;
71274
+ this.test = res.data.msg;
71275
+ } else {
71276
+ this.sms_timer = setInterval(() => {
71277
+ this.sms_time_count--;
71278
+ if (this.sms_time_count <= 0) {
71279
+ this.sms_time_count = 60;
71280
+ clearInterval(this.sms_timer);
71281
+ this.sms_timer = null;
70620
71282
  }
70621
- this.status = 3;
70622
- this.$refs.verifyComponents.show();
70623
- },
70624
- //邮箱登录事件
70625
- emailLogin() {
70626
- this.$refs.emailForm.validate(valid => {
70627
- if (valid) {
70628
- if (!this.checked) {
70629
- const h = this.$createElement;
70630
- this.$msgbox({
70631
- title: this.$t('用户协议及隐私协议'),
70632
- message: h('p', null, [
70633
- h('span', null, this.$t('我已阅读并同意')),
70634
- h('span', { style: 'color: #004b90' }, this.$t('用户服务协议') + ',' + this.$t('隐私协议')),
70635
- ]),
70636
- showCancelButton: true,
70637
- confirmButtonText: this.$t('确定'),
70638
- cancelButtonText: this.$t('取消'),
70639
- }).then(action => {
70640
- this.$refs.agreement.checked = true;
70641
- this.checked = true;
70642
- this.emailLogin();
70643
- });
70644
- return false;
70645
- }
70646
- this.emailLoginSuccess();
70647
- }
71283
+ }, 1000);
71284
+ this.phoneForm.msgKey = res.data.data.msgKey;
71285
+ }
71286
+ });
71287
+ },
71288
+ async CaptchaSuccess(captchaVerifyParam) {
71289
+ if (this.status == 1) {
71290
+ this.getUserLogin(captchaVerifyParam);
71291
+ } else if (this.status == 2) {
71292
+ await this.obtainSuccess(captchaVerifyParam);
71293
+ } else if (this.status == 3) {
71294
+ await this.emailSuccess(captchaVerifyParam);
71295
+ }
71296
+ },
71297
+ // 账号密码登录事件
71298
+ login() {
71299
+ this.$refs.form.validate(valid => {
71300
+ if (valid) {
71301
+ // 登录之间判断用户是否同意协议
71302
+ if (!this.checked) {
71303
+ const h = this.$createElement;
71304
+ this.$msgbox({
71305
+ title: this.i18n('用户协议及隐私协议'),
71306
+ message: h('p', null, [
71307
+ h('span', null, this.i18n('我已阅读并同意')),
71308
+ h('span', {style: 'color: #004b90'}, this.i18n('用户服务协议') + ',' + this.i18n('隐私协议')),
71309
+ ]),
71310
+ showCancelButton: true,
71311
+ confirmButtonText: this.i18n('确定'),
71312
+ cancelButtonText: this.i18n('取消'),
71313
+ }).then(action => {
71314
+ this.$refs.agreement.checked = true;
71315
+ this.checked = true;
71316
+ this.login();
70648
71317
  });
70649
- },
70650
-
70651
- emailLoginSuccess() {
70652
- let obj = JSON.parse(JSON.stringify(this.emailForm));
70653
- obj.dataSource = this.source;
70654
- emailRegister({
70655
- ...obj,
70656
- wxRandom: this.wxRandom,
70657
- }).then(({ data }) => {
70658
- // console.log(res)
71318
+ return false;
71319
+ }
71320
+ this.status = 1;
71321
+ this.$refs.verifyComponents.show();
71322
+ }
71323
+ });
71324
+ },
71325
+ //二码合一登录事件
71326
+ wxLoginSuccess(params) {
71327
+ if (this.bdwxShow) {
71328
+ //账号密码登录之后微信扫码登录执行逻辑
70659
71329
 
70660
- if (data.code == 500) {
70661
- this.testShow = true;
70662
- this.test = data.msg;
70663
- } else {
70664
- //邮箱首次登录完善信息
70665
- // if (data.data.isNeedAdd) {
70666
- // sessionStorage.setItem("information", JSON.stringify(data.data.accountList[0]));
70667
- // this.$router.push({
70668
- // path: '/improveInformation'
70669
- // })
70670
- // return false4
70671
- // }
70672
- userEncrypt({
70673
- token: data.data.token,
70674
- source: this.source,
70675
- }).then(middle => {
70676
- this.whiteList = middle.data.data.sources || [];
70677
- this.middleQuery = middle.data.data.sign;
70678
- this.middleUrl = middle.data.data.jumpUrl;
70679
- this.test = this.$t('登录成功');
70680
- this.testShow = true;
70681
- window.location.href = this.getBusinessPlatformLoginUrl(data.data.token);
70682
- });
70683
- }
70684
- });
70685
- },
70686
- // 邮箱登录滑块验证成功
70687
- emailSuccess(captchaVerifyParam) {
70688
- const obj = {
70689
- msgSendType: 2,
70690
- param: this.emailForm.email,
70691
- ...captchaVerifyParam,
70692
- };
70693
- sendEmailMsg(obj).then(res => {
70694
- if (res.data.code == 500) {
70695
- return this.$message.warning(res.data.msg);
70696
- }
70697
- this.sms_timer = setInterval(() => {
70698
- this.sms_time_count--;
70699
- if (this.sms_time_count <= 0) {
70700
- this.sms_time_count = 60;
70701
- clearInterval(this.sms_timer);
70702
- this.sms_timer = null;
70703
- }
70704
- }, 1000);
70705
- this.emailForm.msgKey = res.data.data.msgKey;
70706
- });
70707
- },
70708
- // 手机号验证码滑块验证成功
70709
- obtainSuccess(captchaVerifyParam) {
70710
- const obj = {
70711
- msgSendType: 1,
70712
- ...captchaVerifyParam,
70713
- param: this.nationalityList.sms ? this.nationalityList.sms + '-' + this.phoneForm.mobile : '86-' + this.phoneForm.mobile,
70714
- };
70715
- smsLoginCaptcha(obj).then(res => {
70716
- if (res.data.code == 500) {
70717
- this.testShow = true;
70718
- this.test = res.data.msg;
70719
- } else {
70720
- this.sms_timer = setInterval(() => {
70721
- this.sms_time_count--;
70722
- if (this.sms_time_count <= 0) {
70723
- this.sms_time_count = 60;
70724
- clearInterval(this.sms_timer);
70725
- this.sms_timer = null;
70726
- }
70727
- }, 1000);
70728
- this.phoneForm.msgKey = res.data.data.msgKey;
70729
- }
70730
- });
70731
- },
70732
- async CaptchaSuccess(captchaVerifyParam) {
70733
- if (this.status == 1) {
70734
- this.getUserLogin(captchaVerifyParam);
70735
- } else if (this.status == 2) {
70736
- await this.obtainSuccess(captchaVerifyParam);
70737
- } else if (this.status == 3) {
70738
- await this.emailSuccess(captchaVerifyParam);
71330
+ } else if (params.wxRandom) {
71331
+ //直接微信扫码登录执行逻辑
71332
+ this.wxRandom = params.wxRandom
71333
+ } else {
71334
+ //智慧职教+,微信扫码无需完善信息直接放行登录
71335
+ this.loginSuccess(params.token)
71336
+ }
71337
+ },
71338
+ //当前账号一年前登录并且当前账号下的手机号有多个账号触发解绑手机号确认事件
71339
+ oneYearBeforeLogin() {
71340
+ changeBindMobileV2({
71341
+ userId: this.isOneYearBeforeLoginForm.userId,
71342
+ mobile: this.isOneYearBeforeLoginForm.mobile,
71343
+ }).then(res => {
71344
+ if (res.data.code == 500) {
71345
+ return this.$message.warning(res.data.msg);
71346
+ }
71347
+ this.loginSuccess(this.tzToken)
71348
+ });
71349
+ },
71350
+ // 登录接口
71351
+ getUserLogin(captchaVerifyParam) {
71352
+ userLogin({
71353
+ ...this.form,
71354
+ webPageSource: 1,
71355
+ ...captchaVerifyParam,
71356
+ isNationalLogin: this.isSmartEduLogin,
71357
+ wxRandom: this.wxRandom,
71358
+ }).then(async ({data}) => {
71359
+ if (data.code == 500) {
71360
+ this.testShow = true;
71361
+ this.test = data.msg;
71362
+ } else {
71363
+ // 获取要跳转白名单
71364
+ await userEncrypt({
71365
+ token: data.data.token,
71366
+ source: this.source,
71367
+ }).then(middle => {
71368
+ this.whiteList = middle.data.data.sources || [];
71369
+ this.middleQuery = middle.data.data.sign;
71370
+ this.middleUrl = middle.data.data.jumpUrl;
71371
+ this.isTz2p = data.data.isClosedSchool;
71372
+ this.tzToken = data.data.token;
71373
+ //当账号一年前登录并且当前账号下的手机号有多个账号触发解绑手机号
71374
+ if (data.data.isGTOne) {
71375
+ this.userList = data.data.accountList;
71376
+ this.isOneYearBeforeLoginForm.userId = data.data.id;
71377
+ this.isOneYearBeforeLoginForm.mobile = data.data.mobile;
71378
+ this.isOneYearBeforeLogin = true;
71379
+ return false;
70739
71380
  }
70740
- },
70741
- // 账号密码登录事件
70742
- login() {
70743
- this.$refs.form.validate(valid => {
70744
- if (valid) {
70745
- // 登录之间判断用户是否同意协议
70746
- if (!this.checked) {
70747
- const h = this.$createElement;
70748
- this.$msgbox({
70749
- title: this.$t('用户协议及隐私协议'),
70750
- message: h('p', null, [
70751
- h('span', null, this.$t('我已阅读并同意')),
70752
- h('span', { style: 'color: #004b90' }, this.$t('用户服务协议') + ',' + this.$t('隐私协议')),
70753
- ]),
70754
- showCancelButton: true,
70755
- confirmButtonText: this.$t('确定'),
70756
- cancelButtonText: this.$t('取消'),
70757
- }).then(action => {
70758
- this.$refs.agreement.checked = true;
70759
- this.checked = true;
70760
- this.login();
70761
- });
70762
- return false;
70763
- }
70764
- this.status = 1;
70765
- this.$refs.verifyComponents.show();
70766
- }
70767
- });
70768
- },
70769
- //二码合一登录事件
70770
- loginSuccess(params) {
70771
- console.log(params, 'params');
70772
- if (params.wxRandom) {
70773
- //微信扫码登录判断是否需要完善信息或者是否需要绑定手机号
70774
- this.$router.push({
70775
- path: '/sso/auth',
70776
- query: {
70777
- wxRandom: params.wxRandom,
70778
- },
70779
- });
70780
- this.reload();
70781
- } else {
70782
- //智慧职教+,微信扫码无需完善信息直接放行登录
70783
- window.location.href = this.getBusinessPlatformLoginUrl(params.token);
71381
+ // 没有手机号并且不是国际教师或者国际学生登录
71382
+ if (!data.data.mobile && !data.data.gjUser) {
71383
+ this.mobileType = data.data.userType
71384
+ this.userId = data.data.id
71385
+ this.phoneBindShow = true
71386
+ return false;
70784
71387
  }
70785
- },
70786
- //获取业务平台登录网址
70787
- getBusinessPlatformLoginUrl(token) {
70788
- let url = null;
70789
- // Cookies.set('token', token);
70790
- if (this.redirect) {
70791
- // 有回调地址执行代码
70792
- if (this.whiteList.indexOf(Number(this.source)) != -1) {
70793
- url = this.middleUrl + '?redirectUri=' + this.redirect_gjs + '&sign=' + this.middleQuery;
70794
- } else if (this.isTz2p && this.redirect.includes('user.icve.com.cn')) {
70795
- url = 'https://zjy2.icve.com.cn/admin/pedding?token=' + token;
70796
- } else if (this.redirect.indexOf('?') != -1) {
70797
- url = this.redirect + '&token=' + token;
70798
- } else {
70799
- url = this.redirect + '?token=' + token;
70800
- }
70801
- } else {
70802
- // 没有回调地址去个人中心
70803
- url = '/sso/backstage';
71388
+ //判断是否为弱密码
71389
+ if (data.data.isWeakPwd) {
71390
+ this.isWeakPwd = data.data.isWeakPwd == 1
71391
+ this.editPasswordShow = true
71392
+ return false;
71393
+ }
71394
+ // 判断用户是否微信绑定,无微信绑定执行微信绑定
71395
+ if (!localStorage.getItem('wxdltkyc') && !data.data.isBindWeChat) {
71396
+ this.bdwxShow = true;
71397
+ return false;
70804
71398
  }
70805
- localStorage.removeItem('redirect');
70806
- return url;
70807
- },
70808
- //当前账号一年前登录并且当前账号下的手机号有多个账号触发解绑手机号确认事件
70809
- oneYearBeforeLogin() {
70810
- changeBindMobileV2({
70811
- userId: this.isOneYearBeforeLoginForm.userId,
70812
- mobile: this.isOneYearBeforeLoginForm.mobile,
70813
- }).then(res => {
70814
- if (res.data.code == 500) {
70815
- return this.$message.warning(res.data.msg);
70816
- }
70817
- this.getBusinessPlatformLoginUrl(this.tzToken);
70818
- });
70819
- },
70820
- // 登录接口
70821
- getUserLogin(captchaVerifyParam) {
70822
- userLogin({
70823
- ...this.form,
70824
- webPageSource: 1,
70825
- ...captchaVerifyParam,
70826
- isNationalLogin: this.isSmartEduLogin,
70827
- wxRandom: this.wxRandom,
70828
- }).then(async ({ data }) => {
70829
- if (data.code == 500) {
70830
- this.testShow = true;
70831
- this.test = data.msg;
70832
- } else {
70833
- // 获取要跳转白名单
70834
- await userEncrypt({
70835
- token: data.data.token,
70836
- source: this.source,
70837
- }).then(middle => {
70838
- this.whiteList = middle.data.data.sources || [];
70839
- this.middleQuery = middle.data.data.sign;
70840
- this.middleUrl = middle.data.data.jumpUrl;
70841
- this.isTz2p = data.data.isClosedSchool;
70842
- this.tzToken = data.data.token;
70843
- //当账号一年前登录并且当前账号下的手机号有多个账号触发解绑手机号
70844
- if (data.data.isGTOne) {
70845
- this.userList = data.data.accountList;
70846
- this.isOneYearBeforeLoginForm.userId = data.data.id;
70847
- this.isOneYearBeforeLoginForm.mobile = data.data.mobile;
70848
- this.isOneYearBeforeLogin = true;
70849
- return false;
70850
- }
70851
- // 没有手机号并且不是国际教师或者国际学生登录
70852
- if (!data.data.mobile && !data.data.gjUser) {
70853
- this.$router.push({
70854
- path: '/mobileBinding',
70855
- query: {
70856
- userType: data.data.userType,
70857
- userId: data.data.id,
70858
- redirect: this.getBusinessPlatformLoginUrl(data.data.token),
70859
- },
70860
- });
70861
- return false;
70862
- }
70863
- //判断是否为弱密码
70864
- if (data.data.isWeakPwd) {
70865
- this.$router.push({
70866
- path: '/improveInformation',
70867
- query: {
70868
- isWeakPwd: data.data.isWeakPwd ? 1 : 2,
70869
- redirect: this.getBusinessPlatformLoginUrl(data.data.token),
70870
- },
70871
- });
70872
- return false;
70873
- }
70874
- // 判断用户是否微信绑定,无微信绑定执行微信绑定
70875
- if (!localStorage.getItem('wxdltkyc') && !data.data.isBindWeChat) {
70876
- this.bdwxShow = true;
70877
- return false;
70878
- }
70879
71399
 
70880
- if (data.data.isUpdateName) {
70881
- this.test = this.$t('您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:') + data.data.userName;
70882
- this.isUpdateName = data.data.isUpdateName;
70883
- this.editForm.token = data.data.token;
70884
- this.testShow = true;
70885
- return;
70886
- }
70887
- this.test = this.$t('登录成功');
70888
- this.testShow = true;
70889
- window.location.href = this.getBusinessPlatformLoginUrl(data.data.token);
70890
- });
70891
- }
70892
- });
70893
- },
70894
- // 手机号登录
70895
- phonVerify() {
70896
- this.$refs.phoneForm.validate(valid => {
70897
- if (valid) {
70898
- // 登录之间判断用户是否同意协议
70899
- if (!this.checked) {
70900
- const h = this.$createElement;
70901
- this.$msgbox({
70902
- title: this.$t('用户协议及隐私政策'),
70903
- message: h('p', null, [
70904
- h('span', null, this.$t('已阅读并同意')),
70905
- h('span', { style: 'color: #004b90' }, this.$t('用户协议,隐私协议')),
70906
- ]),
70907
- showCancelButton: true,
70908
- confirmButtonText: this.$t('确定'),
70909
- cancelButtonText: this.$t('取消'),
70910
- }).then(action => {
70911
- this.$refs.agreement.checked = true;
70912
- this.checked = true;
70913
- this.phonVerify();
70914
- });
70915
- return false;
70916
- } else {
70917
- // this.status = 3;
70918
- // this.$refs.clickButton.click();
70919
- this.phoneLogin();
70920
- }
70921
- }
71400
+ if (data.data.isUpdateName) {
71401
+ this.test = this.i18n('您的用户名已经更改,老用户将不能登录,更改之后的用户名称为:') + data.data.userName;
71402
+ this.isUpdateName = data.data.isUpdateName;
71403
+ this.editForm.token = data.data.token;
71404
+ this.testShow = true;
71405
+ return;
71406
+ }
71407
+ this.test = this.i18n('登录成功');
71408
+ this.testShow = true;
71409
+ this.loginSuccess(data.data.token)
71410
+ });
71411
+ }
71412
+ });
71413
+ },
71414
+ // 手机号登录
71415
+ phonVerify() {
71416
+ this.$refs.phoneForm.validate(valid => {
71417
+ if (valid) {
71418
+ // 登录之间判断用户是否同意协议
71419
+ if (!this.checked) {
71420
+ const h = this.$createElement;
71421
+ this.$msgbox({
71422
+ title: this.i18n('用户协议及隐私政策'),
71423
+ message: h('p', null, [
71424
+ h('span', null, this.i18n('已阅读并同意')),
71425
+ h('span', {style: 'color: #004b90'}, this.i18n('用户协议,隐私协议')),
71426
+ ]),
71427
+ showCancelButton: true,
71428
+ confirmButtonText: this.i18n('确定'),
71429
+ cancelButtonText: this.i18n('取消'),
71430
+ }).then(action => {
71431
+ this.$refs.agreement.checked = true;
71432
+ this.checked = true;
71433
+ this.phonVerify();
70922
71434
  });
70923
- },
70924
- //手机号登录方法
70925
- phoneLogin(captchaVerifyParam) {
70926
- let obj = JSON.parse(JSON.stringify(this.phoneForm));
70927
- obj.source = this.source;
70928
- obj.mobile = this.nationalityList.sms ? this.nationalityList.sms + '-' + this.phoneForm.mobile : '86-' + this.phoneForm.mobile;
70929
- smsLogin({
70930
- ...obj,
70931
- webPageSource: 1,
70932
- wxRandom: this.wxRandom,
70933
- }).then(({ data }) => {
70934
- // console.log(res)
70935
- if (data.code == 500) {
70936
- this.testShow = true;
70937
- this.test = data.msg;
70938
- } else {
70939
- //手机号首次登录完善信息
70940
- // if (data.data.isNeedAdd) {
70941
- // sessionStorage.setItem("information", JSON.stringify(data.data.accountList[0]));
70942
- // this.$router.push({
70943
- // path: '/improveInformation'
70944
- // })
70945
- // return false
70946
- // }
70947
- userEncrypt({
70948
- token: data.data.token,
70949
- source: this.source,
70950
- }).then(middle => {
70951
- this.isTz2p = data.data.isClosedSchool;
70952
- // 判断用户是否是一个手机号只有一个账号
70953
- if (!data.data.token) {
70954
- this.accountList = data.data.accountList;
70955
- this.phoneForm.isMultipleAccount = true;
70956
- this.accountList.forEach(i => {
70957
- if (i.userType == 1) {
70958
- i.userType = '学生';
70959
- } else if (i.userType == 2) {
70960
- i.userType = '老师';
70961
- } else if (i.userType == 3) {
70962
- i.userType = '社会学习者';
70963
- } else if (i.userType == 4) {
70964
- i.userType = '企业用户';
70965
- } else if (i.userType == 5) {
70966
- i.userType = '管理员';
70967
- } else if (i.userType == 6) {
70968
- i.userType = '编辑';
70969
- } else if (i.userType == 7) {
70970
- i.userType = '访客';
70971
- }
70972
- });
70973
- this.isMerged = data.data.isMerged;
70974
- if (this.isMerged) {
70975
- this.ishbzhShow = true;
70976
- }
70977
- return;
70978
- }
70979
- this.whiteList = middle.data.data.sources || [];
70980
- this.middleQuery = middle.data.data.sign;
70981
- this.middleUrl = middle.data.data.jumpUrl;
70982
- if (!localStorage.getItem('wxdltkyc') && !data.data.isBindWeChat) {
70983
- this.tzToken = data.data.token;
70984
- this.bdwxShow = true;
70985
- return false;
70986
- }
70987
- this.tzToken = data.data.token;
70988
- this.test = this.$t('登录成功');
70989
- this.testShow = true;
70990
- window.location.href = this.getBusinessPlatformLoginUrl(data.data.token);
70991
- });
71435
+ return false;
71436
+ } else {
71437
+ // this.status = 3;
71438
+ // this.$refs.clickButton.click();
71439
+ this.phoneLogin();
71440
+ }
71441
+ }
71442
+ });
71443
+ },
71444
+ //手机号登录方法
71445
+ phoneLogin(captchaVerifyParam) {
71446
+ let obj = JSON.parse(JSON.stringify(this.phoneForm));
71447
+ obj.source = this.source;
71448
+ obj.mobile = this.nationalityList.sms ? this.nationalityList.sms + '-' + this.phoneForm.mobile : '86-' + this.phoneForm.mobile;
71449
+ smsLogin({
71450
+ ...obj,
71451
+ webPageSource: 1,
71452
+ wxRandom: this.wxRandom,
71453
+ }).then(({data}) => {
71454
+ // console.log(res)
71455
+ if (data.code == 500) {
71456
+ this.testShow = true;
71457
+ this.test = data.msg;
71458
+ } else {
71459
+ //手机号首次登录完善信息
71460
+ // if (data.data.isNeedAdd) {
71461
+ // sessionStorage.setItem("information", JSON.stringify(data.data.accountList[0]));
71462
+ // this.$router.push({
71463
+ // path: '/improveInformation'
71464
+ // })
71465
+ // return false
71466
+ // }
71467
+ userEncrypt({
71468
+ token: data.data.token,
71469
+ source: this.source,
71470
+ }).then(middle => {
71471
+ this.isTz2p = data.data.isClosedSchool;
71472
+ // 判断用户是否是一个手机号只有一个账号
71473
+ if (!data.data.token) {
71474
+ this.accountList = data.data.accountList;
71475
+ this.phoneForm.isMultipleAccount = true;
71476
+ this.accountList.forEach(i => {
71477
+ if (i.userType == 1) {
71478
+ i.userType = '学生';
71479
+ } else if (i.userType == 2) {
71480
+ i.userType = '老师';
71481
+ } else if (i.userType == 3) {
71482
+ i.userType = '社会学习者';
71483
+ } else if (i.userType == 4) {
71484
+ i.userType = '企业用户';
71485
+ } else if (i.userType == 5) {
71486
+ i.userType = '管理员';
71487
+ } else if (i.userType == 6) {
71488
+ i.userType = '编辑';
71489
+ } else if (i.userType == 7) {
71490
+ i.userType = '访客';
70992
71491
  }
70993
- });
70994
- },
70995
- bztx() {
70996
- localStorage.setItem('wxdltkyc', '不再提醒');
70997
- window.location.href = this.getBusinessPlatformLoginUrl(this.tzToken);
70998
- },
70999
- xcbd() {
71000
- window.location.href = this.getBusinessPlatformLoginUrl(this.tzToken);
71001
- },
71002
- closeBox() {
71003
- this.txyzmShow = false;
71004
- this.clickVerifyShow = false;
71005
- },
71006
- // 关闭登录弹框
71007
- closeLoginModal() {
71008
- this.loginShow = false
71009
- },
71010
- // 显示国籍选择弹框
71011
- showNationalityModal() {
71012
- this.nationalityModalShow = true;
71013
- },
71014
- // 处理国籍选择变化
71015
- handleNationalityChange(nationality) {
71016
- this.nationalityList = nationality;
71017
- this.gjMsg = nationality.code || '+ 86';
71018
-
71019
- // 根据选择的国籍更新手机号验证规则
71020
- if (nationality.sms && nationality.sms.includes('86')) {
71021
- this.isRules = true;
71022
- } else {
71023
- this.isRules = false;
71492
+ });
71493
+ this.isMerged = data.data.isMerged;
71494
+ if (this.isMerged) {
71495
+ this.ishbzhShow = true;
71496
+ }
71497
+ return;
71024
71498
  }
71499
+ this.whiteList = middle.data.data.sources || [];
71500
+ this.middleQuery = middle.data.data.sign;
71501
+ this.middleUrl = middle.data.data.jumpUrl;
71502
+ if (!localStorage.getItem('wxdltkyc') && !data.data.isBindWeChat) {
71503
+ this.tzToken = data.data.token;
71504
+ this.bdwxShow = true;
71505
+ return false;
71506
+ }
71507
+ this.tzToken = data.data.token;
71508
+ this.test = this.i18n('登录成功');
71509
+ this.testShow = true;
71510
+ this.loginSuccess(data.data.token)
71511
+ });
71512
+ }
71513
+ });
71514
+ },
71515
+ bztx() {
71516
+ localStorage.setItem('wxdltkyc', '不再提醒');
71517
+ this.loginSuccess(this.tzToken)
71518
+ },
71519
+ xcbd() {
71520
+ this.loginSuccess(this.tzToken)
71521
+ },
71522
+ closeBox() {
71523
+ this.txyzmShow = false;
71524
+ this.clickVerifyShow = false;
71525
+ },
71526
+ // 关闭登录弹框
71527
+ closeLoginModal() {
71528
+ this.loginShow = false
71529
+ },
71530
+ // 显示国籍选择弹框
71531
+ showNationalityModal() {
71532
+ this.nationalityModalShow = true;
71533
+ },
71534
+ // 处理国籍选择变化
71535
+ handleNationalityChange(nationality) {
71536
+ console.log(nationality, 'nationality');
71025
71537
 
71026
- // 保存到 sessionStorage
71027
- sessionStorage.setItem('nationalityList', JSON.stringify(nationality));
71028
-
71029
- // 关闭弹框
71030
- this.nationalityModalShow = false;
71538
+ this.nationalityList = nationality;
71539
+ this.gjMsg = '+ ' + nationality.sms || false;
71031
71540
 
71032
- // 触发事件,通知父组件
71033
- this.$emit('nationalityChange', nationality);
71034
- },
71035
- },
71036
- created() {
71037
- if (this.getUrlCode('language') == 'en') {
71038
- localStorage.setItem('language', 'en');
71039
- this.$i18n.locale = 'en';
71040
- }
71041
- this.redirect = this.getUrlCode('redirect') || localStorage.getItem('redirect');
71042
- this.source = this.getUrlCode('source') || localStorage.getItem('source');
71043
- // this.getfeaturesBySource(this.source);
71044
- this.footMsg = this.$t('Copyright©2022 高等教育出版社');
71045
- this.footMsg1 = this.$t('京公网安备 11010202007836号 京ICP备 12020869号-19');
71541
+ // 根据选择的国籍更新手机号验证规则
71542
+ if (nationality.sms && nationality.sms.includes('86')) {
71543
+ this.isRules = true;
71544
+ } else {
71545
+ this.isRules = false;
71546
+ }
71547
+ // 关闭弹框
71548
+ this.nationalityModalShow = false;
71046
71549
  },
71550
+ },
71551
+ created() {
71552
+ // this.getfeaturesBySource(this.source);
71553
+ this.footMsg = this.i18n('Copyright©2022 高等教育出版社');
71554
+ this.footMsg1 = this.i18n('京公网安备 11010202007836号 京ICP备 12020869号-19');
71555
+ },
71047
71556
  });
71048
71557
 
71049
71558
  // CONCATENATED MODULE: ./src/components/userCenterLogin.vue?vue&type=script&lang=js
71050
71559
  /* harmony default export */ var components_userCenterLoginvue_type_script_lang_js = (userCenterLoginvue_type_script_lang_js);
71051
- // EXTERNAL MODULE: ./src/components/userCenterLogin.vue?vue&type=style&index=0&id=2d601256&prod&lang=scss
71052
- var userCenterLoginvue_type_style_index_0_id_2d601256_prod_lang_scss = __webpack_require__("aaf8");
71560
+ // EXTERNAL MODULE: ./src/components/userCenterLogin.vue?vue&type=style&index=0&id=57f84286&prod&lang=scss
71561
+ var userCenterLoginvue_type_style_index_0_id_57f84286_prod_lang_scss = __webpack_require__("e58c");
71053
71562
 
71054
71563
  // CONCATENATED MODULE: ./src/components/userCenterLogin.vue
71055
71564
 
@@ -71062,8 +71571,8 @@ var userCenterLoginvue_type_style_index_0_id_2d601256_prod_lang_scss = __webpack
71062
71571
 
71063
71572
  var userCenterLogin_component = normalizeComponent(
71064
71573
  components_userCenterLoginvue_type_script_lang_js,
71065
- userCenterLoginvue_type_template_id_2d601256_render,
71066
- userCenterLoginvue_type_template_id_2d601256_staticRenderFns,
71574
+ userCenterLoginvue_type_template_id_57f84286_render,
71575
+ userCenterLoginvue_type_template_id_57f84286_staticRenderFns,
71067
71576
  false,
71068
71577
  null,
71069
71578
  null,
@@ -71075,7 +71584,6 @@ var userCenterLogin_component = normalizeComponent(
71075
71584
  // CONCATENATED MODULE: ./index.js
71076
71585
 
71077
71586
 
71078
-
71079
71587
  // 导出组件
71080
71588
 
71081
71589
 
@@ -71085,13 +71593,6 @@ var userCenterLogin_component = normalizeComponent(
71085
71593
  // 注册组件
71086
71594
  Vue.component('userCenterCompleteInformation', userCenterCompleteInformation);
71087
71595
  Vue.component('userCenterLogin', userCenterLogin);
71088
-
71089
- // 全局注册 i18n 实例
71090
- Vue.prototype.$i18n = utils_i18n;
71091
- // 如果用户没有全局安装 VueI18n,则在这里安装
71092
- if (!Vue.prototype.$t) {
71093
- Vue.use(utils_i18n);
71094
- }
71095
71596
  },
71096
71597
  });
71097
71598
 
@@ -71102,6 +71603,17 @@ var userCenterLogin_component = normalizeComponent(
71102
71603
 
71103
71604
 
71104
71605
 
71606
+ /***/ }),
71607
+
71608
+ /***/ "fbf9":
71609
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
71610
+
71611
+ "use strict";
71612
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_improveInformation_vue_vue_type_style_index_0_id_ab04775e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ecdc");
71613
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_improveInformation_vue_vue_type_style_index_0_id_ab04775e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_9_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_9_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_9_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_9_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_improveInformation_vue_vue_type_style_index_0_id_ab04775e_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
71614
+ /* unused harmony reexport * */
71615
+
71616
+
71105
71617
  /***/ })
71106
71618
 
71107
71619
  /******/ });