|
|
@@ -124,18 +124,21 @@ export default {
|
|
|
}
|
|
|
// 照片是否合格
|
|
|
if (npkpiData.checkInfo) {
|
|
|
- if (npkpiData.checkInfo.qualifiedState == 0) {
|
|
|
+ // 照片合格并且没有作弊
|
|
|
+ if (npkpiData.checkInfo.qualifiedState == 1 && npkpiData.checkInfo.cheatState == 1) {
|
|
|
+ this.close();
|
|
|
+ this.$emit('normalFlow', { data: this.imageAIVerifyData });
|
|
|
+ } else {
|
|
|
// 失败次数增加超过三次特殊处理
|
|
|
store.dispatch('setShotsNum', this.shotsNum + 1);
|
|
|
// 不合格
|
|
|
- this.contentMessage = this.contentMessage + npkpiData.checkInfo.unqualifiedReason;
|
|
|
+ if (npkpiData.checkInfo.qualifiedState == 0) {
|
|
|
+ this.contentMessage = this.contentMessage + npkpiData.checkInfo.unqualifiedReason;
|
|
|
+ }
|
|
|
+ // 作弊
|
|
|
if (npkpiData.checkInfo.cheatState == 1) {
|
|
|
- // 作弊
|
|
|
this.contentMessage = this.contentMessage + npkpiData.checkInfo.cheatType;
|
|
|
}
|
|
|
- } else {
|
|
|
- this.close();
|
|
|
- this.$emit('normalFlow', { data: this.imageAIVerifyData });
|
|
|
}
|
|
|
}
|
|
|
},
|