Commit 71096af4 authored by 786817560's avatar 786817560

''

parent 34a651d7
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @Author: your name * @Author: your name
* @Date: 2019-09-24 21:29:35 * @Date: 2019-09-24 21:29:35
* @LastEditTime: 2019-12-16 17:53:17 * @LastEditTime: 2019-12-18 14:25:13
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
--> -->
<template> <template>
...@@ -247,7 +247,7 @@ export default { ...@@ -247,7 +247,7 @@ export default {
}) })
}, },
// 提交 // 提交
handSubmit () { async handSubmit () {
this.hlsPopup.showConfirm({ this.hlsPopup.showConfirm({
title: '提示', title: '提示',
content: '您确认提交吗?', content: '您确认提交吗?',
...@@ -261,24 +261,48 @@ export default { ...@@ -261,24 +261,48 @@ export default {
}, },
} }
let vm = this let vm = this
this.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
if (res.result === 'S') { if (res.result === 'S') {
vm.hlsPopup.showSuccess('提交成功') vm.hlsPopup.showSuccess('提交成功')
if (vm.certification_status === 'Y') { // if (vm.certification_status === 'Y') {
vm.$router.push({ vm.$router.push({
name: 'MyInfo', name: 'MyInfo',
}) })
} else { // } else {
vm.$router.push({ // vm.getOrgCertificationUrl()
name: 'ElectronicSign', // console.log(authUrl)
}) // if (authUrl) {
}
// }
// vm.$router.push({
// name: 'ElectronicSign',
// })
// }
} }
}) })
} }
}, },
}) })
}, },
// 获取企业认证url
getOrgCertificationUrl () {
let vm = this
let url = $config.basePath + 'auth_company_sign'
let param = {
phone: window.localStorage.user_phone,
}
hlsPopup.showLoading('请稍候')
vm.$post(url, param).then(function (res) {
hlsPopup.hideLoading()
console.log(res)
// if (res.info.code === 0) {
// return res.info.data.authUrl
// } else {
// hlsPopup.showLongCenter(res.info.msg)
// return null
// }
})
},
// ocr识别入口 // ocr识别入口
ocrShow (ocrType, type) { ocrShow (ocrType, type) {
let vm = this let vm = this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment