Commit be01b5c1 authored by xiao-hesheng's avatar xiao-hesheng
Browse files

流程七脚本编写

parent bc61d360
......@@ -35,7 +35,7 @@ def branch_goods_add():
# print( token,projectCode,uxid,corpId,info)
#e8_一键导入产品_有中心库
url=commonFuc().get_api_url()+commonFuc().get_business_data(module, "oneKeyImportGoods_url")
print('一键导入产品_有中心库',url)
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
......
......@@ -60,8 +60,8 @@ def import_goods():
# 获取token和projectCode
token, projectCode, uxid, corpId, info = login_system(username, password).get_token()
# 院区产品设置_查询院区产品
url = commonFuc().get_api_url() + commonFuc().get_business_data(module, "mcmsDeptGoodsInfo_url")
url = commonFuc().get_api_add_port_url() + commonFuc().get_business_data(module, "mcmsDeptGoodsInfo_url")
print('院区产品设置_查询院区产品',url)
# 获取请求头信息
headers = commonFuc().get_business_data(module, "json_headers2",
commonFuc().get_business_data(module, "json_contentType"), token,
......@@ -252,9 +252,9 @@ def grants_user(orgName='d69a68df361a4289b2262e4ef75b55a5', mgrRangeId='feb0cc16
try:
test1()
test2()
dept_query_all()
grants_user()
# test2()
# dept_query_all()
# grants_user()
commonFuc().check_text_exist_result_text('succees', 'succees')
except Exception as e:
commonFuc().check_text_exist_result_text('succees','error')
......
企业信息:
e_id: CR202405100087
cname: 国药集团公司jkgv^
e_id: CR202405100112
cname: 国药集团公司hcq)X
医院信息:
h_id: 湖南省人民医院hNH*C
h_name: 湖南省人民医院hNH*C
h_id: 湖南省人民医院L!7NW
h_name: 湖南省人民医院L!7NW
产品审核信息:
MSPid: MSP2405080011_1
MSPid: MSP2405100021_1
hosId: h0347
hosGoodsId: h034700003448
provGoodsid: provGood-99220557
goodsAuditBillId: MSP2405080011
targetId: MSP2405080011_1
hosGoodsId: h034700003492
provGoodsid: provGood-99220605
goodsAuditBillId: MSP2405100021
targetId: MSP2405100021_1
院区新增:
branch_id: h0347-3582
branch_name: 东土城路院区1siZT
branch_id: h0347-3585
branch_name: 东土城路院区znqR8
科室信息:
dept2_id: 1dfaf0a57dd54025a449ed5762066876
dept2_id: 1f9fded484bb4a62bd73a28caad3c046
dept2_name: 二级检验科002
......@@ -55,9 +55,9 @@
<tr width="600">
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>1</td>
<td class='details-col-elapsed'>0分17</td>
<td class="details-col-elapsed">100.0%</td>
<td class='details-col-elapsed'>0</td>
<td class='details-col-elapsed'>0分44</td>
<td class="details-col-elapsed">0.0%</td>
</tr>
</table>
......@@ -72,9 +72,9 @@
</tr>
<tr width="600">
<td class="details-col-elapsed"><a href='../log/a_a5流程五_中心库入库结算_正结算1_提交采购计划/log.html' target='_blank'>a_a5流程五_中心库入库结算_正结算1_提交采购计划</a></td>
<td class="success">成功</td>
<td class="details-col-elapsed">17.164</td>
<td class="details-col-elapsed"><a href='../log/a_a4_流程四_基础模块设置/log.html' target='_blank'>a_a4_流程四_基础模块设置</a></td>
<td class="fail">失败</td>
<td class="details-col-elapsed">44.309</td>
<td class="details-col-elapsed">xiaohesheng</td>
</tr>
......
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