去掉试卷是否支持拷贝

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-select>
</el-form-item> </el-form-item>
<el-form-item label="支持拷贝:" prop="supportCopy">
<el-checkbox v-model="formModel.supportCopy" />
</el-form-item>
</el-form> </el-form>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button v-loading="loading" type="primary" @click="doSave">{{ $t('global.confirm') }}</el-button> <el-button v-loading="loading" type="primary" @click="doSave">{{ $t('global.confirm') }}</el-button>
@ -49,8 +46,7 @@ export default {
name: '', // name: '', //
desc: '', // desc: '', //
seasonId: '', // id seasonId: '', // id
group:'', // group:'' //
supportCopy:false //
}, },
seasonOptions:[], seasonOptions:[],
groupOption:[{ groupOption:[{
@ -97,7 +93,6 @@ export default {
this.formModel.desc = row.desc; this.formModel.desc = row.desc;
this.formModel.seasonId = row.seasonId; this.formModel.seasonId = row.seasonId;
this.formModel.group = row.group; this.formModel.group = row.group;
this.formModel.supportCopy = row.supportCopy;
} else { } else {
this.formModel = { this.formModel = {
id: '', id: '',
@ -113,8 +108,7 @@ export default {
id: '', id: '',
name: '', name: '',
desc: '', desc: '',
seasonId: '', seasonId: ''
supportCopy:false
}; };
this.dialogVisible = false; this.dialogVisible = false;
this.loading = false; this.loading = false;

View File

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