#if !defined(AFX_Satisfaction_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_) #define AFX_Satisfaction_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif #ifndef __AFXEXT_H__ #include #endif #include "MyFormView.h" #include "TreeComboBox.h" // 满意度视图窗口; class Satisfaction : public MyFormView { protected: Satisfaction(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(Satisfaction) virtual ~Satisfaction(); public: enum { IDD = IDD_DLGSatisfaction }; public: void GetData(); void FillGrid(const int nTimeType); void ChangeColName(LPSTR lpName); virtual void OnInitialUpdate(); virtual BOOL PreTranslateMessage(MSG* pMsg); //获取评分和调查对象 void GetScoreAndSurveyObj(const CString& strObj, const CString& strOrderNum, CString& strScore); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif afx_msg void OnBUTclose(); afx_msg void OnButton1(); afx_msg void OnOpenSurveyBtn(); //客户订单 void OnOrderTodayBtn(); //客户形设 void OnConfigurationBtn(); //客户拍照 void OnTodayPhotographBtn(); //客户选片 void OnChoosePhotosBtn(); //客户看样 void OnLookSampleBtn(); //客户取件 void OnCollectTodayBtn(); //客户婚庆 void OnWeddingTodayBtn(); //设置调查配置 afx_msg void OnSetSurveyCfg(); afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult); DECLARE_MESSAGE_MAP() public: CSortListCtrl2 m_List1; int m_nCurSelIdx; // 选取索引 CString m_strStartTimer; // 起始时间 CString m_strEndTimer; // 结束时间 int m_nShowType; // 显示类型 private: CArray m_List1array; //订单相关信息 CArray m_kindArr; CArray m_cfgArr; CArray m_AllSurveyLogArr; //调查记录 CArray m_ScoreTypeArr; //得分类型 TCHAR m_szColName[64]; //列名 }; #endif