manage-client 3.3.230 → 3.3.232

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.
Files changed (207) hide show
  1. package/build/dev-server.js +190 -190
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/hs_err_pid13052.log +206 -206
  6. package/package.json +111 -111
  7. package/src/components/SellReport/BusinessClassify.vue +292 -292
  8. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  9. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  10. package/src/components/SellReport/ManageGasGroupSummary.vue +208 -0
  11. package/src/components/SellReport/ManageSellType.vue +267 -267
  12. package/src/components/SellReport/ReportItems.vue +312 -312
  13. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  14. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  15. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  16. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  17. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  18. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  19. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  20. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  21. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  22. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  23. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  24. package/src/components/sale/businessquery/CollectManage.vue +161 -161
  25. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  26. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  27. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  28. package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
  29. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  30. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  31. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  32. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  33. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  34. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  35. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  36. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  37. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  38. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  39. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  40. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  41. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  42. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  43. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  44. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  45. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  46. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  47. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  48. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  49. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  50. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  51. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  52. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  53. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  54. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  55. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
  56. package/src/components/sale/businessquery/usergas.vue +315 -315
  57. package/src/components/sale/config/exportConfig.js +2762 -2762
  58. package/src/components/sale/config/tableConfig.js +59 -59
  59. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  60. package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
  61. package/src/components/sale/filesquery/UserQuery.vue +977 -977
  62. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  63. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -736
  64. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -689
  65. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  66. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  67. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  68. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  69. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  70. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
  71. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  72. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  73. package/src/components/webmeter/report/ReportList.vue +453 -453
  74. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  75. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  76. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
  77. package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
  78. package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
  79. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
  80. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
  81. package/src/filiale/ancheng/exportConfig.js +1112 -1112
  82. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  83. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  84. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  85. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  86. package/src/filiale/bayan/config/tableConfig.js +59 -59
  87. package/src/filiale/bayan/sale.js +8 -8
  88. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  89. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  90. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  91. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  92. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  93. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  94. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  95. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  96. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  97. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  98. package/src/filiale/bayan/webmeterManage.js +26 -26
  99. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  100. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  101. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  102. package/src/filiale/dingcheng/sale.js +9 -9
  103. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  104. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  105. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  106. package/src/filiale/hantou/config/tableConfig.js +54 -54
  107. package/src/filiale/hantou/sale.js +8 -8
  108. package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
  109. package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
  110. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  111. package/src/filiale/jingyang/RechargeList.vue +346 -346
  112. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  113. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  114. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  115. package/src/filiale/jingyang/sale.js +8 -8
  116. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  117. package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
  118. package/src/filiale/kelai/GasStatistics.vue +561 -561
  119. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  120. package/src/filiale/kelai/NewGasStatistics.vue +556 -556
  121. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  122. package/src/filiale/kelai/reportManage.js +13 -13
  123. package/src/filiale/kelai/sale.js +17 -17
  124. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  125. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  126. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  127. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  128. package/src/filiale/macheng/config/exportConfig.js +79 -79
  129. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  130. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  131. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  132. package/src/filiale/meihekou/CollectManage.vue +152 -152
  133. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  134. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  135. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  136. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  137. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  138. package/src/filiale/meihekou/sale.js +39 -39
  139. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  140. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  141. package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
  142. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  143. package/src/filiale/qianneng/exportConfig.js +232 -232
  144. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  145. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  146. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  147. package/src/filiale/rizhao/sale.js +13 -13
  148. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  149. package/src/filiale/shangluo/sale.js +17 -17
  150. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  151. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  152. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  153. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  154. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  155. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  156. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  157. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  158. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  159. package/src/filiale/taizhoukesi/sale.js +11 -11
  160. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  161. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  162. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  163. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  164. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  165. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  166. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  167. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  168. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  169. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  170. package/src/filiale/xinjiangdexin/sale.js +7 -7
  171. package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
  172. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  173. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  174. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  175. package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
  176. package/src/filiale/yangchun/UserQuery.vue +980 -980
  177. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  178. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  179. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  180. package/src/filiale/yangchun/reportManage.js +6 -6
  181. package/src/filiale/yangchun/sale.js +20 -20
  182. package/src/filiale/yangchun/webmeterManage.js +5 -5
  183. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  184. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  185. package/src/filiale/yuncheng/GasInspection.vue +610 -610
  186. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  187. package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
  188. package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
  189. package/src/filiale/yuncheng/sale.js +23 -23
  190. package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
  191. package/src/filiale/zhongyi/GasStatistics.vue +537 -537
  192. package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
  193. package/src/filiale/zhongyi/exportConfig.js +2556 -2556
  194. package/src/filiale/zhongyi/sale.js +33 -33
  195. package/src/filiale/zhongyi/webmeterManage.js +15 -15
  196. package/src/main.js +68 -68
  197. package/src/plugins/LodopFuncs.js +159 -159
  198. package/src/reportManage.js +777 -773
  199. package/src/saleManage.js +689 -689
  200. package/src/webmeterManage.js +130 -130
  201. package/.gradle/7.4/checksums/checksums.lock +0 -0
  202. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  203. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  204. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  205. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  206. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  207. package/.gradle/7.4/gc.properties +0 -0
@@ -1,555 +1,555 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <res-select-group :show-component="['company','department']"
10
- :initres="$parent.$parent.org"
11
- @re-res="$parent.$parent.getorg">
12
- </res-select-group>
13
- <div class="col-sm-2">
14
- <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
15
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
16
- v-model="model.f_meternumber" placeholder='表钢号'
17
- condition="m.f_meternumber = '{}'" v-next-el='meternumber' v-el:meternumber
18
- >
19
- </div>
20
- <!-- <div class="col-sm-2">-->
21
- <!-- <label class="font_normal_body">组织机构</label>-->
22
- <!-- <res-select :initresid="$parent.$parent.orgid"-->
23
- <!-- style="width:60%"-->
24
- <!-- @res-select="$parent.$parent.getRes"-->
25
- <!-- restype='organization'>-->
26
- <!-- </res-select>-->
27
- <!-- </div>-->
28
- <div class="col-sm-2">
29
- <label class="font_normal_body">客户编号</label>
30
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
31
- v-model="model.f_userinfo_code" placeholder='客户编号'
32
- condition="ui.f_userinfo_code = '{}'" v-next-el='f_userinfo_code' v-el:meternumber
33
- >
34
- </div>
35
-
36
-
37
- <div class="span" style="float:right;margin-top:10px">
38
- <button class="button_search button_spacing" @click="search()">查询</button>
39
- <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
40
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
41
- :field="$parent.$parent.getfield"
42
- :header="$parent.$parent.other"
43
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="manage_getReportList"
44
- template-name='上报查询'
45
- :choose-col="true"></export-excel>
46
- <div style="float: right" class="button_spacing"
47
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
- @click="$parent.$parent.hidden()"></div>
49
- </div>
50
- </div>
51
- <div class="row" v-show="$parent.$parent.criteriaShow">
52
- <div class="col-sm-2">
53
- <label class="font_normal_body">客户名称</label>
54
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
55
- v-model="model.f_username" placeholder='客户名称'
56
- condition="ui.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
57
- </div>
58
- <div class="col-sm-2">
59
- <label class="font_normal_body">客户地址</label>
60
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
61
- v-model="model.f_address" placeholder='客户地址'
62
- condition="ua.f_address like '%{}%'" v-next-el='userid' v-el:username>
63
- </div>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">客户类型</label>
66
- <v-select :value.sync="model.f_user_type"
67
- @change="$parent.$parent.userTypeChange()"
68
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
69
- condition="uf.f_user_type = '{}'"
70
- close-on-select></v-select>
71
- </div>
72
- <div class="col-sm-2 form-group">
73
- <label class="font_normal_body">用气性质</label>
74
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
75
- :options='$parent.$parent.gasproperties' placeholder='请选择'
76
- condition="uf.f_gasproperties = '{}'"
77
- closfe-on-select></v-select>
78
- </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">气价类型</label>
81
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
82
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
83
- close-on-select>
84
- </v-select>
85
- </div>
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">气价名称</label>
88
- <v-select :value.sync="model.f_price_name"
89
- v-model="model.f_price_name"
90
- :options="$parent.$parent.getPricenames"
91
- condition="ts.f_price_name = '{}'"
92
- close-on-select></v-select>
93
- </div>
94
- <div class="col-sm-2 form-group">
95
- <label class="font_normal_body">气表品牌</label>
96
- <v-select :value.sync="model.f_meter_brand"
97
- v-model="model.f_meter_brand"
98
- :options="$parent.$parent.meterbrands"
99
- condition="br.f_meter_brand = '{}'"
100
- close-on-select></v-select>
101
- </div>
102
- <div class="col-sm-2 form-group">
103
- <label class="font_normal_body">开始时间</label>
104
- <datepicker style="width: 60%" placeholder="大于等于"
105
- :value.sync="model.f_start_date"
106
- v-model="model.f_start_date"
107
- :format="'yyyy-MM-dd HH:mm:ss'"
108
- condition="m.f_hand_date >= '{}'"
109
- ></datepicker>
110
- </div>
111
- <div class="col-sm-2 form-group">
112
- <label class="font_normal_body">结束时间</label>
113
- <datepicker style="width: 60%" placeholder="小于等于"
114
- :value.sync="model.f_end_date"
115
- v-model="model.f_end_date"
116
- :format="'yyyy-MM-dd HH:mm:ss'"
117
- condition="m.f_hand_date <= '{}'"
118
- ></datepicker>
119
- </div>
120
- </div>
121
- </div>
122
- </criteria>
123
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
124
- <template partial='head'>
125
- <tr>
126
- <th>
127
- <nobr>客户编号</nobr>
128
- </th>
129
- <th>
130
- <nobr>表号</nobr>
131
- </th>
132
- <th>
133
- <nobr>客户姓名</nobr>
134
- </th>
135
- <th>
136
- <nobr>客户电话</nobr>
137
- </th>
138
- <th>
139
- <nobr>客户地址</nobr>
140
- </th>
141
-
142
- <th>
143
- <nobr>上报日期</nobr>
144
- </th>
145
- <th>
146
- <nobr>系统接收时间</nobr>
147
- </th>
148
- <th>
149
- <nobr>表内剩余金额</nobr>
150
- </th>
151
- <th>
152
- <nobr>表内单价</nobr>
153
- </th>
154
- <th>
155
- <nobr>本次抄表底数</nobr>
156
- </th>
157
- <th>
158
- <nobr>阀门状态</nobr>
159
- </th>
160
-
161
- <th>
162
- <nobr>温度</nobr>
163
- </th>
164
- <th>
165
- <nobr>压力</nobr>
166
- </th>
167
-
168
- <th>
169
- <nobr>上报类型</nobr>
170
- </th>
171
- <th>
172
- <nobr>表内累计充值金额</nobr>
173
- </th>
174
- <th>
175
- <nobr>信号强度</nobr>
176
- </th>
177
- <th>
178
- <nobr>信噪比</nobr>
179
- </th>
180
- <th>
181
- <nobr>电压</nobr>
182
- </th>
183
-
184
- <th>
185
- <nobr>表状态</nobr>
186
- </th>
187
- <th>
188
- <nobr>金额状态</nobr>
189
- </th>
190
- <th>
191
- <nobr>部门</nobr>
192
- </th>
193
- <!--<th><nobr>每小时上报量</nobr></th>-->
194
- </tr>
195
- </template>
196
- <template partial='body' partial='list'>
197
- <tr>
198
- <td style="text-align: left;">
199
- <nobr><span @click="$parent.$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
200
- </nobr>
201
- </td>
202
- <td style="text-align: left;">
203
- <nobr>{{ row.f_meternumber }}</nobr>
204
- </td>
205
- <td style="text-align: left;">
206
- <nobr>{{ row.f_user_name }}</nobr>
207
- </td>
208
- <td style="text-align: left;">
209
- <nobr>{{ row.f_user_phone }}</nobr>
210
- </td>
211
- <td style="text-align: center;">
212
- <nobr>{{ row.f_address }}</nobr>
213
- </td>
214
-
215
- <td style="text-align:center">
216
- <nobr>{{ row.f_hand_date }}</nobr>
217
- </td>
218
- <th style="text-align:center">
219
- <nobr>{{ row.f_insert_date }}</nobr>
220
- </th>
221
- <th style="text-align:center">
222
- <nobr>{{ row.f_jval }}</nobr>
223
- </th>
224
- <th style="text-align:center">
225
- <nobr>{{ row.f_price }}</nobr>
226
- </th>
227
- <th style="text-align:center">
228
- <nobr>{{ row.f_tablebase }}</nobr>
229
- </th>
230
- <th style="text-align:center">
231
- <nobr>{{ row.f_valvestate }}</nobr>
232
- </th>
233
- <th style="text-align:center">
234
- <nobr>{{ row.flowmetertemperature }}</nobr>
235
- </th>
236
- <th style="text-align:center">
237
- <nobr>{{ row.flowmeterpressure }}</nobr>
238
- </th>
239
-
240
-
241
- <th style="text-align:center">
242
- <nobr>{{ row.f_upload_type }}</nobr>
243
- </th>
244
- <th style="text-align:center">
245
- <nobr>{{ row.f_meterdebitamt }}</nobr>
246
- </th>
247
- <th style="text-align:center">
248
- <nobr>{{ row.f_signal }}</nobr>
249
- </th>
250
- <th style="text-align:center">
251
- <nobr>{{ row.f_snr }}</nobr>
252
- </th>
253
- <th style="text-align:center">
254
- <nobr>{{ row.f_batterylevel }}</nobr>
255
- </th>
256
-
257
- <th style="text-align:center">
258
- <nobr>{{ row.f_table_msg }}</nobr>
259
- </th>
260
- <th style="text-align:center">
261
- <nobr>{{ row.f_moneystate }}</nobr>
262
- </th>
263
- <th style="text-align:center">
264
- <nobr>{{ row.f_depname }}</nobr>
265
- </th>
266
- <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
267
- <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
268
- <!--<th style="text-align:center">-->
269
- <!--<button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>-->
270
- <!--</th>-->
271
- </tr>
272
- </template>
273
- <template partial='foot'></template>
274
- </data-grid>
275
- </criteria-paged>
276
- <table class="table-hover">
277
- <!-- <tr style="position: relative" class="table-bordered">-->
278
- <!-- <td-->
279
- <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
280
- <!-- 汇总信息-->
281
- <!-- </td>-->
282
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
283
- <!-- 表内剩余金额合计:&emsp;{{sumsmodel.f_meterbalanceamt}}-->
284
- <!-- </td>-->
285
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
286
- <!-- 抄表底数合计:&emsp;{{sumsmodel.f_tablebase}}-->
287
- <!-- </td>-->
288
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
289
- <!-- 表累计充值金额合计:&emsp;{{sumsmodel.f_meterdebitamt}}-->
290
- <!-- </td>-->
291
- <!-- </tr>-->
292
- </table>
293
- <modal :show.sync="detail24">
294
- <header slot="modal-header" class="modal-header">
295
- <h4 class="modal-title">24小时上报数据明细</h4>
296
- </header>
297
- <article slot="modal-body" class="modal-body">
298
- <table v-for="detail of detaillist">
299
- <tr>
300
- <td>{{ detail.frozenDate }}</td>
301
- <td>&nbsp;&nbsp;--&nbsp;&nbsp;</td>
302
- <td>{{ detail.frozenValue }}</td>
303
- </tr>
304
- </table>
305
- </article>
306
- <footer slot="modal-footer" class="modal-footer">
307
- <div class="form-group">
308
- <button class="btn btn-success" @click="close()">确认</button>
309
- <button type="button" class="btn btn-default" @click='close'>取消</button>
310
- </div>
311
- </footer>
312
- </modal>
313
- </div>
314
- <div class="flex" v-if="show">
315
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
316
- @cancel-main="cancel"></user-info-detail-manage-new>
317
- </div>
318
- </div>
319
-
320
- </div>
321
- </template>
322
-
323
- <script>
324
- import {HttpResetClass, PagedList} from 'vue-client'
325
- import exportConfig from '../config/exportConfig'
326
- import plugins from '../../../plugins/GetLoginInfoService'
327
- import defaultPrint from "../config/DefaultPrint";
328
- import * as Util from '../../../Util'
329
-
330
- let readySomething = async function (self) {
331
- await self.$MagLoadParams.loadParam()
332
- self.initParams()
333
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
334
- }
335
- export default {
336
- title: '上报查询',
337
- data() {
338
- return {
339
- show: false,
340
- detail24: false,
341
- orgcondition: '',
342
- //f_filialeid: this.$login.f.f_orgid,
343
- detaillist: [],
344
- meterbrands: [],
345
- prices: [],
346
- gasproperties: [],
347
- condition: '',
348
- rowdata: {},
349
- other: [],
350
- org: {
351
- org: [this.$login.f.orgid],
352
- dep: [],
353
- user: [],
354
- },
355
- sumsmodel: {},
356
- orgid: [this.$login.f.orgid],
357
- criteriaShow: false,
358
- orgCondtionStr: '',
359
- model: new PagedList('api/af-revenue/sql/manage_getReportList', 50, {
360
- startDate: 'this.model.f_start_date',
361
- endDate: 'this.model.f_end_date'
362
- }, {f_meterbalanceamt: 0, f_tablebase: 0, f_meterdebitamt: 0})
363
- }
364
- },
365
- ready() {
366
- // this.$refs.paged.$refs.criteria.search()
367
- readySomething(this).then(() => {
368
- this.$emit('ready')
369
- }).catch((error) => {
370
- this.$emit('error', error)
371
- })
372
- this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(), -1).substring(0, 10) + ' 00:00:00'
373
- this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(), -1).substring(0, 10) + ' 23:59:59'
374
- },
375
- methods: {
376
- getorg(condition, obj) {
377
- this.orgcondition = condition.replace('f_orgid', 'ui.f_orgid')
378
- this.orgcondition = this.orgcondition.replace('f_depid', 'ui.f_depid')
379
- this.orgname = obj.orgnames[0]
380
- },
381
- getotherfooter() {
382
- this.other = [];
383
-
384
- let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
385
-
386
-
387
- let secondLine = [
388
- `开始时间: ${this.$refs.paged.$refs.criteria.model.f_start_date}`,
389
- `结束时间: ${this.$refs.paged.$refs.criteria.model.f_end_date}`
390
- ];
391
-
392
- this.other.push(firstLine);
393
- this.other.push(secondLine);
394
-
395
- console.log('Header Data:', this.other);
396
- },
397
- initParams() {
398
- // 初始化气表品牌
399
- let brandArr = []
400
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
401
- let temp = {}
402
- if (item.value.f_meter_type === '物联网表') {
403
- temp.label = item.label
404
- temp.value = item.value.f_meter_brand
405
- brandArr.push(temp)
406
- }
407
-
408
- })
409
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
410
- //初始化气表价格
411
- this.prices = this.$MagGetSaleParam.getPrices();
412
- },
413
- async updateParams() {
414
- await this.$MagLoadParams.loadParam(this.f_filialeid)
415
- this.initParams()
416
- },
417
- userTypeChange() {
418
- this.gasproperties = []
419
- if (this.$refs.paged.$refs.criteria.model !== null) {
420
- this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
421
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
422
- } else {
423
- this.gasproperties = [{label: '全部', value: ''}]
424
- }
425
- },
426
- hidden() {
427
- this.criteriaShow = !this.criteriaShow
428
- },
429
- cancel() {
430
- this.show = false
431
- },
432
- clearmsg() {
433
- Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
434
- this.$refs.paged.$refs.criteria.model[key] = []
435
- })
436
- },
437
- getRes(obj) {
438
- this.orgCondtionStr = condition
439
- this.orgname = obj.orgnames[0]
440
- this.depname = obj.depnames[0]
441
- },
442
- showmsg(obj) {
443
- this.rowdata = obj
444
- this.show = true
445
- },
446
-
447
- search(args) {
448
- if (this.orgcondition) {
449
- args.condition = `${args.condition}` + this.orgcondition
450
- } else {
451
- args.condition = `${args.condition} and ui.f_orgid = '${this.$login.f.orgid}'`
452
- }
453
- console.log(args.condition + "args.condition")
454
- this.condition = args.condition
455
- this.model.search(args.condition, args.model)
456
- console.log(this.$refs.paged.$refs.grid.model.sums + "--this.$refs.paged.$refs.grid.model.sums")
457
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
458
- // args.condition = `${args.condition}`
459
- // if (this.orgcondition)
460
- // args.condition = `${args.condition}` + this.orgcondition
461
- // else
462
- // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
463
- // this.model.search(args.condition, args.model)
464
- }
465
- },
466
- watch: {
467
- 'orgCondtionStr'(val) {
468
- let res = val.match(/'(.*?)'/)
469
- console.log('正则提取:', res && res[1])
470
- if (res) {
471
- this.f_filialeid = res[1]
472
- // this.updateParams()
473
- }
474
- },
475
- sumsmodel: {
476
- handler: function (val) {
477
- this.getotherfooter();
478
- },
479
- deep: true
480
- },
481
- },
482
- computed: {
483
- getPricenames() {
484
- let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
485
- let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
486
- let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
487
- console.log("打印一下:", f_user_type, f_gasproperties, pricetype, this.f_filialeid, this.prices)
488
- console.log("查看f_orgid:", this.$login.f.f_orgid)
489
- if (this.$refs.paged.$refs.criteria.model !== null) {
490
- let rs = []
491
- let priceArr = []
492
- if (pricetype.length > 0) {
493
- let params = {
494
- f_price_type: pricetype[0],
495
- filter: this.org[0],
496
- prices: this.prices
497
- }
498
- console.log("打印一下params:", params)
499
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
500
- console.log("====================================》")
501
- let temp = {}
502
- temp.label = item.label
503
- temp.value = item.value.f_price_name
504
- priceArr.push(temp)
505
- console.log("打印一下temp:", temp)
506
- })
507
-
508
- rs = [{label: '全部', value: ''}, ...priceArr]
509
- }
510
- if (rs.length === 0) {
511
- console.log('rs读出来是空')
512
- this.$refs.paged.$refs.criteria.model.f_price_name = ''
513
- }
514
- return rs
515
- }
516
- },
517
- getfield() {
518
- return exportConfig.ReportListConfig
519
- },
520
- usertypes() {
521
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
522
- },
523
- pricetypes() {
524
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
525
- },
526
- getCondition() {
527
- var con = ""
528
- if (this.orgCondtionStr) {
529
- con = `${this.$refs.paged.$refs.criteria.condition} ` + this.orgcondition
530
- } else {
531
- con = `${this.$refs.paged.$refs.criteria.condition} ` + this.orgcondition
532
- }
533
- return {
534
- startDate: this.$refs.paged.$refs.criteria.model.f_start_date,
535
- endDate: this.$refs.paged.$refs.criteria.model.f_end_date,
536
- condition: con
537
- }
538
- }
539
- }
540
- }
541
- </script>
542
-
543
- <style>
544
- .mystyle {
545
- margin-left: 80px;
546
- }
547
-
548
- .datapanel {
549
- color: #333;
550
- background-color: white;
551
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
552
- padding: 10px 10px 10px 10px;
553
- border-radius: 15px;
554
- }
555
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <res-select-group :show-component="['company','department']"
10
+ :initres="$parent.$parent.org"
11
+ @re-res="$parent.$parent.getorg">
12
+ </res-select-group>
13
+ <div class="col-sm-2">
14
+ <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
15
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
16
+ v-model="model.f_meternumber" placeholder='表钢号'
17
+ condition="m.f_meternumber = '{}'" v-next-el='meternumber' v-el:meternumber
18
+ >
19
+ </div>
20
+ <!-- <div class="col-sm-2">-->
21
+ <!-- <label class="font_normal_body">组织机构</label>-->
22
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
23
+ <!-- style="width:60%"-->
24
+ <!-- @res-select="$parent.$parent.getRes"-->
25
+ <!-- restype='organization'>-->
26
+ <!-- </res-select>-->
27
+ <!-- </div>-->
28
+ <div class="col-sm-2">
29
+ <label class="font_normal_body">客户编号</label>
30
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
31
+ v-model="model.f_userinfo_code" placeholder='客户编号'
32
+ condition="ui.f_userinfo_code = '{}'" v-next-el='f_userinfo_code' v-el:meternumber
33
+ >
34
+ </div>
35
+
36
+
37
+ <div class="span" style="float:right;margin-top:10px">
38
+ <button class="button_search button_spacing" @click="search()">查询</button>
39
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
40
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
41
+ :field="$parent.$parent.getfield"
42
+ :header="$parent.$parent.other"
43
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="manage_getReportList"
44
+ template-name='上报查询'
45
+ :choose-col="true"></export-excel>
46
+ <div style="float: right" class="button_spacing"
47
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
48
+ @click="$parent.$parent.hidden()"></div>
49
+ </div>
50
+ </div>
51
+ <div class="row" v-show="$parent.$parent.criteriaShow">
52
+ <div class="col-sm-2">
53
+ <label class="font_normal_body">客户名称</label>
54
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
55
+ v-model="model.f_username" placeholder='客户名称'
56
+ condition="ui.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
57
+ </div>
58
+ <div class="col-sm-2">
59
+ <label class="font_normal_body">客户地址</label>
60
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
61
+ v-model="model.f_address" placeholder='客户地址'
62
+ condition="ua.f_address like '%{}%'" v-next-el='userid' v-el:username>
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">客户类型</label>
66
+ <v-select :value.sync="model.f_user_type"
67
+ @change="$parent.$parent.userTypeChange()"
68
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
69
+ condition="uf.f_user_type = '{}'"
70
+ close-on-select></v-select>
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">用气性质</label>
74
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
75
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
76
+ condition="uf.f_gasproperties = '{}'"
77
+ closfe-on-select></v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">气价类型</label>
81
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
82
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
83
+ close-on-select>
84
+ </v-select>
85
+ </div>
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">气价名称</label>
88
+ <v-select :value.sync="model.f_price_name"
89
+ v-model="model.f_price_name"
90
+ :options="$parent.$parent.getPricenames"
91
+ condition="ts.f_price_name = '{}'"
92
+ close-on-select></v-select>
93
+ </div>
94
+ <div class="col-sm-2 form-group">
95
+ <label class="font_normal_body">气表品牌</label>
96
+ <v-select :value.sync="model.f_meter_brand"
97
+ v-model="model.f_meter_brand"
98
+ :options="$parent.$parent.meterbrands"
99
+ condition="br.f_meter_brand = '{}'"
100
+ close-on-select></v-select>
101
+ </div>
102
+ <div class="col-sm-2 form-group">
103
+ <label class="font_normal_body">开始时间</label>
104
+ <datepicker style="width: 60%" placeholder="大于等于"
105
+ :value.sync="model.f_start_date"
106
+ v-model="model.f_start_date"
107
+ :format="'yyyy-MM-dd HH:mm:ss'"
108
+ condition="m.f_hand_date >= '{}'"
109
+ ></datepicker>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">结束时间</label>
113
+ <datepicker style="width: 60%" placeholder="小于等于"
114
+ :value.sync="model.f_end_date"
115
+ v-model="model.f_end_date"
116
+ :format="'yyyy-MM-dd HH:mm:ss'"
117
+ condition="m.f_hand_date <= '{}'"
118
+ ></datepicker>
119
+ </div>
120
+ </div>
121
+ </div>
122
+ </criteria>
123
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
124
+ <template partial='head'>
125
+ <tr>
126
+ <th>
127
+ <nobr>客户编号</nobr>
128
+ </th>
129
+ <th>
130
+ <nobr>表号</nobr>
131
+ </th>
132
+ <th>
133
+ <nobr>客户姓名</nobr>
134
+ </th>
135
+ <th>
136
+ <nobr>客户电话</nobr>
137
+ </th>
138
+ <th>
139
+ <nobr>客户地址</nobr>
140
+ </th>
141
+
142
+ <th>
143
+ <nobr>上报日期</nobr>
144
+ </th>
145
+ <th>
146
+ <nobr>系统接收时间</nobr>
147
+ </th>
148
+ <th>
149
+ <nobr>表内剩余金额</nobr>
150
+ </th>
151
+ <th>
152
+ <nobr>表内单价</nobr>
153
+ </th>
154
+ <th>
155
+ <nobr>本次抄表底数</nobr>
156
+ </th>
157
+ <th>
158
+ <nobr>阀门状态</nobr>
159
+ </th>
160
+
161
+ <th>
162
+ <nobr>温度</nobr>
163
+ </th>
164
+ <th>
165
+ <nobr>压力</nobr>
166
+ </th>
167
+
168
+ <th>
169
+ <nobr>上报类型</nobr>
170
+ </th>
171
+ <th>
172
+ <nobr>表内累计充值金额</nobr>
173
+ </th>
174
+ <th>
175
+ <nobr>信号强度</nobr>
176
+ </th>
177
+ <th>
178
+ <nobr>信噪比</nobr>
179
+ </th>
180
+ <th>
181
+ <nobr>电压</nobr>
182
+ </th>
183
+
184
+ <th>
185
+ <nobr>表状态</nobr>
186
+ </th>
187
+ <th>
188
+ <nobr>金额状态</nobr>
189
+ </th>
190
+ <th>
191
+ <nobr>部门</nobr>
192
+ </th>
193
+ <!--<th><nobr>每小时上报量</nobr></th>-->
194
+ </tr>
195
+ </template>
196
+ <template partial='body' partial='list'>
197
+ <tr>
198
+ <td style="text-align: left;">
199
+ <nobr><span @click="$parent.$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
200
+ </nobr>
201
+ </td>
202
+ <td style="text-align: left;">
203
+ <nobr>{{ row.f_meternumber }}</nobr>
204
+ </td>
205
+ <td style="text-align: left;">
206
+ <nobr>{{ row.f_user_name }}</nobr>
207
+ </td>
208
+ <td style="text-align: left;">
209
+ <nobr>{{ row.f_user_phone }}</nobr>
210
+ </td>
211
+ <td style="text-align: center;">
212
+ <nobr>{{ row.f_address }}</nobr>
213
+ </td>
214
+
215
+ <td style="text-align:center">
216
+ <nobr>{{ row.f_hand_date }}</nobr>
217
+ </td>
218
+ <th style="text-align:center">
219
+ <nobr>{{ row.f_insert_date }}</nobr>
220
+ </th>
221
+ <th style="text-align:center">
222
+ <nobr>{{ row.f_jval }}</nobr>
223
+ </th>
224
+ <th style="text-align:center">
225
+ <nobr>{{ row.f_price }}</nobr>
226
+ </th>
227
+ <th style="text-align:center">
228
+ <nobr>{{ row.f_tablebase }}</nobr>
229
+ </th>
230
+ <th style="text-align:center">
231
+ <nobr>{{ row.f_valvestate }}</nobr>
232
+ </th>
233
+ <th style="text-align:center">
234
+ <nobr>{{ row.flowmetertemperature }}</nobr>
235
+ </th>
236
+ <th style="text-align:center">
237
+ <nobr>{{ row.flowmeterpressure }}</nobr>
238
+ </th>
239
+
240
+
241
+ <th style="text-align:center">
242
+ <nobr>{{ row.f_upload_type }}</nobr>
243
+ </th>
244
+ <th style="text-align:center">
245
+ <nobr>{{ row.f_meterdebitamt }}</nobr>
246
+ </th>
247
+ <th style="text-align:center">
248
+ <nobr>{{ row.f_signal }}</nobr>
249
+ </th>
250
+ <th style="text-align:center">
251
+ <nobr>{{ row.f_snr }}</nobr>
252
+ </th>
253
+ <th style="text-align:center">
254
+ <nobr>{{ row.f_batterylevel }}</nobr>
255
+ </th>
256
+
257
+ <th style="text-align:center">
258
+ <nobr>{{ row.f_table_msg }}</nobr>
259
+ </th>
260
+ <th style="text-align:center">
261
+ <nobr>{{ row.f_moneystate }}</nobr>
262
+ </th>
263
+ <th style="text-align:center">
264
+ <nobr>{{ row.f_depname }}</nobr>
265
+ </th>
266
+ <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
267
+ <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
268
+ <!--<th style="text-align:center">-->
269
+ <!--<button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>-->
270
+ <!--</th>-->
271
+ </tr>
272
+ </template>
273
+ <template partial='foot'></template>
274
+ </data-grid>
275
+ </criteria-paged>
276
+ <table class="table-hover">
277
+ <!-- <tr style="position: relative" class="table-bordered">-->
278
+ <!-- <td-->
279
+ <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
280
+ <!-- 汇总信息-->
281
+ <!-- </td>-->
282
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
283
+ <!-- 表内剩余金额合计:&emsp;{{sumsmodel.f_meterbalanceamt}}-->
284
+ <!-- </td>-->
285
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
286
+ <!-- 抄表底数合计:&emsp;{{sumsmodel.f_tablebase}}-->
287
+ <!-- </td>-->
288
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
289
+ <!-- 表累计充值金额合计:&emsp;{{sumsmodel.f_meterdebitamt}}-->
290
+ <!-- </td>-->
291
+ <!-- </tr>-->
292
+ </table>
293
+ <modal :show.sync="detail24">
294
+ <header slot="modal-header" class="modal-header">
295
+ <h4 class="modal-title">24小时上报数据明细</h4>
296
+ </header>
297
+ <article slot="modal-body" class="modal-body">
298
+ <table v-for="detail of detaillist">
299
+ <tr>
300
+ <td>{{ detail.frozenDate }}</td>
301
+ <td>&nbsp;&nbsp;--&nbsp;&nbsp;</td>
302
+ <td>{{ detail.frozenValue }}</td>
303
+ </tr>
304
+ </table>
305
+ </article>
306
+ <footer slot="modal-footer" class="modal-footer">
307
+ <div class="form-group">
308
+ <button class="btn btn-success" @click="close()">确认</button>
309
+ <button type="button" class="btn btn-default" @click='close'>取消</button>
310
+ </div>
311
+ </footer>
312
+ </modal>
313
+ </div>
314
+ <div class="flex" v-if="show">
315
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
316
+ @cancel-main="cancel"></user-info-detail-manage-new>
317
+ </div>
318
+ </div>
319
+
320
+ </div>
321
+ </template>
322
+
323
+ <script>
324
+ import {HttpResetClass, PagedList} from 'vue-client'
325
+ import exportConfig from '../config/exportConfig'
326
+ import plugins from '../../../plugins/GetLoginInfoService'
327
+ import defaultPrint from "../config/DefaultPrint";
328
+ import * as Util from '../../../Util'
329
+
330
+ let readySomething = async function (self) {
331
+ await self.$MagLoadParams.loadParam()
332
+ self.initParams()
333
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
334
+ }
335
+ export default {
336
+ title: '上报查询',
337
+ data() {
338
+ return {
339
+ show: false,
340
+ detail24: false,
341
+ orgcondition: '',
342
+ //f_filialeid: this.$login.f.f_orgid,
343
+ detaillist: [],
344
+ meterbrands: [],
345
+ prices: [],
346
+ gasproperties: [],
347
+ condition: '',
348
+ rowdata: {},
349
+ other: [],
350
+ org: {
351
+ org: [this.$login.f.orgid],
352
+ dep: [],
353
+ user: [],
354
+ },
355
+ sumsmodel: {},
356
+ orgid: [this.$login.f.orgid],
357
+ criteriaShow: false,
358
+ orgCondtionStr: '',
359
+ model: new PagedList('api/af-revenue/sql/manage_getReportList', 50, {
360
+ startDate: 'this.model.f_start_date',
361
+ endDate: 'this.model.f_end_date'
362
+ }, {f_meterbalanceamt: 0, f_tablebase: 0, f_meterdebitamt: 0})
363
+ }
364
+ },
365
+ ready() {
366
+ // this.$refs.paged.$refs.criteria.search()
367
+ readySomething(this).then(() => {
368
+ this.$emit('ready')
369
+ }).catch((error) => {
370
+ this.$emit('error', error)
371
+ })
372
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.addDate(new Date(), -1).substring(0, 10) + ' 00:00:00'
373
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.addDate(new Date(), -1).substring(0, 10) + ' 23:59:59'
374
+ },
375
+ methods: {
376
+ getorg(condition, obj) {
377
+ this.orgcondition = condition.replace('f_orgid', 'ui.f_orgid')
378
+ this.orgcondition = this.orgcondition.replace('f_depid', 'ui.f_depid')
379
+ this.orgname = obj.orgnames[0]
380
+ },
381
+ getotherfooter() {
382
+ this.other = [];
383
+
384
+ let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
385
+
386
+
387
+ let secondLine = [
388
+ `开始时间: ${this.$refs.paged.$refs.criteria.model.f_start_date}`,
389
+ `结束时间: ${this.$refs.paged.$refs.criteria.model.f_end_date}`
390
+ ];
391
+
392
+ this.other.push(firstLine);
393
+ this.other.push(secondLine);
394
+
395
+ console.log('Header Data:', this.other);
396
+ },
397
+ initParams() {
398
+ // 初始化气表品牌
399
+ let brandArr = []
400
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
401
+ let temp = {}
402
+ if (item.value.f_meter_type === '物联网表') {
403
+ temp.label = item.label
404
+ temp.value = item.value.f_meter_brand
405
+ brandArr.push(temp)
406
+ }
407
+
408
+ })
409
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
410
+ //初始化气表价格
411
+ this.prices = this.$MagGetSaleParam.getPrices();
412
+ },
413
+ async updateParams() {
414
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
415
+ this.initParams()
416
+ },
417
+ userTypeChange() {
418
+ this.gasproperties = []
419
+ if (this.$refs.paged.$refs.criteria.model !== null) {
420
+ this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
421
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
422
+ } else {
423
+ this.gasproperties = [{label: '全部', value: ''}]
424
+ }
425
+ },
426
+ hidden() {
427
+ this.criteriaShow = !this.criteriaShow
428
+ },
429
+ cancel() {
430
+ this.show = false
431
+ },
432
+ clearmsg() {
433
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
434
+ this.$refs.paged.$refs.criteria.model[key] = []
435
+ })
436
+ },
437
+ getRes(obj) {
438
+ this.orgCondtionStr = condition
439
+ this.orgname = obj.orgnames[0]
440
+ this.depname = obj.depnames[0]
441
+ },
442
+ showmsg(obj) {
443
+ this.rowdata = obj
444
+ this.show = true
445
+ },
446
+
447
+ search(args) {
448
+ if (this.orgcondition) {
449
+ args.condition = `${args.condition}` + this.orgcondition
450
+ } else {
451
+ args.condition = `${args.condition} and ui.f_orgid = '${this.$login.f.orgid}'`
452
+ }
453
+ console.log(args.condition + "args.condition")
454
+ this.condition = args.condition
455
+ this.model.search(args.condition, args.model)
456
+ console.log(this.$refs.paged.$refs.grid.model.sums + "--this.$refs.paged.$refs.grid.model.sums")
457
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
458
+ // args.condition = `${args.condition}`
459
+ // if (this.orgcondition)
460
+ // args.condition = `${args.condition}` + this.orgcondition
461
+ // else
462
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
463
+ // this.model.search(args.condition, args.model)
464
+ }
465
+ },
466
+ watch: {
467
+ 'orgCondtionStr'(val) {
468
+ let res = val.match(/'(.*?)'/)
469
+ console.log('正则提取:', res && res[1])
470
+ if (res) {
471
+ this.f_filialeid = res[1]
472
+ // this.updateParams()
473
+ }
474
+ },
475
+ sumsmodel: {
476
+ handler: function (val) {
477
+ this.getotherfooter();
478
+ },
479
+ deep: true
480
+ },
481
+ },
482
+ computed: {
483
+ getPricenames() {
484
+ let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
485
+ let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
486
+ let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
487
+ console.log("打印一下:", f_user_type, f_gasproperties, pricetype, this.f_filialeid, this.prices)
488
+ console.log("查看f_orgid:", this.$login.f.f_orgid)
489
+ if (this.$refs.paged.$refs.criteria.model !== null) {
490
+ let rs = []
491
+ let priceArr = []
492
+ if (pricetype.length > 0) {
493
+ let params = {
494
+ f_price_type: pricetype[0],
495
+ filter: this.org[0],
496
+ prices: this.prices
497
+ }
498
+ console.log("打印一下params:", params)
499
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
500
+ console.log("====================================》")
501
+ let temp = {}
502
+ temp.label = item.label
503
+ temp.value = item.value.f_price_name
504
+ priceArr.push(temp)
505
+ console.log("打印一下temp:", temp)
506
+ })
507
+
508
+ rs = [{label: '全部', value: ''}, ...priceArr]
509
+ }
510
+ if (rs.length === 0) {
511
+ console.log('rs读出来是空')
512
+ this.$refs.paged.$refs.criteria.model.f_price_name = ''
513
+ }
514
+ return rs
515
+ }
516
+ },
517
+ getfield() {
518
+ return exportConfig.ReportListConfig
519
+ },
520
+ usertypes() {
521
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
522
+ },
523
+ pricetypes() {
524
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
525
+ },
526
+ getCondition() {
527
+ var con = ""
528
+ if (this.orgCondtionStr) {
529
+ con = `${this.$refs.paged.$refs.criteria.condition} ` + this.orgcondition
530
+ } else {
531
+ con = `${this.$refs.paged.$refs.criteria.condition} ` + this.orgcondition
532
+ }
533
+ return {
534
+ startDate: this.$refs.paged.$refs.criteria.model.f_start_date,
535
+ endDate: this.$refs.paged.$refs.criteria.model.f_end_date,
536
+ condition: con
537
+ }
538
+ }
539
+ }
540
+ }
541
+ </script>
542
+
543
+ <style>
544
+ .mystyle {
545
+ margin-left: 80px;
546
+ }
547
+
548
+ .datapanel {
549
+ color: #333;
550
+ background-color: white;
551
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
552
+ padding: 10px 10px 10px 10px;
553
+ border-radius: 15px;
554
+ }
555
+ </style>