Commit b86da3c3 authored by pengxiong's avatar pengxiong

初始参数

parent 3ec14cf8
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
# @Email : acepengxiong@163.com # @Email : acepengxiong@163.com
# @Software : PyCharm # @Software : PyCharm
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
import datetime
from app.api.engine import template_folder from app.api.engine import template_folder
from app.utils.format_transfer import img_transfer from app.utils.format_transfer import img_transfer
...@@ -114,7 +116,7 @@ diagnose_default_template = { ...@@ -114,7 +116,7 @@ diagnose_default_template = {
hold_default_data = { hold_default_data = {
"customer_name": "王晶", "customer_name": "王晶",
"valueSex": 1, "valueSex": 1,
"year_month": "2020-12", "year_month": datetime.datetime.now().strftime('%Y-%m-%d'),
"month": "12", "month": "12",
"start_date": "2020-07-17", "start_date": "2020-07-17",
"latest_worth_day": "2020-12-31", "latest_worth_day": "2020-12-31",
...@@ -423,7 +425,7 @@ hold_default_data = { ...@@ -423,7 +425,7 @@ hold_default_data = {
diagnose_default_data = { diagnose_default_data = {
"customer_name": "王晶 ", "customer_name": "王晶 ",
"valueSex": 1, "valueSex": 1,
"year_month": "2020-12", "year_month": datetime.datetime.now().strftime('%Y-%m-%d'),
"month": "12", "month": "12",
"start_date": "2020-07-17", "start_date": "2020-07-17",
"latest_worth_day": "2020-12-31", "latest_worth_day": "2020-12-31",
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment