实训 打分代码调整

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', operateCondition: 'operating conditions',
completionCondition: 'completion conditions', completionCondition: 'completion conditions',
editCompletionCondition: 'Edit 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: '操作条件', operateCondition: '操作条件',
completionCondition: '完成条件', completionCondition: '完成条件',
editCompletionCondition: '编辑完成条件', editCompletionCondition: '编辑完成条件',
editOperationCondition: '编辑运算条件' editOperationCondition: '编辑运算条件',
gradeRules:'评分'
}; };

View File

@ -1,5 +1,5 @@
<template> <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>
<div class="trainingHeader"> <div class="trainingHeader">
<div class="trainingList">实训草稿列表</div> <div class="trainingList">实训草稿列表</div>
@ -71,7 +71,7 @@ export default {
{ {
type: 'button', type: 'button',
title: this.$t('trainingManage.operate'), title: this.$t('trainingManage.operate'),
width: '360', width: '420',
buttons: [ buttons: [
{ {
name: this.$t('trainingManage.record'), name: this.$t('trainingManage.record'),
@ -102,6 +102,12 @@ export default {
handleClick: this.previewScript, handleClick: this.previewScript,
type: 'primary', type: 'primary',
showControl:(row) => { return row.id; } 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) { previewScript(index, row) {
console.log('预览', index, row); console.log('预览', index, row);
},
//
gradeRules() {
}, },
getListData() { getListData() {
this.$refs.queryListPage && this.$refs.queryListPage.commitQuery(); this.$refs.queryListPage && this.$refs.queryListPage.commitQuery();