Esempio n. 1
0
        void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e)
        {
            if (e.Result != null)
            {
                employeeSurveyInfo = e.Result as V_Satisfaction;

                _VM.Result_EmployeeByRequireIDAsync(require.SATISFACTIONREQUIREID);
            }
        }
Esempio n. 2
0
        ////获取方案 题目,答案
        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();
        }
Esempio n. 3
0
        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);
                }
            }
        }
Esempio n. 4
0
 void Get_SSurveyCompleted(object sender, Get_SSurveyCompletedEventArgs e)
 {
     if (e.Result != null)
     {
         _survey = e.Result;
         Load_Data();
     }
 }