HospitalClient.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #if !defined(AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // HospitalClient.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // HospitalClient form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "TreeComboBox.h"
  14. class HospitalClient : public MyFormView
  15. {
  16. BOOL m_bSearchAll; // 是否全部查询;
  17. CArray<CStringArray, CStringArray>m_List1array; // 查询hostpitalview的全部结果;
  18. protected:
  19. HospitalClient(); // protected constructor used by dynamic creation
  20. DECLARE_DYNCREATE(HospitalClient)
  21. // Form Data
  22. public:
  23. enum { IDD = IDD_DLGhospitalclient };
  24. CTreeComboBox clerkCombo; // 门市
  25. CComboBox typeCombo; // 客户类别;
  26. CComboBox fromCombo; // 客户区域下拉;
  27. CComboBox hospitalCombo; // 来单医院
  28. CComboBox businessintentionCombo; // 业务意向;
  29. CComboBox businesstypeCombo; // 业务种类下拉框;
  30. CSortListCtrl2 m_List1;
  31. CStatic m_static1;
  32. int m_datetype; // 上门时间radio
  33. CTime m_date1; // 时间控件:开始时间;
  34. CTime m_date2; // 时间控件:结束时间;
  35. CString m_addr; // 地址;
  36. CString m_phone; // 电话;
  37. CString m_id; // 单号
  38. CString m_name; // 姓名;
  39. //}}AFX_DATA
  40. // Attributes
  41. public:
  42. // Operations
  43. public:
  44. void GetData();
  45. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  46. int FindArray(CStringArray *pArray, CString Str);
  47. void GetSavePath(CString &path);
  48. void GetNo(CString str, CStringArray &array);
  49. void FillGrid();
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. public:
  53. virtual void OnInitialUpdate();
  54. virtual BOOL PreTranslateMessage(MSG* pMsg);
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. // Implementation
  59. protected:
  60. virtual ~HospitalClient();
  61. #ifdef _DEBUG
  62. virtual void AssertValid() const;
  63. virtual void Dump(CDumpContext& dc) const;
  64. #endif
  65. // Generated message map functions
  66. afx_msg void OnBUTclose();
  67. afx_msg void OnButton1();
  68. afx_msg void OnSelchangeCombo1();
  69. afx_msg void OnTimer(UINT nIDEvent);
  70. afx_msg void OnBUTshowphoto();
  71. afx_msg void OnBUTexportphoto();
  72. afx_msg void OnBUTimportphoto();
  73. afx_msg void OnButton2();
  74. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  75. afx_msg void OnBUTHospitalClient();
  76. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  77. afx_msg void OnBUTburncd2();
  78. afx_msg void OnBUTburncd3();
  79. afx_msg void OnBUTsendmsg();
  80. afx_msg void OnBUTprint3();
  81. //}}AFX_MSG
  82. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  83. DECLARE_MESSAGE_MAP()
  84. };
  85. /////////////////////////////////////////////////////////////////////////////
  86. //{{AFX_INSERT_LOCATION}}
  87. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  88. #endif // !defined(AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)