Commit ff268a9e by 前端

Merge branch 'v3.11.1' into 'master'

V3.11.1

See merge request !491
2 parents d56fe0f3 dfb9222d
......@@ -58,18 +58,18 @@ export default {
],
// 表格按钮
tableButtonList: [
{
type: 'el-button',
name: row => {
return row.commentStatus == '0' ? '发布' : '撤回'
},
attrs: {
type: 'text'
},
listeners: {
click: this.handleRevoke
}
},
// {
// type: 'el-button',
// name: row => {
// return row.commentStatus == '0' ? '发布' : '撤回'
// },
// attrs: {
// type: 'text'
// },
// listeners: {
// click: this.handleRevoke
// }
// },
{
type: 'GLButton',
name: '查看',
......@@ -188,11 +188,11 @@ export default {
})
},
// 发布/撤回
handleRevoke(row) {
var txt = row.commentStatus == '0' ? '发布' : '撤回'
this.secondConfirm(txt, '是否确认' + txt + '该评论?', 'orderComment', 'changeCommentStatusApi', { id: row.id, commentStatus: row.commentStatus == '0' ? 1 : 0 })
},
// // 发布/撤回
// handleRevoke(row) {
// var txt = row.commentStatus == '0' ? '发布' : '撤回'
// this.secondConfirm(txt, '是否确认' + txt + '该评论?', 'orderComment', 'changeCommentStatusApi', { id: row.id, commentStatus: row.commentStatus == '0' ? 1 : 0 })
// },
handleDelete(row) {
this.secondConfirm('删除', '是否确认删除该评论?', 'orderComment', 'deleteCommentApi', { id: row.id })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!