档案采集

master
wanglei 2 years ago
parent 823508ff97
commit a037031cef

@ -219,8 +219,8 @@ export default {
return { return {
// 0 1 2 // 0 1 2
pixel: 1, pixel: 1,
// //
single: false, single: true,
// //
white: false, white: false,
// //
@ -397,9 +397,9 @@ export default {
this.$refs.tree.setCurrentKey(this.$route.query.id); this.$refs.tree.setCurrentKey(this.$route.query.id);
this.dangAnNode = this.$refs.tree.getNode(this.$route.query.id); this.dangAnNode = this.$refs.tree.getNode(this.$route.query.id);
if(this.dangAnNode.data.ywType==='option1'){ if(this.dangAnNode.data.ywType==='option1'){
this.single = true;
}else {
this.single = false; this.single = false;
}else {
this.single = true;
} }
}); });
} }
@ -415,9 +415,9 @@ export default {
this.dangAnID = data.id; this.dangAnID = data.id;
this.dangAnNode = Node; this.dangAnNode = Node;
if(this.dangAnNode.data.ywType==='option1'){ if(this.dangAnNode.data.ywType==='option1'){
this.single = true;
}else {
this.single = false; this.single = false;
}else {
this.single = true;
} }
}, },
/** 点击上传操作 */ /** 点击上传操作 */
@ -573,7 +573,7 @@ export default {
OCRRecognition(){ OCRRecognition(){
let arr = []; let arr = [];
let singeOrDouble = 0 let singeOrDouble = 0
if(this.single){ if(!this.single){
singeOrDouble = 1 singeOrDouble = 1
} }
this.pictureRecard.forEach(item => { this.pictureRecard.forEach(item => {

Loading…
Cancel
Save