index.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <view>
  3. <working-achievement :list="clueStateList" type="2"></working-achievement>
  4. <briefReport ref="teamReport" type="2"></briefReport>
  5. </view>
  6. </template>
  7. <script>
  8. import workingAchievement from "../components/workingAchievement/index.vue";
  9. import briefReport from "../components/briefReport/index.vue";
  10. import dayjs from "dayjs";
  11. import { cloneDeep } from "lodash";
  12. export default {
  13. components : {
  14. workingAchievement,
  15. briefReport
  16. },
  17. data() {
  18. return {
  19. sumStatData: {
  20. statCost: "-",
  21. attributionConvertCnt: "-",
  22. conversionCost: "-",
  23. tboCost: "-",
  24. tboCnt: "-",
  25. tboRate: "-",
  26. invalidCnt: "-",
  27. invalidRate: "-"
  28. },
  29. clueStateList : [],
  30. }
  31. },
  32. methods: {
  33. async teamReportInit(){
  34. this.$refs.teamReport.handleInit();
  35. },
  36. },
  37. mounted() {
  38. }
  39. }
  40. </script>
  41. <style scoped lang="scss">
  42. .main_warp {
  43. .promotion_stats_wrap {
  44. display: flex;
  45. flex-wrap: wrap;
  46. .promotion_stats {
  47. box-sizing: border-box;
  48. width: 33%;
  49. text-align: left;
  50. padding: 20rpx;
  51. .stats_label {
  52. font-size: 26rpx;
  53. color: #666666;
  54. }
  55. .stats_value {
  56. font-size: 30rpx;
  57. font-weight: bold;
  58. }
  59. }
  60. }
  61. }
  62. </style>