Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
daywrite
bms-vue-obear
Commits
57c41511
Commit
57c41511
authored
Jun 02, 2019
by
daywrite
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
明确需求、隐形需求
parent
58977c51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
10 deletions
+27
-10
analysisHome.vue
src/components/analysis/analysis/analysisHome.vue
+16
-7
salesAchievements.js
src/components/analysis/analysis/salesAchievements.js
+11
-3
No files found.
src/components/analysis/analysis/analysisHome.vue
View file @
57c41511
...
@@ -55,14 +55,20 @@
...
@@ -55,14 +55,20 @@
<el-row
class=
"header-title"
style=
"height: 100%;"
>
<el-row
class=
"header-title"
style=
"height: 100%;"
>
<el-col>
<el-col>
<span
class=
"title-two"
>
明确需求
</span>
<span
class=
"title-two"
>
明确需求
</span>
<div
id=
"c1"
style=
"height:400px;"
></div>
</el-col>
</el-col>
<el-col
:span=
"6"
><div
id=
"c4-1"
style=
"height: 400px;"
></div></el-col>
<el-col
:span=
"6"
><div
id=
"c4-2"
style=
"height: 400px;"
></div></el-col>
<el-col
:span=
"6"
><div
id=
"c4-3"
style=
"height: 400px;"
></div></el-col>
<el-col
:span=
"6"
><div
id=
"c4-4"
style=
"height: 400px;"
></div></el-col>
</el-row>
</el-row>
<el-row
class=
"header-title"
style=
"height: 100%;"
>
<el-row
class=
"header-title"
style=
"height: 100%;"
>
<el-col>
<el-col>
<span
class=
"title-two"
>
隐形需求
</span>
<span
class=
"title-two"
>
隐形需求
</span>
<div
id=
"c1"
style=
"height:400px;"
></div>
</el-col>
</el-col>
<el-col
:span=
"6"
><div
id=
"c5-1"
style=
"height: 400px;"
></div></el-col>
<el-col
:span=
"6"
><div
id=
"c5-2"
style=
"height: 400px;"
></div></el-col>
<el-col
:span=
"6"
><div
id=
"c5-3"
style=
"height: 400px;"
></div></el-col>
<el-col
:span=
"6"
><div
id=
"c5-4"
style=
"height: 400px;"
></div></el-col>
</el-row>
</el-row>
</div>
</div>
</div>
</div>
...
@@ -116,11 +122,6 @@ export default {
...
@@ -116,11 +122,6 @@ export default {
init
()
{
init
()
{
this
.
getFilter
()
this
.
getFilter
()
this
.
getSalesChart
()
this
.
getSalesChart
()
// 利润图表
// this.c31()
// this.c32()
// this.c33()
// this.c34()
},
},
getSalesChart
()
{
getSalesChart
()
{
...
@@ -132,6 +133,14 @@ export default {
...
@@ -132,6 +133,14 @@ export default {
this
.
c3
(
'c3-2'
,
res
.
chars
.
salesAchievements
.
child
.
chartSalesArchievementProfits
)
this
.
c3
(
'c3-2'
,
res
.
chars
.
salesAchievements
.
child
.
chartSalesArchievementProfits
)
this
.
c3
(
'c3-3'
,
res
.
chars
.
salesAchievements
.
child
.
chartSalesArchievementProjects
)
this
.
c3
(
'c3-3'
,
res
.
chars
.
salesAchievements
.
child
.
chartSalesArchievementProjects
)
this
.
c3
(
'c3-4'
,
res
.
chars
.
salesAchievements
.
child
.
chartSalesArchievementProfitRate
)
this
.
c3
(
'c3-4'
,
res
.
chars
.
salesAchievements
.
child
.
chartSalesArchievementProfitRate
)
this
.
c3
(
'c4-1'
,
res
.
chars
.
salesOpportunities
.
child
.
chartSalesOpportunityJournalAccount
)
this
.
c3
(
'c4-2'
,
res
.
chars
.
salesOpportunities
.
child
.
chartSalesOpportunityProfits
)
this
.
c3
(
'c4-3'
,
res
.
chars
.
salesOpportunities
.
child
.
chartSalesOpportunityProjects
)
this
.
c3
(
'c4-4'
,
res
.
chars
.
salesOpportunities
.
child
.
chartSalesOpportunityProfitRate
)
this
.
c3
(
'c5-1'
,
res
.
chars
.
salesRecessiveProjects
.
child
.
chartSalesRecessiveJournalAccount
)
this
.
c3
(
'c5-2'
,
res
.
chars
.
salesRecessiveProjects
.
child
.
chartSalesRecessiveProfits
)
this
.
c3
(
'c5-3'
,
res
.
chars
.
salesRecessiveProjects
.
child
.
chartSalesRecessiveProjects
)
this
.
c3
(
'c5-4'
,
res
.
chars
.
salesRecessiveProjects
.
child
.
chartSalesRecessiveProfitRate
)
})
})
},
},
...
...
src/components/analysis/analysis/salesAchievements.js
View file @
57c41511
...
@@ -47,9 +47,17 @@ export default {
...
@@ -47,9 +47,17 @@ export default {
if
(
_x
===
'平均'
)
{
if
(
_x
===
'平均'
)
{
ret
+=
`<b>
${
_x
}
</b><br/>
${
this
.
point
.
stackTotal
}
`
ret
+=
`<b>
${
_x
}
</b><br/>
${
this
.
point
.
stackTotal
}
`
}
else
{
}
else
{
ret
+=
`<b>
${
this
.
series
.
name
}
</b><br/>
ret
+=
`<b>
${
this
.
series
.
name
}
</b><br/>`
项目名称:
${
this
.
series
.
userOptions
.
projectName
}
<br/>
if
(
this
.
series
.
userOptions
.
title
)
{
商机金额:
${
this
.
series
.
userOptions
.
money
}
`
ret
+=
`项目名称:<b>
${
this
.
series
.
userOptions
.
title
}
</b><br/>`
}
if
(
this
.
series
.
userOptions
.
budget
)
{
ret
+=
`商机金额:
${
this
.
series
.
userOptions
.
budget
}
元<br/>`
}
if
(
this
.
series
.
userOptions
.
bargain_date
)
{
ret
+=
`成交日期:
${
this
.
series
.
userOptions
.
bargain_date
}
<br/>`
}
ret
+=
`商机批注:
${
this
.
series
.
userOptions
.
comment
}
`
}
}
return
ret
return
ret
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment