Browse Source

产城注册头部LOGO修改返回链接以及删除多余打印日志

hangb 7 years ago
parent
commit
44396aece9

+ 0 - 2
components/appeal/PasswordRestAppeal.vue

@@ -202,7 +202,6 @@
         if (value === '') {
         if (value === '') {
           callback(new Error('请输入密码'))
           callback(new Error('请输入密码'))
           this.passwordChecked = false
           this.passwordChecked = false
-          console.log(this.passwordChecked)
         } else {
         } else {
           if (this.passwordRest.password !== '') {
           if (this.passwordRest.password !== '') {
             if (value.length <= 20 && value.length >= 8) {
             if (value.length <= 20 && value.length >= 8) {
@@ -221,7 +220,6 @@
               this.passwordChecked = false
               this.passwordChecked = false
             }
             }
             if (this.passwordRest.confirm) {
             if (this.passwordRest.confirm) {
-              console.log(this.passwordRest.confirm)
               if (value !== this.passwordRest.confirm) {
               if (value !== this.passwordRest.confirm) {
                 this.showPasswordError = true
                 this.showPasswordError = true
                 // callback(new Error('两次输入密码不一致!'))
                 // callback(new Error('两次输入密码不一致!'))

+ 0 - 1
components/certification/RealNameCertification.vue

@@ -127,7 +127,6 @@
                   }
                   }
                 }).catch(err => {
                 }).catch(err => {
                   this.$message.error(err.errMsg)
                   this.$message.error(err.errMsg)
-                  console.log(err.content.isValid)
                 })
                 })
             } else {
             } else {
               this.idCardChecked = false
               this.idCardChecked = false

+ 1 - 1
components/default/RegisterCenterHeader.vue

@@ -3,7 +3,7 @@
     <nav class="navbar">
     <nav class="navbar">
       <div class="navbar-container container">
       <div class="navbar-container container">
         <div class="navbar-header">
         <div class="navbar-header">
-          <a href="http://www.ubtob.com" class="item navbar-link">
+          <a :href="loginStyle.returnHomeUrl ? JSON.parse(loginStyle.returnHomeUrl).url : ''" class="item navbar-link">
             <img :src="loginStyle.logoUrl ? loginStyle.logoUrl : 'https://dfs.ubtob.com/group1/M00/62/0F/CgpkyFp3uZmAHIU6AAANkRVx1Gk236.png'" class="navbar-logo">
             <img :src="loginStyle.logoUrl ? loginStyle.logoUrl : 'https://dfs.ubtob.com/group1/M00/62/0F/CgpkyFp3uZmAHIU6AAANkRVx1Gk236.png'" class="navbar-logo">
           </a>
           </a>
           <a href=""><span class="navbar-slogan">账号中心</span></a>
           <a href=""><span class="navbar-slogan">账号中心</span></a>

+ 0 - 1
components/login/Login.vue

@@ -353,7 +353,6 @@
                   let params = a.substr(0, a.length - 1)
                   let params = a.substr(0, a.length - 1)
                   this.isShowLoading = true
                   this.isShowLoading = true
                   if (response.data.content.currentUrl) {
                   if (response.data.content.currentUrl) {
-                    console.log(params)
                     this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
                     this.$jsonp(`${response.data.content.currentUrl}?${params}`, {
                       name: 'successCallback',
                       name: 'successCallback',
                       timeout: 3000
                       timeout: 3000

+ 0 - 2
components/mobile/validation/StepAppeal.vue

@@ -134,7 +134,6 @@
       },
       },
       // 验证正确的验证码
       // 验证正确的验证码
       validateCode () {
       validateCode () {
-        console.log('tokenCode', this.tokenCode)
         if (!this.valid.token) {
         if (!this.valid.token) {
           this.downToast('请先填写验证码')
           this.downToast('请先填写验证码')
           this.state.token = 'error'
           this.state.token = 'error'
@@ -184,7 +183,6 @@
               .then(response => {
               .then(response => {
                 this.$indicator.close()
                 this.$indicator.close()
                 if (response.data) {
                 if (response.data) {
-                  console.log('res', response.data)
                   this.tokenCode = response.data.content.token
                   this.tokenCode = response.data.content.token
                   this.$toast({
                   this.$toast({
                     message: '验证码已经发送到您的手机,请注意查收',
                     message: '验证码已经发送到您的手机,请注意查收',

+ 0 - 1
components/mobile/validation/ValidationPhoneStepEmail.vue

@@ -56,7 +56,6 @@
           .then(response => {
           .then(response => {
             this.$indicator.close()
             this.$indicator.close()
             if (response.data.success) {
             if (response.data.success) {
-              console.log('email', response.data)
               this.hasSend = true
               this.hasSend = true
               this.secretEmail = '已发送验证邮件,请查收'
               this.secretEmail = '已发送验证邮件,请查收'
             } else {
             } else {

+ 0 - 2
components/mobile/validation/ValidationPhoneStepNew.vue

@@ -122,7 +122,6 @@
       },
       },
       // 获取验证码
       // 获取验证码
       getCheckCode () {
       getCheckCode () {
-        console.log('获取', this.tokenId)
         if (this.tokenTime > 0 && this.tokenTime < 60) {
         if (this.tokenTime > 0 && this.tokenTime < 60) {
           this.downToast('请稍后再点击,我在倒计时')
           this.downToast('请稍后再点击,我在倒计时')
         } else {
         } else {
@@ -131,7 +130,6 @@
             let _this = this
             let _this = this
             this.$http.get('/update/user/setMobile', {params: {mobile: this.valid.mobile, token: this.$route.query.token ? this.$route.query.token : this.tokenId}})
             this.$http.get('/update/user/setMobile', {params: {mobile: this.valid.mobile, token: this.$route.query.token ? this.$route.query.token : this.tokenId}})
               .then(response => {
               .then(response => {
-                console.log('de', response.data)
                 this.$indicator.close()
                 this.$indicator.close()
                 if (response.data) {
                 if (response.data) {
                   this.tokenCode = response.data.content.token
                   this.tokenCode = response.data.content.token

+ 0 - 2
components/register/EnterpriseRegistration.vue

@@ -551,7 +551,6 @@
         return this.$store.state.login.loginStyle.data.content
         return this.$store.state.login.loginStyle.data.content
       },
       },
       agreementUrl () {
       agreementUrl () {
-        console.log('agreementUrl', this.$store.state.login.agreementUrl.data.content)
         return this.$store.state.login.agreementUrl.data.content
         return this.$store.state.login.agreementUrl.data.content
       }
       }
     },
     },
@@ -580,7 +579,6 @@
       },
       },
       // 注册
       // 注册
       goRegister () {
       goRegister () {
-        console.log(this.queryLink)
         window.location.href = `/register/personalRegistration?${this.queryLink}`
         window.location.href = `/register/personalRegistration?${this.queryLink}`
       },
       },
 //      我同意是否被选中
 //      我同意是否被选中

+ 0 - 1
components/register/PersonalRegistration.vue

@@ -365,7 +365,6 @@
         return this.$store.state.login.loginStyle.data.content
         return this.$store.state.login.loginStyle.data.content
       },
       },
       agreementUrl () {
       agreementUrl () {
-        console.log('agreementUrl', this.$store.state.login.agreementUrl.data.content)
         return this.$store.state.login.agreementUrl.data.content
         return this.$store.state.login.agreementUrl.data.content
       }
       }
     },
     },

+ 0 - 1
components/validation/PhoneValidation.vue

@@ -140,7 +140,6 @@
           callback(new Error('请填写正确的验证码'))
           callback(new Error('请填写正确的验证码'))
           this.codeErrorChecked = false
           this.codeErrorChecked = false
           this.codeChecked = false
           this.codeChecked = false
-          console.log(this.codeChecked)
         } else {
         } else {
           if (this.valid.code !== '') {
           if (this.valid.code !== '') {
             if (this.token) {
             if (this.token) {

+ 0 - 1
components/validation/PhoneValidationSecondStep.vue

@@ -168,7 +168,6 @@
 //      获取第二步手机验证码
 //      获取第二步手机验证码
       getSecondCheckCode () {
       getSecondCheckCode () {
         this.isShowLoading = true
         this.isShowLoading = true
-        console.log(this.isShowLoading)
         this.$http.get(`/update/user/setMobile`, {params: {mobile: this.valid2.mobile, token: this.firstStepToken}})
         this.$http.get(`/update/user/setMobile`, {params: {mobile: this.valid2.mobile, token: this.firstStepToken}})
           .then(response => {
           .then(response => {
             this.isShowLoading = false
             this.isShowLoading = false

+ 0 - 1
pages/common/cityAgreement.vue

@@ -39,7 +39,6 @@
         return this.$store.state.login.loginStyle.data.content
         return this.$store.state.login.loginStyle.data.content
       },
       },
       agreementUrl () {
       agreementUrl () {
-        console.log('agreementUrl', this.$store.state.login.agreementUrl.data.content)
         return this.$store.state.login.agreementUrl.data.content
         return this.$store.state.login.agreementUrl.data.content
       }
       }
     }
     }

+ 0 - 2
pages/validation/phoneValidation.vue

@@ -57,7 +57,6 @@
     },
     },
     methods: {
     methods: {
       setStep (type) {
       setStep (type) {
-        console.log(type)
         this.step = type
         this.step = type
       },
       },
       setInfo (style) {
       setInfo (style) {
@@ -67,7 +66,6 @@
         this.tokenId = token
         this.tokenId = token
       },
       },
       setStepLast (type) {
       setStepLast (type) {
-        console.log(type)
         this.stepLast = type
         this.stepLast = type
       }
       }
     }
     }