Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王涛
3 years ago
Commit
9217ac6995b128bc91c53b0bf620fc0c04e19cf9
1 parent
d3afe421
搜索
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
View file @
9217ac6
...
...
@@ -338,11 +338,11 @@ export default {
*/
let
deleteDocument
=
(
id
,
type
)
=>
{
let
url
=
`
/
inspection
-
report
/
file
/
change
?
status
=
0
`
;
let
url
=
`
/
inspection
-
report
/
file
/
change
`
;
let
msg
=
"您确认将该文件放入回收站?"
;
if
(
props
.
isRecycle
)
{
msg
=
"您确认永久删除该文件?"
;
url
=
`
/
inspection
-
report
/
file
/
delete
?
status
=
1
`
;
url
=
`
/
inspection
-
report
/
file
/
delete
`
;
}
let
info
=
[];
...
...
@@ -416,7 +416,7 @@ export default {
proxy
.
$global
.
confirm
(
"是否还原选择的文件?"
,
function
()
{
proxy
.
$http
.
post
(
`
/
inspection
-
report
/
file
/
restore
?
status
=
1
`
,
info
,
function
(
res
)
{
proxy
.
$http
.
post
(
`
/
inspection
-
report
/
file
/
restore
`
,
info
,
function
(
res
)
{
if
(
res
&&
res
.
code
==
0
)
{
proxy
.
$global
.
showMsg
(
'还原成功!'
);
if
(
props
.
isRecycle
)
{
...
...
Please
register
or
login
to post a comment