Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
97c33e50
提交
97c33e50
authored
3月 10, 2022
作者:
yuanyufei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
去掉统计图图标
上级
40d393ed
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
11 行增加
和
3 行删除
+11
-3
index.vue
src/views/index.vue
+11
-3
没有找到文件。
src/views/index.vue
浏览文件 @
97c33e50
...
@@ -299,7 +299,7 @@
...
@@ -299,7 +299,7 @@
width=
'300'
>
width=
'300'
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"foot-table"
>
<div
class=
"foot-table"
>
<
img
src=
"@/assets/image/all-shop.png"
alt=
""
class=
"foot-table-img"
>
<
!--
<img
src=
"@/assets/image/all-shop.png"
alt=
""
class=
"foot-table-img"
>
--
>
<span
class=
"foot-table-text"
>
{{
scope
.
row
.
num
}}
</span>
<span
class=
"foot-table-text"
>
{{
scope
.
row
.
num
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -311,7 +311,7 @@
...
@@ -311,7 +311,7 @@
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
class=
"foot-table"
>
<div
class=
"foot-table"
>
<
img
src=
"@/assets/image/all-shop1.png"
alt=
""
class=
"foot-table-imgone"
>
<
!--
<img
src=
"@/assets/image/all-shop1.png"
alt=
""
class=
"foot-table-imgone"
>
--
>
<span
class=
"foot-table-text"
>
{{
scope
.
row
.
sale
}}
</span>
<span
class=
"foot-table-text"
>
{{
scope
.
row
.
sale
}}
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -449,7 +449,6 @@
...
@@ -449,7 +449,6 @@
//获取默认数据
//获取默认数据
async
GetDefaultData
(){
async
GetDefaultData
(){
const
result
=
await
getStatisticalHome
()
const
result
=
await
getStatisticalHome
()
console
.
log
(
result
,
'默认返回的数据'
)
this
.
operate
=
result
.
data
.
operational_data
//运营数据
this
.
operate
=
result
.
data
.
operational_data
//运营数据
this
.
waitFor
=
result
.
data
.
seller_todo_data
//代办事项
this
.
waitFor
=
result
.
data
.
seller_todo_data
//代办事项
this
.
storeOrder
=
result
.
data
.
store_order_data
//店铺数据-订单数据
this
.
storeOrder
=
result
.
data
.
store_order_data
//店铺数据-订单数据
...
@@ -545,14 +544,23 @@
...
@@ -545,14 +544,23 @@
query
.
seller_id
=
this
.
$store
.
state
.
user
.
sellerid
query
.
seller_id
=
this
.
$store
.
state
.
user
.
sellerid
if
(
e
==
1
){
if
(
e
==
1
){
const
result
=
await
getOperationalData
(
query
)
const
result
=
await
getOperationalData
(
query
)
this
.
delivery
=
result
.
data
.
delivery_rate
/
100
this
.
beSettled
=
result
.
data
.
unsettled_amount
/
100
this
.
beGmv
=
result
.
data
.
order_total_price
/
100
this
.
operate
=
result
.
data
this
.
operate
=
result
.
data
}
else
if
(
e
==
7
){
}
else
if
(
e
==
7
){
query
.
day
=
e
query
.
day
=
e
const
result
=
await
getOperationalData
(
query
)
const
result
=
await
getOperationalData
(
query
)
this
.
delivery
=
result
.
data
.
delivery_rate
/
100
this
.
beSettled
=
result
.
data
.
unsettled_amount
/
100
this
.
beGmv
=
result
.
data
.
order_total_price
/
100
this
.
operate
=
result
.
data
this
.
operate
=
result
.
data
}
else
if
(
e
==
15
){
}
else
if
(
e
==
15
){
query
.
day
=
e
query
.
day
=
e
const
result
=
await
getOperationalData
(
query
)
const
result
=
await
getOperationalData
(
query
)
this
.
delivery
=
result
.
data
.
delivery_rate
/
100
this
.
beSettled
=
result
.
data
.
unsettled_amount
/
100
this
.
beGmv
=
result
.
data
.
order_total_price
/
100
this
.
operate
=
result
.
data
this
.
operate
=
result
.
data
}
}
},
},
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论