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
b95b6977
Commit
b95b6977
authored
Oct 19, 2023
by
xiao-hesheng
Browse files
新增科室
parent
9a3d4dba
Changes
1
Hide whitespace changes
Inline
Side-by-side
air_case/a2_herp3_bs/c0_新增科室_特殊科室_设备科_中心库房.air/c0_新增科室_特殊科室_设备科_中心库房.py
View file @
b95b6977
# -*- encoding=utf8 -*-
import
sys
from
airtest.core.helper
import
using
from
common.db.sql.sql_del_branch_info
import
delByBranchId
from
common.db.sql.sql_del_notices_info
import
delByNoticeName
from
common.fileUtls
import
FileUtils
...
...
@@ -22,6 +26,14 @@ def add_center_dept():
输入:无
输出:"rtn_msg": {"code": 0, "msg": null, "data": 1}
"""
# 新建一个院区
pro_path
=
commonFuc
().
get_pro_path
()
sys
.
path
.
append
(
pro_path
+
r
'\\air_case\\a2_herp3_bs\\a4_院区新增.air'
)
using
(
pro_path
+
r
'\\air_case\\a2_herp3_bs\\a4_院区新增.air'
)
from
a4_院区新增
import
branch_add
id2
,
name
=
branch_add
()
info
=
(
id2
,
name
)
FileUtils
().
w_info2
(
info
,
module
,
'院区新增'
)
#内网登录
username
=
commonFuc
().
get_business_data
(
module
,
"username"
)
# print('医院名称',username)
...
...
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