|
@@ -86,8 +86,9 @@
|
|
|
</div>
|
|
|
|
|
|
<image-action-list
|
|
|
+ v-if="papers.length"
|
|
|
:data="papers"
|
|
|
- :actions="['rotate', 'absent']"
|
|
|
+ :actions="actions"
|
|
|
@on-review="toReview"
|
|
|
ref="ImageActionList"
|
|
|
></image-action-list>
|
|
@@ -139,6 +140,7 @@ export default {
|
|
|
SORT_RULE_TYPE,
|
|
|
CAFA_EXCEPTION_TYPE: {},
|
|
|
paperType: "9",
|
|
|
+ confirmPaperType: "9",
|
|
|
current: 1,
|
|
|
size: this.GLOBAL.pageSize,
|
|
|
total: 0,
|
|
@@ -150,6 +152,11 @@ export default {
|
|
|
curPaperIndex: 0
|
|
|
};
|
|
|
},
|
|
|
+ computed: {
|
|
|
+ actions() {
|
|
|
+ return this.confirmPaperType === "1" ? [] : ["rotate", "absent"];
|
|
|
+ }
|
|
|
+ },
|
|
|
mounted() {
|
|
|
this.CAFA_EXCEPTION_TYPE = { ...CAFA_EXCEPTION_TYPE, 9: "全部" };
|
|
|
this.initData();
|
|
@@ -172,6 +179,7 @@ export default {
|
|
|
page: this.current - 1,
|
|
|
size: this.size
|
|
|
};
|
|
|
+ this.papers = [];
|
|
|
const data = await paperPageList(datas);
|
|
|
this.papers = data.data.map(paper => {
|
|
|
const title = paper.manual
|
|
@@ -196,6 +204,7 @@ export default {
|
|
|
this.$Message.error("请选择科目和考区!");
|
|
|
return;
|
|
|
}
|
|
|
+ this.confirmPaperType = this.paperType;
|
|
|
this.current = page;
|
|
|
this.getList();
|
|
|
},
|