|
|
|
|
@ -219,8 +219,8 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
// 颜色模式,0:黑白 1:灰色 2:彩色
|
|
|
|
|
pixel: 1,
|
|
|
|
|
// 是否双面
|
|
|
|
|
single: false,
|
|
|
|
|
// 是否单面
|
|
|
|
|
single: true,
|
|
|
|
|
// 是否去白页
|
|
|
|
|
white: false,
|
|
|
|
|
// 分辨率
|
|
|
|
|
@ -397,9 +397,9 @@ export default {
|
|
|
|
|
this.$refs.tree.setCurrentKey(this.$route.query.id);
|
|
|
|
|
this.dangAnNode = this.$refs.tree.getNode(this.$route.query.id);
|
|
|
|
|
if(this.dangAnNode.data.ywType==='option1'){
|
|
|
|
|
this.single = true;
|
|
|
|
|
}else {
|
|
|
|
|
this.single = false;
|
|
|
|
|
}else {
|
|
|
|
|
this.single = true;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
@ -415,9 +415,9 @@ export default {
|
|
|
|
|
this.dangAnID = data.id;
|
|
|
|
|
this.dangAnNode = Node;
|
|
|
|
|
if(this.dangAnNode.data.ywType==='option1'){
|
|
|
|
|
this.single = true;
|
|
|
|
|
}else {
|
|
|
|
|
this.single = false;
|
|
|
|
|
}else {
|
|
|
|
|
this.single = true;
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
/** 点击上传操作 */
|
|
|
|
|
@ -573,7 +573,7 @@ export default {
|
|
|
|
|
OCRRecognition(){
|
|
|
|
|
let arr = [];
|
|
|
|
|
let singeOrDouble = 0
|
|
|
|
|
if(this.single){
|
|
|
|
|
if(!this.single){
|
|
|
|
|
singeOrDouble = 1
|
|
|
|
|
}
|
|
|
|
|
this.pictureRecard.forEach(item => {
|
|
|
|
|
|