diff --git a/hb_client/src/components/faceLogin/review.vue b/hb_client/src/components/faceLogin/review.vue index 842eb14..bc5bfb7 100644 --- a/hb_client/src/components/faceLogin/review.vue +++ b/hb_client/src/components/faceLogin/review.vue @@ -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() }); diff --git a/hb_client/src/views/wpm/operationdo.vue b/hb_client/src/views/wpm/operationdo.vue index 59b3435..15bc137 100644 --- a/hb_client/src/views/wpm/operationdo.vue +++ b/hb_client/src/views/wpm/operationdo.vue @@ -631,14 +631,13 @@ -
审核人员确认
+
操作人员确认
@@ -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; - }, - }, };