Exemple #1
0
        /// <summary>
        /// 审核不通过
        /// </summary>
        private bool NoPass()
        {
            string checkStatus = this.SelectPicData["CHECK_STATUS"].ToString();

            if (checkStatus == "103")
            {
                CJia.Health.App.UI.CheckReasonView checkReasonView = new CheckReasonView();
                checkReasonView.OnAddCheckReason    += checkReasonView_OnAddCheckReason;
                checkReasonView.OnRemoveCheckReason += checkReasonView_OnRemoveCheckReason;
                this.OnCheckReason(null, null);
                checkReasonView.BindData(this.AllCheckReason);
                this.ShowAsWindow("审核原因", checkReasonView);
                if (checkReasonView.isOk)
                {
                    string pictrueId = this.SelectPicData["PICTURE_ID"].ToString();
                    this.OnNoPass(null, new Views.NewImageCheckViewArgs()
                    {
                        pictureId           = pictrueId,
                        originalCheckStatus = this.selectPicData["CHECK_STATUS"].ToString(),
                        checkReasonId       = checkReasonView.reasonId,
                        checkReason         = checkReasonView.reason
                    });
                    return(true);
                }
            }
            return(false);
        }
Exemple #2
0
 // 撤销审核按钮单击事件
 private void btnDelete_Click(object sender, EventArgs e)
 {
     CJia.Health.App.UI.CheckReasonView checkReasonView = new CheckReasonView();
     this.ShowAsWindow("撤销审核原因", checkReasonView);
     this.OnDelete(null, new Views.DataCheckArgs()
     {
         healthId    = tabPatient["ID"].ToString(),
         CheckReason = checkReasonView.reason,
         checkStatus = this.tabPatient["CHECK_STATUS"].ToString()
     });
 }