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
33b0d3c3
Commit
33b0d3c3
authored
Dec 02, 2022
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20221202
parent
073f6e78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
apps/inves_manage/siku_view.py
+2
-5
No files found.
apps/inves_manage/siku_view.py
View file @
33b0d3c3
...
...
@@ -620,11 +620,8 @@ def add_project():
cooperation_way
=
req_dic
[
'cooperation_way'
]
other_source
=
req_dic
[
'other_source'
]
remark
=
req_dic
[
'remark'
]
if
not
all
([
project_name
,
investor_name
,
investor_district
,
project_type
,
investment_volume
,
thread_people
,
thread_people_unity
,
thread_people_mobile
,
thread_progress
,
investment_volume1
,
thread_source
,
cooperation_way
,
remark
]):
return
jsonify
(
code
=
RET
.
NODATA
,
msg
=
'无有效数据!'
)
if
not
all
([
project_name
,
investor_district
,
project_type
]):
return
jsonify
(
code
=
RET
.
NODATA
,
msg
=
'项目名称,投资方所在地,项目类型不可为空!'
)
upload_time
=
datetime
.
now
()
.
strftime
(
"
%
Y/
%
m/
%
d"
)
time_strf
=
datetime
.
now
()
.
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