Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
haoban-3
Commits
e34fd9a1
Commit
e34fd9a1
authored
Feb 17, 2022
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 二次确认
parent
1d9f8bf5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
salutatory.vue
src/views/enterprise/salutatory.vue
+16
-2
No files found.
src/views/enterprise/salutatory.vue
View file @
e34fd9a1
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
<el-table-column
label=
"操作"
width=
"180"
>
<el-table-column
label=
"操作"
width=
"180"
>
<
template
slot-scope=
"{ row }"
>
<
template
slot-scope=
"{ row }"
>
<el-button
type=
"text"
@
click=
"changeRoute(row)"
>
编辑
</el-button>
<el-button
type=
"text"
@
click=
"changeRoute(row)"
>
编辑
</el-button>
<el-button
type=
"text"
>
删除
</el-button>
<el-button
type=
"text"
@
click=
"remove(row)"
>
删除
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -170,7 +170,21 @@ export default {
...
@@ -170,7 +170,21 @@ export default {
changeRoute
(
row
)
{
changeRoute
(
row
)
{
this
.
$router
.
push
({
path
:
'/salutatorySet'
,
query
:
{
id
:
row
.
welcomeId
,
type
:
this
.
friendSettingType
}
});
this
.
$router
.
push
({
path
:
'/salutatorySet'
,
query
:
{
id
:
row
.
welcomeId
,
type
:
this
.
friendSettingType
}
});
},
},
remove
(
row
)
{
this
.
$confirm
(
' 是否删除本条欢迎语?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
getRequest
(
'/haoban-manage3-web/welcome/remove'
,
{
welcomeId
:
row
.
welcomeId
}).
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
code
==
0
&&
resData
.
result
)
{
this
.
$message
.
success
(
'删除成功'
);
this
.
getData
();
}
});
});
},
/**
/**
* 获取数据
* 获取数据
*/
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment