Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-chart-show-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-chart-show-pc
Commits
a5180716
提交
a5180716
authored
3月 29, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
30ac805c
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
19 行增加
和
13 行删除
+19
-13
.config.dev.js
.config.dev.js
+4
-2
.config.pro.js
.config.pro.js
+1
-1
.config.test.js
.config.test.js
+1
-1
base_api.js
src/api/base_api.js
+3
-0
chart210323.js
src/api/chart210323.js
+8
-8
monthCompleteRate.vue
src/components/chart/chart210323/monthCompleteRate.vue
+2
-1
没有找到文件。
.config.dev.js
浏览文件 @
a5180716
module
.
exports
=
{
domain
:
'dev.ezijing.com'
,
url
:
'http://data-view.ezijing.com'
,
// url: 'http://data-view.ezijing.com',
// url: 'http://172.16.3.11:8011',
url
:
'https://web-chart.ezijing.com/'
,
isEnableToIphoneDebugger
:
false
,
// apiBaseURL: '//demo-login.ezijing.com/',
webpack
:
{
...
...
@@ -35,6 +37,6 @@ module.exports = {
},
others
:
{
loginUrl
:
'https://login.ezijing.com/auth/login/index'
}
}
.config.pro.js
浏览文件 @
a5180716
...
...
@@ -16,6 +16,6 @@ module.exports = {
},
others
:
{
loginUrl
:
'https://login.ezijing.com/auth/login/index'
}
}
.config.test.js
浏览文件 @
a5180716
...
...
@@ -17,6 +17,6 @@ module.exports = {
},
others
:
{
loginUrl
:
'https://login.ezijing.com/auth/login/index'
}
}
src/api/base_api.js
浏览文件 @
a5180716
...
...
@@ -70,6 +70,9 @@ export default class API {
const
{
status
,
data
}
=
res
let
err
=
null
if
(
status
===
200
)
{
if
(
res
.
data
.
code
===
401
||
res
.
data
.
code
===
402
)
{
window
.
location
.
href
=
`
${
webConf
.
others
.
loginUrl
}
?rd=
${
encodeURIComponent
(
window
.
location
.
href
)}
`
}
return
data
}
else
{
err
=
new
Error
(
JSON
.
stringify
(
res
.
data
))
...
...
src/api/chart210323.js
浏览文件 @
a5180716
...
...
@@ -5,40 +5,40 @@ export default class Chart210323API extends BaseAPI {
* get传输方式
* @param {[string]} id resource_id
*/
getMonthProjectIncome
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/now_month_project_income'
,
{})
getMonthProjectIncome
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/now_month_project_income'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getYearPlanCompletion
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/year_plan_completion'
,
{})
getYearPlanCompletion
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/year_plan_completion'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getMonthRevenueTrend
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/every_month_project_income'
,
{})
getMonthRevenueTrend
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/every_month_project_income'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getRealTimePay
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/real_time_pay'
,
{})
getRealTimePay
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/real_time_pay'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getProjectAppCost
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/project_app_cost'
,
{})
getProjectAppCost
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/project_app_cost'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getYearRankingApply
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/year_project_apply'
,
{})
getYearRankingApply
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/year_project_apply'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getChannelPayMoney
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/channel_pay_money'
,
{})
getChannelPayMoney
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/channel_pay_money'
,
{})
/**
* get传输方式
* @param {[string]} id resource_id
*/
getProjectPayWeek
=
()
=>
this
.
get
(
'/v1/big_screen_marketing/project_pay_week '
,
{})
getProjectPayWeek
=
()
=>
this
.
get
(
'/
api/chart/
v1/big_screen_marketing/project_pay_week '
,
{})
}
src/components/chart/chart210323/monthCompleteRate.vue
浏览文件 @
a5180716
...
...
@@ -34,7 +34,8 @@ export default {
initChart
(
data
)
{
this
.
option
=
{
legend
:
{
data
:
[
'收入'
,
'投入'
]
data
:
[
'收入'
,
'投入'
],
color
:
'#fff'
},
grid
:
{
top
:
'15%'
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论