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
bd4ada72
Commit
bd4ada72
authored
Feb 01, 2023
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20230201
parent
b36085e0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apps/inves_manage/siku_view.py
+2
-2
No files found.
apps/inves_manage/siku_view.py
View file @
bd4ada72
...
@@ -801,8 +801,8 @@ def upload_project_data1():
...
@@ -801,8 +801,8 @@ def upload_project_data1():
# 上传的文件
# 上传的文件
file
=
request
.
files
[
'file'
]
file
=
request
.
files
[
'file'
]
file_name
=
file
.
filename
file_name
=
file
.
filename
if
not
file_name
.
startswith
(
'线索库'
)
:
if
file_name
[
0
:
3
]
not
in
[
'线索库'
,
'对接库'
,
'签约库'
,
'开工库'
]
:
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"请使用
线索库
指定文件格式上传!"
)
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"请使用指定文件格式上传!"
)
upload_time
=
datetime
.
now
()
.
strftime
(
"
%
Y/
%
m/
%
d"
)
upload_time
=
datetime
.
now
()
.
strftime
(
"
%
Y/
%
m/
%
d"
)
time_strf
=
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