Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
46e249bb
Commit
46e249bb
authored
Apr 01, 2022
by
chenqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重点人员管理删除接口
parent
9c971b23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
src/views/zdrygl/myaddZdry.vue
+8
-7
No files found.
src/views/zdrygl/myaddZdry.vue
View file @
46e249bb
...
...
@@ -8,11 +8,12 @@
:cxDefaultFormThead=
"cxDefaultFormThead"
:cxUrl=
"cxUrl"
@
add=
"add"
ref=
"rightContent"
@
toInfor=
"toInfor"
>
<template
#
btnGroup=
"scope"
>
<!--
<span
class=
"hbyp"
@
click=
"edit(scope.scope)"
>
修改
</span>
-->
<span
class=
"hbyp"
@
click=
"del(scope.scope)"
>
删除
</span>
<span
class=
"hbyp"
@
click=
"del
e
(scope.scope)"
>
删除
</span>
</
template
>
</right-content>
</div>
...
...
@@ -247,31 +248,31 @@ export default {
});
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
let
self
=
this
self
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
let
params
=
new
FormData
();
params
.
sppend
(
"id"
,
this
.
id
);
params
.
append
(
"id"
,
scope
.
row
.
id
);
deleteAddZdry
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$message
({
self
.
$message
({
type
:
"success"
,
message
:
"删除成功"
,
});
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
self
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
self
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
console
.
log
(
scope
.
row
.
id
);
},
toInfor
(
data
)
{
this
.
$router
.
pushToTab
({
...
...
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