Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
c4ffc22d
Commit
c4ffc22d
authored
Jan 27, 2021
by
wang zhengwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复时间停滞问题
parent
eb2e6350
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
jinjia2html_v2.py
app/utils/jinjia2html_v2.py
+2
-1
No files found.
app/utils/jinjia2html_v2.py
View file @
c4ffc22d
...
...
@@ -18,6 +18,7 @@ from app.utils.draw import draw_month_return_chart, draw_contribution_chart, dra
draw_old_combination_chart
,
draw_index_combination_chart
from
app.utils.html_to_pdf
import
html_to_pdf
from
app.utils.radar_chart
import
gen_radar_chart
from
datetime
import
datetime
class
DataIntegrate
:
...
...
@@ -267,7 +268,7 @@ class DataIntegrate:
data
=
{
# 全局数据
'customer_name'
:
self
.
customer_name
,
'year_month'
:
self
.
user_customer
.
end_date
.
strftime
(
"
%
Y-
%
m-
%
d"
),
'year_month'
:
datetime
.
now
()
.
strftime
(
"
%
Y-
%
m-
%
d"
),
'valueSex'
:
self
.
user_customer
.
valueSex
,
'month'
:
self
.
user_customer
.
month_start_date
.
strftime
(
"
%
m"
),
'start_date'
:
self
.
user_customer
.
start_date
.
strftime
(
"
%
Y-
%
m-
%
d"
),
...
...
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