diff --git a/dangan-ui/src/views/dangan/collection/index.vue b/dangan-ui/src/views/dangan/collection/index.vue
index f544b6a..50c4fd2 100644
--- a/dangan-ui/src/views/dangan/collection/index.vue
+++ b/dangan-ui/src/views/dangan/collection/index.vue
@@ -37,11 +37,16 @@
OCR识别
-
+
+
+
+
+
+
全选
@@ -218,6 +223,7 @@ export default {
components: {Treeselect},
data() {
return {
+ isFails: false,
// 颜色模式,0:黑白 1:灰色 2:彩色
pixel: 1,
// 是否单面
@@ -593,13 +599,18 @@ export default {
console.log(3232,response);
if(response.fails&&response.fails.length>0){
this.pictureRecard = response.fails
+ this.isFails = true;
+ this.$alert(`${response.msg},请重新识别失败档案!`, `提示`, {
+ type: 'warning'
+ });
}else {
+ this.isFails = false;
this.pictureRecard = [];
+ this.$modal.msgSuccess(response.msg);
}
this.checkAll = false;
clearInterval(this.Interval);
this.openProgress = false;
- this.$modal.msgSuccess(response.msg);
}).catch(()=>{
clearInterval(this.Interval);
this.openProgress = false;
diff --git a/dangan-ui/src/views/dangan/pictureRecard/index.vue b/dangan-ui/src/views/dangan/pictureRecard/index.vue
index 8f5cc6c..4b8c247 100644
--- a/dangan-ui/src/views/dangan/pictureRecard/index.vue
+++ b/dangan-ui/src/views/dangan/pictureRecard/index.vue
@@ -103,8 +103,8 @@
v-hasPermi="['dangan:pictureRecard:export']"
>导出图片
-
- OCR识别
+
+ OCR识别