实训 打分代码调整

This commit is contained in:
joylink_cuiweidong 2022-08-30 10:10:17 +08:00
parent 9113a5d288
commit f344e4ea07
3 changed files with 16 additions and 4 deletions

View File

@ -26,5 +26,6 @@ export default {
operateCondition: 'operating conditions',
completionCondition: 'completion conditions',
editCompletionCondition: 'Edit completion conditions',
editOperationCondition: 'Edit operation condition'
editOperationCondition: 'Edit operation condition',
gradeRules:'Grade rules'
};

View File

@ -26,5 +26,6 @@ export default {
operateCondition: '操作条件',
completionCondition: '完成条件',
editCompletionCondition: '编辑完成条件',
editOperationCondition: '编辑运算条件'
editOperationCondition: '编辑运算条件',
gradeRules:'评分'
};

View File

@ -1,5 +1,5 @@
<template>
<el-dialog v-dialogDrag title="实训管理" :visible.sync="dialogVisible" width="1000px" :before-close="doClose" center>
<el-dialog v-dialogDrag title="实训管理" :visible.sync="dialogVisible" width="1050px" :before-close="doClose" center>
<div>
<div class="trainingHeader">
<div class="trainingList">实训草稿列表</div>
@ -71,7 +71,7 @@ export default {
{
type: 'button',
title: this.$t('trainingManage.operate'),
width: '360',
width: '420',
buttons: [
{
name: this.$t('trainingManage.record'),
@ -102,6 +102,12 @@ export default {
handleClick: this.previewScript,
type: 'primary',
showControl:(row) => { return row.id; }
},
{
name: this.$t('trainingManage.gradeRules'),
handleClick: this.gradeRules,
type: 'success',
showControl:(row) => { return row.id; }
}
]
}
@ -207,6 +213,10 @@ export default {
},
previewScript(index, row) {
console.log('预览', index, row);
},
//
gradeRules() {
},
getListData() {
this.$refs.queryListPage && this.$refs.queryListPage.commitQuery();