Beispiel #1
0
        public ActionResult GetFormDownload(string keyValue)
        {
            TemplateEntity templateEntity = templateApp.GetForm(keyValue);
            var            roleId         = OperatorProvider.Provider.GetCurrent().RoleId;

            if (roleId == "2d032b54-1d1e-4990-908e-0343131b6d04")
            {
                templateEntity.PRT_IMG = "T";//已下载
                templateApp.SubmitForm(templateEntity, keyValue);
            }
            return(Content(templateEntity.ToJson()));
        }
Beispiel #2
0
        public ActionResult GetFormJson(string keyValue)
        {
            TemplateEntity templateEntity = templateApp.GetForm(keyValue);

            return(Content(templateEntity.ToJson()));
        }