Showing
1 changed file
with
3 additions
and
3 deletions
@@ -338,11 +338,11 @@ export default { | @@ -338,11 +338,11 @@ export default { | ||
338 | */ | 338 | */ |
339 | let deleteDocument = (id, type) => { | 339 | let deleteDocument = (id, type) => { |
340 | 340 | ||
341 | - let url = `/inspection-report/file/change?status=0`; | 341 | + let url = `/inspection-report/file/change`; |
342 | let msg = "您确认将该文件放入回收站?"; | 342 | let msg = "您确认将该文件放入回收站?"; |
343 | if (props.isRecycle) { | 343 | if (props.isRecycle) { |
344 | msg = "您确认永久删除该文件?"; | 344 | msg = "您确认永久删除该文件?"; |
345 | - url = `/inspection-report/file/delete?status=1`; | 345 | + url = `/inspection-report/file/delete`; |
346 | } | 346 | } |
347 | 347 | ||
348 | let info = []; | 348 | let info = []; |
@@ -416,7 +416,7 @@ export default { | @@ -416,7 +416,7 @@ export default { | ||
416 | 416 | ||
417 | proxy.$global.confirm("是否还原选择的文件?", function () { | 417 | proxy.$global.confirm("是否还原选择的文件?", function () { |
418 | 418 | ||
419 | - proxy.$http.post(`/inspection-report/file/restore?status=1`, info, function (res) { | 419 | + proxy.$http.post(`/inspection-report/file/restore`, info, function (res) { |
420 | if (res && res.code == 0) { | 420 | if (res && res.code == 0) { |
421 | proxy.$global.showMsg('还原成功!'); | 421 | proxy.$global.showMsg('还原成功!'); |
422 | if (props.isRecycle) { | 422 | if (props.isRecycle) { |
-
Please register or login to post a comment