void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e) { if (e.Result != null) { _survey = e.Result; Load_Data(); } }
void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e) { if (e.Result != null) { employeeSurveyInfo = e.Result as V_Satisfaction; _VM.Result_EmployeeByRequireIDAsync(require.SATISFACTIONREQUIREID); } }
////获取方案 题目,答案 void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e) { if (e.Result != null) { employeeSurveyInfo = e.Result as V_Satisfaction; txtAnswerID.Text = distribute.ANSWERID; txtPercentAge.Text = distribute.PERCENTAGE.ToString(); txtStartDate.Text = Convert.ToDateTime(distribute.T_OA_SATISFACTIONREQUIRE.STARTDATE).ToShortDateString(); txtEndDate.Text = Convert.ToDateTime(distribute.T_OA_SATISFACTIONREQUIRE.ENDDATE).ToShortDateString(); txbTitle.Text = EmployeeSurveyInfo.RequireMaster.SATISFACTIONTITLE; txbContent.Text = EmployeeSurveyInfo.RequireMaster.CONTENT; //获取统计结果 _VM.Result_SurveyByRequireIDAsync(distribute.T_OA_SATISFACTIONREQUIRE.SATISFACTIONREQUIREID); } else loadbar.Stop(); }
void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e) { if (e.Result != null) { employeeSurveyInfo = e.Result as V_Satisfaction; txbTitle.Text = EmployeeSurveyInfo.RequireMaster.SATISFACTIONTITLE; txbContent.Text = EmployeeSurveyInfo.RequireMaster.CONTENT; //题目,答案 foreach (T_OA_SATISFACTIONDETAIL subInfo in EmployeeSurveyInfo.SubjectViewList) { SurveyShowList_sat subjectItem = new SurveyShowList_sat(); subjectItem.SubjectViewInfo = subInfo; //subjectItem.ResultDetail = subInfo; subjectItem.oanswer = _oanswer; subjectItem.IsShowResult = 0; spSurveysList.Children.Add(subjectItem); } } }
void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e) { if (e.Result != null) { employeeSurveyInfo = e.Result as V_Satisfaction; txtAnswerID.Text = distribute.ANSWERID; txtPercentAge.Text = distribute.PERCENTAGE.ToString(); txtStartDate.Text = Convert.ToDateTime(distribute.T_OA_SATISFACTIONREQUIRE.STARTDATE).ToShortDateString(); txtEndDate.Text = Convert.ToDateTime(distribute.T_OA_SATISFACTIONREQUIRE.ENDDATE).ToShortDateString(); txbTitle.Text = EmployeeSurveyInfo.RequireMaster.SATISFACTIONTITLE; txbContent.Text = EmployeeSurveyInfo.RequireMaster.CONTENT; //获取统计结果 _VM.Result_SurveyByRequireIDAsync(distribute.T_OA_SATISFACTIONREQUIRE.SATISFACTIONREQUIREID); } else { loadbar.Stop(); } }