Commit f369c331 authored by linxin's avatar linxin

add

parent 8544d65d
...@@ -218,7 +218,7 @@ export default { ...@@ -218,7 +218,7 @@ export default {
content: `检测成功,请进行电子签认证`, content: `检测成功,请进行电子签认证`,
onConfirm: () => { onConfirm: () => {
// 电子签认证 // 电子签认证
vm.svaeVideo(fileUrl) // vm.svaeVideo(fileUrl)
setTimeout(vm.goElectronicSign(), 3000) setTimeout(vm.goElectronicSign(), 3000)
}, },
}) })
......
...@@ -241,6 +241,7 @@ export default { ...@@ -241,6 +241,7 @@ export default {
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'ConfirmList') { if (from.name === 'ConfirmList') {
vm.$refs.body.hideBody()
vm.getDetail() vm.getDetail()
vm.getEquipment() vm.getEquipment()
vm.getAttachment() vm.getAttachment()
...@@ -443,7 +444,7 @@ export default { ...@@ -443,7 +444,7 @@ export default {
hlsUtil.baiduOcrFace(obj, url, function (res) { hlsUtil.baiduOcrFace(obj, url, function (res) {
hlsPopup.hideLoading() hlsPopup.hideLoading()
if (res.success && res.result.result.score) { if (res.success && res.result.result.score) {
vm.save_picture(vm.faceListUpload) // vm.save_picture(vm.faceListUpload)
let identifyScore = res.result.result.score.toFixed(0) let identifyScore = res.result.result.score.toFixed(0)
if (identifyScore >= 50) { if (identifyScore >= 50) {
hlsPopup.showPopup({ hlsPopup.showPopup({
......
...@@ -366,6 +366,7 @@ export default { ...@@ -366,6 +366,7 @@ export default {
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'ContractSigning') { if (from.name === 'ContractSigning') {
vm.$refs.body.hideBody()
vm.bank_flag = false vm.bank_flag = false
vm.isConfirm = false vm.isConfirm = false
vm.ischecked = false vm.ischecked = false
......
...@@ -289,6 +289,7 @@ export default { ...@@ -289,6 +289,7 @@ export default {
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
if (from.name === 'ContractList') { if (from.name === 'ContractList') {
vm.$refs.body.hideBody()
vm.tabNum = 0 vm.tabNum = 0
vm.baseInfo = {} vm.baseInfo = {}
vm.info = {} vm.info = {}
......
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