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