HospitalClient.h 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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 OnButton2();// 全部查询按钮;
  72. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  73. afx_msg void OnBUTHospitalClient();
  74. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  75. afx_msg void OnBUTburncd2(); // 修改按钮;
  76. afx_msg void OnBUTburncd3();
  77. afx_msg void OnBUTsendmsg();
  78. afx_msg void OnBUTprint3();
  79. //}}AFX_MSG
  80. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  81. DECLARE_MESSAGE_MAP()
  82. };
  83. /////////////////////////////////////////////////////////////////////////////
  84. //{{AFX_INSERT_LOCATION}}
  85. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  86. #endif // !defined(AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)