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
6f01c149
Commit
6f01c149
authored
Dec 22, 2023
by
xiao-hesheng
Browse files
增加配送模块脚本
parent
d27d5433
Changes
3
Hide whitespace changes
Inline
Side-by-side
air_case/a6_mdm3_dp/a2订单配送列表数据查询_多条记录确认.air/a2订单配送列表数据查询_多条记录确认.py
View file @
6f01c149
...
...
@@ -40,10 +40,12 @@ def test1():
projectCode
)
request_body1
=
commonFuc
().
get_business_data
(
module
,
"payload2_1"
,
id1
,
uxid
)
print
(
'request_body1'
,
request_body1
)
request_body2
=
commonFuc
().
get_business_data
(
module
,
"payload2_2"
,
id2
,
uxid
)
print
(
'request_body2'
,
request_body2
)
request_body
=
str
(
request_body1
)
+
','
+
str
(
request_body2
)
request_body
=
"["
+
str
(
request_body
)
+
"]"
print
(
request_body
)
print
(
'request_body'
,
request_body
)
# string = "这是一段包含'单引号'的文本"
new_request_body
=
request_body
.
replace
(
"'"
,
'"'
)
print
(
new_request_body
)
...
...
data/a6_mdm3_dp/data
View file @
6f01c149
...
...
@@ -87,7 +87,7 @@ json_headers2: {
"payload7_3": {"pageNum":1,"pageSize":50,"orderBy":"create_time desc, order_no desc","queryObject":{"dateValue":["",""],"relationProvId":"p10d95","hosIdList":["h0347","h0028"],"tabIdx":"3","startDate":"","endDate":""}}
"payload8": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"provId":"p10d95","pageType":2,"hosIdList":["h0347"],"tabIdx":"1","startDate":"","endDate":""}}
"payload8_1": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"provId":"p10d95","pageType":2,"hosIdList":["h0028"],"tabIdx":"1","startDate":"","endDate":""}}
"payload2_1": {"id":"%s","version":2,"hosVersion":2,"userId":"%s","detailList":[]}
"payload2_1
_1
": {"id":"%s","version":2,"hosVersion":2,"userId":"%s","detailList":[]}
"payload9": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"hosId":"h0347","orderNo":"","provId":"p10d95","pageType":2,"tabIdx":"2","startDate":"","endDate":""}}
"payload9_1": {"pageNum":1,"pageSize":50,"orderBy":"last_modified desc, order_no desc","queryObject":{"dateValue":["",""],"hosId":"h0028","orderNo":"","provId":"p10d95","pageType":2,"tabIdx":"2","startDate":"","endDate":""}}
"payload9_2": {"id":"","purBillId":"%s","sourceId":"%s","sourceVersion":1,"version":0,"billMode":"20","hosVersion":3,"createUser":"GYQX-SPD:user-19669","createUserName":"浙江高仰医疗","lastModifiedUser":"GYQX-SPD:user-19669","detailList":[{"sourceDetailId":"%s","hosGoodsId":"h034700001984","mdmGoodsCode":"11658124","goodsCode":"00001984","certificateCode":"鄂准药监器20231044114","pkgDefId":null,"provGoodsId":null,"replPkgQty":799,"settlement":3,"batchCode":"333","productDate":"2023-12-01","expdtDate":"2024-02-25","distrPkgQty":1,"disabledFlag":0,"distrQty":1,"ext":{"ygptCode":"","transCond":"","storageCond":"2~8℃保存","erpCode":"11658124"},"edit":true,"barcodeList":[],"viewId":"%sROW0"}]}
...
...
report/summary.html
View file @
6f01c149
...
...
@@ -54,9 +54,9 @@
</tr>
<tr
width=
"600"
>
<td
class=
'details-col-elapsed'
>
2
</td>
<td
class=
'details-col-elapsed'
>
2
</td>
<td
class=
'details-col-elapsed'
>
0分
7
秒
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
1
</td>
<td
class=
'details-col-elapsed'
>
0分
5
秒
</td>
<td
class=
"details-col-elapsed"
>
100.0%
</td>
</tr>
</table>
...
...
@@ -72,16 +72,9 @@
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a2订单配送列表数据查询_
单
条记录确认
_2_0医院
/log.html'
target=
'_blank'
>
a2订单配送列表数据查询_
单
条记录确认
_2_0医院
</a></td>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a2订单配送列表数据查询_
多
条记录确认/log.html'
target=
'_blank'
>
a2订单配送列表数据查询_
多
条记录确认
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
5.719
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
<tr
width=
"600"
>
<td
class=
"details-col-elapsed"
><a
href=
'../log/a2订单配送列表数据查询_单条记录确认_3_0医院/log.html'
target=
'_blank'
>
a2订单配送列表数据查询_单条记录确认_3_0医院
</a></td>
<td
class=
"success"
>
成功
</td>
<td
class=
"details-col-elapsed"
>
2.109
</td>
<td
class=
"details-col-elapsed"
>
5.248
</td>
<td
class=
"details-col-elapsed"
>
xiaohesheng
</td>
</tr>
...
...
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