icve-sso 0.0.66 → 0.0.68

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.
@@ -1139,6 +1139,13 @@ module.exports = { "default": __webpack_require__("d8d6"), __esModule: true };
1139
1139
 
1140
1140
  /***/ }),
1141
1141
 
1142
+ /***/ "1972":
1143
+ /***/ (function(module, exports, __webpack_require__) {
1144
+
1145
+ // extracted by mini-css-extract-plugin
1146
+
1147
+ /***/ }),
1148
+
1142
1149
  /***/ "1bc3":
1143
1150
  /***/ (function(module, exports, __webpack_require__) {
1144
1151
 
@@ -1934,6 +1941,13 @@ exports.default = {
1934
1941
 
1935
1942
  /***/ }),
1936
1943
 
1944
+ /***/ "2cbf":
1945
+ /***/ (function(module, exports, __webpack_require__) {
1946
+
1947
+ // extracted by mini-css-extract-plugin
1948
+
1949
+ /***/ }),
1950
+
1937
1951
  /***/ "2d83":
1938
1952
  /***/ (function(module, exports, __webpack_require__) {
1939
1953
 
@@ -2656,6 +2670,17 @@ function isVNode(node) {
2656
2670
  return node !== null && (typeof node === 'undefined' ? 'undefined' : _typeof(node)) === 'object' && (0, _util.hasOwn)(node, 'componentOptions');
2657
2671
  };
2658
2672
 
2673
+ /***/ }),
2674
+
2675
+ /***/ "4235":
2676
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2677
+
2678
+ "use strict";
2679
+ /* 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_userCenterCompleteInformation_vue_vue_type_style_index_0_id_4cf5898c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2cbf");
2680
+ /* 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_userCenterCompleteInformation_vue_vue_type_style_index_0_id_4cf5898c_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_userCenterCompleteInformation_vue_vue_type_style_index_0_id_4cf5898c_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
2681
+ /* unused harmony reexport * */
2682
+
2683
+
2659
2684
  /***/ }),
2660
2685
 
2661
2686
  /***/ "4362":
@@ -54511,30 +54536,12 @@ exports.default = aria.Dialog;
54511
54536
 
54512
54537
  /***/ }),
54513
54538
 
54514
- /***/ "7565":
54515
- /***/ (function(module, exports, __webpack_require__) {
54516
-
54517
- // extracted by mini-css-extract-plugin
54518
-
54519
- /***/ }),
54520
-
54521
54539
  /***/ "765d":
54522
54540
  /***/ (function(module, exports, __webpack_require__) {
54523
54541
 
54524
54542
  __webpack_require__("6718")('observable');
54525
54543
 
54526
54544
 
54527
- /***/ }),
54528
-
54529
- /***/ "7696":
54530
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
54531
-
54532
- "use strict";
54533
- /* 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_userCenterCompleteInformation_vue_vue_type_style_index_0_id_5c2a7d58_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7565");
54534
- /* 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_userCenterCompleteInformation_vue_vue_type_style_index_0_id_5c2a7d58_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_userCenterCompleteInformation_vue_vue_type_style_index_0_id_5c2a7d58_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
54535
- /* unused harmony reexport * */
54536
-
54537
-
54538
54545
  /***/ }),
54539
54546
 
54540
54547
  /***/ "794b":
@@ -56836,17 +56843,6 @@ exports.f = Object.getOwnPropertySymbols;
56836
56843
 
56837
56844
  // extracted by mini-css-extract-plugin
56838
56845
 
56839
- /***/ }),
56840
-
56841
- /***/ "9ca2":
56842
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
56843
-
56844
- "use strict";
56845
- /* 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_UserSelectDialog_vue_vue_type_style_index_0_id_5568dfca_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ccbf");
56846
- /* 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_UserSelectDialog_vue_vue_type_style_index_0_id_5568dfca_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_UserSelectDialog_vue_vue_type_style_index_0_id_5568dfca_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
56847
- /* unused harmony reexport * */
56848
-
56849
-
56850
56846
  /***/ }),
56851
56847
 
56852
56848
  /***/ "9d7e":
@@ -59809,13 +59805,6 @@ module.exports = g;
59809
59805
  exports.f = __webpack_require__("5168");
59810
59806
 
59811
59807
 
59812
- /***/ }),
59813
-
59814
- /***/ "ccbf":
59815
- /***/ (function(module, exports, __webpack_require__) {
59816
-
59817
- // extracted by mini-css-extract-plugin
59818
-
59819
59808
  /***/ }),
59820
59809
 
59821
59810
  /***/ "cee4":
@@ -64208,6 +64197,17 @@ exports.default = {
64208
64197
  }
64209
64198
  };
64210
64199
 
64200
+ /***/ }),
64201
+
64202
+ /***/ "eae9":
64203
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
64204
+
64205
+ "use strict";
64206
+ /* 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_UserSelectDialog_vue_vue_type_style_index_0_id_211786d2_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1972");
64207
+ /* 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_UserSelectDialog_vue_vue_type_style_index_0_id_211786d2_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_UserSelectDialog_vue_vue_type_style_index_0_id_211786d2_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
64208
+ /* unused harmony reexport * */
64209
+
64210
+
64211
64211
  /***/ }),
64212
64212
 
64213
64213
  /***/ "eb67":
@@ -66406,29 +66406,30 @@ if (typeof window !== 'undefined') {
66406
66406
  // Indicate to webpack that this file can be concatenated
66407
66407
  /* harmony default export */ var setPublicPath = (null);
66408
66408
 
66409
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9ef036b0-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/userCenterCompleteInformation.vue?vue&type=template&id=5c2a7d58&scoped=true
66410
- var 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 userCenterCompleteInformation"},[_c('div',{staticClass:"custom-dialog-header"},[_c('div',{staticClass:"welcome"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/376/268/5E143223864C97747297B5A672C8298D.png"}}),_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '欢迎加入' : 'Welcome to join'))])]),_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.defaultLang ? '完善您的资料' : 'Complete your profile'))]),_c('div',{staticClass:"info"},[_vm._v(_vm._s(_vm.defaultLang ? '只需要几秒钟,让我们更好地了解您' : 'Just a few seconds, let\'s get to know you better')+" ")])]),_c('div',{staticClass:"custom-dialog-body"},[_c('el-form',{ref:"form",attrs:{"model":_vm.form}},[_c('div',{staticClass:"main-content"},[_c('div',{staticClass:"left-panel"},[_c('div',{staticClass:"user-type-container"},[_c('div',{staticClass:"user-type-title"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/102/552/1998A14BF624267FC579722490BB442F.png"}}),_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '请选择您的身份' : 'Please Select Your Identity'))])]),_c('div',{staticClass:"user-type-list"},_vm._l((_vm.userTypeOptions),function(userType){return _c('div',{key:userType.value,class:['user-type-item', { 'active': _vm.form.userType === userType.value, 'disabled': _vm.disableFields.userType }],on:{"click":function($event){!_vm.disableFields.userType && _vm.selectUserType(userType.value)}}},[_c('img',{staticClass:"user-type-icon",attrs:{"alt":_vm.defaultLang ? userType.labelCn : userType.labelEn,"src":_vm.getUserTypeIcon(userType.value, _vm.form.userType === userType.value)}}),_c('span',{staticClass:"user-type-text"},[_vm._v(_vm._s(_vm.defaultLang ? userType.labelCn : userType.labelEn))]),(_vm.form.userType === userType.value)?_c('div',{staticClass:"check-icon"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/ai/54/1003/0DBFAC11CE332C494A6144A1152157F4.png"}})]):_vm._e()])}),0),_c('el-form-item',{staticStyle:{"display":"none"},attrs:{"rules":[{ required: true, message: _vm.defaultLang ? '请选择身份类型' : 'Please Select User Type', trigger: 'change' }],"prop":"userType"}},[_c('el-input',{model:{value:(_vm.form.userType),callback:function ($$v) {_vm.$set(_vm.form, "userType", $$v)},expression:"form.userType"}})],1)],1)]),(_vm.form.userType)?_c('div',{staticClass:"right-panel"},[(_vm.form.userType == 6 || _vm.form.userType == 5)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.reservedField2 || _vm.focusedFields.reservedField2 }},[(_vm.form.reservedField2 || _vm.focusedFields.reservedField2)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(" "+_vm._s(_vm.defaultLang ? '国籍' : 'Country')+" ")]),_c('el-form-item',{attrs:{"rules":[
66409
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9ef036b0-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/userCenterCompleteInformation.vue?vue&type=template&id=4cf5898c&scoped=true
66410
+ var 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 userCenterCompleteInformation"},[_c('div',{staticClass:"custom-dialog-header"},[_c('div',{staticClass:"welcome"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/376/268/5E143223864C97747297B5A672C8298D.png"}}),_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '欢迎加入' : 'Welcome to join'))])]),_c('h3',{staticClass:"custom-dialog-title"},[_vm._v(_vm._s(_vm.defaultLang ? '完善您的资料' : 'Complete your profile'))]),_c('div',{staticClass:"info"},[_vm._v(_vm._s(_vm.defaultLang ? '只需要几秒钟,让我们更好地了解您' : 'Just a few seconds, let\'s get to know you better')+" ")])]),_c('div',{staticClass:"custom-dialog-body"},[_c('el-form',{ref:"form",attrs:{"model":_vm.form}},[_c('div',{staticClass:"main-content"},[_c('div',{staticClass:"left-panel"},[_c('div',{staticClass:"user-type-container"},[_c('div',{staticClass:"user-type-title"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/102/552/1998A14BF624267FC579722490BB442F.png"}}),_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '请选择您的身份' : 'Please Select Your Identity'))])]),_c('div',{staticClass:"user-type-list"},_vm._l((_vm.userTypeOptions),function(userType){return _c('div',{key:userType.value,class:['user-type-item', { 'active': _vm.form.userType === userType.value, 'disabled': _vm.disableFields.userType }],on:{"click":function($event){!_vm.disableFields.userType && _vm.selectUserType(userType.value)}}},[_c('img',{staticClass:"user-type-icon",attrs:{"alt":_vm.defaultLang ? userType.labelCn : userType.labelEn,"src":_vm.getUserTypeIcon(userType.value, _vm.form.userType === userType.value)}}),_c('span',{staticClass:"user-type-text"},[_vm._v(_vm._s(_vm.defaultLang ? userType.labelCn : userType.labelEn))]),(_vm.form.userType === userType.value)?_c('div',{staticClass:"check-icon"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/ai/54/1003/0DBFAC11CE332C494A6144A1152157F4.png"}})]):_vm._e()])}),0),_c('el-form-item',{staticStyle:{"display":"none"},attrs:{"rules":[{ required: true, message: _vm.defaultLang ? '请选择身份类型' : 'Please Select User Type', trigger: 'change' }],"prop":"userType"}},[_c('el-input',{model:{value:(_vm.form.userType),callback:function ($$v) {_vm.$set(_vm.form, "userType", $$v)},expression:"form.userType"}})],1)],1)]),(_vm.form.userType)?_c('div',{staticClass:"right-panel"},[(_vm.showNationalityField)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.reservedField2 || _vm.focusedFields.reservedField2 }},[(_vm.form.reservedField2 || _vm.focusedFields.reservedField2)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(" "+_vm._s(_vm.defaultLang ? '国籍' : 'Country')+" ")]),_c('el-form-item',{attrs:{"rules":[
66411
66411
  {
66412
66412
  required: true,
66413
66413
  message: _vm.defaultLang ? '国籍不能为空' : 'Nationality cannot be left blank',
66414
66414
  trigger: 'change',
66415
66415
  },
66416
- ],"prop":"reservedField2"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"disabled":_vm.disableFields.reservedField2,"loading":_vm.loading,"clearable":"","filterable":"","placeholder":"","remote":"","reserve-keyword":""},on:{"focus":function($event){_vm.focusedFields.reservedField2 = true}},model:{value:(_vm.form.reservedField2),callback:function ($$v) {_vm.$set(_vm.form, "reservedField2", $$v)},expression:"form.reservedField2"}},_vm._l((_vm.gjList),function(item,index){return _c('el-option',{key:`gj-${item.sms}-${index}`,attrs:{"label":_vm.defaultLang ? item.name : item.country,"value":item.id + '-' + item.name},on:{"change":function($event){_vm.focusedFields.reservedField2 = !!_vm.form.reservedField2}}})}),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.form.schoolId || _vm.focusedFields.schoolId)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(_vm.defaultLang ? '单位名称' : 'Unit Name'))]),_c('el-form-item',{attrs:{"rules":[
66416
+ ],"prop":"reservedField2"}},[_c('el-select',{staticStyle:{"width":"100%"},attrs:{"disabled":_vm.disableFields.reservedField2,"loading":_vm.loading,"clearable":"","filterable":"","placeholder":"","remote":"","reserve-keyword":""},on:{"focus":function($event){_vm.focusedFields.reservedField2 = true}},model:{value:(_vm.form.reservedField2),callback:function ($$v) {_vm.$set(_vm.form, "reservedField2", $$v)},expression:"form.reservedField2"}},_vm._l((_vm.gjList),function(item,index){return _c('el-option',{key:`gj-${item.sms}-${index}`,attrs:{"label":_vm.defaultLang ? item.name : item.country,"value":item.id + '-' + item.name},on:{"change":function($event){_vm.focusedFields.reservedField2 = !!_vm.form.reservedField2}}})}),1)],1)],1):_vm._e(),(_vm.showSchoolField)?_c('div',{staticClass:"input-field"},[_c('label',{class:{ active: _vm.form.schoolId || _vm.focusedFields.schoolId }},[(_vm.form.schoolId || _vm.focusedFields.schoolId)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(_vm.defaultLang ? '单位名称' : 'Unit Name')+" "),(_vm.form.schoolId || _vm.focusedFields.schoolId)?_c('span',{staticClass:"school-notice-text"},[_vm._v("("+_vm._s(_vm.defaultLang ? '单位信息不可修改,请谨慎填写' : 'Unit information cannot be modified, please fill in carefully')+")")]):_vm._e()]),_c('el-form-item',{attrs:{"rules":[
66417
66417
  {
66418
66418
  required: true,
66419
66419
  message: _vm.defaultLang ? '单位名称不能为空' : 'Unit name cannot be empty',
66420
66420
  trigger: 'change',
66421
66421
  },
66422
- ],"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:{"focus":_vm.unitFocus},model:{value:(_vm.form.schoolName),callback:function ($$v) {_vm.$set(_vm.form, "schoolName", $$v)},expression:"form.schoolName"}},_vm._l((_vm.list),function(item,index){return _c('el-option',{key:`school-${item.schoolId}-${index}`,attrs:{"label":item.schoolName,"value":item.schoolName},nativeOn:{"click":function($event){return _vm.handleSchoolInput(item)}}})}),1)],1)],1):_vm._e(),_c('div',{staticClass:"input-field input-displayName"},[_c('label',{class:{ active: _vm.form.displayName || _vm.focusedFields.displayName }},[(_vm.form.displayName || _vm.focusedFields.displayName)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(_vm.defaultLang ? '真实姓名' : 'Real Name'))]),_c('el-form-item',{attrs:{"rules":_vm.disableFields.displayName ? [{ required: true, message: _vm.defaultLang ? '真实姓名不能为空' : 'Real name cannot be empty', trigger: 'blur' }]
66422
+ ],"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:{"focus":_vm.unitFocus},model:{value:(_vm.form.schoolName),callback:function ($$v) {_vm.$set(_vm.form, "schoolName", $$v)},expression:"form.schoolName"}},_vm._l((_vm.list),function(item,index){return _c('el-option',{key:`school-${item.schoolId}-${index}`,attrs:{"label":item.schoolName,"value":item.schoolName},nativeOn:{"click":function($event){return _vm.handleSchoolInput(item)}}})}),1)],1)],1):_vm._e(),(_vm.showDisplayNameField)?_c('div',{staticClass:"input-field input-displayName"},[_c('label',{class:{ active: _vm.form.displayName || _vm.focusedFields.displayName }},[(_vm.form.displayName || _vm.focusedFields.displayName)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(_vm.defaultLang ? '真实姓名' : 'Real Name'))]),_c('el-form-item',{attrs:{"rules":_vm.disableFields.displayName ? [{ required: true, message: _vm.defaultLang ? '真实姓名不能为空' : 'Real name cannot be empty', trigger: 'blur' }]
66423
66423
  : [
66424
66424
  { required: true, message: _vm.defaultLang ? '真实姓名不能为空' : 'Real name cannot be empty', trigger: 'blur' },
66425
66425
  { pattern: /^[\u4e00-\u9fa5a-zA-Z][\u4e00-\u9fa5a-zA-Z\s.・'-]{1,49}$/, message: _vm.defaultLang ? '首字符为中文 / 字母,可含中文 / 字母 / 空格 /. -・\',总长度 2-50 字' : 'The first character is Chinese/letter, which can contain Chinese/letter/space/ -The total length is 2-50 words', trigger: 'change' }
66426
- ],"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.form.employeeNumber || _vm.focusedFields.employeeNumber)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(_vm.defaultLang ? '工号/学号' : 'Employee ID/Student ID'))]),_c('el-form-item',{attrs:{"rules":[{ required: true, message: _vm.defaultLang ? '工号/学号不能为空' : 'Employee/student ID cannot be empty', trigger: 'blur' }],"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()]):_c('div',{staticClass:"empty"},[_c('div',{staticClass:"empty-icon"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/ai/945/353/EC45878B905D0F3B3783A3644FCF3FC8.png"}})]),_c('div',{staticClass:"empty-text"},[_vm._v(_vm._s(_vm.defaultLang ? '请先选择您的身份' : 'Please choose your identity first'))])])])])],1),_c('div',{staticClass:"custom-dialog-footer"},[_c('div',{staticClass:"icve-sso-button",class:{ 'disabled': !_vm.form.userType },on:{"click":_vm.submit}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '提交' : 'Submit')+" ")])])]),_c('user-select-dialog',{ref:"userSelectDialog",attrs:{"defaultLang":_vm.defaultLang,"user-list":_vm.duplicateUserList,"visible":_vm.showUserSelectDialog},on:{"update:visible":function($event){_vm.showUserSelectDialog=$event},"cancel":_vm.handleUserSelectCancel,"confirm":_vm.handleUserSelectConfirm}}),(_vm.showNativeDialog)?_c('div',{staticClass:"native-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.closeNativeDialog.apply(null, arguments)}}},[_c('div',{staticClass:"native-dialog"},[_c('div',{staticClass:"native-dialog-header"},[_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '提示' : 'Notice'))]),_c('i',{staticClass:"el-icon-close",on:{"click":_vm.closeNativeDialog}})]),_c('div',{staticClass:"native-dialog-body"},[_c('p',[_vm._v(_vm._s(_vm.nativeDialogMessage))])]),_c('div',{staticClass:"native-dialog-footer"},[_c('button',{staticClass:"native-btn native-btn-cancel",on:{"click":_vm.closeNativeDialog}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '重新填写' : 'refill')+" ")]),_c('button',{staticClass:"native-btn native-btn-confirm",on:{"click":_vm.confirmNativeDialog}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '重新登录' : 'Re-login')+" ")])])])]):_vm._e()],1):_vm._e()
66426
+ ],"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._e(),(_vm.showEmployeeNumberField)?_c('div',{staticClass:"input-field input-employeeNumber"},[_c('label',{class:{ active: _vm.form.employeeNumber || _vm.focusedFields.employeeNumber }},[(_vm.form.employeeNumber || _vm.focusedFields.employeeNumber)?_c('span',{staticClass:"required-star"},[_vm._v("*")]):_vm._e(),_vm._v(_vm._s(_vm.defaultLang ? '工号/学号' : 'Employee ID/Student ID'))]),_c('el-form-item',{attrs:{"rules":[{ required: true, message: _vm.defaultLang ? '工号/学号不能为空' : 'Employee/student ID cannot be empty', trigger: 'blur' }],"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()]):_c('div',{staticClass:"empty"},[_c('div',{staticClass:"empty-icon"},[_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/ai/945/353/EC45878B905D0F3B3783A3644FCF3FC8.png"}})]),_c('div',{staticClass:"empty-text"},[_vm._v(_vm._s(_vm.defaultLang ? '请先选择您的身份' : 'Please choose your identity first'))])])])])],1),_c('div',{staticClass:"custom-dialog-footer"},[_c('div',{staticClass:"icve-sso-button",class:{ 'disabled': !_vm.form.userType },on:{"click":_vm.submit}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '提交' : 'Submit')+" ")])])]),_c('user-select-dialog',{ref:"userSelectDialog",attrs:{"defaultLang":_vm.defaultLang,"user-list":_vm.duplicateUserList,"visible":_vm.showUserSelectDialog},on:{"update:visible":function($event){_vm.showUserSelectDialog=$event},"cancel":_vm.handleUserSelectCancel,"confirm":_vm.handleUserSelectConfirm}}),(_vm.showNativeDialog)?_c('div',{staticClass:"native-dialog-overlay",on:{"click":function($event){if($event.target !== $event.currentTarget)return null;return _vm.closeNativeDialog.apply(null, arguments)}}},[_c('div',{staticClass:"native-dialog"},[_c('div',{staticClass:"native-dialog-header"},[_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '提示' : 'Notice'))]),_c('i',{staticClass:"el-icon-close",on:{"click":_vm.closeNativeDialog}})]),_c('div',{staticClass:"native-dialog-body"},[_c('p',[_vm._v(_vm._s(_vm.nativeDialogMessage))])]),_c('div',{staticClass:"native-dialog-footer"},[_c('button',{staticClass:"native-btn native-btn-cancel",on:{"click":_vm.closeNativeDialog}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '重新填写' : 'refill')+" ")]),_c('button',{staticClass:"native-btn native-btn-confirm",on:{"click":_vm.confirmNativeDialog}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '重新登录' : 'Re-login')+" ")])])])]):_vm._e(),(_vm.showUnitDialog)?_c('div',{staticClass:"native-dialog-overlay"},[_c('div',{staticClass:"native-dialog"},[_c('div',{staticClass:"native-dialog-header"},[_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '提示' : 'Notice'))]),_c('i',{staticClass:"el-icon-close",on:{"click":_vm.closeUnitDialog}})]),_c('div',{staticClass:"native-dialog-body"},[_c('div',{staticClass:"confirm-info-line"},[_c('i',{staticClass:"el-icon-office-building"}),_c('div',{staticClass:"info-content"},[_c('span',{staticClass:"info-label"},[_vm._v(_vm._s(_vm.defaultLang ? '单位名称' : 'Unit Name'))]),_c('span',{staticClass:"highlight-school-name"},[_vm._v(_vm._s(_vm.form.schoolName))])])]),_c('div',{staticClass:"warning-box"},[_vm._m(0),_c('div',{staticClass:"warning-content"},[_c('div',{staticClass:"warning-title"},[_vm._v(_vm._s(_vm.defaultLang ? '单位信息' : 'Unit Information'))]),_c('div',{staticClass:"warning-text"},[_vm._v(_vm._s(_vm.defaultLang ? '单位信息一经提交,系统将永久锁定,无法修改' : 'Unit information cannot be modified once submitted, system will permanently lock the unit')+" ")])])]),_c('div',{staticClass:"confirm-question-line"},[_c('i',{staticClass:"el-icon-question"}),_c('span',[_vm._v(_vm._s(_vm.defaultLang ? '是否确认提交以上信息?' : 'Are you sure to submit the above information?'))])])]),_c('div',{staticClass:"native-dialog-footer"},[_c('button',{staticClass:"native-btn native-btn-cancel",on:{"click":_vm.closeUnitDialog}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '取消' : 'Cancel')+" ")]),_c('button',{staticClass:"native-btn native-btn-confirm",on:{"click":_vm.confirmUnitDialog}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '确认' : 'Confirm')+" ")])])])]):_vm._e()],1):_vm._e()
66427
66427
  }
66428
- var staticRenderFns = []
66428
+ var staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"warning-icon"},[_c('i',{staticClass:"el-icon-warning"})])
66429
+ }]
66429
66430
 
66430
66431
 
66431
- // CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=template&id=5c2a7d58&scoped=true
66432
+ // CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=template&id=4cf5898c&scoped=true
66432
66433
 
66433
66434
  // CONCATENATED MODULE: ./src/utils/errorCode.js
66434
66435
  /* harmony default export */ var errorCode = ({
@@ -66561,13 +66562,13 @@ function mobileBindUser(data) {
66561
66562
  var js_cookie = __webpack_require__("852e");
66562
66563
  var js_cookie_default = /*#__PURE__*/__webpack_require__.n(js_cookie);
66563
66564
 
66564
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9ef036b0-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/UserSelectDialog.vue?vue&type=template&id=5568dfca&scoped=true
66565
- var UserSelectDialogvue_type_template_id_5568dfca_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade"}},[(_vm.visible)?_c('div',{staticClass:"select-account-modal",on:{"click":_vm.handleMaskClick}},[_c('transition',{attrs:{"name":"scale"}},[_c('div',{staticClass:"modal-content",on:{"click":function($event){$event.stopPropagation();}}},[_c('div',{staticClass:"modal-header"},[_c('h3',{staticClass:"modal-title"},[_vm._v(_vm._s(_vm.defaultLang ? '检测到您存在工号/学号与姓名完全一致的多个账号,请选择其中一个作为主账号进行登录' :'Multiple accounts with identical employee/student IDs and names have been detected. Please select one as the primary account for login'))])]),_c('div',{staticClass:"account-list"},_vm._l((_vm.userList),function(account,index){return _c('div',{key:index,class:['account-item', { active: _vm.selectedIndex === index }],on:{"click":function($event){return _vm.handleSelect(index)}}},[_c('div',{staticClass:"account-info"},[_c('div',{staticClass:"account-number"},[_vm._v(_vm._s(account.userName))]),_c('div',{staticClass:"account-detail"},[_c('span',{staticClass:"user-type"},[_vm._v(" "+_vm._s(_vm.defaultLang ? '用户名称' : 'Username')+":"+_vm._s(account.displayName || '--'))]),_c('span',{staticClass:"login-time"},[_vm._v(" "+_vm._s(_vm.defaultLang ? '最后登录时间' : 'last login time')+":"+_vm._s(account.dateLastVisit || account.registerTime || '--'))])])]),_c('div',{staticClass:"account-check"},[(_vm.selectedIndex === index)?_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/529/7/84701EC8AB3ACC3B14316B42442B5963.png"}}):_vm._e()])])}),0),_c('div',{staticClass:"modal-footer"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.handleCancel}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '取消' : 'Cancel')+" ")]),_c('button',{staticClass:"confirm-btn",on:{"click":_vm.handleConfirm}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '提交' : 'submit')+" ")])])])])],1):_vm._e()])
66565
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9ef036b0-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/UserSelectDialog.vue?vue&type=template&id=211786d2&scoped=true
66566
+ var UserSelectDialogvue_type_template_id_211786d2_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('transition',{attrs:{"name":"fade"}},[(_vm.visible)?_c('div',{staticClass:"select-account-modal",on:{"click":_vm.handleMaskClick}},[_c('transition',{attrs:{"name":"scale"}},[_c('div',{staticClass:"modal-content",on:{"click":function($event){$event.stopPropagation();}}},[(_vm.step === 1)?[_c('div',{staticClass:"modal-header"},[_c('h3',{staticClass:"modal-title"},[_vm._v(_vm._s(_vm.defaultLang ? '检测到您存在工号/学号与姓名完全一致的多个账号,请选择其中一个作为主账号进行登录' :'Multiple accounts with identical employee/student IDs and names have been detected. Please select one as the primary account for login'))])]),_c('div',{staticClass:"account-list"},_vm._l((_vm.userList),function(account,index){return _c('div',{key:index,class:['account-item', { active: _vm.selectedIndex === index }],on:{"click":function($event){return _vm.handleSelect(index)}}},[_c('div',{staticClass:"account-info"},[_c('div',{staticClass:"account-number"},[_vm._v(_vm._s(account.userName))]),_c('div',{staticClass:"account-detail"},[_c('span',{staticClass:"user-type"},[_vm._v(" "+_vm._s(_vm.defaultLang ? '用户名称' : 'Username')+":"+_vm._s(account.displayName || '--'))]),_c('span',{staticClass:"login-time"},[_vm._v(" "+_vm._s(_vm.defaultLang ? '最后登录时间' : 'last login time')+":"+_vm._s(account.dateLastVisit || account.registerTime || '--'))])])]),_c('div',{staticClass:"account-check"},[(_vm.selectedIndex === index)?_c('img',{attrs:{"alt":"","src":"https://file.icve.com.cn/rc/529/7/84701EC8AB3ACC3B14316B42442B5963.png"}}):_vm._e()])])}),0),_c('div',{staticClass:"modal-footer"},[_c('button',{staticClass:"cancel-btn",on:{"click":_vm.handleCancel}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '取消' : 'Cancel')+" ")]),_c('button',{staticClass:"confirm-btn",on:{"click":_vm.handleConfirm}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '提交' : 'submit')+" ")])])]:[_c('div',{staticClass:"password-verify-header"},[_c('button',{staticClass:"back-btn",on:{"click":_vm.handleBack}},[_c('i',{staticClass:"el-icon-arrow-left"}),_vm._v(" "+_vm._s(_vm.defaultLang ? '返回' : 'Back')+" ")])]),_c('div',{staticClass:"password-verify-content"},[_c('div',{staticClass:"selected-user-info"},[_c('div',{staticClass:"user-avatar"},[_c('i',{staticClass:"el-icon-user"})]),_c('div',{staticClass:"user-name"},[_vm._v(_vm._s(_vm.selectedUser && _vm.selectedUser.displayName || '--'))]),_c('div',{staticClass:"user-account"},[_vm._v(_vm._s(_vm.selectedUser && _vm.selectedUser.userName || '--'))])]),_c('el-form',{ref:"passwordForm",staticClass:"password-form",attrs:{"model":_vm.passwordFormData,"rules":_vm.passwordRules}},[_c('el-form-item',{attrs:{"prop":"password"}},[_c('div',{staticClass:"password-label"},[_vm._v(" "+_vm._s(_vm.defaultLang ? '请输入当前账号密码' : 'Please enter your password to verify')+" ")]),_c('el-input',{ref:"passwordInput",attrs:{"type":_vm.showPassword ? 'text' : 'password',"placeholder":_vm.defaultLang ? '请输入密码' : 'Enter password',"show-password":""},nativeOn:{"keyup":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter"))return null;return _vm.handlePasswordSubmit.apply(null, arguments)}},model:{value:(_vm.passwordFormData.password),callback:function ($$v) {_vm.$set(_vm.passwordFormData, "password", $$v)},expression:"passwordFormData.password"}})],1)],1)],1),_c('div',{staticClass:"modal-footer"},[_c('button',{staticClass:"confirm-btn submit-password-btn",on:{"click":_vm.handlePasswordSubmit}},[_vm._v(" "+_vm._s(_vm.defaultLang ? '确认' : 'Confirm')+" ")])])]],2)])],1):_vm._e()])
66566
66567
  }
66567
- var UserSelectDialogvue_type_template_id_5568dfca_scoped_true_staticRenderFns = []
66568
+ var UserSelectDialogvue_type_template_id_211786d2_scoped_true_staticRenderFns = []
66568
66569
 
66569
66570
 
66570
- // CONCATENATED MODULE: ./src/components/UserSelectDialog.vue?vue&type=template&id=5568dfca&scoped=true
66571
+ // CONCATENATED MODULE: ./src/components/UserSelectDialog.vue?vue&type=template&id=211786d2&scoped=true
66571
66572
 
66572
66573
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/UserSelectDialog.vue?vue&type=script&lang=js
66573
66574
 
@@ -66590,12 +66591,42 @@ var UserSelectDialogvue_type_template_id_5568dfca_scoped_true_staticRenderFns =
66590
66591
  data() {
66591
66592
  return {
66592
66593
  selectedIndex: 0,
66594
+ step: 1, // 1: 账号选择, 2: 密码验证
66595
+ password: '',
66596
+ showPassword: false,
66597
+ passwordFormData: {
66598
+ password: ''
66599
+ },
66600
+ passwordRules: {
66601
+ password: [
66602
+ { required: true, message: '请输入密码', trigger: 'blur' },
66603
+ {
66604
+ pattern:/^(?:(?=.*[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}$/,
66605
+ message: this.defaultLang ? '至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)' : 'Must contain at least three of the following character types (uppercase, lowercase, numbers, special characters), length (8~50)',
66606
+ trigger: 'change'
66607
+ }
66608
+ ]
66609
+ }
66593
66610
  };
66594
66611
  },
66612
+ computed: {
66613
+ selectedUser() {
66614
+ return this.userList[this.selectedIndex];
66615
+ }
66616
+ },
66595
66617
  watch: {
66596
66618
  visible(val) {
66597
66619
  if (val) {
66598
66620
  this.selectedIndex = 0;
66621
+ this.step = 1;
66622
+ this.password = '';
66623
+ }
66624
+ },
66625
+ step(newVal) {
66626
+ if (newVal === 2) {
66627
+ this.$nextTick(() => {
66628
+ this.$refs.passwordInput && this.$refs.passwordInput.focus();
66629
+ });
66599
66630
  }
66600
66631
  }
66601
66632
  },
@@ -66618,19 +66649,38 @@ var UserSelectDialogvue_type_template_id_5568dfca_scoped_true_staticRenderFns =
66618
66649
  handleSelect(index) {
66619
66650
  this.selectedIndex = index;
66620
66651
  },
66621
- // 处理确认按钮点击
66652
+ // 处理确认按钮点击 - 进入密码验证步骤
66622
66653
  handleConfirm() {
66623
- const selectedUser = this.userList[this.selectedIndex];
66624
- this.$emit('confirm', selectedUser);
66625
- this.closeDialog();
66654
+ this.step = 2;
66655
+ },
66656
+ // 返回账号选择
66657
+ handleBack() {
66658
+ this.step = 1;
66659
+ this.password = '';
66660
+ this.passwordFormData.password = '';
66661
+ this.showPassword = false;
66662
+ this.$refs.passwordForm && this.$refs.passwordForm.resetFields();
66663
+ },
66664
+ // 提交密码
66665
+ handlePasswordSubmit() {
66666
+ this.$refs.passwordForm.validate((valid) => {
66667
+ if (valid) {
66668
+ const selectedUser = this.userList[this.selectedIndex];
66669
+ this.$emit('confirm', {
66670
+ ...selectedUser,
66671
+ password: this.passwordFormData.password
66672
+ });
66673
+ this.closeDialog();
66674
+ }
66675
+ });
66626
66676
  }
66627
66677
  }
66628
66678
  });
66629
66679
 
66630
66680
  // CONCATENATED MODULE: ./src/components/UserSelectDialog.vue?vue&type=script&lang=js
66631
66681
  /* harmony default export */ var components_UserSelectDialogvue_type_script_lang_js = (UserSelectDialogvue_type_script_lang_js);
66632
- // EXTERNAL MODULE: ./src/components/UserSelectDialog.vue?vue&type=style&index=0&id=5568dfca&prod&lang=scss&scoped=true
66633
- var UserSelectDialogvue_type_style_index_0_id_5568dfca_prod_lang_scss_scoped_true = __webpack_require__("9ca2");
66682
+ // EXTERNAL MODULE: ./src/components/UserSelectDialog.vue?vue&type=style&index=0&id=211786d2&prod&lang=scss&scoped=true
66683
+ var UserSelectDialogvue_type_style_index_0_id_211786d2_prod_lang_scss_scoped_true = __webpack_require__("eae9");
66634
66684
 
66635
66685
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
66636
66686
  /* globals __VUE_SSR_CONTEXT__ */
@@ -66741,11 +66791,11 @@ function normalizeComponent(
66741
66791
 
66742
66792
  var component = normalizeComponent(
66743
66793
  components_UserSelectDialogvue_type_script_lang_js,
66744
- UserSelectDialogvue_type_template_id_5568dfca_scoped_true_render,
66745
- UserSelectDialogvue_type_template_id_5568dfca_scoped_true_staticRenderFns,
66794
+ UserSelectDialogvue_type_template_id_211786d2_scoped_true_render,
66795
+ UserSelectDialogvue_type_template_id_211786d2_scoped_true_staticRenderFns,
66746
66796
  false,
66747
66797
  null,
66748
- "5568dfca",
66798
+ "211786d2",
66749
66799
  null
66750
66800
 
66751
66801
  )
@@ -66775,10 +66825,17 @@ var component = normalizeComponent(
66775
66825
  customUserTypes: {
66776
66826
  type: Array,
66777
66827
  default: () => []
66828
+ },
66829
+ // 业务平台传递的字段配置数组
66830
+ // 格式: [{ userType: 1, fields: ['displayName', 'schoolName', 'employeeNumber'] }, ...]
66831
+ fieldConfig: {
66832
+ type: Array,
66833
+ default: () => []
66778
66834
  }
66779
66835
  },
66780
66836
  data() {
66781
66837
  return {
66838
+ showUnitDialog: false,
66782
66839
  ssoToken: js_cookie_default.a.get('token') || this.token,
66783
66840
  show: true,
66784
66841
  defaultLang: this.getBrowserLanguage(),
@@ -66813,12 +66870,12 @@ var component = normalizeComponent(
66813
66870
  middleUrl: null,
66814
66871
  // 默认用户类型选项
66815
66872
  defaultUserTypes: [
66816
- { value: 1, labelCn: '学生', labelEn: 'Student' },
66817
- { value: 2, labelCn: '老师', labelEn: 'Teacher' },
66818
- { value: 3, labelCn: '社会学习者', labelEn: 'Social Learner' },
66819
- { value: 4, labelCn: '企业用户', labelEn: 'Enterprise User' },
66820
- { value: 6, labelCn: '国际教师', labelEn: 'International Teacher' },
66821
- { value: 5, labelCn: '国际学习者', labelEn: 'International Learner' }
66873
+ {value: 1, labelCn: '学生', labelEn: 'Student'},
66874
+ {value: 2, labelCn: '老师', labelEn: 'Teacher'},
66875
+ {value: 3, labelCn: '社会学习者', labelEn: 'Social Learner'},
66876
+ {value: 4, labelCn: '企业用户', labelEn: 'Enterprise User'},
66877
+ {value: 6, labelCn: '国际教师', labelEn: 'International Teacher'},
66878
+ {value: 5, labelCn: '国际学习者', labelEn: 'International Learner'}
66822
66879
  ],
66823
66880
  // 添加用于跟踪输入框焦点状态的属性
66824
66881
  focusedFields: {
@@ -66866,6 +66923,64 @@ var component = normalizeComponent(
66866
66923
  // 用户类型选项,支持自定义传递
66867
66924
  userTypeOptions() {
66868
66925
  return this.customUserTypes.length > 0 ? this.customUserTypes : this.defaultUserTypes;
66926
+ },
66927
+ // 判断是否使用业务平台字段配置
66928
+ hasFieldConfig() {
66929
+ return this.fieldConfig && this.fieldConfig.length > 0;
66930
+ },
66931
+ // 获取当前用户类型的字段配置
66932
+ currentFieldConfig() {
66933
+ if (!this.hasFieldConfig || !this.form.userType) return null;
66934
+ return this.fieldConfig.find(item => item.userType == this.form.userType);
66935
+ },
66936
+ // 根据配置决定是否显示国籍字段
66937
+ showNationalityField() {
66938
+ // 国际用户(5,6)默认显示国籍
66939
+ const isInternational = this.form.userType == 5 || this.form.userType == 6;
66940
+ if (!this.hasFieldConfig) {
66941
+ return isInternational;
66942
+ }
66943
+ // 如果有字段配置,检查是否包含 nationality
66944
+ if (this.currentFieldConfig && this.currentFieldConfig.fields) {
66945
+ return this.currentFieldConfig.fields.includes('nationality');
66946
+ }
66947
+ return isInternational;
66948
+ },
66949
+ // 根据配置决定是否显示单位名称字段
66950
+ showSchoolField() {
66951
+ // 社会学习者(3)默认不显示单位
66952
+ const defaultShow = this.form.userType != 3;
66953
+ if (!this.hasFieldConfig) {
66954
+ return defaultShow;
66955
+ }
66956
+ // 如果有字段配置,检查是否包含 schoolName
66957
+ if (this.currentFieldConfig && this.currentFieldConfig.fields) {
66958
+ return this.currentFieldConfig.fields.includes('schoolName');
66959
+ }
66960
+ return defaultShow;
66961
+ },
66962
+ // 根据配置决定是否显示工号/学号字段
66963
+ showEmployeeNumberField() {
66964
+ // 社会学习者(3)和企业用户(4)默认不显示工号
66965
+ const defaultShow = this.form.userType != 3 && this.form.userType != 4;
66966
+ if (!this.hasFieldConfig) {
66967
+ return defaultShow;
66968
+ }
66969
+ // 如果有字段配置,检查是否包含 employeeNumber
66970
+ if (this.currentFieldConfig && this.currentFieldConfig.fields) {
66971
+ return this.currentFieldConfig.fields.includes('employeeNumber');
66972
+ }
66973
+ return defaultShow;
66974
+ },
66975
+ // 判断是否显示真实姓名字段(默认始终显示)
66976
+ showDisplayNameField() {
66977
+ if (!this.hasFieldConfig) {
66978
+ return true;
66979
+ }
66980
+ if (this.currentFieldConfig && this.currentFieldConfig.fields) {
66981
+ return this.currentFieldConfig.fields.includes('displayName');
66982
+ }
66983
+ return true;
66869
66984
  }
66870
66985
  },
66871
66986
  methods: {
@@ -66914,8 +67029,8 @@ var component = normalizeComponent(
66914
67029
 
66915
67030
  // 检查是否为中文语言
66916
67031
  const isChineseLang = browserLang.toLowerCase().includes('zh') ||
66917
- browserLang.toLowerCase().includes('cn') ||
66918
- browserLang.toLowerCase().startsWith('zh-');
67032
+ browserLang.toLowerCase().includes('cn') ||
67033
+ browserLang.toLowerCase().startsWith('zh-');
66919
67034
 
66920
67035
  return isChineseLang;
66921
67036
  },
@@ -66934,16 +67049,11 @@ var component = normalizeComponent(
66934
67049
  },
66935
67050
  // 选择用户类型
66936
67051
  selectUserType(value) {
66937
- this.$refs.form.resetFields();
66938
- this.form.schoolId = '';
67052
+ // this.$refs.form.resetFields();
67053
+ // this.form.schoolId = '';
67054
+ this.getUserInfo(value);
66939
67055
  // 使用 Vue.set 确保响应式更新
66940
- this.$set(this.form, 'userType', value);
66941
67056
  // 清除表单验证状态,避免切换用户类型时已校验字段显示为未校验状态
66942
- this.$nextTick(() => {
66943
- if (this.$refs.form) {
66944
- this.$refs.form.clearValidate();
66945
- }
66946
- });
66947
67057
  },
66948
67058
  handleSchoolInput(val) {
66949
67059
  this.focusedFields.schoolId = !!this.form.schoolId;
@@ -66955,9 +67065,9 @@ var component = normalizeComponent(
66955
67065
  this.list = [];
66956
67066
  },
66957
67067
  //获取用户信息
66958
- getUserInfo() {
67068
+ getUserInfo(value) {
66959
67069
  // console.log(this.ssoToken, 'this.ssoToken');
66960
- getInfo(js_cookie_default.a.get('token') || this.ssoToken).then(({ data }) => {
67070
+ getInfo(js_cookie_default.a.get('token') || this.ssoToken).then(({data}) => {
66961
67071
  this.form = data.data;
66962
67072
  this.disableFields.userName = !!this.form.userName;
66963
67073
  this.disableFields.userType = !!this.form.userType;
@@ -66971,6 +67081,12 @@ var component = normalizeComponent(
66971
67081
  this.form.userType = 5;
66972
67082
  } else if (this.form.userType == 2 && this.form.en != null && this.form.en != 'China') {
66973
67083
  this.form.userType = 6;
67084
+ } else if (value) {
67085
+ this.form.userType = value;
67086
+ this.form.isSaveSchool = false;
67087
+ if (this.$refs.form) {
67088
+ this.$refs.form.clearValidate();
67089
+ }
66974
67090
  }
66975
67091
  // else if (!this.form.userType && this.userTypeOptions.length > 0) {
66976
67092
  // //用户类型为空时默认选中第一个
@@ -66984,7 +67100,7 @@ var component = normalizeComponent(
66984
67100
  },
66985
67101
  getSchoolList() {
66986
67102
  this.queryParams.userType = this.form.userType === 5 ? 1 : this.form.userType === 6 ? 2 : this.form.userType;
66987
- getDw(this.queryParams).then(({ data }) => {
67103
+ getDw(this.queryParams).then(({data}) => {
66988
67104
  this.loading = false;
66989
67105
  this.list = data.data.data;
66990
67106
  });
@@ -67004,47 +67120,58 @@ var component = normalizeComponent(
67004
67120
  },
67005
67121
  //获取国籍数据
67006
67122
  getNationList() {
67007
- gjList().then(({ data }) => {
67123
+ gjList().then(({data}) => {
67008
67124
  this.gjList = data.data;
67009
67125
  });
67010
67126
  },
67127
+ closeUnitDialog() {
67128
+ this.showUnitDialog = false;
67129
+ },
67130
+ confirmUnitDialog() {
67131
+ this.showUnitDialog = false;
67132
+ if (this.form.password !== this.form.rePassword) {
67133
+ return this.$message.error(this.defaultLang ? '确认密码,保持一致' : 'Confirm password and keep it consistent');
67134
+ }
67135
+ if (this.form.displayName) {
67136
+ this.form.displayName = this.form.displayName.trimStart().trimEnd();
67137
+ }
67138
+ if (this.form.employeeNumber) {
67139
+ this.form.employeeNumber = this.form.employeeNumber.trimStart().trimEnd();
67140
+ }
67141
+ this.form.isVerifyData = !!this.form.isEmptyPwd;
67142
+ this.form.token = js_cookie_default.a.get('token') || this.ssoToken;
67143
+ let obj = JSON.parse(JSON.stringify(this.form));
67144
+ obj.userType = obj.userType == 5 ? 1 : obj.userType == 6 ? 2 : obj.userType;
67145
+ saveUserInfo(obj).then((res) => {
67146
+ if (res.data.code == 500) {
67147
+ if (res.data.msg.includes('您填写的信息已被注册')) {
67148
+ this.nativeDialogMessage = res.data.msg;
67149
+ this.showNativeDialog = true;
67150
+ } else {
67151
+ this.$message.warning(res.data.msg);
67152
+ }
67153
+ } else if (res.data.data.accountList && res.data.data.accountList.length > 0) {
67154
+ this.duplicateUserList = res.data.data.accountList;
67155
+ this.userForm = res.data.data;
67156
+ this.showUserSelectDialog = true;
67157
+ } else {
67158
+ js_cookie_default.a.set('token', res.data.data.token, {
67159
+ domain: '.icve.com.cn',
67160
+ path: '/',
67161
+ expires: 7
67162
+ });
67163
+ this.$emit('completeInformation', res.data.data.token);
67164
+ }
67165
+ });
67166
+ },
67011
67167
  submit() {
67012
67168
  this.$refs.form.validate((valid) => {
67013
67169
  if (valid) {
67014
- if (this.form.password !== this.form.rePassword) {
67015
- return this.$message.error(this.defaultLang ? '确认密码,保持一致' : 'Confirm password and keep it consistent');
67016
- }
67017
- if (this.form.displayName) {
67018
- this.form.displayName = this.form.displayName.trimStart().trimEnd();
67019
- }
67020
- if (this.form.employeeNumber) {
67021
- this.form.employeeNumber = this.form.employeeNumber.trimStart().trimEnd();
67170
+ if (!this.disableFields.schoolId && this.form.schoolId) {
67171
+ this.showUnitDialog = true;
67172
+ } else {
67173
+ this.confirmUnitDialog();
67022
67174
  }
67023
- this.form.isVerifyData = !!this.form.isEmptyPwd;
67024
- this.form.token = js_cookie_default.a.get('token') || this.ssoToken;
67025
- let obj = JSON.parse(JSON.stringify(this.form));
67026
- obj.userType = obj.userType == 5 ? 1 : obj.userType == 6 ? 2 : obj.userType;
67027
- saveUserInfo(obj).then((res) => {
67028
- if (res.data.code == 500) {
67029
- if (res.data.msg.includes('您填写的信息已被注册')) {
67030
- this.nativeDialogMessage = res.data.msg
67031
- this.showNativeDialog = true
67032
- } else {
67033
- this.$message.warning(res.data.msg);
67034
- }
67035
- } else if (res.data.data.accountList && res.data.data.accountList.length > 0) {
67036
- this.duplicateUserList = res.data.data.accountList;
67037
- this.userForm = res.data.data;
67038
- this.showUserSelectDialog = true;
67039
- } else {
67040
- js_cookie_default.a.set('token', res.data.data.token, {
67041
- domain: '.icve.com.cn',
67042
- path: '/',
67043
- expires: 7
67044
- });
67045
- this.$emit('completeInformation', res.data.data.token);
67046
- }
67047
- });
67048
67175
  }
67049
67176
  });
67050
67177
  },
@@ -67077,7 +67204,7 @@ var component = normalizeComponent(
67077
67204
  },
67078
67205
  // 重新填写原生信息提示弹框
67079
67206
  closeNativeDialog() {
67080
- this.getUserInfo()
67207
+ this.getUserInfo();
67081
67208
  this.showNativeDialog = false;
67082
67209
  },
67083
67210
  // 重新登录原生信息提示弹框
@@ -67097,8 +67224,8 @@ var component = normalizeComponent(
67097
67224
 
67098
67225
  // CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=script&lang=js
67099
67226
  /* harmony default export */ var components_userCenterCompleteInformationvue_type_script_lang_js = (userCenterCompleteInformationvue_type_script_lang_js);
67100
- // EXTERNAL MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=style&index=0&id=5c2a7d58&prod&lang=scss&scoped=true
67101
- var userCenterCompleteInformationvue_type_style_index_0_id_5c2a7d58_prod_lang_scss_scoped_true = __webpack_require__("7696");
67227
+ // EXTERNAL MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=style&index=0&id=4cf5898c&prod&lang=scss&scoped=true
67228
+ var userCenterCompleteInformationvue_type_style_index_0_id_4cf5898c_prod_lang_scss_scoped_true = __webpack_require__("4235");
67102
67229
 
67103
67230
  // CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue
67104
67231
 
@@ -67115,7 +67242,7 @@ var userCenterCompleteInformation_component = normalizeComponent(
67115
67242
  staticRenderFns,
67116
67243
  false,
67117
67244
  null,
67118
- "5c2a7d58",
67245
+ "4cf5898c",
67119
67246
  null
67120
67247
 
67121
67248
  )