manage-client 3.2.292 → 3.2.294
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AutoTest/BasePage.py +42 -0
- package/AutoTest/Config.json +2 -0
- package/AutoTest/PublicScript.py +447 -0
- package/AutoTest/README.md +12 -0
- package/AutoTest/__init__.py +0 -0
- package/AutoTest/all_case/__init__.py +0 -0
- package/AutoTest/all_case/search/__init__.py +0 -0
- package/AutoTest/all_case/search/as_ArchivesQueryScript2.py +155 -0
- package/AutoTest/all_case/search/as_AuditQueryScript2.py +113 -0
- package/AutoTest/all_case/search/as_Chargequery2.py +96 -0
- package/AutoTest/all_case/search/as_FinancialQueryScript2.py +142 -0
- package/AutoTest/all_case/search/as_Security_check3.py +99 -0
- package/AutoTest/all_case/search/as_ServiceQueryScript2.py +547 -0
- package/AutoTest/all_case/search/as_SummaryQueryScript2.py +77 -0
- package/AutoTest/all_case/search/as_Wechatmanage2.py +121 -0
- package/AutoTest/all_case/search/as_Writemetersearch2.py +114 -0
- package/AutoTest/report//346/237/245/350/257/242/351/203/250/345/210/206/346/265/213/350/257/225/346/212/245/345/221/212.html +7322 -0
- package/AutoTest/requirements.txt +9 -0
- package/AutoTest/search_test_run.py +24 -0
- package/package.json +1 -1
- package/src/filiale/huayin/ChargeQuery.vue +1 -1
- package/src/filiale/shanxian/AreaGeneralQuery.vue +30 -0
- package/src/filiale/shanxian/ChangeMeterQuery.vue +30 -29
- package/src/filiale/shanxian/ChargeQuery.vue +1344 -0
- package/src/filiale/shanxian/FillCardQuery.vue +26 -26
- package/src/filiale/shanxian/FillGasQuery.vue +28 -28
- package/src/filiale/shanxian/OtherChargeQuery.vue +27 -27
- package/src/filiale/shanxian/RecordInfoQuery.vue +1 -1
- package/src/filiale/shanxian/sale.js +2 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import unittest
|
|
3
|
+
import time
|
|
4
|
+
from BeautifulReport import BeautifulReport
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
# 方法:执行用例的方法,并且把用例的执行结果写入到测试报告文件中(html文件中)
|
|
8
|
+
def zhixing_yongli():
|
|
9
|
+
# 1. 准备测试套件: 把用例放入到测试套件中。 discover套件
|
|
10
|
+
dangqian_lujing = os.path.dirname(__file__)
|
|
11
|
+
case_path = os.path.join(dangqian_lujing, "." , "all_case/search")
|
|
12
|
+
taojian = unittest.defaultTestLoader.discover(case_path, pattern='as_SummaryQueryScript2.py')
|
|
13
|
+
# 2. 准备测试报告。(准备测试报告的路径 + 测试报告的文件名 xxxxx.html 系统时间+项目名.html)r
|
|
14
|
+
baogao_lujing = os.path.join(dangqian_lujing, ".", "report")
|
|
15
|
+
sys_time = time.strftime("%Y%m%d%H%M%S")
|
|
16
|
+
baogao_wenjianming = sys_time + "ranqikefu.html"
|
|
17
|
+
|
|
18
|
+
# 3. 执行测试套件中的用例,并且把执行结果写入到测试报告文件。(采用开源的beautifulreport来执行用例生成报告)
|
|
19
|
+
jieguo = BeautifulReport(taojian)
|
|
20
|
+
jieguo.report(description="燃气客服的自动化测试", filename="查询部分测试报告", report_dir=baogao_lujing)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
if __name__ == '__main__':
|
|
24
|
+
zhixing_yongli()
|
package/package.json
CHANGED
|
@@ -734,7 +734,7 @@
|
|
|
734
734
|
汇总信息
|
|
735
735
|
</td>
|
|
736
736
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
737
|
-
气量合计: {{sumsmodel.f_pregas}}
|
|
737
|
+
气量合计: {{sumsmodel.f_pregas.toFixed(2)}}
|
|
738
738
|
</td>
|
|
739
739
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
740
740
|
应交金额合计: {{sumsmodel.fee}}
|
|
@@ -174,6 +174,36 @@
|
|
|
174
174
|
close-on-select
|
|
175
175
|
></v-select>
|
|
176
176
|
</div>
|
|
177
|
+
<div class="col-sm-2 form-group">
|
|
178
|
+
<label for="startDate1" class="font_normal_body"
|
|
179
|
+
>开始日期</label
|
|
180
|
+
>
|
|
181
|
+
<datepicker
|
|
182
|
+
id="startDate1"
|
|
183
|
+
placeholder="建档开始日期"
|
|
184
|
+
style="width: 60%"
|
|
185
|
+
v-model="model.startDate1"
|
|
186
|
+
:value.sync="model.startDate1"
|
|
187
|
+
:format="'yyyy-MM-dd'"
|
|
188
|
+
:show-reset-button="true"
|
|
189
|
+
condition="f_createfile_date >= '{} 00:00:00'">
|
|
190
|
+
>
|
|
191
|
+
</datepicker>
|
|
192
|
+
</div>
|
|
193
|
+
<div class="col-sm-2 form-group">
|
|
194
|
+
<label for="endDate1" class="font_normal_body">结束日期</label>
|
|
195
|
+
<datepicker
|
|
196
|
+
id="endDate1"
|
|
197
|
+
placeholder="建档结束日期"
|
|
198
|
+
style="width: 60%"
|
|
199
|
+
v-model="model.endDate1"
|
|
200
|
+
:value.sync="model.endDate1"
|
|
201
|
+
:format="'yyyy-MM-dd'"
|
|
202
|
+
condition="f_createfile_date <= '{} 23:59:59'">
|
|
203
|
+
:show-reset-button="true"
|
|
204
|
+
>
|
|
205
|
+
</datepicker>
|
|
206
|
+
</div>
|
|
177
207
|
<!--<div class="col-sm-2 form-group">-->
|
|
178
208
|
<!--<label class="font_normal_body">气表类型</label>-->
|
|
179
209
|
<!--<v-select :value.sync="model.f_meter_type" multiple-->
|
|
@@ -6,31 +6,21 @@
|
|
|
6
6
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
7
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
8
|
<div class="row">
|
|
9
|
-
<div class="col-sm-2 form-group">
|
|
10
|
-
<label class="font_normal_body">开始日期</label>
|
|
11
|
-
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
-
v-model="model.startDate"
|
|
13
|
-
:value.sync="model.startDate"
|
|
14
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
15
|
-
:show-reset-button="true"
|
|
16
|
-
condition="f_operate_date >= '{}'">
|
|
17
|
-
</datepicker>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-2 form-group">
|
|
20
|
-
<label class="font_normal_body">结束日期</label>
|
|
21
|
-
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
-
v-model="model.endDate"
|
|
23
|
-
:value.sync="model.endDate"
|
|
24
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
25
|
-
:show-reset-button="true"
|
|
26
|
-
condition="f_operate_date <= '{}'">
|
|
27
|
-
</datepicker>
|
|
28
|
-
</div>
|
|
29
9
|
<div class="col-sm-2 form-group ">
|
|
30
10
|
<label class="font_normal_body">用户编号</label>
|
|
31
11
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
12
|
condition="f_userinfo_code = '{}' " placeholder="用户编号">
|
|
33
13
|
</div>
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">用户名称</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
condition="f_user_name like '%{}%'" placeholder="用户名称">
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label class="font_normal_body">用户地址</label>
|
|
21
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
22
|
+
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
23
|
+
</div>
|
|
34
24
|
<div class="col-sm-2 form-group">
|
|
35
25
|
<label class="font_normal_body" title="旧用户编号">档案编号</label>
|
|
36
26
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
@@ -60,22 +50,33 @@
|
|
|
60
50
|
</div>
|
|
61
51
|
</div>
|
|
62
52
|
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
63
|
-
<res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
64
53
|
<div class="col-sm-2 form-group">
|
|
65
|
-
<label class="font_normal_body"
|
|
66
|
-
<
|
|
67
|
-
|
|
54
|
+
<label class="font_normal_body">开始日期</label>
|
|
55
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
56
|
+
v-model="model.startDate"
|
|
57
|
+
:value.sync="model.startDate"
|
|
58
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
59
|
+
:show-reset-button="true"
|
|
60
|
+
condition="f_operate_date >= '{}'">
|
|
61
|
+
</datepicker>
|
|
68
62
|
</div>
|
|
63
|
+
<div class="col-sm-2 form-group">
|
|
64
|
+
<label class="font_normal_body">结束日期</label>
|
|
65
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
66
|
+
v-model="model.endDate"
|
|
67
|
+
:value.sync="model.endDate"
|
|
68
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
69
|
+
:show-reset-button="true"
|
|
70
|
+
condition="f_operate_date <= '{}'">
|
|
71
|
+
</datepicker>
|
|
72
|
+
</div>
|
|
73
|
+
<res-select-group :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
74
|
+
|
|
69
75
|
<div class="col-sm-2 form-group">
|
|
70
76
|
<label class="font_normal_body">用户电话</label>
|
|
71
77
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
72
78
|
condition="f_user_phone like '%{}%'" placeholder="用户电话">
|
|
73
79
|
</div>
|
|
74
|
-
<div class="col-sm-2 form-group">
|
|
75
|
-
<label class="font_normal_body">用户地址</label>
|
|
76
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
77
|
-
condition="f_address like '%{}%'" placeholder='用户地址'>
|
|
78
|
-
</div>
|
|
79
80
|
<div class="col-sm-2 form-group">
|
|
80
81
|
<label class="font_normal_body">用户类型</label>
|
|
81
82
|
<v-select :value.sync="model.f_user_type"
|