去掉试卷是否支持拷贝

This commit is contained in:
joylink_zhaoerwei 2024-02-27 15:34:59 +08:00
parent f42fc8a17c
commit f47f504ada
2 changed files with 3 additions and 12 deletions

View File

@ -27,9 +27,6 @@
/>
</el-select>
</el-form-item>
<el-form-item label="支持拷贝:" prop="supportCopy">
<el-checkbox v-model="formModel.supportCopy" />
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
<el-button v-loading="loading" type="primary" @click="doSave">{{ $t('global.confirm') }}</el-button>
@ -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;

View File

@ -112,10 +112,7 @@ export default {
{
name: '拷贝试卷',
handleClick: this.copyContestPaper,
type: 'warning',
showControl: row => {
return row.supportCopy;
}
type: 'warning'
}
]
}