Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ff268a9e
authored
Jun 15, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v3.11.1' into 'master'
V3.11.1 See merge request
!491
2 parents
d56fe0f3
dfb9222d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
src/views/orderComment/index.vue
src/views/orderComment/index.vue
View file @
ff268a9
...
@@ -58,18 +58,18 @@ export default {
...
@@ -58,18 +58,18 @@ export default {
],
],
// 表格按钮
// 表格按钮
tableButtonList
:
[
tableButtonList
:
[
{
//
{
type
:
'el-button'
,
//
type: 'el-button',
name
:
row
=>
{
//
name: row => {
return
row
.
commentStatus
==
'0'
?
'发布'
:
'撤回'
//
return row.commentStatus == '0' ? '发布' : '撤回'
},
//
},
attrs
:
{
//
attrs: {
type
:
'text'
//
type: 'text'
},
//
},
listeners
:
{
//
listeners: {
click
:
this
.
handleRevoke
//
click: this.handleRevoke
}
//
}
},
//
},
{
{
type
:
'GLButton'
,
type
:
'GLButton'
,
name
:
'查看'
,
name
:
'查看'
,
...
@@ -188,11 +188,11 @@ export default {
...
@@ -188,11 +188,11 @@ export default {
})
})
},
},
// 发布/撤回
//
//
发布/撤回
handleRevoke
(
row
)
{
//
handleRevoke(row) {
var
txt
=
row
.
commentStatus
==
'0'
?
'发布'
:
'撤回'
//
var txt = row.commentStatus == '0' ? '发布' : '撤回'
this
.
secondConfirm
(
txt
,
'是否确认'
+
txt
+
'该评论?'
,
'orderComment'
,
'changeCommentStatusApi'
,
{
id
:
row
.
id
,
commentStatus
:
row
.
commentStatus
==
'0'
?
1
:
0
})
//
this.secondConfirm(txt, '是否确认' + txt + '该评论?', 'orderComment', 'changeCommentStatusApi', { id: row.id, commentStatus: row.commentStatus == '0' ? 1 : 0 })
},
//
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
secondConfirm
(
'删除'
,
'是否确认删除该评论?'
,
'orderComment'
,
'deleteCommentApi'
,
{
id
:
row
.
id
})
this
.
secondConfirm
(
'删除'
,
'是否确认删除该评论?'
,
'orderComment'
,
'deleteCommentApi'
,
{
id
:
row
.
id
})
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment