去掉试卷是否支持拷贝
This commit is contained in:
parent
f42fc8a17c
commit
f47f504ada
@ -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;
|
||||
|
@ -112,10 +112,7 @@ export default {
|
||||
{
|
||||
name: '拷贝试卷',
|
||||
handleClick: this.copyContestPaper,
|
||||
type: 'warning',
|
||||
showControl: row => {
|
||||
return row.supportCopy;
|
||||
}
|
||||
type: 'warning'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user