protected void saveBtn_Click(object sender, EventArgs e)
 {
     OAConfig.ModelID            = Convert.ToInt32(bindModel.Text);
     OAConfig.UNameConfig        = UNameConfigR.SelectedValue;
     OAConfig.AllowMsg           = allowMsgR.Checked ? "1" : "0";
     OAConfig.AllowUI            = allowUIR.Checked ? "1" : "0";
     OAConfig.OATitle            = oaTitleT.Text;
     OAConfig.OALogo             = logoT.Text;
     OAConfig.MailSize           = Convert.ToInt32(MailSize_T.Text.Trim());
     OAConfig.LeaderSignTemplate = Leader_T.Text;
     OAConfig.ParterSignTemplate = Parter_T.Text;
     OAConfig.Update();
     function.WriteSuccessMsg("保存成功");
 }
        protected void NodeSavBtn_Click(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();

            dt.Columns.Add("ID");
            dt.Columns.Add("NodeName");
            dt.Columns.Add("NodeID");
            for (int i = 0; i < RPT.Items.Count; i++)
            {
                string[] tempstr = new string[] { ((HiddenField)RPT.Items[i].FindControl("ID_Hid")).Value, ((TextBox)RPT.Items[i].FindControl("tbNodeName")).Text, ((TextBox)RPT.Items[i].FindControl("tbNodeID")).Text };
                dt.Rows.Add(tempstr);
            }
            OAConfig.NodeMap = JsonHelper.JsonSerialDataTable(dt);
            OAConfig.Update();
        }