|
|
|
@ -1,18 +1,26 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="app-container">
|
|
|
|
<div class="app-container">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px">
|
|
|
|
<el-form-item label="图片名称" prop="picName">
|
|
|
|
<el-form-item label="档案目录ID" prop="muId">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.picName"
|
|
|
|
v-model="queryParams.muId"
|
|
|
|
placeholder="请输入图片名称"
|
|
|
|
placeholder="请输入档案目录ID"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="图片路径" prop="picUrl">
|
|
|
|
<el-form-item label="档案目录路径" prop="muPath">
|
|
|
|
<el-input
|
|
|
|
<el-input
|
|
|
|
v-model="queryParams.picUrl"
|
|
|
|
v-model="queryParams.muPath"
|
|
|
|
placeholder="请输入图片路径"
|
|
|
|
placeholder="请输入档案目录路径"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="图片名称" prop="picName">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.picName"
|
|
|
|
|
|
|
|
placeholder="请输入图片名称"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
@ -33,30 +41,22 @@
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="档案目录ID" prop="muId">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.muId"
|
|
|
|
|
|
|
|
placeholder="请输入档案目录ID"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="档案目录路径" prop="muPath">
|
|
|
|
|
|
|
|
<el-input
|
|
|
|
|
|
|
|
v-model="queryParams.muPath"
|
|
|
|
|
|
|
|
placeholder="请输入档案目录路径"
|
|
|
|
|
|
|
|
clearable
|
|
|
|
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="是否已经识别" prop="recognize">
|
|
|
|
<el-form-item label="是否已经识别" prop="recognize">
|
|
|
|
<el-input
|
|
|
|
<el-select
|
|
|
|
v-model="queryParams.recognize"
|
|
|
|
v-model="queryParams.recognize"
|
|
|
|
placeholder="请输入是否已经识别"
|
|
|
|
placeholder="是否已经识别"
|
|
|
|
clearable
|
|
|
|
clearable
|
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
|
style="width:100%"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-option
|
|
|
|
|
|
|
|
v-for="dict in dict.type.recognize"
|
|
|
|
|
|
|
|
:key="dict.value"
|
|
|
|
|
|
|
|
:label="dict.label"
|
|
|
|
|
|
|
|
:value="dict.value"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item>
|
|
|
|
<el-form-item>
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
|
@ -64,28 +64,7 @@
|
|
|
|
</el-form>
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-row :gutter="10" class="mb8">
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="2">
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="primary"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-plus"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleAdd"
|
|
|
|
|
|
|
|
v-hasPermi="['dangan:pictureRecard:add']"
|
|
|
|
|
|
|
|
>新增</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
type="success"
|
|
|
|
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
:disabled="single"
|
|
|
|
|
|
|
|
@click="handleUpdate"
|
|
|
|
|
|
|
|
v-hasPermi="['dangan:pictureRecard:edit']"
|
|
|
|
|
|
|
|
>修改</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
type="danger"
|
|
|
|
type="danger"
|
|
|
|
plain
|
|
|
|
plain
|
|
|
|
@ -96,39 +75,33 @@
|
|
|
|
v-hasPermi="['dangan:pictureRecard:remove']"
|
|
|
|
v-hasPermi="['dangan:pictureRecard:remove']"
|
|
|
|
>删除</el-button>
|
|
|
|
>删除</el-button>
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<el-col :span="1.5">
|
|
|
|
<el-col :span="22" style="display: flex; align-items: center; justify-content: end">
|
|
|
|
<el-button
|
|
|
|
<el-checkbox v-model="isSuangMian" style="margin-right: 10px;">双面</el-checkbox>
|
|
|
|
type="warning"
|
|
|
|
<el-button icon="el-icon-full-screen" type="primary" @click="OCRRecognition">OCR识别</el-button>
|
|
|
|
plain
|
|
|
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
@click="handleExport"
|
|
|
|
|
|
|
|
v-hasPermi="['dangan:pictureRecard:export']"
|
|
|
|
|
|
|
|
>导出</el-button>
|
|
|
|
|
|
|
|
</el-col>
|
|
|
|
</el-col>
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
|
|
|
|
</el-row>
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
|
|
<el-table v-loading="loading" :data="pictureRecardList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table v-loading="loading" :data="pictureRecardList" @selection-change="handleSelectionChange" border>
|
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
|
<el-table-column type="selection" width="50" align="center" fixed/>
|
|
|
|
<el-table-column label="上传时间" align="center" prop="createTime" />
|
|
|
|
<el-table-column label="档案目录ID" align="center" prop="muId" fixed min-width="50"/>
|
|
|
|
<el-table-column label="图片名称" align="center" prop="picName" />
|
|
|
|
<el-table-column label="档案目录路径" align="center" prop="muPath" fixed min-width="100" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="图片路径" align="center" prop="picUrl" />
|
|
|
|
|
|
|
|
<el-table-column label="物理书架ID" align="center" prop="wlsjId" />
|
|
|
|
<el-table-column label="物理书架ID" align="center" prop="wlsjId" />
|
|
|
|
<el-table-column label="物理书架路径" align="center" prop="wlsjPath" />
|
|
|
|
<el-table-column label="物理书架路径" align="center" prop="wlsjPath" min-width="100" show-overflow-tooltip/>
|
|
|
|
<el-table-column label="档案目录ID" align="center" prop="muId" />
|
|
|
|
<el-table-column label="是否已经识别" align="center" prop="recognize" >
|
|
|
|
<el-table-column label="档案目录路径" align="center" prop="muPath" />
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-table-column label="是否已经识别" align="center" prop="recognize" />
|
|
|
|
<dict-tag :options="dict.type.recognize" :value="scope.row.recognize"/>
|
|
|
|
<el-table-column label="备注" align="center" prop="remark" />
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<el-table-column label="上传时间" align="center" prop="createTime" />
|
|
|
|
|
|
|
|
<el-table-column label="图片名称" align="center" prop="picName" min-width="100" show-overflow-tooltip/>
|
|
|
|
|
|
|
|
<el-table-column label="图片路径" align="center" prop="picUrl">
|
|
|
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
<image-preview :src="scope.row.picUrl" :width="50" :height="50"/>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
<!-- <el-table-column label="备注" align="center" prop="remark" />-->
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<el-button
|
|
|
|
|
|
|
|
size="mini"
|
|
|
|
|
|
|
|
type="text"
|
|
|
|
|
|
|
|
icon="el-icon-edit"
|
|
|
|
|
|
|
|
@click="handleUpdate(scope.row)"
|
|
|
|
|
|
|
|
v-hasPermi="['dangan:pictureRecard:edit']"
|
|
|
|
|
|
|
|
>修改</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
|
|
<el-button
|
|
|
|
size="mini"
|
|
|
|
size="mini"
|
|
|
|
type="text"
|
|
|
|
type="text"
|
|
|
|
@ -148,47 +121,21 @@
|
|
|
|
@pagination="getList"
|
|
|
|
@pagination="getList"
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 添加或修改档案图片信息记录对话框 -->
|
|
|
|
<div class="myProgress" v-show="openProgress">
|
|
|
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
|
|
|
<el-progress type="circle" :percentage="percentage"></el-progress>
|
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
|
|
|
<div style="margin-top:20px;">拼命识别中...</div>
|
|
|
|
<el-form-item label="图片名称" prop="picName">
|
|
|
|
|
|
|
|
<el-input v-model="form.picName" placeholder="请输入图片名称" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="图片路径" prop="picUrl">
|
|
|
|
|
|
|
|
<el-input v-model="form.picUrl" placeholder="请输入图片路径" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="物理书架ID" prop="wlsjId">
|
|
|
|
|
|
|
|
<el-input v-model="form.wlsjId" placeholder="请输入物理书架ID" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="物理书架路径" prop="wlsjPath">
|
|
|
|
|
|
|
|
<el-input v-model="form.wlsjPath" placeholder="请输入物理书架路径" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="档案目录ID" prop="muId">
|
|
|
|
|
|
|
|
<el-input v-model="form.muId" placeholder="请输入档案目录ID" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="档案目录路径" prop="muPath">
|
|
|
|
|
|
|
|
<el-input v-model="form.muPath" placeholder="请输入档案目录路径" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="是否已经识别" prop="recognize">
|
|
|
|
|
|
|
|
<el-input v-model="form.recognize" placeholder="请输入是否已经识别" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
|
|
|
|
|
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
|
|
|
|
|
|
|
</el-form-item>
|
|
|
|
|
|
|
|
</el-form>
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
|
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
|
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
import { listPictureRecard, getPictureRecard, delPictureRecard, addPictureRecard, updatePictureRecard } from "@/api/dangan/pictureRecard";
|
|
|
|
import { listPictureRecard, delPictureRecard } from "@/api/dangan/pictureRecard";
|
|
|
|
|
|
|
|
import { collectRecongnize, collectProgress, collectRecongnizeZu } from "@/api/dangan/collection";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "PictureRecard",
|
|
|
|
name: "PictureRecard",
|
|
|
|
|
|
|
|
dicts: ['recognize'],
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
// 遮罩层
|
|
|
|
// 遮罩层
|
|
|
|
@ -205,10 +152,6 @@ export default {
|
|
|
|
total: 0,
|
|
|
|
total: 0,
|
|
|
|
// 档案图片信息记录表格数据
|
|
|
|
// 档案图片信息记录表格数据
|
|
|
|
pictureRecardList: [],
|
|
|
|
pictureRecardList: [],
|
|
|
|
// 弹出层标题
|
|
|
|
|
|
|
|
title: "",
|
|
|
|
|
|
|
|
// 是否显示弹出层
|
|
|
|
|
|
|
|
open: false,
|
|
|
|
|
|
|
|
// 查询参数
|
|
|
|
// 查询参数
|
|
|
|
queryParams: {
|
|
|
|
queryParams: {
|
|
|
|
pageNum: 1,
|
|
|
|
pageNum: 1,
|
|
|
|
@ -221,20 +164,16 @@ export default {
|
|
|
|
muPath: null,
|
|
|
|
muPath: null,
|
|
|
|
recognize: null,
|
|
|
|
recognize: null,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 表单参数
|
|
|
|
percentage: 0,
|
|
|
|
form: {},
|
|
|
|
openProgress: false,
|
|
|
|
// 表单校验
|
|
|
|
// 是否双面
|
|
|
|
rules: {
|
|
|
|
isSuangMian: false,
|
|
|
|
picName: [
|
|
|
|
// 选中记录
|
|
|
|
{ required: true, message: "图片名称不能为空", trigger: "blur" }
|
|
|
|
selectionList: []
|
|
|
|
],
|
|
|
|
|
|
|
|
picUrl: [
|
|
|
|
|
|
|
|
{ required: true, message: "图片路径不能为空", trigger: "blur" }
|
|
|
|
|
|
|
|
],
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
|
|
|
|
this.queryParams.muId = this.$route.query.muId || undefined
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
@ -247,30 +186,6 @@ export default {
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 取消按钮
|
|
|
|
|
|
|
|
cancel() {
|
|
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
// 表单重置
|
|
|
|
|
|
|
|
reset() {
|
|
|
|
|
|
|
|
this.form = {
|
|
|
|
|
|
|
|
id: null,
|
|
|
|
|
|
|
|
picName: null,
|
|
|
|
|
|
|
|
picUrl: null,
|
|
|
|
|
|
|
|
wlsjId: null,
|
|
|
|
|
|
|
|
wlsjPath: null,
|
|
|
|
|
|
|
|
muId: null,
|
|
|
|
|
|
|
|
muPath: null,
|
|
|
|
|
|
|
|
recognize: null,
|
|
|
|
|
|
|
|
remark: null,
|
|
|
|
|
|
|
|
createBy: null,
|
|
|
|
|
|
|
|
createTime: null,
|
|
|
|
|
|
|
|
updateBy: null,
|
|
|
|
|
|
|
|
updateTime: null
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
this.resetForm("form");
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
handleQuery() {
|
|
|
|
handleQuery() {
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
this.queryParams.pageNum = 1;
|
|
|
|
@ -283,46 +198,11 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 多选框选中数据
|
|
|
|
// 多选框选中数据
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
handleSelectionChange(selection) {
|
|
|
|
|
|
|
|
this.selectionList = selection;
|
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
|
this.ids = selection.map(item => item.id)
|
|
|
|
this.single = selection.length!==1
|
|
|
|
this.single = selection.length!==1
|
|
|
|
this.multiple = !selection.length
|
|
|
|
this.multiple = !selection.length
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 新增按钮操作 */
|
|
|
|
|
|
|
|
handleAdd() {
|
|
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
|
|
this.title = "添加档案图片信息记录";
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 修改按钮操作 */
|
|
|
|
|
|
|
|
handleUpdate(row) {
|
|
|
|
|
|
|
|
this.reset();
|
|
|
|
|
|
|
|
const id = row.id || this.ids
|
|
|
|
|
|
|
|
getPictureRecard(id).then(response => {
|
|
|
|
|
|
|
|
this.form = response.data;
|
|
|
|
|
|
|
|
this.open = true;
|
|
|
|
|
|
|
|
this.title = "修改档案图片信息记录";
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 提交按钮 */
|
|
|
|
|
|
|
|
submitForm() {
|
|
|
|
|
|
|
|
this.$refs["form"].validate(valid => {
|
|
|
|
|
|
|
|
if (valid) {
|
|
|
|
|
|
|
|
if (this.form.id != null) {
|
|
|
|
|
|
|
|
updatePictureRecard(this.form).then(response => {
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
addPictureRecard(this.form).then(response => {
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|
|
|
|
this.open = false;
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
/** 删除按钮操作 */
|
|
|
|
handleDelete(row) {
|
|
|
|
handleDelete(row) {
|
|
|
|
const ids = row.id || this.ids;
|
|
|
|
const ids = row.id || this.ids;
|
|
|
|
@ -333,12 +213,51 @@ export default {
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
this.$modal.msgSuccess("删除成功");
|
|
|
|
}).catch(() => {});
|
|
|
|
}).catch(() => {});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
// OCR识别
|
|
|
|
handleExport() {
|
|
|
|
OCRRecognition(){
|
|
|
|
this.download('dangan/pictureRecard/export', {
|
|
|
|
let arr = [];
|
|
|
|
...this.queryParams
|
|
|
|
let singeOrDouble = 0
|
|
|
|
}, `pictureRecard_${new Date().getTime()}.xlsx`)
|
|
|
|
if(this.isSuangMian){
|
|
|
|
|
|
|
|
singeOrDouble = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
this.selectionList.forEach(item => {
|
|
|
|
|
|
|
|
item.singeOrDouble = singeOrDouble
|
|
|
|
|
|
|
|
arr.push(item);
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
if(arr.length>0){
|
|
|
|
|
|
|
|
collectRecongnize(arr).then(response => {
|
|
|
|
|
|
|
|
this.selectionList = [];
|
|
|
|
|
|
|
|
this.$modal.msgSuccess("操作成功");
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
this.$alert(`请先选择需要识别的档案!`, `提示`, {
|
|
|
|
|
|
|
|
type: 'warning'
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
/** 查询目录列表 */
|
|
|
|
|
|
|
|
getProgress() {
|
|
|
|
|
|
|
|
collectProgress().then(response => {
|
|
|
|
|
|
|
|
this.percentage = response*100;
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
|
|
.myProgress{
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
top:0;
|
|
|
|
|
|
|
|
left:0;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
background: rgba(255,255,255,0.8);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|