Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
29fb30a2
Commit
29fb30a2
authored
May 23, 2024
by
xiao-hesheng
Browse files
流程十脚本编写
parent
3f38ee6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/b5_spd3_core_business_flow/a_a4_流程四_基础模块设置.air/a_a4_流程四_基础模块设置.py
View file @
29fb30a2
...
@@ -226,20 +226,13 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
...
@@ -226,20 +226,13 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
try
:
try
:
# ==============删除业务数据和报表数据
# ==============删除业务数据和报表数据
delData
().
Delete_business_Data
()
#删除业务数据
#
delData().Delete_business_Data()#删除业务数据
delData
().
Del_reporter_data
()
# 删除报表数据
#
delData().Del_reporter_data() # 删除报表数据
#==============删除业务数据和报表数据
#==============删除业务数据和报表数据
test1
()
test1
()
test2
()
# 科室添加产品信息(产品是从外网同步过来的)
test2
()
# 科室添加产品信息(产品是从外网同步过来的)
dept_query_all
()
# 科室查询,将科室id写入文件中
dept_query_all
()
# 科室查询,将科室id写入文件中
grants_user
()
#给用户授权
grants_user
()
#给用户授权
# 二级库区信息写入文件
get_stockAreaId_new
(
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid2'
],
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid2'
],
2
)
# 设置二级库区联系人
set_stockShelf_Linkman
()
#
set_dept_user
(
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室id"
,
'message6'
)[
'deptid2'
],
FileUtils
().
r_info8
(
"b2_herp3_bs"
,
"所有科室name"
,
'message6'
)[
'deptid2'
],
2
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
commonFuc
().
check_text_exist_result_text
(
'succees'
,
'succees'
)
except
Exception
as
e
:
except
Exception
as
e
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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