diff --git a/src/views/contestDataManage/contestSubjectManage/AddEditPaper.vue b/src/views/contestDataManage/contestSubjectManage/AddEditPaper.vue index 165ca0112..14663b638 100644 --- a/src/views/contestDataManage/contestSubjectManage/AddEditPaper.vue +++ b/src/views/contestDataManage/contestSubjectManage/AddEditPaper.vue @@ -27,9 +27,6 @@ /> - - - {{ $t('global.confirm') }} @@ -49,8 +46,7 @@ export default { name: '', // 试卷名称 desc: '', // 任务描述 seasonId: '', // 所属赛季id - group:'', // 高职和中职 - supportCopy:false // 是否支持拷贝 + group:'' // 高职和中职 }, seasonOptions:[], groupOption:[{ @@ -97,7 +93,6 @@ export default { this.formModel.desc = row.desc; this.formModel.seasonId = row.seasonId; this.formModel.group = row.group; - this.formModel.supportCopy = row.supportCopy; } else { this.formModel = { id: '', @@ -113,8 +108,7 @@ export default { id: '', name: '', desc: '', - seasonId: '', - supportCopy:false + seasonId: '' }; this.dialogVisible = false; this.loading = false; diff --git a/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue b/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue index 16fef987b..191ca2009 100644 --- a/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue +++ b/src/views/contestDataManage/contestSubjectManage/ContestSubjectManage.vue @@ -112,10 +112,7 @@ export default { { name: '拷贝试卷', handleClick: this.copyContestPaper, - type: 'warning', - showControl: row => { - return row.supportCopy; - } + type: 'warning' } ] }