修改密码隐藏忘记密码,销售管理接口,数据看板柱形图展示,页面切换刷新处理
This commit is contained in:
@@ -8,16 +8,16 @@
|
||||
:xl="12"
|
||||
:xxl="12"
|
||||
:style="{ marginBottom: '10px' }"
|
||||
v-if="info.total">
|
||||
<chart-card :loading="loading" :title="$t('分公司总库存')" :total="'¥'+info.total.total">
|
||||
v-if="info.middle">
|
||||
<chart-card :loading="loading" :title="$t('分公司总库存(瓶)')" :total="info.middle.total">
|
||||
<a-tooltip :title="$t('总分公司总库存')" slot="action">
|
||||
<a-icon type="info-circle-o" />
|
||||
</a-tooltip>
|
||||
<template slot="footer">
|
||||
<!-- <span> {{ info.total.people }}瓶</span> -->
|
||||
<trend flag="up"> <span slot="term">{{ $t('线上库存') }}</span>321瓶</trend>
|
||||
<trend flag="up"> <span slot="term">{{ $t('线上库存') }}</span>{{ info.middle.online_stock }}瓶</trend>
|
||||
<trend flag="down" style="margin-left: 20px;">
|
||||
<span slot="term">{{ $t('线下库存') }}</span>1234瓶
|
||||
<span slot="term">{{ $t('线下库存') }}</span>{{ info.middle.offline_stock }}瓶
|
||||
</trend>
|
||||
</template>
|
||||
</chart-card>
|
||||
@@ -29,66 +29,21 @@
|
||||
:xl="12"
|
||||
:xxl="12"
|
||||
:style="{ marginBottom: '10px' }"
|
||||
v-if="info.people"
|
||||
v-if="info.agent"
|
||||
>
|
||||
<chart-card :loading="loading" :title="$t('经销商总库存')" :total="info.people.total | NumberFormat">
|
||||
<chart-card :loading="loading" :title="$t('经销商总库存(瓶)')" :total="info.agent.stock | NumberFormat">
|
||||
<a-tooltip :title="$t('经销商总库存')" slot="action">
|
||||
<a-icon type="info-circle-o" />
|
||||
</a-tooltip>
|
||||
<div>
|
||||
<mini-area :data="info.people.charts" />
|
||||
<mini-area :data="info.agent.line" />
|
||||
</div>
|
||||
<template slot="footer">{{ $t('经销商总数') }}<span style="margin-right:20px;"> {{ info.people.count | NumberFormat }} 人</span></template>
|
||||
<template slot="footer">{{ $t('经销商总数') }}<span style="margin-right:20px;"> {{ info.agent.users | NumberFormat }} 人</span></template>
|
||||
</chart-card>
|
||||
</a-col>
|
||||
<!-- 日成交额 -->
|
||||
<!-- <a-col
|
||||
:sm="24"
|
||||
:md="12"
|
||||
:xl="12"
|
||||
:xxl="6"
|
||||
:style="{ marginBottom: '24px' }"
|
||||
v-if="info.paid"
|
||||
>
|
||||
<chart-card :loading="loading" :title="$t('日成交统计')" :total="info.paid.today | NumberFormat">
|
||||
<a-tooltip :title="$t('每日交易数进行比对统计')" slot="action">
|
||||
<a-icon type="info-circle-o" />
|
||||
</a-tooltip>
|
||||
<div>
|
||||
<mini-bar :data="info.paid.charts"/>
|
||||
</div>
|
||||
<template slot="footer">
|
||||
<trend flag="up" style="margin-right: 16px;">
|
||||
<span slot="term">{{ $t('交易数') }}</span>
|
||||
20%
|
||||
</trend>
|
||||
</template>
|
||||
</chart-card>
|
||||
</a-col> -->
|
||||
<!-- 订单进行比例 -->
|
||||
<!-- <a-col :sm="24" :md="12" :xl="12" :xxl="6" :style="{ marginBottom: '24px' }">
|
||||
<chart-card :loading="loading" :title="$t('订单进度比例')" :total="info.process">
|
||||
<a-tooltip :title="$t('订单进度比例包含未完成已完成订单的比例')" slot="action">
|
||||
<a-icon type="info-circle-o" />
|
||||
</a-tooltip>
|
||||
<div>
|
||||
<mini-progress color="rgb(19, 194, 194)" :target="info.process" :percentage="info.process" height="8px" />
|
||||
</div>
|
||||
<template slot="footer">
|
||||
<trend flag="down" style="margin-right: 16px;">
|
||||
<span slot="term">{{ $t('订单未完成') }}</span>
|
||||
12%
|
||||
</trend>
|
||||
<trend flag="up">
|
||||
<span slot="term">{{ $t('订单已完成') }}</span>
|
||||
88%
|
||||
</trend>
|
||||
</template>
|
||||
</chart-card>
|
||||
</a-col> -->
|
||||
</a-row>
|
||||
|
||||
<a-col :span="24">
|
||||
<a-col :span="24" >
|
||||
<a-card :bordered="false" title="用户数据">
|
||||
<template #extra>
|
||||
<a-dropdown v-model="visible">
|
||||
@@ -102,60 +57,60 @@
|
||||
</a-menu>
|
||||
</a-dropdown>
|
||||
</template>
|
||||
<a-row>
|
||||
<a-row v-if="info.users">
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="用户总数量(人)" value="1" :bordered="true" />
|
||||
<info title="用户总数量(人)" :value="''+info.users.all" :bordered="true" />
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="新增代理数(人)" value="2" :bordered="true" />
|
||||
<info title="新增代理数(人)" :value="''+info.users.new_agents" :bordered="true" />
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="新增创客数(人)" value="2" />
|
||||
<info title="新增创客数(人)" :value="''+info.users.new_makers" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="新增VIP数(人)" value="2" :bordered="true"/>
|
||||
<info title="新增VIP数(人)" :value="''+info.users.new_vips" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="新增游客数量(人)" value="2"/>
|
||||
<info title="新增游客数量(人)" :value="''+info.users.new_visitors"/>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-col :span="24" v-if="info.init">
|
||||
<a-col :span="24" v-if="info.sales_quantity">
|
||||
<a-card :bordered="false" title="累计销售数量">
|
||||
<a-row>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="线上销售数量(瓶)" :value="info.init.apply+''" :bordered="true" />
|
||||
<info title="线上销售数量(瓶)" :value="''+info.sales_quantity.online_all" :bordered="true" />
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="线上零售数量(瓶)" :value="info.init.base+''" :bordered="true"/>
|
||||
<info title="线上零售数量(瓶)" :value="''+info.sales_quantity.online_retail" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="线上代理进货数量(瓶)" :value="info.init.base+''"/>
|
||||
<info title="线上代理进货数量(瓶)" :value="''+info.sales_quantity.online_agent_in" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="线上创客进货数量(瓶)" :value="info.init.base+''" :bordered="true"/>
|
||||
<info title="线上创客进货数量(瓶)" :value="''+info.sales_quantity.online_maker_in" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="8" :xxl="8" class="mt20">
|
||||
<info title="线下出货数量(瓶)" :value="info.init.init+''" />
|
||||
<info title="线下出货数量(瓶)" :value="''+info.sales_quantity.offline" />
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-card>
|
||||
</a-col>
|
||||
<a-col :span="24" v-if="info.b_check">
|
||||
<a-col :span="24" v-if="info.sales_amount">
|
||||
<a-card :bordered="false" title="售卖数据管理">
|
||||
<a-row>
|
||||
<a-col :sm="24" :md="12" :xl="6" :xxl="6" class="mt20">
|
||||
<info title="代理进货金额(元)" :value="info.b_check.process+''" :bordered="true"/>
|
||||
<info title="代理进货金额(元)" :value="''+info.sales_amount.online_agent_in" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="6" :xxl="6" class="mt20">
|
||||
<info title="创客进货金额(元)" :value="info.b_check.pass+''" :bordered="true"/>
|
||||
<info title="创客进货金额(元)" :value="''+info.sales_amount.online_maker_in" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="6" :xxl="6" class="mt20">
|
||||
<info title="线上销售金额(元)" :value="info.b_check.diff+''" :bordered="true"/>
|
||||
<info title="线上销售金额(元)" :value="''+info.sales_amount.online_sell" :bordered="true"/>
|
||||
</a-col>
|
||||
<a-col :sm="24" :md="12" :xl="6" :xxl="6" class="mt20">
|
||||
<info title="线下销售金额(元)" :value="info.b_check.diff+''" />
|
||||
<info title="线下销售金额(元)" :value="''+info.sales_amount.offline_sell" />
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-card>
|
||||
|
||||
Reference in New Issue
Block a user