涉密人员打印

master
dsh 12 months ago
parent 0a1f5f5706
commit 29e9f3dd15

@ -95,7 +95,6 @@ public class SysUserExamineController extends BaseController {
@RequiresPermissions("system:userexamine:examineprint") @RequiresPermissions("system:userexamine:examineprint")
@Log(title = "用户审核", businessType = BusinessType.PRINT) @Log(title = "用户审核", businessType = BusinessType.PRINT)
@GetMapping("/examineprint/{userId}") @GetMapping("/examineprint/{userId}")
@ResponseBody
public String paint(@PathVariable("userId") Long userId,ModelMap mmap) public String paint(@PathVariable("userId") Long userId,ModelMap mmap)
{ {
List<SysRole> roles = roleService.selectRolesByUserId(userId); List<SysRole> roles = roleService.selectRolesByUserId(userId);

@ -113,10 +113,10 @@
var actions = []; var actions = [];
if(row.examine !== '2'){ if(row.examine !== '2'){
actions.push('<a disabled class="btn btn-success btn-xs ' + examineFlag + '" href="javascript:void(0)"><i class="fa fa-edit"></i>审核</a> '); actions.push('<a disabled class="btn btn-success btn-xs ' + examineFlag + '" href="javascript:void(0)"><i class="fa fa-edit"></i>审核</a> ');
actions.push('<a class="btn btn-success btn-xs ' + downloadFlag + '" href="javascript:void(0)"><i class="fa fa-download"></i>打印</a> '); actions.push('<a class="btn btn-success btn-xs ' + downloadFlag + '" href="javascript:void(0)" onclick="examineprint(\'' + row.userId + '\')"><i class="fa fa-download"></i>打印</a> ');
}else{ }else{
actions.push('<a class="btn btn-success btn-xs ' + examineFlag + '" href="javascript:void(0)" onclick="examinedetail(\'' + row.userId + '\')"><i class="fa fa-edit"></i>审核</a> '); actions.push('<a class="btn btn-success btn-xs ' + examineFlag + '" href="javascript:void(0)" onclick="examinedetail(\'' + row.userId + '\')"><i class="fa fa-edit"></i>审核</a> ');
actions.push('<a class="btn btn-success btn-xs ' + downloadFlag + '" href="javascript:void(0)" onclick="download(\'' + row.userId + '\')"><i class="fa fa-download"></i>打印</a> '); actions.push('<a class="btn btn-success btn-xs ' + downloadFlag + '" href="javascript:void(0)" onclick="examineprint(\'' + row.userId + '\')"><i class="fa fa-download"></i>打印</a> ');
} }
return actions.join(''); return actions.join('');
} }
@ -128,9 +128,9 @@
var url ='/system/userexamine/examine/' + id; var url ='/system/userexamine/examine/' + id;
$.modal.openTab("涉密人员审核", url); $.modal.openTab("涉密人员审核", url);
} }
function download(id){ function examineprint(id){
var url ='/system/userexamine/examine/' + id; var url ='system/userexamine/examineprint/' + id;
$.modal.openTab("涉密人员审核", url); $.modal.openTab("打印", url);
} }
</script> </script>
</body> </body>

Loading…
Cancel
Save