样式调整

master
wanglei 2 years ago
parent a9ee346ed0
commit de3c1aef6e

@ -212,7 +212,6 @@ import { listBookshelf } from "@/api/dangan/bookshelf";
import { collectSaves, collectRecongnize } from "@/api/dangan/collection";
import '@/utils/WebScan';
import axios from 'axios'
import qs from 'qs'
export default {
name: "Collection",
@ -588,12 +587,19 @@ export default {
}
})
if(arr.length>0){
this.percentage = 0;
this.openProgress = true;
collectRecongnize(arr).then(response => {
this.pictureRecard = [];
console.log(3232,response);
if(response.fails&&response.fails.length>0){
this.pictureRecard = response.fails
}else {
this.pictureRecard = [];
}
this.checkAll = false;
clearInterval(this.Interval);
this.openProgress = false;
this.$modal.msgSuccess("操作成功");
this.$modal.msgSuccess(response.msg);
}).catch(()=>{
clearInterval(this.Interval);
this.openProgress = false;

@ -110,16 +110,16 @@
<el-table v-loading="loading" :data="pictureRecardList" @selection-change="handleSelectionChange" border>
<el-table-column type="selection" width="50" align="center" fixed/>
<el-table-column label="档案目录ID" align="center" prop="muId" fixed min-width="80"/>
<el-table-column label="档案目录ID" align="center" prop="muId" fixed min-width="90"/>
<el-table-column label="业务类型" align="center" prop="ywType" min-width="100" show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.yw_type" :value="scope.row.ywType"/>
</template>
</el-table-column>
<el-table-column label="档案目录路径" align="center" prop="muPath" min-width="120" show-overflow-tooltip/>
<el-table-column label="物理书架ID" align="center" prop="wlsjId" min-width="80"/>
<el-table-column label="物理书架ID" align="center" prop="wlsjId" min-width="90"/>
<el-table-column label="物理书架路径" align="center" prop="wlsjPath" min-width="100" show-overflow-tooltip/>
<el-table-column label="是否已经识别" align="center" prop="recognize" >
<el-table-column label="是否已经识别" align="center" prop="recognize" min-width="120" show-overflow-tooltip>
<template slot-scope="scope">
<dict-tag :options="dict.type.recognize" :value="scope.row.recognize"/>
</template>
@ -268,6 +268,8 @@ export default {
arr.push(item);
})
if(arr.length>0){
this.percentage = 0;
this.openProgress = true;
collectRecongnize(arr).then(response => {
this.selectionList = [];
clearInterval(this.Interval);
@ -313,7 +315,7 @@ export default {
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
}).then(function (response) {
}).then((response)=>{
this.percentage = Math.round((response.data.file_counts/this.selectionList.length)*100)
}).catch(function (error) {
//

Loading…
Cancel
Save