个人成绩录入 双击选中
This commit is contained in:
parent
aaa26457dc
commit
5ab8d48451
@ -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("请先选择学生");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user