示例#1
0
        /// <summary>
        /// 取消审核功能
        /// </summary>
        /// <param name="table">表名称</param>
        /// <param name="refGuid">数据主键</param>
        /// <param name="projGuid">项目主键</param>
        /// <param name="url">当前url</param>
        public static void CannelConfirm(string table, string refGuid, string projGuid, string url)
        {
            HttpCookie cookie = HttpContext.Current.Request.Cookies["CurrentUserInfo"];
            DataSet    ds     = null;

            if (cookie != null)
            {
                LogFacade log = new LogFacade();
                ds = log.OperatorLog(table, refGuid, refGuid, "取消审核", HttpContext.Current.Server.UrlDecode(cookie["CurrentUserGuid"]), HttpContext.Current.Server.UrlDecode(cookie["CurrentUserDN"]), HttpContext.Current.Server.UrlDecode(cookie["CurrentUserCN"]), projGuid);
            }
            FormatProject.CannelConfirm(table, refGuid, projGuid, url, ds);
        }
示例#2
0
        /// <summary>
        /// 项目信息审核退回
        /// </summary>
        /// <param name="table">表名称</param>
        /// <param name="status">审核状态 1 审核 2 退回</param>
        /// <param name="refGuid">数据主键</param>
        /// <param name="projGuid">项目主键</param>
        /// <param name="remark">意见</param>
        /// <param name="url">当前地址</param>
        /// <returns></returns>
        public static void InfoAction(string table, string status, string refGuid, string projGuid, string remark, string url)
        {
            HttpCookie cookie = HttpContext.Current.Request.Cookies["CurrentUserInfo"];
            DataSet    ds     = null;

            if (cookie != null)
            {
                LogFacade log = new LogFacade();
                ds = log.OperatorLog(table, refGuid, refGuid, status == "1" ? "审核" : "退回", HttpContext.Current.Server.UrlDecode(cookie["CurrentUserGuid"]), HttpContext.Current.Server.UrlDecode(cookie["CurrentUserDN"]), HttpContext.Current.Server.UrlDecode(cookie["CurrentUserCN"]), projGuid);
            }
            FormatProject.InfoAction(table, status, refGuid, projGuid, remark, ds, url);
        }