|
@@ -109,12 +109,13 @@ export default {
|
|
|
]
|
|
|
},
|
|
|
scaningImageList: [],
|
|
|
- realScanCount: 0
|
|
|
+ realScanCount: 0,
|
|
|
+ taskScanUserId: ""
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
|
taskBound() {
|
|
|
- return this.user.id === this.task.scanUserId;
|
|
|
+ return this.user.id === this.taskScanUserId;
|
|
|
}
|
|
|
},
|
|
|
beforeDestroy() {
|
|
@@ -130,6 +131,7 @@ export default {
|
|
|
},
|
|
|
visibleChange() {
|
|
|
logger.info(`00进入扫描`);
|
|
|
+ this.taskScanUserId = this.task.scanUserId;
|
|
|
this.initData();
|
|
|
},
|
|
|
close() {
|
|
@@ -162,6 +164,7 @@ export default {
|
|
|
paperScanTaskId: this.task.id,
|
|
|
userId: this.user.id
|
|
|
});
|
|
|
+ this.taskScanUserId = this.user.id;
|
|
|
}
|
|
|
logger.info(`01开始扫描`);
|
|
|
this.scaningImageList = [];
|