/// <summary>
        /// 添加
        /// </summary>
        /// <returns></returns>
        public ActionResult ProjectCreate()
        {
            ProjectCreate model = new ProjectCreate();
            model.SortID = 0;
            model.ProgressNum = 0;
            model.StartDate = DateTime.Parse(DateTime.Now.ToShortDateString());
            model.ExpectDate = DateTime.Parse(DateTime.Now.ToShortDateString());

            @ViewBag.ImpropantWeight = DicUtil.Instance.DicImpropantWeight(0);
            @ViewBag.UrgentWeight = DicUtil.Instance.DicUrgentWeight(0);
            @ViewBag.OpenStatus = DicUtil.Instance.DicOpenStatus(0);
            @ViewBag.ProStatus = DicUtil.Instance.DicProStatus(0);

            return View(model);
        }
        public ActionResult ProjectCreate(ProjectCreate model)
        {
            if (!ModelState.IsValid) return View(model);

            var item = new Zs_Project();
            item = sysFun.InitialEntity<ProjectCreate, Zs_Project>(model, item);
            item.UpdateDate = DateTime.Now;
            item.FinishedDate = DateTime.Now;
            item = bProject.Add(item);

            if (item.ProjectID > 0) return RedirectToAction("ProjectList");

            return View(model);
        }