Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-home
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 77e814ff
authored
Nov 24, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
接口修改
1 parent
0649ce31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/api/modules/home.js
src/views/home/components/AddValue.vue
src/api/modules/home.js
View file @
77e814f
...
@@ -286,7 +286,7 @@ const viewData = params => {
...
@@ -286,7 +286,7 @@ const viewData = params => {
}
}
//增值业务分析-精品升级-产值趋势
//增值业务分析-精品升级-产值趋势
const
tendency
=
params
=>
{
const
tendency
=
params
=>
{
params
.
method
=
'scrm.api.boutiquecoupon.rop.router
.twoCityTale
'
params
.
method
=
'scrm.api.boutiquecoupon.rop.router'
params
.
routerMethod
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.tendency'
params
.
routerMethod
=
'dj.api.smartcarlife.goodsOrderProfitAllocation.shop.merchant.tendency'
return
http
({
return
http
({
url
:
'rop-scrm-boutiquecoupon/router'
,
url
:
'rop-scrm-boutiquecoupon/router'
,
...
...
src/views/home/components/AddValue.vue
View file @
77e814f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: yangming yangming@didihu.com.cn
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-09-14 10:26:24
* @Date: 2023-09-14 10:26:24
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-1
0-16 16:33:32
* @LastEditTime: 2023-1
1-24 15:10:36
* @FilePath: \scrm-micro-home\src\views\home\components\AddValue.vue
* @FilePath: \scrm-micro-home\src\views\home\components\AddValue.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-->
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
methods
:
{
methods
:
{
//产值、柱状图数据
//产值、柱状图数据
async
getLineList
()
{
async
getLineList
()
{
const
res
=
await
Promise
.
all
([
this
.
$apis
.
home
.
tendency
({}),
this
.
$apis
.
home
.
activityOutputTrend
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
})])
const
res
=
await
Promise
.
all
([
this
.
$apis
.
home
.
tendency
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
}),
this
.
$apis
.
home
.
activityOutputTrend
({
merchantId
:
this
.
$globalState
.
session
.
merchantId
})])
const
output
=
{
const
output
=
{
...
res
[
0
],
...
res
[
0
],
...
res
[
1
]
...
res
[
1
]
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment