Exemple #1
0
    /// <summary>
    /// 办公室编号
    /// </summary>
    /// <param name="id"></param>
    private void SehenPiForBanGongShiZhuRen(String id, String dotime1)
    {
        if (this.xmsbh.Text == String.Empty)
        {
            Util.alert(this.Page, "错误:请输入项目申报号!");
        }
        else
        {
            Hashtable ht = new Hashtable();
            ht["remark"] = this.remark.Text.Trim();
            ht["zeren"]  = User.Identity.Name;
            if (String.IsNullOrEmpty(dotime1))
            {
                ht["time1"] = DateTime.Now.ToString();
            }
            else
            {
                ht["time1"] = dotime1;
            }
            ht["ps"]    = "同意";
            ht["xmsbh"] = this.xmsbh.Text;                  //项目申报号
            ht["czid"]  = ViewState["czid"].ToString();     //项目的ID

            U_ZCSPBU sp1   = new U_ZCSPBU();
            String   czid  = ViewState["czid"].ToString();
            string   info1 = sp1.PiYueZcForSHWeiYuan(id, ht);
            sp1.Close();
            PubComm.ShowInfo(info1, Application["root"] + "/ZcMng3/EditSbb.aspx?id=" + czid + "&menuIndex=5");
        }
    }
Exemple #2
0
    //办公室主任审批(送审核委员会成员和主席)
    protected void Button2_Click(object sender, EventArgs e)
    {
        if (Page.IsValid)
        {
            Hashtable ht = new Hashtable();
            ht["remark"] = this.remark.Text.Trim();
            ht["zeren"]  = User.Identity.Name;
            ht["time1"]  = DateTime.Now.ToString();
            ht["xmsbh"]  = this.xmsbh.Text;   //项目申报号;
            ht["czid"]   = ViewState["czid"]; //资产处置ID
            ht["ps"]     = "同意";

            if (Request["bkind"] == "0")
            {
                U_ZCSPBU sp1   = new U_ZCSPBU();
                string   info1 = sp1.PiYueZcForSHWeiYuan(ViewState["id"].ToString(), ht);
                sp1.Close();
                PubComm.ShowInfo(info1, Application["root"] + "/ZcMng2/ZcDetail3.aspx?id=" + ViewState["zcid"].ToString());
            }
            else
            {
                U_ZCBSPBU sp2   = new U_ZCBSPBU();
                string    info2 = sp2.PiYueZcForSHWeiYuan(ViewState["id"].ToString(), ht, ViewState["zcid"].ToString());
                sp2.Close();
                PubComm.ShowInfo(info2, Application["root"] + "/ZcMng2/ZcBaoDetail3.aspx?id=" + ViewState["zcid"].ToString());
            }
        }
    }