/// <summary> /// 取消等待 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void View_CancleWait(object sender, Views.QueueArgs e) { if (Model.IsSuccessCancleWait(e.PatientID)) { OnBindNotExistQueue(); } else { return; } }
/// <summary> /// radioGroup 筛选诊室 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void View_FliterClinic(object sender, Views.QueueArgs e) { DataTable dtFilterClinic; // radioGroup 选择"全部" if (e.ClinicID == 0) { dtFilterClinic = Model.GetPatientByExistQueue(); if (dtFilterClinic.Rows.Count == 0) { dtFilterClinic = null; } } else { dtFilterClinic = Model.GetPatientByFilterClinicId(e.ClinicID); if (dtFilterClinic.Rows.Count == 0) { dtFilterClinic = null; } } View.ExeBindExistQueue(dtFilterClinic); }