Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
4
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5c6c0dab
authored
Jan 19, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
42405b18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
src/components/Statistics.vue
src/store/modules/report.js
src/components/Statistics.vue
View file @
5c6c0da
...
...
@@ -22,7 +22,7 @@
<span
class=
"add-count"
>
{{
add
.
value
(
reportData
)
}}
</span>
<template
v-if=
"add.sequential(reportData)"
>
<div
class=
"ratio text-message flex"
>
{{
reportType
==
0
?
'周环比'
:
'月环比'
}}
<!--
{{
reportType
==
0
?
'周环比'
:
'月环比'
}}
-->
<span
:class=
"['flex', add.up(reportData) == 0 ? 'bcolor' : 'ycolor']"
>
<template
v-if=
"add.sequential(reportData) != '0%'"
>
<div
:class=
"['sprite-icon', add.up(reportData) == 0 ? 'icon-iconup' : 'icon-icondown']"
></div>
...
...
src/store/modules/report.js
View file @
5c6c0da
...
...
@@ -56,10 +56,10 @@ export default {
//今年累计权益提单数
payload
.
reportData
.
yearEquityBillLadingNum
=
payload
.
reportData
.
yearEquityBillLadingNum
?
payload
.
reportData
.
yearEquityBillLadingNum
:
0
state
.
reportData
=
payload
.
reportData
;
payload
.
reportData
.
merchantProductionValueReportList
.
map
(
e
=>
{
payload
.
reportData
.
merchantProductionValueReportList
&&
payload
.
reportData
.
merchantProductionValueReportList
.
map
(
e
=>
{
e
.
newProductionValue
=
e
.
newProductionValue
/
100
})
payload
.
reportData
.
productionValueReportList
.
map
(
e
=>
{
payload
.
reportData
.
productionValueReportList
&&
payload
.
reportData
.
productionValueReportList
.
map
(
e
=>
{
e
.
newProductionValue
=
e
.
newProductionValue
/
100
})
//新增产值分布饼图数据处理
state
.
productionReportList
=
payload
.
reportData
.
merchantProductionValueReportList
;
...
...
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