Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mancheng
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mancheng
Commits
d68a09f6
Commit
d68a09f6
authored
Feb 01, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230201
parent
0cf4bead
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
apps/view_choose/fill_data.py
+8
-1
No files found.
apps/view_choose/fill_data.py
View file @
d68a09f6
...
...
@@ -12,6 +12,7 @@ from apps.util import verify_token, verify_identity
from
apps.view_choose
import
api_address
from
apps.utils.response_code
import
RET
from
apps.view_choose.choose_view
import
get_district_name
"""数据填报页面"""
...
...
@@ -1700,6 +1701,8 @@ def search_carrier_build():
build_name
=
req_dic
[
'build_name'
]
district_name
=
req_dic
[
'district_name'
]
if
not
district_name
:
district_name
=
get_district_name
(
token
)
build_type
=
req_dic
[
'build_type'
]
page
=
req_dic
[
'page'
]
...
...
@@ -1909,6 +1912,8 @@ def search_carrier_land():
# return jsonify(code=RET.SESSIONERR, msg="进行{}操作时用户信息校验失败,请重新登陆后尝试!".format(action_name))
district_name
=
req_dic
[
'district_name'
]
if
not
district_name
:
district_name
=
get_district_name
(
token
)
land_name
=
req_dic
[
'land_name'
]
land_code
=
req_dic
[
'land_code'
]
...
...
@@ -2092,7 +2097,7 @@ def search_carrier_factory():
req_dic
=
request
.
get_json
()
# token = req_dic['token']
#
token = request.headers['token']
token
=
request
.
headers
[
'token'
]
# action_name = '搜索厂房'
# try:
# section, user_name, operation_mobile, user_id, belong_unit = verify_identity(token, action_name)
...
...
@@ -2100,6 +2105,8 @@ def search_carrier_factory():
# current_app.logger.error(e)
# return jsonify(code=RET.SESSIONERR, msg="进行{}操作时用户信息校验失败,请重新登陆后尝试!".format(action_name))
district_name
=
req_dic
[
'district_name'
]
if
not
district_name
:
district_name
=
get_district_name
(
token
)
factory_name
=
req_dic
[
'factory_name'
]
is_standard
=
req_dic
[
'is_standard'
]
...
...
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