提交 7315a2ac authored 作者: 王鹏飞's avatar 王鹏飞

重修按钮修改

上级 0627b608
...@@ -119,12 +119,13 @@ export default { ...@@ -119,12 +119,13 @@ export default {
attrs: { width: '100px' }, attrs: { width: '100px' },
buttons: [ buttons: [
{ {
label: '申请重修', label: '联系教务老师',
isShow(row) { isShow(row) {
return row.passed === 0 return row.passed === 0
}, },
onClick: row => { onClick: row => {
this.$router.push({ path: '/app/offices', query: { channel: 'retake' } }) console.log(row)
// this.$router.push({ path: '/app/offices', query: { channel: 'retake' } })
} }
} }
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论