From 07499be2fb45426b8fc44622ccfd057cff6adc18 Mon Sep 17 00:00:00 2001 From: wanglei Date: Wed, 19 Jun 2024 16:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=87=87=E9=9B=86=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dangan-ui/src/views/dangan/collection/index.vue | 15 +++++++++++++-- .../src/views/dangan/pictureRecard/index.vue | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) 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识别