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
68c8f56e
Commit
68c8f56e
authored
Nov 18, 2022
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20221118
parent
837174d2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
apps/inves_manage/view.py
+11
-9
apps/statics/__init__.py
+0
-0
No files found.
apps/inves_manage/view.py
View file @
68c8f56e
...
...
@@ -1251,7 +1251,9 @@ def check_project_detail():
"id"
:
progress_obj
.
id
,
"time"
:
progress_obj
.
add_time
,
"info"
:
progress_obj
.
info
}
for
progress_obj
in
progress_obj_list
if
progress_obj
.
flag
==
flag
]
# } for progress_obj in progress_obj_list if progress_obj.flag == flag]
}
for
progress_obj
in
progress_obj_list
]
progress_data
=
sorted
(
progress_data
,
key
=
lambda
x
:
x
[
'time'
],
reverse
=
True
)
file_obj_list
=
project_obj
.
project_files
...
...
@@ -1504,8 +1506,8 @@ def batch_export_project1():
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"用户信息校验失败,请重新登陆后尝试!"
)
select_id_list
=
req_dic
[
"select_id_list"
]
path
=
'./apps/statics/project_file/'
pro_path
=
'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
# pro_path = 'http://39.100.39.50:5051
/statics/project_file/' # 项目路径
#
pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path
=
'http://39.100.39.50:5050
/statics/project_file/'
# 项目路径
if
not
select_id_list
:
return
jsonify
(
code
=
RET
.
PARAMERR
,
msg
=
"参数不能为空!"
)
target_data_list
=
[]
...
...
@@ -1599,8 +1601,8 @@ def batch_export_project2():
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"用户信息校验失败,请重新登陆后尝试!"
)
select_id_list
=
req_dic
[
"select_id_list"
]
path
=
'./apps/statics/project_file/'
pro_path
=
'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
# pro_path = 'http://39.100.39.50:5051
/statics/project_file/' # 项目路径
#
pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path
=
'http://39.100.39.50:5050
/statics/project_file/'
# 项目路径
if
not
select_id_list
:
return
jsonify
(
code
=
RET
.
PARAMERR
,
msg
=
"参数不能为空!"
)
target_data_list
=
[]
...
...
@@ -1709,8 +1711,8 @@ def batch_export_project3():
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"用户信息校验失败,请重新登陆后尝试!"
)
select_id_list
=
req_dic
[
"select_id_list"
]
path
=
'./apps/statics/project_file/'
pro_path
=
'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
# pro_path = 'http://39.100.39.50:5051
/statics/project_file/' # 项目路径
#
pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path
=
'http://39.100.39.50:5050
/statics/project_file/'
# 项目路径
if
not
select_id_list
:
return
jsonify
(
code
=
RET
.
PARAMERR
,
msg
=
"参数不能为空!"
)
target_data_list
=
[]
...
...
@@ -1833,8 +1835,8 @@ def batch_export_project4():
return
jsonify
(
code
=
RET
.
DBERR
,
msg
=
"用户信息校验失败,请重新登陆后尝试!"
)
select_id_list
=
req_dic
[
"select_id_list"
]
path
=
'./apps/statics/project_file/'
pro_path
=
'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
# pro_path = 'http://39.100.39.50:5051
/statics/project_file/' # 项目路径
#
pro_path = 'D:/中研项目代码/flask_jincheng/apps/statics/project_file/'
pro_path
=
'http://39.100.39.50:5050
/statics/project_file/'
# 项目路径
if
not
select_id_list
:
return
jsonify
(
code
=
RET
.
PARAMERR
,
msg
=
"参数不能为空!"
)
target_data_list
=
[]
...
...
apps/statics/__init__.py
0 → 100644
View file @
68c8f56e
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