Commit 04aec0d4 authored by 黄奎's avatar 黄奎

页面修改

parent a8e60d28
......@@ -45,7 +45,7 @@
<template v-slot:body-cell-optioned="props">
<q-td :props="props">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" @click="goQuestionList()"
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" @click="goQuestionList(props.rows)"
label="管理题目" />
<q-btn flat size="xs" icon="edit" color="negative" style="font-weight:400" label="删除" />
</q-btn>
......@@ -154,8 +154,8 @@
})
},
//跳转至questionlist
goQuestionList() {
var tempStr = '../course/question';
goQuestionList(item) {
var tempStr = '../course/question?bankId='+item.BankId;
this.$router.push({
path: tempStr
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment