SalesDataAnalysisVC.h 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. //
  2. // SalesDataAnalysisVC.h
  3. // IBOSS-HJ
  4. //
  5. // Created by 关宏厚 on 2020/12/30.
  6. // Copyright © 2020 elongtian. All rights reserved.
  7. //
  8. #import "BaseViewController.h"
  9. #import "IBOSS-Bridging-Header.h"
  10. #import "UIColor+hexColor.h"
  11. #import <Charts/Charts.h>
  12. #import "DateFormat.h"
  13. #import "MyView.h"
  14. #import "IntAxisValueFormatter.h"
  15. #import "YAxisValueFormatter.h"
  16. #import "Util.h"
  17. #import "BRDatePickerView.h"
  18. #import "CustomBorderView.h"
  19. #import "ITDatePickerController.h"
  20. @interface SalesDataAnalysisVC : BaseViewController<ChartViewDelegate,ITDatePickerControllerDelegate>
  21. @property (strong, nonatomic) UIButton *btnSalesStatusCustom;
  22. @property (strong, nonatomic) UIButton *btnSalesStatusToday;
  23. @property (strong, nonatomic) UIButton *btnSalesStatusYesterday;
  24. @property (strong, nonatomic) UIButton *btnSalesStatusRecentlySevenDays;
  25. @property (strong, nonatomic) UIButton *btnSalesStatusRecentlyThirtyDays;
  26. @property (strong, nonatomic) UIButton *btnSalesStatusStartDate;
  27. @property (strong, nonatomic) UIButton *btnSalesStatusEndDate;
  28. @property (strong,nonatomic) BRDatePickerView *dealDatePicker;
  29. @property (nonatomic, strong) NSString *salesStatusStartDate;
  30. @property (nonatomic, strong) NSString *salesStatusEndDate;
  31. @property (nonatomic, strong) NSString *tempSalesStatusStartDate;
  32. @property (nonatomic, strong) NSString *tempSalesStatusEndDate;
  33. @property (strong, nonatomic) UIButton *btnSalesStatusDepartment;
  34. @property (strong, nonatomic) UIButton *btnSalesStatusChannel;
  35. @property (nonatomic, strong) BarChartView *salesStatusChartView;
  36. @property (strong, nonatomic) UIButton *btnCollectionStatusCustom;
  37. @property (strong, nonatomic) UIButton *btnCollectionStatusToday;
  38. @property (strong, nonatomic) UIButton *btnCollectionStatusYesterday;
  39. @property (strong, nonatomic) UIButton *btnCollectionStatusRecentlySevenDays;
  40. @property (strong, nonatomic) UIButton *btnCollectionStatusRecentlyThirtyDays;
  41. @property (strong, nonatomic) UIButton *btnCollectionStatusStartDate;
  42. @property (strong, nonatomic) UIButton *btnCollectionStatusEndDate;
  43. @property (nonatomic, strong) NSString *collectionStatusStartDate;
  44. @property (nonatomic, strong) NSString *collectionStatusEndDate;
  45. @property (nonatomic, strong) NSString *tempCollectionStatusStartDate;
  46. @property (nonatomic, strong) NSString *tempCollectionStatusEndDate;
  47. @property (strong, nonatomic) UIButton *btnCollectionStatusDepartment;
  48. @property (strong, nonatomic) UIButton *btnCollectionStatusChannel;
  49. @property (nonatomic, strong) BarChartView *collectionStatusChartView;
  50. @property (nonatomic, strong) BarChartView *orderStatusChartView;
  51. @property (nonatomic, strong) BarChartView *salesAchievementChartView;
  52. @property (nonatomic, strong) HorizontalBarChartView *transactionChartView;
  53. @property (strong, nonatomic) UIButton *btnOrderStatusCustom;
  54. @property (strong, nonatomic) UIButton *btnOrderStatusToday;
  55. @property (strong, nonatomic) UIButton *btnOrderStatusYesterday;
  56. @property (strong, nonatomic) UIButton *btnOrderStatusRecentlySevenDays;
  57. @property (strong, nonatomic) UIButton *btnOrderStatusRecentlyThirtyDays;
  58. @property (strong, nonatomic) UIButton *btnOrderStatusStartDate;
  59. @property (strong, nonatomic) UIButton *btnOrderStatusEndDate;
  60. @property (nonatomic, strong) NSString *orderStatusStartDate;
  61. @property (nonatomic, strong) NSString *orderStatusEndDate;
  62. @property (nonatomic, strong) NSString *tempOrderStatusStartDate;
  63. @property (nonatomic, strong) NSString *tempOrderStatusEndDate;
  64. @property (strong, nonatomic) UIButton *btnOrderStatusDepartment;
  65. @property (strong, nonatomic) UIButton *btnOrderStatusChannel;
  66. @property (strong, nonatomic) UIButton *btnSalesAchievementCustom;
  67. @property (strong, nonatomic) UIButton *btnSalesAchievemmentToday;
  68. @property(nonatomic,strong) MyView *salesAchievementChart;
  69. @property (strong, nonatomic) UIButton *btnSalesAchievementDepartment;
  70. @property (strong, nonatomic) UIButton *btnSalesAchievementStaff;
  71. @property (nonatomic, strong) NSString *salesAchievementMonth;
  72. @property (nonatomic, strong) NSString *shoppingGuideStartDate;
  73. @property (nonatomic, strong) NSString *shoppingGuideEndDate;
  74. @property (nonatomic, strong) NSString *tempShoppingGuideStartDate;
  75. @property (nonatomic, strong) NSString *tempShoppingGuideEndDate;
  76. @property (strong, nonatomic) UIButton *btnShoppingGuideStartDate;
  77. @property (strong, nonatomic) UIButton *btnShoppingGuideEndDate;
  78. @property (strong, nonatomic) UIButton *btnDeliveryStatusStartDate;
  79. @property (strong, nonatomic) UIButton *btnDeliveryStatusEndDate;
  80. @property (nonatomic, strong) NSString *deliveryStatusStartDate;
  81. @property (nonatomic, strong) NSString *deliveryStatusEndDate;
  82. @property (nonatomic, strong) NSString *tempDeliveryStatusStartDate;
  83. @property (nonatomic, strong) NSString *tempDeliveryStatusEndDate;
  84. @property (strong, nonatomic) UIButton *btnInstallStatusStartDate;
  85. @property (strong, nonatomic) UIButton *btnInstallStatusEndDate;
  86. @property (nonatomic, strong) NSString *installStatusStartDate;
  87. @property (nonatomic, strong) NSString *installStatusEndDate;
  88. @property (nonatomic, strong) NSString *tempInstallStatusStartDate;
  89. @property (nonatomic, strong) NSString *tempInstallStatusEndDate;
  90. @property (strong, nonatomic) UIButton *btnRepairStatusStartDate;
  91. @property (strong, nonatomic) UIButton *btnRepairStatusEndDate;
  92. @property (nonatomic, strong) NSString *repairStatusStartDate;
  93. @property (nonatomic, strong) NSString *repairStatusEndDate;
  94. @property (nonatomic, strong) NSString *tempRepairStatusStartDate;
  95. @property (nonatomic, strong) NSString *tempRepairStatusEndDate;
  96. @property(nonatomic,strong) MyView *transactionView;
  97. @property(nonatomic,strong) MyView *deliveryStatusView;
  98. @property(nonatomic,strong) MyView *installStatusView;
  99. @property(nonatomic,strong) MyView *repairStatusView;
  100. @property (nonatomic,strong) ASIDownManager *salesStatusDownManager;
  101. @property (nonatomic,strong) ASIDownManager *cashStatusDownManager;
  102. @property (nonatomic,strong) ASIDownManager *orderStatusDownManager;
  103. @property (nonatomic,strong) ASIDownManager *shoppingGuideDownManager;
  104. @property (nonatomic,strong) ASIDownManager *deliveryDownManager;
  105. @property (nonatomic,strong) ASIDownManager *installDownManager;
  106. @property (nonatomic,strong) ASIDownManager *repairDownManager;
  107. @property (nonatomic,strong) ASIDownManager *salesAchievementDownManager;
  108. @end