Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
liangzhen
/
framework-tools-web
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 83286629
authored
Mar 28, 2024
by
peiqiQQQ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
1 parent
604b4081
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
4 deletions
src/views/artPolicyExamine/index.vue
src/views/artPolicyExamine/index.vue
View file @
8328662
...
...
@@ -109,10 +109,7 @@ export default {
type
:
'primary'
,
size
:
'mini'
,
plain
:
true
,
icon
:
'el-icon-circle-check'
,
disabledCallback
:
(
row
,
title
)
=>
{
return
row
.
state
==
'1'
?
true
:
false
},
icon
:
'el-icon-view'
,
},
],
callback
:
(
row
,
title
)
=>
{
...
...
@@ -131,6 +128,21 @@ export default {
{
label
:
'启用时间'
,
prop
:
'startTime'
,
},
{
label
:
'创建人'
,
prop
:
'createMan'
,
},
{
label
:
'创建时间'
,
prop
:
'createTime'
,
},
{
label
:
'操作'
,
type
:
'operation'
,
width
:
'200px'
,
actionButtons
:
[
{
title
:
'删除'
,
type
:
'danger'
,
size
:
'mini'
,
plain
:
true
,
icon
:
'el-icon-delete'
,
},
],
callback
:
(
row
,
title
)
=>
{
this
.
fnOperation
(
row
,
title
)
},
},
]
}
},
...
...
@@ -175,6 +187,9 @@ export default {
case
'审查'
:
this
.
fnSubmit
(
row
)
break
case
'删除'
:
this
.
fnDel
(
row
)
break
default
:
break
}
...
...
@@ -182,6 +197,24 @@ export default {
fnSubmit
(
row
){
this
.
$router
.
push
(
'/main/examine'
)
},
fnDel
(
row
){
this
.
$confirm
(
'是否确认删除?'
,
'提示'
,
{
confirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
,
})
.
then
(()
=>
{
this
.
$postRequest
(
'/klTechPolicyCheck/del/'
,
{
id
:
row
.
id
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
$refs
.
searchTable
.
queryData
()
}
else
{
this
.
$message
.
error
(
res
.
msg
)
}
})
})
.
catch
(()
=>
{})
}
},
}
</
script
>
...
...
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