个人成绩录入 双击选中

This commit is contained in:
shidongli 2022-08-30 11:30:05 +08:00
parent aaa26457dc
commit 5ab8d48451

View File

@ -112,6 +112,8 @@
v-loading="loading"
:data="testItemScoreList"
@selection-change="handleSelectionChange"
@row-dblclick="handledbClick"
ref="table"
>
<el-table-column type="selection" width="50" align="center" />
<el-table-column
@ -1044,6 +1046,12 @@ export default {
},
methods: {
handledbClick(row, event, column) {
// alert("");
this.$refs.table.toggleRowSelection(row);
console.log(row, event, column);
},
testclick() {
if (this.addqueryParams.studentId == "") {
this.$message.error("请先选择学生");