|
|
@@ -127,8 +127,11 @@ export default {
|
|
|
if (npkpiData.checkInfo) {
|
|
|
// 照片合格并且没有作弊
|
|
|
if (npkpiData.checkInfo.qualifiedState == 1 && npkpiData.checkInfo.cheatState == 0) {
|
|
|
- this.close();
|
|
|
- this.$emit('normalFlow', { data: this.imageAIVerifyData });
|
|
|
+ // this.close();
|
|
|
+ // this.$emit('normalFlow', { data: this.imageAIVerifyData });
|
|
|
+ // recognizeType 识别目的(1:店招内容识别,2:门店代码识别,3:调色机识别)
|
|
|
+ let isUpdate = npkpiData.recognizeType == 1 ? 'isUpdate' : null;
|
|
|
+ this.confirmUpload(isUpdate);
|
|
|
} else {
|
|
|
// 失败次数增加超过三次特殊处理
|
|
|
store.dispatch('setShotsNum', this.shotsNum + 1);
|
|
|
@@ -148,7 +151,8 @@ export default {
|
|
|
this.$emit('close');
|
|
|
this.$emit('uploadImgFun');
|
|
|
},
|
|
|
- // 仍要上传
|
|
|
+ // 照片是否入库,1.照片识别三次不通过仍要上传,2.照片识别通过
|
|
|
+ // isUpdate:是否更新店招照片,只有门店店招需要更新
|
|
|
confirmUpload(isUpdate) {
|
|
|
this.$emit('close');
|
|
|
this.$emit('confirmUpload', {
|