<template>
  <div class="row">

    <DashboardCard
      color_name="bg-success"
      title="产品数"
      link_page="Products"
      :number="stats.total_products"
      />

    <DashboardCard
      color_name="bg-info"
      title="扫码次数"
      link_page="ScanData"
      :number="stats.total_scans"
      />

    <DashboardCard
      color_name="bg-info"
      title="序列码数量"
      link_page="Code"
      :number="stats.total_codes"
      />
    
  </div>
</template>

<script>
import DashboardCard from './dashboard-card';

export default {
  name: 'TenantDashboard',
  props: ['stats'],
  components: {
    DashboardCard,
  },
  data: function () {
    return {
    };
  },
  computed: {
  },
  methods: {
  },
  mounted() {
  },
}
</script>

<style scoped>
</style>

