代码生成操作新增查看功能

This commit is contained in:
不做码农
2022-05-26 20:19:06 +08:00
parent e985633d53
commit f20d1bff20
3 changed files with 37 additions and 12 deletions

View File

@@ -56,6 +56,7 @@ namespace ZR.CodeGenerator
replaceDto.ShowBtnEdit = dto.GenTable.Options.CheckedBtn.Any(f => f == 2);
replaceDto.ShowBtnDelete = dto.GenTable.Options.CheckedBtn.Any(f => f == 3);
replaceDto.ShowBtnExport = dto.GenTable.Options.CheckedBtn.Any(f => f == 4);
replaceDto.ShowBtnView = dto.GenTable.Options.CheckedBtn.Any(f => f == 5);
//循环表字段信息

View File

@@ -47,6 +47,7 @@ namespace ZR.CodeGenerator.Model
public bool ShowBtnAdd { get; set; }
public bool ShowBtnEdit { get; set; }
public bool ShowBtnDelete { get; set; }
public bool ShowBtnView { get; set; }
/// <summary>
/// 上传URL data
/// </summary>