Exemple #1
0
    /// <summary>
    /// 提交评审员的审批
    /// </summary>
    /// <param name="id"></param>
    private void SehenPiForPingShenYuan(String id, String dotime1)
    {
        if (this.piyue1.SelectedValue == String.Empty)
        {
            Util.alert(this.Page, "错误:请选择一个审批意见!");
        }
        else
        {
            if (this.piyue1.SelectedValue == "同意" && this.xmsbh.Text.Trim() == String.Empty)
            {
                Util.alert(this.Page, "错误:请输入项目申报号!");
            }
            else
            {
                Hashtable ht = new Hashtable();
                ht["remark"] = this.remark.Text.Trim();
                ht["zeren"]  = User.Identity.Name;
                ht["xmsbh"]  = this.xmsbh.Text.Trim();
                ht["czid"]   = Request["czid"];

                if (String.IsNullOrEmpty(dotime1))
                {
                    ht["time1"] = DateTime.Now.ToString();
                }
                else
                {
                    ht["time1"] = dotime1;
                }
                ht["ps"] = this.piyue1.SelectedValue;

                U_ZCSPBU sp1   = new U_ZCSPBU();
                String   czid  = "";
                string   info1 = sp1.PiYueZcForPingShenYuan(id, ht, out czid);
                sp1.Close();
                PubComm.ShowInfo(info1, Application["root"] + "/ZcMng3/EditSbb.aspx?id=" + czid + "&menuIndex=5");
            }
        }
    }