|
@@ -1,6 +1,6 @@
|
|
|
<script>
|
|
|
-import LifeQuery from "@/components/life/common/lifeQuery.vue";
|
|
|
-import IotCard from "@/components/life/common/IotCard.vue";
|
|
|
+import Query from "@/components/common/query.vue";
|
|
|
+import Card from "@/components/common/card.vue";
|
|
|
import CoreData from "@/components/common/coreData.vue";
|
|
|
import LifeRestEatChart from "@/components/life/restaurant/components/lifeRestEatChart.vue";
|
|
|
import LifeRestConsumeChart from "@/components/life/restaurant/components/lifeRestConsumeChart.vue";
|
|
@@ -52,8 +52,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
- LifeQuery,
|
|
|
- IotCard,
|
|
|
+ Query,
|
|
|
+ Card,
|
|
|
CoreData,
|
|
|
LifeRestEatChart,
|
|
|
LifeRestConsumeChart,
|
|
@@ -77,16 +77,16 @@ export default {
|
|
|
<a-row>
|
|
|
<a-col>
|
|
|
<div class="lifeRestaurant-query">
|
|
|
- <LifeQuery></LifeQuery>
|
|
|
+ <Query></Query>
|
|
|
</div>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
|
<a-row>
|
|
|
<a-col>
|
|
|
<div class="lifeRestaurant-core">
|
|
|
- <IotCard title="核心指标">
|
|
|
+ <Card title="核心指标">
|
|
|
<CoreData :data-list="coreData"></CoreData>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
</a-col>
|
|
|
</a-row>
|
|
@@ -94,38 +94,38 @@ export default {
|
|
|
<a-col :span="18">
|
|
|
<div class="lifeRestaurant-left">
|
|
|
<div class="lifeRestaurant-eat">
|
|
|
- <IotCard title="用餐分析">
|
|
|
+ <Card title="用餐分析">
|
|
|
<LifeRestEatChart :height="300"></LifeRestEatChart>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
<div class="lifeRestaurant-consume">
|
|
|
- <IotCard title="消费分析">
|
|
|
+ <Card title="消费分析">
|
|
|
<LifeRestConsumeChart :height="300"></LifeRestConsumeChart>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
<div class="lifeRestaurant-profit">
|
|
|
- <IotCard title="盈利分析">
|
|
|
+ <Card title="盈利分析">
|
|
|
<LifeRestProfitChart :height="200"></LifeRestProfitChart>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
<div class="lifeRestaurant-pay">
|
|
|
- <IotCard title="支付分析">
|
|
|
+ <Card title="支付分析">
|
|
|
<LifeRestPayChart :height="200"></LifeRestPayChart>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a-col>
|
|
|
<a-col :span="6">
|
|
|
<div class="lifeRestaurant-right">
|
|
|
<div class="lifeRestaurant-top">
|
|
|
- <IotCard title="受欢迎菜品">
|
|
|
+ <Card title="受欢迎菜品">
|
|
|
<LifeRestTopMenu ></LifeRestTopMenu>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
<div class="lifeRestaurant-cookbook">
|
|
|
- <IotCard title="每日菜谱">
|
|
|
+ <Card title="每日菜谱">
|
|
|
<LifeRestDailyMenu ></LifeRestDailyMenu>
|
|
|
- </IotCard>
|
|
|
+ </Card>
|
|
|
</div>
|
|
|
</div>
|
|
|
</a-col>
|