@model System.Data.DataTable @functions{ public string GetAllowAttach(string allowAttach) { switch (allowAttach) { case "0": return "不允许"; case "1": return "允许"; default: return ""; } } } @section head{
| ID | 流程名称 | 流程表单 | 允许附件 | 备注 | 操作 |
|---|---|---|---|---|---|
| @dr["ID"] | @dr["ProcedureName"] | @dr["FormInfo"] | @GetAllowAttach(DataConvert.CStr(dr["AllowAttach"])) | @dr["Remind"] | 新建@(dr["SponsorGroup"]) |