Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
王刘锁
/
jianlin-tms-view
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3cef33c7
authored
Nov 11, 2022
by
王刘锁
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
点位管理设备类型
parent
c6f9a114
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
src/views/modules/taskPlan/taskChainList/index.vue
src/views/modules/taskPlan/taskChainList/index.vue
View file @
3cef33c7
...
@@ -237,15 +237,23 @@ export default {
...
@@ -237,15 +237,23 @@ export default {
const
can
=
{
const
can
=
{
id
:
row
.
id
id
:
row
.
id
}
}
this
.
TaskChainList
.
setdeleteById
(
can
).
then
(({
data
})
=>
{
this
.
$confirm
(
'此操作将永久删除该数据, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
async
()
=>
{
await
this
.
TaskChainList
.
setdeleteById
(
can
).
then
(({
data
})
=>
{
if
(
data
.
code
===
200
)
{
if
(
data
.
code
===
200
)
{
this
.
$set
(
row
)
this
.
$set
(
row
)
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
message
:
data
.
msg
message
:
'删除成功'
});
});
this
.
getTaskListPage
()
}
}
})
})
}).
catch
(()
=>
{
});
},
},
},
},
created
()
{
created
()
{
...
...
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