0329
This commit is contained in:
parent
ad16a963e4
commit
8b7481fb43
|
@ -154,7 +154,7 @@
|
|||
let video = document.getElementById('video');
|
||||
let stream = video.srcObject;
|
||||
let tracks = stream.getTracks();
|
||||
this.$emit('close');
|
||||
// this.$emit('close');
|
||||
tracks.forEach(track => {
|
||||
track.stop()
|
||||
});
|
||||
|
|
|
@ -631,14 +631,13 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-dialog :visible.sync="limitedPhoto" @close="closeCamera" id="loginFaceWrap">
|
||||
<div style="font-size: 28px;color: #333333;text-align: center;font-weight: bold;">审核人员确认</div>
|
||||
<div style="font-size: 28px;color: #333333;text-align: center;font-weight: bold;">操作人员确认</div>
|
||||
<div class="testTracking">
|
||||
<faceLogin
|
||||
v-if="limitedPhoto"
|
||||
ref="faceTracking"
|
||||
name="faceLogin"
|
||||
@func="getMsgFormSon"
|
||||
@close="closeDialog"
|
||||
></faceLogin>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
@ -1217,6 +1216,7 @@
|
|||
type: "error",
|
||||
})
|
||||
.then( () => {
|
||||
that.limitedPhoto = false;
|
||||
submitOperation(that.id,{token:data.token}).then(res=>{
|
||||
if(res.code===200){
|
||||
that.$router.push({name: "operation"});
|
||||
|
@ -1225,8 +1225,8 @@
|
|||
that.$message.error(res.msg)
|
||||
}
|
||||
});
|
||||
}).catch((err) => {
|
||||
that.$message.error(err);
|
||||
}).catch(() => {
|
||||
that.limitedPhoto = false;
|
||||
});
|
||||
} else {
|
||||
submitOperation(that.id,{token:data.token}).then((res) => {
|
||||
|
@ -1242,14 +1242,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
closeDialog(){
|
||||
this.limitedPhoto = false;
|
||||
},
|
||||
//点击人脸验证
|
||||
directorConfirm() {
|
||||
this.limitedPhoto = true;
|
||||
},
|
||||
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue