icve-sso 0.0.67 → 0.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/icve-sso.common.js +240 -98
- package/dist/icve-sso.common.js.map +1 -1
- package/dist/icve-sso.css +1 -1
- package/dist/icve-sso.umd.js +240 -98
- package/dist/icve-sso.umd.js.map +1 -1
- package/dist/icve-sso.umd.min.js +2 -2
- package/dist/icve-sso.umd.min.js.map +1 -1
- package/package.json +2 -2
package/dist/icve-sso.common.js
CHANGED
|
@@ -87,6 +87,13 @@ module.exports =
|
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ "0036":
|
|
91
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
92
|
+
|
|
93
|
+
// extracted by mini-css-extract-plugin
|
|
94
|
+
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
90
97
|
/***/ "014b":
|
|
91
98
|
/***/ (function(module, exports, __webpack_require__) {
|
|
92
99
|
|
|
@@ -659,17 +666,6 @@ exports.default = function (ref) {
|
|
|
659
666
|
|
|
660
667
|
;
|
|
661
668
|
|
|
662
|
-
/***/ }),
|
|
663
|
-
|
|
664
|
-
/***/ "1309":
|
|
665
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
666
|
-
|
|
667
|
-
"use strict";
|
|
668
|
-
/* 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_9793fe5a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d5ac");
|
|
669
|
-
/* 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_9793fe5a_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_9793fe5a_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
670
|
-
/* unused harmony reexport * */
|
|
671
|
-
|
|
672
|
-
|
|
673
669
|
/***/ }),
|
|
674
670
|
|
|
675
671
|
/***/ "14e9":
|
|
@@ -2708,6 +2704,17 @@ exports.uvCounters = function() {};
|
|
|
2708
2704
|
exports.features = {};
|
|
2709
2705
|
|
|
2710
2706
|
|
|
2707
|
+
/***/ }),
|
|
2708
|
+
|
|
2709
|
+
/***/ "44c3":
|
|
2710
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2711
|
+
|
|
2712
|
+
"use strict";
|
|
2713
|
+
/* 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_bb1f7276_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0036");
|
|
2714
|
+
/* 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_bb1f7276_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_bb1f7276_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
2715
|
+
/* unused harmony reexport * */
|
|
2716
|
+
|
|
2717
|
+
|
|
2711
2718
|
/***/ }),
|
|
2712
2719
|
|
|
2713
2720
|
/***/ "45f2":
|
|
@@ -56829,17 +56836,6 @@ exports.f = Object.getOwnPropertySymbols;
|
|
|
56829
56836
|
|
|
56830
56837
|
// extracted by mini-css-extract-plugin
|
|
56831
56838
|
|
|
56832
|
-
/***/ }),
|
|
56833
|
-
|
|
56834
|
-
/***/ "9ca2":
|
|
56835
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
56836
|
-
|
|
56837
|
-
"use strict";
|
|
56838
|
-
/* 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");
|
|
56839
|
-
/* 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__);
|
|
56840
|
-
/* unused harmony reexport * */
|
|
56841
|
-
|
|
56842
|
-
|
|
56843
56839
|
/***/ }),
|
|
56844
56840
|
|
|
56845
56841
|
/***/ "9d7e":
|
|
@@ -58296,6 +58292,13 @@ var isDefined = exports.isDefined = function isDefined(val) {
|
|
|
58296
58292
|
|
|
58297
58293
|
/***/ }),
|
|
58298
58294
|
|
|
58295
|
+
/***/ "abc4":
|
|
58296
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
58297
|
+
|
|
58298
|
+
// extracted by mini-css-extract-plugin
|
|
58299
|
+
|
|
58300
|
+
/***/ }),
|
|
58301
|
+
|
|
58299
58302
|
/***/ "aebd":
|
|
58300
58303
|
/***/ (function(module, exports) {
|
|
58301
58304
|
|
|
@@ -58609,6 +58612,17 @@ module.exports = __webpack_require__("d4af");
|
|
|
58609
58612
|
|
|
58610
58613
|
|
|
58611
58614
|
|
|
58615
|
+
/***/ }),
|
|
58616
|
+
|
|
58617
|
+
/***/ "c239":
|
|
58618
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
58619
|
+
|
|
58620
|
+
"use strict";
|
|
58621
|
+
/* 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_6e956288_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("abc4");
|
|
58622
|
+
/* 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_6e956288_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_6e956288_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
|
|
58623
|
+
/* unused harmony reexport * */
|
|
58624
|
+
|
|
58625
|
+
|
|
58612
58626
|
/***/ }),
|
|
58613
58627
|
|
|
58614
58628
|
/***/ "c284":
|
|
@@ -59802,13 +59816,6 @@ module.exports = g;
|
|
|
59802
59816
|
exports.f = __webpack_require__("5168");
|
|
59803
59817
|
|
|
59804
59818
|
|
|
59805
|
-
/***/ }),
|
|
59806
|
-
|
|
59807
|
-
/***/ "ccbf":
|
|
59808
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
59809
|
-
|
|
59810
|
-
// extracted by mini-css-extract-plugin
|
|
59811
|
-
|
|
59812
59819
|
/***/ }),
|
|
59813
59820
|
|
|
59814
59821
|
/***/ "cee4":
|
|
@@ -60781,13 +60788,6 @@ normalizeWheel.getEventType = function() /*string*/ {
|
|
|
60781
60788
|
module.exports = normalizeWheel;
|
|
60782
60789
|
|
|
60783
60790
|
|
|
60784
|
-
/***/ }),
|
|
60785
|
-
|
|
60786
|
-
/***/ "d5ac":
|
|
60787
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
60788
|
-
|
|
60789
|
-
// extracted by mini-css-extract-plugin
|
|
60790
|
-
|
|
60791
60791
|
/***/ }),
|
|
60792
60792
|
|
|
60793
60793
|
/***/ "d7d1":
|
|
@@ -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=
|
|
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.
|
|
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=6e956288&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.
|
|
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.
|
|
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=
|
|
66432
|
+
// CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=template&id=6e956288&scoped=true
|
|
66432
66433
|
|
|
66433
66434
|
// CONCATENATED MODULE: ./src/utils/errorCode.js
|
|
66434
66435
|
/* harmony default export */ var errorCode = ({
|
|
@@ -66465,7 +66466,7 @@ request.interceptors.request.use(
|
|
|
66465
66466
|
// config.headers['Authorization'] = 'Bearer ' + getToken() // 让每个请求携带自定义token 请根据实际情况自行修改
|
|
66466
66467
|
// }
|
|
66467
66468
|
if (sessionStorage.getItem('environment') === 'test') {
|
|
66468
|
-
// config.url = 'http://192.168.130.
|
|
66469
|
+
// config.url = 'http://192.168.130.69:9101' + config.url
|
|
66469
66470
|
config.url = 'https://testssov2.icve.com.cn/prod-api' + config.url
|
|
66470
66471
|
} else {
|
|
66471
66472
|
config.url = 'https://sso.icve.com.cn/prod-api' + config.url
|
|
@@ -66551,7 +66552,7 @@ function getInfo(token) {
|
|
|
66551
66552
|
// 多个单位+工号+姓名相同的账号处理接口
|
|
66552
66553
|
function mobileBindUser(data) {
|
|
66553
66554
|
return utils_request({
|
|
66554
|
-
url: '/v2/user/
|
|
66555
|
+
url: '/v2/user/saveUserToMerge',
|
|
66555
66556
|
method: 'post',
|
|
66556
66557
|
data
|
|
66557
66558
|
})
|
|
@@ -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=
|
|
66565
|
-
var
|
|
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=bb1f7276&scoped=true
|
|
66566
|
+
var UserSelectDialogvue_type_template_id_bb1f7276_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"},[_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":""},model:{value:(_vm.passwordFormData.password),callback:function ($$v) {_vm.$set(_vm.passwordFormData, "password", $$v)},expression:"passwordFormData.password"}})],1),_c('el-form-item',{attrs:{"prop":"rePassword"}},[_c('div',{staticClass:"password-label"},[_vm._v(" "+_vm._s(_vm.defaultLang ? '确认密码' : 'Confirm Password')+" ")]),_c('el-input',{attrs:{"type":_vm.showRePassword ? 'text' : 'password',"placeholder":_vm.defaultLang ? '请再次输入密码' : 'Please enter the password again',"show-password":""},model:{value:(_vm.passwordFormData.rePassword),callback:function ($$v) {_vm.$set(_vm.passwordFormData, "rePassword", $$v)},expression:"passwordFormData.rePassword"}})],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
|
|
66568
|
+
var UserSelectDialogvue_type_template_id_bb1f7276_scoped_true_staticRenderFns = []
|
|
66568
66569
|
|
|
66569
66570
|
|
|
66570
|
-
// CONCATENATED MODULE: ./src/components/UserSelectDialog.vue?vue&type=template&id=
|
|
66571
|
+
// CONCATENATED MODULE: ./src/components/UserSelectDialog.vue?vue&type=template&id=bb1f7276&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,54 @@ 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
|
+
showRePassword: false,
|
|
66598
|
+
passwordFormData: {
|
|
66599
|
+
password: '',
|
|
66600
|
+
rePassword: ''
|
|
66601
|
+
},
|
|
66602
|
+
passwordRules: {
|
|
66603
|
+
password: [
|
|
66604
|
+
{ required: true, message: this.defaultLang ? '请输入密码' : 'Please enter password', trigger: 'blur' },
|
|
66605
|
+
{
|
|
66606
|
+
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}$/,
|
|
66607
|
+
message: this.defaultLang ? '至少包含四类字符(大写、小写、数字、特殊字符)中的三类,长度为( 8~50 位)' : 'Must contain at least three of the following character types (uppercase, lowercase, numbers, special characters), length (8~50)',
|
|
66608
|
+
trigger: 'change'
|
|
66609
|
+
}
|
|
66610
|
+
],
|
|
66611
|
+
rePassword: [
|
|
66612
|
+
{ required: true, message: this.defaultLang ? '确认密码' : 'Confirm Password', trigger: 'blur' },
|
|
66613
|
+
{ validator: (rule, value, callback) => {
|
|
66614
|
+
if (value !== this.passwordFormData.password) {
|
|
66615
|
+
callback(new Error(this.defaultLang ? '两次输入密码不一致' : 'Passwords do not match'));
|
|
66616
|
+
} else {
|
|
66617
|
+
callback();
|
|
66618
|
+
}
|
|
66619
|
+
}, trigger: 'change' }
|
|
66620
|
+
]
|
|
66621
|
+
}
|
|
66593
66622
|
};
|
|
66594
66623
|
},
|
|
66624
|
+
computed: {
|
|
66625
|
+
selectedUser() {
|
|
66626
|
+
return this.userList[this.selectedIndex];
|
|
66627
|
+
}
|
|
66628
|
+
},
|
|
66595
66629
|
watch: {
|
|
66596
66630
|
visible(val) {
|
|
66597
66631
|
if (val) {
|
|
66598
66632
|
this.selectedIndex = 0;
|
|
66633
|
+
this.step = 1;
|
|
66634
|
+
this.password = '';
|
|
66635
|
+
}
|
|
66636
|
+
},
|
|
66637
|
+
step(newVal) {
|
|
66638
|
+
if (newVal === 2) {
|
|
66639
|
+
this.$nextTick(() => {
|
|
66640
|
+
this.$refs.passwordInput && this.$refs.passwordInput.focus();
|
|
66641
|
+
});
|
|
66599
66642
|
}
|
|
66600
66643
|
}
|
|
66601
66644
|
},
|
|
@@ -66618,19 +66661,40 @@ var UserSelectDialogvue_type_template_id_5568dfca_scoped_true_staticRenderFns =
|
|
|
66618
66661
|
handleSelect(index) {
|
|
66619
66662
|
this.selectedIndex = index;
|
|
66620
66663
|
},
|
|
66621
|
-
// 处理确认按钮点击
|
|
66664
|
+
// 处理确认按钮点击 - 进入密码验证步骤
|
|
66622
66665
|
handleConfirm() {
|
|
66623
|
-
|
|
66624
|
-
|
|
66625
|
-
|
|
66666
|
+
this.step = 2;
|
|
66667
|
+
},
|
|
66668
|
+
// 返回账号选择
|
|
66669
|
+
handleBack() {
|
|
66670
|
+
this.step = 1;
|
|
66671
|
+
this.password = '';
|
|
66672
|
+
this.passwordFormData.password = '';
|
|
66673
|
+
this.passwordFormData.rePassword = '';
|
|
66674
|
+
this.showPassword = false;
|
|
66675
|
+
this.showRePassword = false;
|
|
66676
|
+
this.$refs.passwordForm && this.$refs.passwordForm.resetFields();
|
|
66677
|
+
},
|
|
66678
|
+
// 提交密码
|
|
66679
|
+
handlePasswordSubmit() {
|
|
66680
|
+
this.$refs.passwordForm.validate((valid) => {
|
|
66681
|
+
if (valid) {
|
|
66682
|
+
const selectedUser = this.userList[this.selectedIndex];
|
|
66683
|
+
this.$emit('confirm', {
|
|
66684
|
+
...selectedUser,
|
|
66685
|
+
password: this.passwordFormData.password,
|
|
66686
|
+
rePassword: this.passwordFormData.rePassword
|
|
66687
|
+
});
|
|
66688
|
+
}
|
|
66689
|
+
});
|
|
66626
66690
|
}
|
|
66627
66691
|
}
|
|
66628
66692
|
});
|
|
66629
66693
|
|
|
66630
66694
|
// CONCATENATED MODULE: ./src/components/UserSelectDialog.vue?vue&type=script&lang=js
|
|
66631
66695
|
/* 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=
|
|
66633
|
-
var
|
|
66696
|
+
// EXTERNAL MODULE: ./src/components/UserSelectDialog.vue?vue&type=style&index=0&id=bb1f7276&prod&lang=scss&scoped=true
|
|
66697
|
+
var UserSelectDialogvue_type_style_index_0_id_bb1f7276_prod_lang_scss_scoped_true = __webpack_require__("44c3");
|
|
66634
66698
|
|
|
66635
66699
|
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
66636
66700
|
/* globals __VUE_SSR_CONTEXT__ */
|
|
@@ -66741,11 +66805,11 @@ function normalizeComponent(
|
|
|
66741
66805
|
|
|
66742
66806
|
var component = normalizeComponent(
|
|
66743
66807
|
components_UserSelectDialogvue_type_script_lang_js,
|
|
66744
|
-
|
|
66745
|
-
|
|
66808
|
+
UserSelectDialogvue_type_template_id_bb1f7276_scoped_true_render,
|
|
66809
|
+
UserSelectDialogvue_type_template_id_bb1f7276_scoped_true_staticRenderFns,
|
|
66746
66810
|
false,
|
|
66747
66811
|
null,
|
|
66748
|
-
"
|
|
66812
|
+
"bb1f7276",
|
|
66749
66813
|
null
|
|
66750
66814
|
|
|
66751
66815
|
)
|
|
@@ -66775,10 +66839,17 @@ var component = normalizeComponent(
|
|
|
66775
66839
|
customUserTypes: {
|
|
66776
66840
|
type: Array,
|
|
66777
66841
|
default: () => []
|
|
66842
|
+
},
|
|
66843
|
+
// 业务平台传递的字段配置数组
|
|
66844
|
+
// 格式: [{ userType: 1, fields: ['displayName', 'schoolName', 'employeeNumber'] }, ...]
|
|
66845
|
+
fieldConfig: {
|
|
66846
|
+
type: Array,
|
|
66847
|
+
default: () => []
|
|
66778
66848
|
}
|
|
66779
66849
|
},
|
|
66780
66850
|
data() {
|
|
66781
66851
|
return {
|
|
66852
|
+
showUnitDialog: false,
|
|
66782
66853
|
ssoToken: js_cookie_default.a.get('token') || this.token,
|
|
66783
66854
|
show: true,
|
|
66784
66855
|
defaultLang: this.getBrowserLanguage(),
|
|
@@ -66866,6 +66937,64 @@ var component = normalizeComponent(
|
|
|
66866
66937
|
// 用户类型选项,支持自定义传递
|
|
66867
66938
|
userTypeOptions() {
|
|
66868
66939
|
return this.customUserTypes.length > 0 ? this.customUserTypes : this.defaultUserTypes;
|
|
66940
|
+
},
|
|
66941
|
+
// 判断是否使用业务平台字段配置
|
|
66942
|
+
hasFieldConfig() {
|
|
66943
|
+
return this.fieldConfig && this.fieldConfig.length > 0;
|
|
66944
|
+
},
|
|
66945
|
+
// 获取当前用户类型的字段配置
|
|
66946
|
+
currentFieldConfig() {
|
|
66947
|
+
if (!this.hasFieldConfig || !this.form.userType) return null;
|
|
66948
|
+
return this.fieldConfig.find(item => item.userType == this.form.userType);
|
|
66949
|
+
},
|
|
66950
|
+
// 根据配置决定是否显示国籍字段
|
|
66951
|
+
showNationalityField() {
|
|
66952
|
+
// 国际用户(5,6)默认显示国籍
|
|
66953
|
+
const isInternational = this.form.userType == 5 || this.form.userType == 6;
|
|
66954
|
+
if (!this.hasFieldConfig) {
|
|
66955
|
+
return isInternational;
|
|
66956
|
+
}
|
|
66957
|
+
// 如果有字段配置,检查是否包含 nationality
|
|
66958
|
+
if (this.currentFieldConfig && this.currentFieldConfig.fields) {
|
|
66959
|
+
return this.currentFieldConfig.fields.includes('nationality');
|
|
66960
|
+
}
|
|
66961
|
+
return isInternational;
|
|
66962
|
+
},
|
|
66963
|
+
// 根据配置决定是否显示单位名称字段
|
|
66964
|
+
showSchoolField() {
|
|
66965
|
+
// 社会学习者(3)默认不显示单位
|
|
66966
|
+
const defaultShow = this.form.userType != 3;
|
|
66967
|
+
if (!this.hasFieldConfig) {
|
|
66968
|
+
return defaultShow;
|
|
66969
|
+
}
|
|
66970
|
+
// 如果有字段配置,检查是否包含 schoolName
|
|
66971
|
+
if (this.currentFieldConfig && this.currentFieldConfig.fields) {
|
|
66972
|
+
return this.currentFieldConfig.fields.includes('schoolName');
|
|
66973
|
+
}
|
|
66974
|
+
return defaultShow;
|
|
66975
|
+
},
|
|
66976
|
+
// 根据配置决定是否显示工号/学号字段
|
|
66977
|
+
showEmployeeNumberField() {
|
|
66978
|
+
// 社会学习者(3)和企业用户(4)默认不显示工号
|
|
66979
|
+
const defaultShow = this.form.userType != 3 && this.form.userType != 4;
|
|
66980
|
+
if (!this.hasFieldConfig) {
|
|
66981
|
+
return defaultShow;
|
|
66982
|
+
}
|
|
66983
|
+
// 如果有字段配置,检查是否包含 employeeNumber
|
|
66984
|
+
if (this.currentFieldConfig && this.currentFieldConfig.fields) {
|
|
66985
|
+
return this.currentFieldConfig.fields.includes('employeeNumber');
|
|
66986
|
+
}
|
|
66987
|
+
return defaultShow;
|
|
66988
|
+
},
|
|
66989
|
+
// 判断是否显示真实姓名字段(默认始终显示)
|
|
66990
|
+
showDisplayNameField() {
|
|
66991
|
+
if (!this.hasFieldConfig) {
|
|
66992
|
+
return true;
|
|
66993
|
+
}
|
|
66994
|
+
if (this.currentFieldConfig && this.currentFieldConfig.fields) {
|
|
66995
|
+
return this.currentFieldConfig.fields.includes('displayName');
|
|
66996
|
+
}
|
|
66997
|
+
return true;
|
|
66869
66998
|
}
|
|
66870
66999
|
},
|
|
66871
67000
|
methods: {
|
|
@@ -66936,7 +67065,7 @@ var component = normalizeComponent(
|
|
|
66936
67065
|
selectUserType(value) {
|
|
66937
67066
|
// this.$refs.form.resetFields();
|
|
66938
67067
|
// this.form.schoolId = '';
|
|
66939
|
-
|
|
67068
|
+
this.getUserInfo(value);
|
|
66940
67069
|
// 使用 Vue.set 确保响应式更新
|
|
66941
67070
|
// 清除表单验证状态,避免切换用户类型时已校验字段显示为未校验状态
|
|
66942
67071
|
},
|
|
@@ -66966,7 +67095,7 @@ var component = normalizeComponent(
|
|
|
66966
67095
|
this.form.userType = 5;
|
|
66967
67096
|
} else if (this.form.userType == 2 && this.form.en != null && this.form.en != 'China') {
|
|
66968
67097
|
this.form.userType = 6;
|
|
66969
|
-
} else if(value) {
|
|
67098
|
+
} else if (value) {
|
|
66970
67099
|
this.form.userType = value;
|
|
66971
67100
|
this.form.isSaveSchool = false;
|
|
66972
67101
|
if (this.$refs.form) {
|
|
@@ -67009,43 +67138,54 @@ var component = normalizeComponent(
|
|
|
67009
67138
|
this.gjList = data.data;
|
|
67010
67139
|
});
|
|
67011
67140
|
},
|
|
67141
|
+
closeUnitDialog() {
|
|
67142
|
+
this.showUnitDialog = false;
|
|
67143
|
+
},
|
|
67144
|
+
confirmUnitDialog() {
|
|
67145
|
+
this.showUnitDialog = false;
|
|
67146
|
+
if (this.form.password !== this.form.rePassword) {
|
|
67147
|
+
return this.$message.error(this.defaultLang ? '确认密码,保持一致' : 'Confirm password and keep it consistent');
|
|
67148
|
+
}
|
|
67149
|
+
if (this.form.displayName) {
|
|
67150
|
+
this.form.displayName = this.form.displayName.trimStart().trimEnd();
|
|
67151
|
+
}
|
|
67152
|
+
if (this.form.employeeNumber) {
|
|
67153
|
+
this.form.employeeNumber = this.form.employeeNumber.trimStart().trimEnd();
|
|
67154
|
+
}
|
|
67155
|
+
this.form.isVerifyData = !!this.form.isEmptyPwd;
|
|
67156
|
+
this.form.token = js_cookie_default.a.get('token') || this.ssoToken;
|
|
67157
|
+
let obj = JSON.parse(JSON.stringify(this.form));
|
|
67158
|
+
obj.userType = obj.userType == 5 ? 1 : obj.userType == 6 ? 2 : obj.userType;
|
|
67159
|
+
saveUserInfo(obj).then((res) => {
|
|
67160
|
+
if (res.data.code == 500) {
|
|
67161
|
+
if (res.data.msg.includes('您填写的信息已被注册')) {
|
|
67162
|
+
this.nativeDialogMessage = res.data.msg;
|
|
67163
|
+
this.showNativeDialog = true;
|
|
67164
|
+
} else {
|
|
67165
|
+
this.$message.warning(res.data.msg);
|
|
67166
|
+
}
|
|
67167
|
+
} else if (res.data.data.accountList && res.data.data.accountList.length > 0) {
|
|
67168
|
+
this.duplicateUserList = res.data.data.accountList;
|
|
67169
|
+
this.userForm = res.data.data;
|
|
67170
|
+
this.showUserSelectDialog = true;
|
|
67171
|
+
} else {
|
|
67172
|
+
js_cookie_default.a.set('token', res.data.data.token, {
|
|
67173
|
+
domain: '.icve.com.cn',
|
|
67174
|
+
path: '/',
|
|
67175
|
+
expires: 7
|
|
67176
|
+
});
|
|
67177
|
+
this.$emit('completeInformation', res.data.data.token);
|
|
67178
|
+
}
|
|
67179
|
+
});
|
|
67180
|
+
},
|
|
67012
67181
|
submit() {
|
|
67013
67182
|
this.$refs.form.validate((valid) => {
|
|
67014
67183
|
if (valid) {
|
|
67015
|
-
if (this.
|
|
67016
|
-
|
|
67017
|
-
}
|
|
67018
|
-
|
|
67019
|
-
this.form.displayName = this.form.displayName.trimStart().trimEnd();
|
|
67020
|
-
}
|
|
67021
|
-
if (this.form.employeeNumber) {
|
|
67022
|
-
this.form.employeeNumber = this.form.employeeNumber.trimStart().trimEnd();
|
|
67184
|
+
if (!this.disableFields.schoolId && this.form.schoolId) {
|
|
67185
|
+
this.showUnitDialog = true;
|
|
67186
|
+
} else {
|
|
67187
|
+
this.confirmUnitDialog();
|
|
67023
67188
|
}
|
|
67024
|
-
this.form.isVerifyData = !!this.form.isEmptyPwd;
|
|
67025
|
-
this.form.token = js_cookie_default.a.get('token') || this.ssoToken;
|
|
67026
|
-
let obj = JSON.parse(JSON.stringify(this.form));
|
|
67027
|
-
obj.userType = obj.userType == 5 ? 1 : obj.userType == 6 ? 2 : obj.userType;
|
|
67028
|
-
saveUserInfo(obj).then((res) => {
|
|
67029
|
-
if (res.data.code == 500) {
|
|
67030
|
-
if (res.data.msg.includes('您填写的信息已被注册')) {
|
|
67031
|
-
this.nativeDialogMessage = res.data.msg;
|
|
67032
|
-
this.showNativeDialog = true;
|
|
67033
|
-
} else {
|
|
67034
|
-
this.$message.warning(res.data.msg);
|
|
67035
|
-
}
|
|
67036
|
-
} else if (res.data.data.accountList && res.data.data.accountList.length > 0) {
|
|
67037
|
-
this.duplicateUserList = res.data.data.accountList;
|
|
67038
|
-
this.userForm = res.data.data;
|
|
67039
|
-
this.showUserSelectDialog = true;
|
|
67040
|
-
} else {
|
|
67041
|
-
js_cookie_default.a.set('token', res.data.data.token, {
|
|
67042
|
-
domain: '.icve.com.cn',
|
|
67043
|
-
path: '/',
|
|
67044
|
-
expires: 7
|
|
67045
|
-
});
|
|
67046
|
-
this.$emit('completeInformation', res.data.data.token);
|
|
67047
|
-
}
|
|
67048
|
-
});
|
|
67049
67189
|
}
|
|
67050
67190
|
});
|
|
67051
67191
|
},
|
|
@@ -67053,15 +67193,17 @@ var component = normalizeComponent(
|
|
|
67053
67193
|
handleUserSelectConfirm(selectedUser) {
|
|
67054
67194
|
let obj = {
|
|
67055
67195
|
id: this.userForm.id,
|
|
67056
|
-
random: this.userForm.random,
|
|
67057
67196
|
token: this.ssoToken,
|
|
67058
67197
|
newId: selectedUser.id,
|
|
67059
|
-
|
|
67198
|
+
password: selectedUser.password,
|
|
67199
|
+
rePassword: selectedUser.rePassword,
|
|
67060
67200
|
};
|
|
67061
67201
|
mobileBindUser(obj).then(res => {
|
|
67202
|
+
console.log(res, 'res');
|
|
67062
67203
|
if (res.data.code == 500) {
|
|
67063
67204
|
this.$message.warning(res.data.msg);
|
|
67064
67205
|
} else {
|
|
67206
|
+
this.$refs.userSelectDialog.closeDialog();
|
|
67065
67207
|
js_cookie_default.a.set('token', res.data.data, {
|
|
67066
67208
|
domain: '.icve.com.cn',
|
|
67067
67209
|
path: '/',
|
|
@@ -67098,8 +67240,8 @@ var component = normalizeComponent(
|
|
|
67098
67240
|
|
|
67099
67241
|
// CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=script&lang=js
|
|
67100
67242
|
/* harmony default export */ var components_userCenterCompleteInformationvue_type_script_lang_js = (userCenterCompleteInformationvue_type_script_lang_js);
|
|
67101
|
-
// EXTERNAL MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=style&index=0&id=
|
|
67102
|
-
var
|
|
67243
|
+
// EXTERNAL MODULE: ./src/components/userCenterCompleteInformation.vue?vue&type=style&index=0&id=6e956288&prod&lang=scss&scoped=true
|
|
67244
|
+
var userCenterCompleteInformationvue_type_style_index_0_id_6e956288_prod_lang_scss_scoped_true = __webpack_require__("c239");
|
|
67103
67245
|
|
|
67104
67246
|
// CONCATENATED MODULE: ./src/components/userCenterCompleteInformation.vue
|
|
67105
67247
|
|
|
@@ -67116,7 +67258,7 @@ var userCenterCompleteInformation_component = normalizeComponent(
|
|
|
67116
67258
|
staticRenderFns,
|
|
67117
67259
|
false,
|
|
67118
67260
|
null,
|
|
67119
|
-
"
|
|
67261
|
+
"6e956288",
|
|
67120
67262
|
null
|
|
67121
67263
|
|
|
67122
67264
|
)
|