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
20d56b71
Commit
20d56b71
authored
Dec 22, 2022
by
dong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix20221222
parent
b1b146c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
apps/view_choose/fill_data.py
+6
-5
No files found.
apps/view_choose/fill_data.py
View file @
20d56b71
...
@@ -420,12 +420,13 @@ def read_template():
...
@@ -420,12 +420,13 @@ def read_template():
rep_num
=
0
rep_num
=
0
rep_build_name_list
=
[]
rep_build_name_list
=
[]
success_num
=
0
success_num
=
0
# # 刚上传的数据审核状态为未审核 0为未审核;1为审核通过;3为驳回;4不通过
# if role_id == 3: # 办事员上传的数据默认状态为0
# audit_status = "0"
# if role_id in [1, 2]: # 局领导和部门负责人上传的数据默认状态为1
# audit_status = "1"
audit_status
=
''
# 刚上传的数据审核状态为未审核 0为未审核;1为审核通过;3为驳回;4不通过
if
role_id
==
3
:
# 办事员上传的数据默认状态为0
audit_status
=
"0"
if
role_id
in
[
1
,
2
]:
# 局领导和部门负责人上传的数据默认状态为1
audit_status
=
"1"
# 记录上传时间和上传人,记录"导入"的动作用于备注的是和否
# 记录上传时间和上传人,记录"导入"的动作用于备注的是和否
upload_time
=
datetime
.
now
()
upload_time
=
datetime
.
now
()
action
=
'导入'
action
=
'导入'
...
...
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