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 ac386d7f
authored
Mar 28, 2024
by
peiqiQQQ
Browse files
Options
Browse Files
Download
Plain Diff
修改
2 parents
a14c0741
83286629
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 @
ac386d7
...
@@ -109,10 +109,7 @@ export default {
...
@@ -109,10 +109,7 @@ export default {
type
:
'primary'
,
type
:
'primary'
,
size
:
'mini'
,
size
:
'mini'
,
plain
:
true
,
plain
:
true
,
icon
:
'el-icon-circle-check'
,
icon
:
'el-icon-view'
,
disabledCallback
:
(
row
,
title
)
=>
{
return
row
.
state
==
'1'
?
true
:
false
},
},
},
],
],
callback
:
(
row
,
title
)
=>
{
callback
:
(
row
,
title
)
=>
{
...
@@ -131,6 +128,21 @@ export default {
...
@@ -131,6 +128,21 @@ export default {
{
label
:
'启用时间'
,
prop
:
'startTime'
,
},
{
label
:
'启用时间'
,
prop
:
'startTime'
,
},
{
label
:
'创建人'
,
prop
:
'createMan'
,
},
{
label
:
'创建人'
,
prop
:
'createMan'
,
},
{
label
:
'创建时间'
,
prop
:
'createTime'
,
},
{
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 {
...
@@ -175,6 +187,9 @@ export default {
case
'审查'
:
case
'审查'
:
this
.
fnSubmit
(
row
)
this
.
fnSubmit
(
row
)
break
break
case
'删除'
:
this
.
fnDel
(
row
)
break
default
:
default
:
break
break
}
}
...
@@ -182,6 +197,24 @@ export default {
...
@@ -182,6 +197,24 @@ export default {
fnSubmit
(
row
){
fnSubmit
(
row
){
this
.
$router
.
push
(
'/main/examine'
)
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
>
</
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