5项信息调整
Showing
75 changed files
with
90 additions
and
36 deletions
| ... | @@ -2,6 +2,7 @@ NODE_ENV = 'development' | ... | @@ -2,6 +2,7 @@ NODE_ENV = 'development' |
| 2 | VUE_APP_TITLE = 'development' | 2 | VUE_APP_TITLE = 'development' |
| 3 | VUE_APP_BASE_URL= 'http://192.168.0.109:9101' | 3 | VUE_APP_BASE_URL= 'http://192.168.0.109:9101' |
| 4 | VUE_APP_BASE_URL= 'https://ow.go.qudone.com' | 4 | VUE_APP_BASE_URL= 'https://ow.go.qudone.com' |
| 5 | VUE_APP_BASE_URL= 'http://localhost:9101' | ||
| 5 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | 6 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' |
| 6 | VUE_APP_RSA_KEY_INDEX = '10001' | 7 | VUE_APP_RSA_KEY_INDEX = '10001' |
| 7 | VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html' | 8 | VUE_APP_VHIS_INDEX= 'http://154.213.4.36/index.html' | ... | ... |
| ... | @@ -4,7 +4,7 @@ VUE_APP_TITLE = 'sandbox' | ... | @@ -4,7 +4,7 @@ VUE_APP_TITLE = 'sandbox' |
| 4 | VUE_APP_BASE_URL= 'https://43.230.222.204' | 4 | VUE_APP_BASE_URL= 'https://43.230.222.204' |
| 5 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | 5 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' |
| 6 | VUE_APP_RSA_KEY_INDEX = '10001' | 6 | VUE_APP_RSA_KEY_INDEX = '10001' |
| 7 | VUE_APP_VHIS_INDEX= 'https://icpois-stg1.pingan.com/vhis/insurIndex' | 7 | VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex' |
| 8 | 8 | ||
| 9 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | 9 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' |
| 10 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true | 10 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
backup
0 → 100644
| 1 | # prod | ||
| 2 | NODE_ENV = 'production' | ||
| 3 | VUE_APP_TITLE = 'sandbox' | ||
| 4 | VUE_APP_BASE_URL= 'https://43.230.222.204' | ||
| 5 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | ||
| 6 | VUE_APP_RSA_KEY_INDEX = '10001' | ||
| 7 | VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex' | ||
| 8 | |||
| 9 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | ||
| 10 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true | ||
| 11 | |||
| 12 | |||
| 13 | #sandbox | ||
| 14 | NODE_ENV = 'production' | ||
| 15 | VUE_APP_TITLE = 'sandbox' | ||
| 16 | VUE_APP_BASE_URL= 'https://30.76.147.155' | ||
| 17 | VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95' | ||
| 18 | VUE_APP_RSA_KEY_INDEX = '10001' | ||
| 19 | VUE_APP_VHIS_INDEX= 'https://icpois-stg1.pingan.com/vhis/insurIndex' | ||
| 20 | |||
| 21 | VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB' | ||
| 22 | VUE_APP_CONTENT_ENCRYPT_SWITCH = true |
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
File moved
| ... | @@ -163,13 +163,19 @@ export default { | ... | @@ -163,13 +163,19 @@ export default { |
| 163 | data: this.information, | 163 | data: this.information, |
| 164 | sid: true | 164 | sid: true |
| 165 | }).then(response => { | 165 | }).then(response => { |
| 166 | this.userInfo.hadFullInfo = 1; | ||
| 167 | this.userInfo.name = this.information.lastName + this.information.firstName; | ||
| 168 | this.$store.commit("SET_USER_INFO", this.userInfo); | ||
| 169 | this.loading = false; | 166 | this.loading = false; |
| 170 | let path = this.$route.query.c || "/"; | 167 | if (response.returnCode == "0") { |
| 171 | this.targetPath = path; | 168 | this.errorModel = 0; |
| 172 | this.modalCallback(); | 169 | this.userInfo.hadFullInfo = 1; |
| 170 | this.userInfo.name = this.information.lastName + this.information.firstName; | ||
| 171 | this.$store.commit("SET_USER_INFO", this.userInfo); | ||
| 172 | this.loading = false; | ||
| 173 | let path = this.$route.query.c || "/"; | ||
| 174 | this.targetPath = path; | ||
| 175 | this.modalCallback(); | ||
| 176 | } else { | ||
| 177 | this.handleUpdateInfoResponse(response); | ||
| 178 | } | ||
| 173 | }).catch(err => { | 179 | }).catch(err => { |
| 174 | this.loading = false; | 180 | this.loading = false; |
| 175 | this.errorModel = 2; | 181 | this.errorModel = 2; |
| ... | @@ -187,32 +193,35 @@ export default { | ... | @@ -187,32 +193,35 @@ export default { |
| 187 | sid: true | 193 | sid: true |
| 188 | }).then(response => { | 194 | }).then(response => { |
| 189 | this.loading = false; | 195 | this.loading = false; |
| 190 | let message = ""; | 196 | this.handleUpdateInfoResponse(response); |
| 191 | switch (response.returnCode) { | ||
| 192 | case "GS_MODIFYFIVEKEYS_ERROR_IDNOERROR": | ||
| 193 | message = this.i18n.infomationImprove.errorTips.e6; | ||
| 194 | this.errorTips.e5 = message; | ||
| 195 | break; | ||
| 196 | case "COMMON_ERROR_036": | ||
| 197 | message = this.i18n.infomationImprove.errorTips.e7; | ||
| 198 | // this.showModal(this.i18n.infomationImprove.errorTips.e7, "info"); | ||
| 199 | this.errorTips.e5 = message; | ||
| 200 | break; | ||
| 201 | case "0": | ||
| 202 | message = this.i18n.infomationImprove.successMsg; | ||
| 203 | let path = this.$route.query.c || "/"; | ||
| 204 | this.targetPath = path; | ||
| 205 | this.userInfo.hadFullInfo = 1; | ||
| 206 | this.userInfo.name = this.information.lastName + this.information.firstName; | ||
| 207 | this.$store.commit("SET_USER_INFO", this.userInfo); | ||
| 208 | // this.showModal(message, "succ"); | ||
| 209 | this.modalCallback(); | ||
| 210 | break; | ||
| 211 | } | ||
| 212 | }).catch(err => { | 197 | }).catch(err => { |
| 213 | this.loading = false; | 198 | this.loading = false; |
| 214 | }); | 199 | }); |
| 215 | }, | 200 | }, |
| 201 | handleUpdateInfoResponse(response) { | ||
| 202 | let message = ""; | ||
| 203 | switch (response.returnCode) { | ||
| 204 | case "GS_MODIFYFIVEKEYS_ERROR_IDNOERROR": | ||
| 205 | message = this.i18n.infomationImprove.errorTips.e6; | ||
| 206 | this.errorTips.e5 = message; | ||
| 207 | break; | ||
| 208 | case "COMMON_ERROR_036": | ||
| 209 | message = this.i18n.infomationImprove.errorTips.e7; | ||
| 210 | // this.showModal(this.i18n.infomationImprove.errorTips.e7, "info"); | ||
| 211 | this.errorTips.e5 = message; | ||
| 212 | break; | ||
| 213 | case "0": | ||
| 214 | message = this.i18n.infomationImprove.successMsg; | ||
| 215 | let path = this.$route.query.c || "/"; | ||
| 216 | this.targetPath = path; | ||
| 217 | this.userInfo.hadFullInfo = 1; | ||
| 218 | this.userInfo.name = this.information.lastName + this.information.firstName; | ||
| 219 | this.$store.commit("SET_USER_INFO", this.userInfo); | ||
| 220 | // this.showModal(message, "succ"); | ||
| 221 | this.modalCallback(); | ||
| 222 | break; | ||
| 223 | } | ||
| 224 | }, | ||
| 216 | onSkipHandler() { | 225 | onSkipHandler() { |
| 217 | let path = this.$route.query.c || "/"; | 226 | let path = this.$route.query.c || "/"; |
| 218 | this.targetPath = path; | 227 | this.targetPath = path; | ... | ... |
| ... | @@ -52,6 +52,8 @@ export default { | ... | @@ -52,6 +52,8 @@ export default { |
| 52 | password: "", | 52 | password: "", |
| 53 | // userId: "18334783910", | 53 | // userId: "18334783910", |
| 54 | // password: "qweqwe123", | 54 | // password: "qweqwe123", |
| 55 | // userId: "91239123", | ||
| 56 | // password: "ccc123!@#", | ||
| 55 | // userId: "18145729463", | 57 | // userId: "18145729463", |
| 56 | // password: "ccc123!@#", | 58 | // password: "ccc123!@#", |
| 57 | // userId: "15927024254", | 59 | // userId: "15927024254", |
| ... | @@ -277,6 +279,7 @@ export default { | ... | @@ -277,6 +279,7 @@ export default { |
| 277 | break; | 279 | break; |
| 278 | case "BIZ_ERROR_011": | 280 | case "BIZ_ERROR_011": |
| 279 | case "BIZ_ERROR_012": | 281 | case "BIZ_ERROR_012": |
| 282 | case "OTP_ERROR_015": | ||
| 280 | // 登录错误4次、5次 | 283 | // 登录错误4次、5次 |
| 281 | this.errorTips.e2 = response.returnMsg; | 284 | this.errorTips.e2 = response.returnMsg; |
| 282 | // this.showModal(response.returnMsg, "info"); | 285 | // this.showModal(response.returnMsg, "info"); |
| ... | @@ -371,7 +374,6 @@ export default { | ... | @@ -371,7 +374,6 @@ export default { |
| 371 | } | 374 | } |
| 372 | this._handlerIsShowImageVcode().then(() => { | 375 | this._handlerIsShowImageVcode().then(() => { |
| 373 | this._startStdSendOTP(); | 376 | this._startStdSendOTP(); |
| 374 | this._startTimeClick(); | ||
| 375 | }); | 377 | }); |
| 376 | }); | 378 | }); |
| 377 | }, | 379 | }, |
| ... | @@ -406,8 +408,8 @@ export default { | ... | @@ -406,8 +408,8 @@ export default { |
| 406 | // 检测手机号是否正确 | 408 | // 检测手机号是否正确 |
| 407 | return new Promise((resolve, reject) => { | 409 | return new Promise((resolve, reject) => { |
| 408 | let mobile = this.loginForm.mobileNo; | 410 | let mobile = this.loginForm.mobileNo; |
| 409 | let hkMobile = mobile.length == 8 && contactMethodCheck('hkmobile', mobile); | 411 | let hkMobile = contactMethodCheck('hkmobile', mobile); |
| 410 | let zhMobile = mobile.length == 11 && contactMethodCheck('mobile', mobile); | 412 | let zhMobile = contactMethodCheck('mobile', mobile); |
| 411 | if (!hkMobile && !zhMobile) { | 413 | if (!hkMobile && !zhMobile) { |
| 412 | this._showMobileNoIllegalTip() | 414 | this._showMobileNoIllegalTip() |
| 413 | return; | 415 | return; |
| ... | @@ -472,6 +474,16 @@ export default { | ... | @@ -472,6 +474,16 @@ export default { |
| 472 | httpPost({ | 474 | httpPost({ |
| 473 | url: api.stdSendOTP, | 475 | url: api.stdSendOTP, |
| 474 | data: data | 476 | data: data |
| 477 | }).then(response => { | ||
| 478 | switch (response.returnCode) { | ||
| 479 | case "0": | ||
| 480 | this._startTimeClick(); | ||
| 481 | this.errorTips.oe2 = ""; | ||
| 482 | break; | ||
| 483 | default: | ||
| 484 | this.errorTips.oe2 = response.returnMsg; | ||
| 485 | break; | ||
| 486 | }; | ||
| 475 | }); | 487 | }); |
| 476 | }, | 488 | }, |
| 477 | _startTimeClick() { | 489 | _startTimeClick() { | ... | ... |
| ... | @@ -122,7 +122,7 @@ export default { | ... | @@ -122,7 +122,7 @@ export default { |
| 122 | } | 122 | } |
| 123 | this._handlerIsShowImageVcode().then(() => { | 123 | this._handlerIsShowImageVcode().then(() => { |
| 124 | this._startStdSendOTP(); | 124 | this._startStdSendOTP(); |
| 125 | this._startTimeClick(); | 125 | // this._startTimeClick(); |
| 126 | }); | 126 | }); |
| 127 | }); | 127 | }); |
| 128 | }, | 128 | }, |
| ... | @@ -131,12 +131,12 @@ export default { | ... | @@ -131,12 +131,12 @@ export default { |
| 131 | return new Promise((resolve, reject) => { | 131 | return new Promise((resolve, reject) => { |
| 132 | let mobile = this.registerForm.mobileNo; | 132 | let mobile = this.registerForm.mobileNo; |
| 133 | if (this.mobileNoType == "hk") { | 133 | if (this.mobileNoType == "hk") { |
| 134 | if (mobile.length != 8 && !contactMethodCheck('hkmobile', mobile)) { | 134 | if (!contactMethodCheck('hkmobile', mobile)) { |
| 135 | this._showMobileNoIllegalTip() | 135 | this._showMobileNoIllegalTip() |
| 136 | return; | 136 | return; |
| 137 | } | 137 | } |
| 138 | } else { | 138 | } else { |
| 139 | if (mobile.length != 11 && !contactMethodCheck('mobile', mobile)) { | 139 | if (!contactMethodCheck('mobile', mobile)) { |
| 140 | this._showMobileNoIllegalTip() | 140 | this._showMobileNoIllegalTip() |
| 141 | return; | 141 | return; |
| 142 | } | 142 | } |
| ... | @@ -200,7 +200,17 @@ export default { | ... | @@ -200,7 +200,17 @@ export default { |
| 200 | data["vcodeuuid"] = this.values.vcodeuuid; | 200 | data["vcodeuuid"] = this.values.vcodeuuid; |
| 201 | data["imageValue"] = this.registerForm.imageValue; | 201 | data["imageValue"] = this.registerForm.imageValue; |
| 202 | } | 202 | } |
| 203 | httpPost({ url: api.stdSendOTP, data: data }); | 203 | httpPost({ url: api.stdSendOTP, data: data }).then(response=>{ |
| 204 | switch (response.returnCode) { | ||
| 205 | case "0": | ||
| 206 | this._startTimeClick(); | ||
| 207 | this.errorTips.p2 = ""; | ||
| 208 | break; | ||
| 209 | default: | ||
| 210 | this.errorTips.p2 = response.returnMsg; | ||
| 211 | break; | ||
| 212 | }; | ||
| 213 | }); | ||
| 204 | }, | 214 | }, |
| 205 | _startTimeClick() { | 215 | _startTimeClick() { |
| 206 | this.times.remain = 120; | 216 | this.times.remain = 120; | ... | ... |
-
Please register or sign in to post a comment