public ActionResult ApprovalzhunchuSup(string id) { string[] arr = id.Split('@'); string webkey = arr[0]; // Web.config内关联的key string folderBack = COM_ApprovalMan.getNewwebkey(webkey); string PID = arr[1]; string RelevanceID = arr[2]; tk_SYRDetail del = new tk_SYRDetail(); tk_SProcessInfo info = new tk_SProcessInfo(); tk_SUPSugestion suges = new tk_SUPSugestion(); suges = SupplyManage.GetSuge(RelevanceID); info = SupplyManage.getProceinfo(RelevanceID); del = SupplyManage.getDetails(RelevanceID); ViewData["Score1"] = del.Score1; ViewData["Score2"] = del.Score2; ViewData["Score3"] = del.Score3; ViewData["Score4"] = del.Score4; ViewData["Score5"] = del.Score5; ViewData["Result"] = del.Result; ViewData["ReviewDate"] = del.ReviewDate; ViewData["ResultDesc"] = del.ResultDesc; ViewData["DeclareUser"] = del.DeclareUser; ViewData["DeclareUnit"] = del.DeclareUnit; ViewData["OpinionsD"] = info.OpinionsD; ViewData["ISAgree"] = info.ISAgree; ViewData["SState"] = suges.SState; ViewData["SContent"] = suges.SContent; ViewData["webkey"] = webkey; ViewData["folderBack"] = folderBack; ViewData["PID"] = PID; ViewData["RelevanceID"] = RelevanceID; return(View()); }
public ActionResult RWApproval() { ViewData["webkey"] = "生产任务审批"; string fold = COM_ApprovalMan.getNewwebkey("生产任务审批"); ViewData["folderBack"] = fold; string[] arr = fold.Split('/'); ViewData["Nostate"] = arr[7]; return(View()); }
// 审批流程控制审批按钮可用不可用 public ActionResult JudgeAppDisable() { var webkey = Request["data1"]; var SPID = Request["data2"]; Acc_Account account = GAccount.GetAccountInfo(); string logUser = account.UserID.ToString(); string folderBack = COM_ApprovalMan.getNewwebkey(webkey); int bol = COM_ApprovalMan.JudgeNewLoginUser(logUser, webkey, folderBack, SPID); return(Json(new { success = "true", intblo = bol })); }
public ActionResult ApprovalCondition(string id) { string[] arr = id.Split('@'); string webkey = arr[0]; // Web.config内关联的key string folderBack = COM_ApprovalMan.getNewwebkey(webkey); string PID = arr[1]; ViewData["webkey"] = webkey; ViewData["folderBack"] = folderBack; ViewData["PID"] = PID; return(View()); }
//提交审批页面 public ActionResult SubmitApproval(string id) { string[] arr = id.Split('@'); string RelevanceID = arr[0]; //关联表单内ID string webkey = arr[1]; // Web.config内关联的key string folderBack = COM_ApprovalMan.getNewwebkey(webkey); string PID = PID = COM_ApprovalMan.GetNewShowSPid(folderBack); ViewData["webkey"] = webkey; ViewData["folderBack"] = folderBack; ViewData["PID"] = PID; ViewData["RelevanceID"] = RelevanceID; return(View()); }