Commit 162bbd28 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

新增科室

No related merge requests found
Showing with 9 additions and 10 deletions
+9 -10
......@@ -31,7 +31,6 @@ def facturer_query_byID():
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#b7_厂商管理_厂商查询byID
notices_id = FileUtils().r_info3(module, '公告新增')["notices_id"]
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "firmpage_url")
# 获取请求头信息
......
......@@ -31,7 +31,6 @@ def facturer_query_byID():
token,projectCode,uxid,corpId,info= login_system(username, password).get_token()
# print( token,projectCode,uxid,corpId,info)
#b8_厂商管理_厂商查询byName
notices_id = FileUtils().r_info3(module, '公告新增')["notices_id"]
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "firmpage_url")
# 获取请求头信息
......
......@@ -22,6 +22,14 @@ def dept_query_byID():
输入:无
输出:"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)
......
......@@ -26,14 +26,7 @@ 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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment