|
@@ -343,8 +343,6 @@ export default {
|
|
|
return data;
|
|
|
},
|
|
|
async getMarkList(params) {
|
|
|
- const userId = this.$ls.get("user", { id: "" }).id;
|
|
|
- const markDisabled = userId !== params.markerId;
|
|
|
const datas = {
|
|
|
...params,
|
|
|
workId: this.workId,
|
|
@@ -355,9 +353,6 @@ export default {
|
|
|
};
|
|
|
|
|
|
const data = await markTaskPaperList(datas);
|
|
|
- data.data.forEach((item) => {
|
|
|
- item.markDisabled = markDisabled;
|
|
|
- });
|
|
|
return data;
|
|
|
},
|
|
|
async toPage(page) {
|
|
@@ -441,6 +436,7 @@ export default {
|
|
|
if (this.papers.length) {
|
|
|
this.selectPaper(0);
|
|
|
} else {
|
|
|
+ this.paperKey = this.$randomCode();
|
|
|
this.curPaper = {};
|
|
|
}
|
|
|
},
|
|
@@ -513,6 +509,7 @@ export default {
|
|
|
this.setShortcut(["action"]);
|
|
|
this.isFullscreenMarking = true;
|
|
|
this.clearMultiplePaper();
|
|
|
+ this.paperKey = this.$randomCode();
|
|
|
this.curPaperIndex = this.papers.findIndex((item) => item.id === data.id);
|
|
|
this.curPaper = Object.assign({}, this.papers[this.curPaperIndex], data);
|
|
|
this.$refs.SimpleImagePreview.open();
|