void DocDistrbuteClient_GetDocDistrbuteInfosByFormIDCompleted(object sender, GetDocDistrbuteInfosByFormIDCompletedEventArgs e) { if (!e.Cancelled) { if (e.Error == null) { StrStaffList = e.Result; if (StrStaffList != null) //发布对象有选择单个员工 { GetDistrbuteStaff(StrStaffList); } else //发布对象没有选择单个员工 { DocDistrbuteClient.GetDocDistrbuteInfosAsync(_survey.REQUIREDISTRIBUTEID); } } } }
void DocDistrbuteClient_GetDocDistrbuteInfosByFormIDCompleted(object sender, GetDocDistrbuteInfosByFormIDCompletedEventArgs e) { if (!e.Cancelled) { if (e.Error ==null) { StrStaffList = e.Result; if (StrStaffList != null) //发布对象有选择单个员工 { GetDistrbuteStaff(StrStaffList); } else //发布对象没有选择单个员工 { DocDistrbuteClient.GetDocDistrbuteInfosAsync(tmpSenddoc.OACompanySendDoc.SENDDOCID); } } } }