public EditStudentCheckDetail(string activityId, string studentId)
        {
            InitializeComponent();
            StudentCheckData            checkData = dbUtill.GetStudentCheckInfo(activityId, studentId);
            Dictionary <string, string> dic       = checkDataUtill.GetDicByBackStr(checkData.jsonContent);
            Student student1 = dbUtill.GetStudentNameAndBirthDayByID(studentId);

            name.Text     = student1.studentName;
            age.Text      = dic["AG"];
            date.Text     = checkData.checkDate;
            birthday.Text = student1.birthday.Split(' ')[0];
            if (dic["GE"].Equals("0"))
            {
                sex.Text = "男";
            }
            else
            {
                sex.Text = "女";
            }
            weight.Text = dic["Wk"];
            Pt.Text     = dic["Pt"];
            FW.Text     = dic["FW"];
            fW.Text     = dic["fW"];
            wW.Text     = dic["wW"];
            MW.Text     = dic["MW"];
            mW.Text     = dic["mW"];
            height.Text = dic["Hm"];
            BMI.Text    = dic["MI"];
            rB.Text     = dic["rB"];
            bW.Text     = dic["bW"];
        }
 //详情
 private void CheckInfo_Click(object sender, RoutedEventArgs e)
 {
     if (StdDataGrid.SelectedItem is Student student)
     {
         StudentDetail    studentDetail = new StudentDetail();
         string           studentId     = student.studentId;
         string           activityId    = Uid;
         StudentCheckData checkData     = dbUtill.GetStudentCheckInfo(activityId, studentId);
         if (checkData.jsonContent == null || checkData.jsonContent.Equals(""))
         {
             System.Windows.MessageBox.Show("体测数据未存在", "错误");
         }
         else
         {
             Dictionary <string, string> dic = checkDataUtill.GetDicByBackStr(checkData.jsonContent);
             Student student1 = dbUtill.GetStudentNameAndBirthDayByID(studentId);
             studentDetail.name.Text     = student1.studentName;
             studentDetail.age.Text      = dic["AG"];
             studentDetail.date.Text     = checkData.checkDate;
             studentDetail.birthday.Text = student1.birthday.Split(' ')[0];
             if (dic["GE"].Equals("0"))
             {
                 studentDetail.sex.Text = "男";
             }
             else
             {
                 studentDetail.sex.Text = "女";
             }
             studentDetail.weight.Text = dic["Wk"];
             studentDetail.Pt.Text     = dic["Pt"];
             studentDetail.FW.Text     = dic["FW"];
             studentDetail.fW.Text     = dic["fW"];
             studentDetail.wW.Text     = dic["wW"];
             studentDetail.MW.Text     = dic["MW"];
             studentDetail.mW.Text     = dic["mW"];
             studentDetail.height.Text = dic["Hm"];
             studentDetail.BMI.Text    = dic["MI"];
             studentDetail.rB.Text     = dic["rB"];
             studentDetail.bW.Text     = dic["bW"];
             studentDetail.ShowDialog();
         }
     }
 }