修改页面和接口

This commit is contained in:
liuwu 2023-09-13 09:07:17 +08:00
parent 14a5b74dcf
commit 5d4db27e1f
2 changed files with 15 additions and 2 deletions

View File

@ -93,14 +93,27 @@ public class TAmentPartyAffairsController extends BaseController
return prefix + "/upload"; return prefix + "/upload";
} }
/**
* 上传图片页面
* @return
*/
@RequiresPermissions("base:affairs:view")
@GetMapping("viewFiles")
public String viewFiles()
{
return prefix + "/viewFiles";
}
/** /**
* *
* @return * @return
*/ */
@RequiresPermissions("base:affairs:view") @RequiresPermissions("base:affairs:view")
@GetMapping("reviewed") @GetMapping("reviewed")
public String reviewed() public String reviewed(Long id, ModelMap mmap)
{ {
mmap.put("tAmentPartyAffairs",tAmentPartyAffairsService.selectTAmentPartyAffairsById(id));
return prefix + "/reviewed"; return prefix + "/reviewed";
} }

View File

@ -203,7 +203,7 @@
title:'审批', title:'审批',
area:['40%','50%'], area:['40%','50%'],
type:2, type:2,
content:'/base/affairs/reviewed', content:'/base/affairs/reviewed?id='+_id,
success(res,index){ success(res,index){
//传值 //传值
parent.a_upload_id = _id; parent.a_upload_id = _id;