manage-client 3.3.231 → 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 -739
  64. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
  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,456 +1,456 @@
1
- <template>
2
- <div class="flex-row" v-show="!showdetail">
3
- <div id='app1' class="basic-main" >
4
- <criteria-paged :model="model" :pager='true' v-ref:paged>
5
- <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
- <div class="row">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">客户编号</label>
10
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
11
- v-model="model.f_userinfo_code" placeholder='客户编号'
12
- condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
13
- >
14
- </div>
15
- <div class="col-sm-2 form-group">
16
- <label class="font_normal_body">客户名称</label>
17
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
18
- v-model="model.f_user_name" placeholder='客户名称'
19
- condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
20
- >
21
- </div>
22
- <div class="col-sm-2 form-group">
23
- <label class="font_normal_body">客户地址</label>
24
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
25
- placeholder='地址'
26
- condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
27
- >
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
31
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
32
- v-model="model.f_meternumber" placeholder='表号'
33
- condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
34
- >
35
- </div>
36
- <div style="float:right">
37
- <button class="button_search button_spacing" @click="search()">查询</button>
38
- <button class="button_clear button_spacing" @click="clear">清空</button>
39
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
- :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
41
- :header="$parent.$parent.other"
42
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeterSettlementAnalysis" template-name='物联网表结算分析'
43
- :choose-col="true"></export-excel>
44
-
45
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
46
- </div>
47
- </div>
48
- <div class="row" v-show="$parent.$parent.criteriaShow">
49
- <div class="col-sm-2 form-group">
50
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
51
- <right-tree @re-res="$parent.$parent.getorg" width="60%"
52
- :initresid='$parent.$parent.org'></right-tree>
53
- </div>
54
- <div class="col-sm-2 form-group">
55
- <label class="font_normal_body">客户类型</label>
56
- <v-select style="width:60%" id="f_user_type"
57
- v-model="model.f_user_type"
58
- placeholder='客户类型'
59
- :value.sync="model.f_user_type"
60
- @change="$parent.$parent.userTypeChange()"
61
- :options='$parent.$parent.usertypes'
62
- condition="f_user_type = '{}'"
63
- close-on-select>
64
- </v-select>
65
- </div>
66
- <div class="col-sm-2 form-group">
67
- <label class="font_normal_body">用气性质</label>
68
- <v-select style="width:60%" id="f_gasproperties"
69
- v-model="model.f_gasproperties"
70
- placeholder='用气性质'
71
- :value.sync="model.f_gasproperties"
72
- :options='$parent.$parent.gasproperties'
73
- condition="f_gasproperties = '{}'"
74
- close-on-select>
75
- </v-select>
76
- </div>
77
- <div class="col-sm-2 form-group">
78
- <label class="font_normal_body">气表品牌</label>
79
- <v-select
80
- placeholder='气表品牌'
81
- :value.sync="model.f_meter_brand"
82
- v-model="model.f_meter_brand"
83
- :options='$parent.$parent.meterbrands'
84
- close-on-select
85
- condition="f_meter_brand='{}'">
86
- </v-select>
87
- </div>
88
- <div class="col-sm-2 form-group" >
89
- <label class="font_normal_body">气表型号</label>
90
- <v-select
91
- placeholder='气表型号'
92
- :value.sync="model.f_meter_style"
93
- v-model="model.f_meter_style"
94
- :options='$parent.$parent.meterstyle[model.f_meter_brand]'
95
- close-on-select
96
- condition="f_meter_style='{}'">
97
- </v-select>
98
- </div>
99
- <div class="col-sm-2 form-group">
100
- <label class="font_normal_body">开始时间</label>
101
- <datepicker style="width:60%" id="startdate" placeholder="开始时间"
102
- v-model="model.startDate"
103
- :value.sync="model.startDate"
104
- :disabled-days-of-Week="[]"
105
- :format="'yyyy-MM-dd 00:00:00'"
106
- :show-reset-button="reset">
107
- </datepicker>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label class="font_normal_body">结束时间</label>
111
- <datepicker style="width:60%" id="enddate" placeholder="结束日期"
112
- v-model="model.endDate"
113
- :value.sync="model.endDate"
114
- :disabled-days-of-Week="[]"
115
- :format="'yyyy-MM-dd 23:59:59'"
116
- :show-reset-button="reset">
117
- </datepicker>
118
- </div>
119
- <div class="col-sm-2 form-group">
120
- <label class="font_normal_body">分析状态</label>
121
- <v-select
122
- placeholder='状态'
123
- :value.sync="model.f_state"
124
- v-model="model.f_state"
125
- :options='$parent.$parent.states'
126
- close-on-select
127
- condition="f_state='{}'">
128
- </v-select>
129
- </div>
130
- </div>
131
- </div>
132
- </criteria>
133
- <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
134
- <template partial='head'>
135
- <tr>
136
- <th style="text-align:center">
137
- <nobr>序号</nobr>
138
- </th>
139
- <th style="text-align:center">
140
- <nobr>客户编号</nobr>
141
- </th>
142
- <th style="text-align:center">
143
- <nobr>客户名称</nobr>
144
- </th>
145
- <th style="text-align:center">
146
- <nobr>客户地址</nobr>
147
- </th>
148
- <th style="text-align:center">
149
- <nobr>客户类型</nobr>
150
- </th>
151
- <th style="text-align:center">
152
- <nobr>用气性质</nobr>
153
- </th>
154
- <th style="text-align:center">
155
- <nobr>表号</nobr>
156
- </th>
157
- <th style="text-align:center">
158
- <nobr>气表品牌</nobr>
159
- </th>
160
- <th style="text-align:center" >
161
- <nobr>气表型号</nobr>
162
- </th>
163
- <th style="text-align:center" >
164
- <nobr>组织机构</nobr>
165
- </th>
166
- <th style="text-align:center" >
167
- <nobr>上期初余</nobr>
168
- </th>
169
- <th style="text-align:center" >
170
- <nobr>期末余额</nobr>
171
- </th>
172
- <th style="text-align:center" >
173
- <nobr>期间充值</nobr>
174
- </th>
175
- <th style="text-align:center" >
176
- <nobr>表上期初气量底数</nobr>
177
- </th>
178
- <th style="text-align:center" >
179
- <nobr>表上期末气量底数</nobr>
180
- </th>
181
- <th style="text-align:center" >
182
- <nobr>表上期间用气总量</nobr>
183
- </th>
184
-
185
- <th style="text-align:center" >
186
- <nobr>结算期初气量底数</nobr>
187
- </th>
188
- <th style="text-align:center" >
189
- <nobr>结算期末气量底数</nobr>
190
- </th>
191
- <th style="text-align:center" >
192
- <nobr>结算期间用气总量</nobr>
193
- </th>
194
- <th style="text-align:center" >
195
- <nobr>期间用气金额</nobr>
196
- </th>
197
-
198
- <th style="text-align:center" >
199
- <nobr>分析状态</nobr>
200
- </th>
201
- <th style="text-align:center" >
202
- <nobr>结算金额异常</nobr>
203
- </th>
204
- </tr>
205
- </template>
206
- <template partial='body'>
207
- <td style="text-align:center">{{$index+1}}</td>
208
- <td style="text-align: center;">
209
- <nobr>{{row.f_userinfo_code}}</nobr>
210
- </td>
211
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
212
- <td><nobr>{{row.f_address}}</nobr></td>
213
- <td style="text-align:center">{{row.f_user_type}}</td>
214
- <td style="text-align:center">{{row.f_gasproperties}}</td>
215
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
216
- <td style="text-align:center">
217
- <nobr>{{row.f_meter_brand}}</nobr>
218
- </td>
219
- <td style="text-align:center">
220
- <nobr>{{row.f_meter_style}}</nobr>
221
- </td>
222
- <td style="text-align:center">
223
- <nobr>{{row.f_orgname}}</nobr>
224
- </td>
225
- <th style="text-align:center" >
226
- <nobr>{{row.f_early_jval}}</nobr>
227
- </th>
228
- <th style="text-align:center" >
229
- <nobr>{{row.f_cur_jval}}</nobr>
230
- </th>
231
- <th style="text-align:center" >
232
- <nobr>{{row.f_collection}}</nobr>
233
- </th>
234
- <th style="text-align:center" >
235
- <nobr>{{row.f_early_meter_tablebase}}</nobr>
236
- </th>
237
- <th style="text-align:center" >
238
- <nobr>{{row.f_cur_meter_tablebase}}</nobr>
239
- </th>
240
- <th style="text-align:center" >
241
- <nobr>{{row.f_meter_tablebase}}</nobr>
242
- </th>
243
-
244
- <th style="text-align:center" >
245
- <nobr>{{row.f_early_hand_tablebase}}</nobr>
246
- </th>
247
- <th style="text-align:center" >
248
- <nobr>{{row.f_cur_hand_tablebase}}</nobr>
249
- </th>
250
- <th style="text-align:center" >
251
- <nobr>{{row.f_hand_tablebase}}</nobr>
252
- </th>
253
- <th style="text-align:center" >
254
- <nobr>{{row.f_oughtfee}}</nobr>
255
- </th>
256
- <th style="text-align:center" >
257
- <nobr>{{row.f_state}}</nobr>
258
- </th>
259
- <th style="text-align:center" >
260
- <nobr>{{row.f_money}}</nobr>
261
- </th>
262
- </template>
263
- </data-grid>
264
- </criteria-paged>
265
- </div>
266
- </div>
267
- </template>
268
-
269
- <script>
270
- import {PagedList} from 'vue-client'
271
- import * as Util from '../../../Util'
272
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
273
- let readySomething = async function (self) {
274
-
275
- await self.$MagLoadParams.loadParam()
276
- self.initParams()
277
- self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() +' 00:00:00'
278
- self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
279
- self.$refs.paged.$refs.cri.search()
280
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
281
- }
282
- export default {
283
- title: '物联网表结算分析',
284
- props: ['data'],
285
- data() {
286
- return {
287
- model: new PagedList('api/af-revenue/sql/webmeterSettlementAnalysis', 20, {
288
- startDate: 'this.model.startDate',
289
- endDate: 'this.model.endDate'
290
- }),
291
- getfield:{
292
- 'f_userinfo_code':'客户编号','f_user_name':'客户名称',
293
- 'f_address':'客户地址','f_user_type':'客户类型','f_gasproperties':'用气性质',
294
- 'f_meternumber':'表号',
295
- 'f_meter_brand':'气表品牌','f_meter_style': '气表型号','f_orgname':'组织机构',
296
- 'f_early_meter_tablebase': '表上期初表底数', 'f_cur_meter_tablebase': '表上期末表底数', 'f_early_jval': '期初余额',
297
- 'f_cur_jval': '期末余额', 'f_meter_tablebase': '表上期间用气总量','f_early_hand_tablebase': '结算期初表底数',
298
- 'f_cur_hand_tablebase':'结算期末表底数', 'f_oughtfee': '应交金额','f_hand_tablebase':'结算期间用气总量','f_state':'状态','f_money': '结算金额异常'},
299
- showdetail:false,
300
- rowdata:{},
301
- startDate: '',
302
- endDate: '',
303
- criteriaShow:false,
304
- outlets: [],
305
- other: [],
306
- sumsmodel: {},
307
- gasproperties:[{label: '全部', value: ''}],
308
- operator: [],
309
- meterbrands: [],
310
- states: [],
311
- meterstyle:{},
312
- orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
313
- orgid:[this.$login.f.orgid],
314
- condition: '1=1',
315
- org:[this.$login.f.orgid]
316
-
317
- }
318
- },
319
- ready() {
320
- readySomething(this)
321
- },
322
- methods: {
323
- getotherfooter() {
324
- this.other = [];
325
-
326
- let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
327
-
328
-
329
- let secondLine = [
330
- `开始时间: ${this.$refs.paged.$refs.cri.model.startDate}`,
331
- `结束时间: ${this.$refs.paged.$refs.cri.model.endDate}`
332
- ];
333
-
334
- this.other.push(firstLine);
335
- this.other.push(secondLine);
336
-
337
- console.log('Header Data:', this.other);
338
- },
339
- userTypeChange () {
340
- this.gasproperties=[{label: '全部', value: ''}]
341
- if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
342
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
343
- console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
344
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
345
- }
346
- else{
347
- this.gasproperties =[{label: '全部', value: ''}]
348
- }
349
- },
350
- hidden(){
351
- this.criteriaShow = !this.criteriaShow
352
- },
353
- showmsg(obj){
354
- this.rowdata = obj
355
- this.showdetail = true
356
- },
357
- cancel() {
358
- this.showdetail = false
359
- },
360
- initParams () {
361
- // 初始化气表品牌
362
- let brandArr = []
363
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
364
- if(item.value.f_meter_type==='物联网表'){
365
- let temp = {}
366
- temp.label = item.label
367
- temp.value = item.value.f_meter_brand
368
- brandArr.push(temp)
369
-
370
- let styleArr = [{label: '全部', value: ''}]
371
- for (let row of item.value.gasmodel) {
372
- styleArr.push({label: row.label,value: row.value.f_meter_style})
373
- }
374
- this.meterstyle[temp.value] = styleArr
375
- }
376
-
377
- })
378
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
379
- this.states = [{label: '全部', value: ''}, ...this.$appdata.getParam('分析状态')]
380
- },
381
- search(args) {
382
- this.startDate = this.$refs.paged.$refs.cri.model.startDate
383
- this.endDate = this.$refs.paged.$refs.cri.model.endDate
384
- if (this.endDate == '' || this.startDate == '') {
385
- return this.$showMessage("时间区间的开始和结束时间不能为空!")
386
- }
387
- this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
388
- this.model.search(args.condition, args.model)
389
- },
390
- getorg(obj) {
391
- if (obj.resids.length>0) {
392
- this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
393
- }else
394
- {
395
- this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
396
- }
397
- },
398
- clearmsg() {
399
- this.$refs.paged.$refs.cri.model = {}
400
- }
401
- },
402
- watch: {
403
- sumsmodel:{
404
- handler: function(val) {
405
- this.getotherfooter();
406
- },
407
- deep: true
408
- },
409
- },
410
- computed: {
411
- getCondition() {
412
- let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
413
- return {
414
- condition: condition ,
415
- startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
416
- endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
417
- }
418
- },
419
- usertypes() {
420
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
421
- }
422
- }
423
- }
424
- </script>
425
- <style>
426
- .form-input-group label {
427
- text-align: right;
428
- width: auto;
429
- }
430
-
431
- .mystyle {
432
- float: right;
433
- padding-right: 10%;
434
- }
435
-
436
- .mystyle1 {
437
- padding-top: 10px;
438
-
439
- }
440
-
441
- .mystyle2 {
442
- width: 100%;
443
- height: 35px;
444
- /*background: #00A3F0;*/
445
- padding-left: 15px;
446
- float: left;
447
- }
448
-
449
- .datapanel {
450
- color: #333;
451
- background-color: white;
452
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
453
- padding: 10px 30px 10px 30px;
454
- border-radius: 15px;
455
- }
456
- </style>
1
+ <template>
2
+ <div class="flex-row" v-show="!showdetail">
3
+ <div id='app1' class="basic-main" >
4
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">客户编号</label>
10
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
11
+ v-model="model.f_userinfo_code" placeholder='客户编号'
12
+ condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
13
+ >
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
18
+ v-model="model.f_user_name" placeholder='客户名称'
19
+ condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
20
+ >
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label class="font_normal_body">客户地址</label>
24
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
25
+ placeholder='地址'
26
+ condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
27
+ >
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
31
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
32
+ v-model="model.f_meternumber" placeholder='表号'
33
+ condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
34
+ >
35
+ </div>
36
+ <div style="float:right">
37
+ <button class="button_search button_spacing" @click="search()">查询</button>
38
+ <button class="button_clear button_spacing" @click="clear">清空</button>
39
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
41
+ :header="$parent.$parent.other"
42
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeterSettlementAnalysis" template-name='物联网表结算分析'
43
+ :choose-col="true"></export-excel>
44
+
45
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
46
+ </div>
47
+ </div>
48
+ <div class="row" v-show="$parent.$parent.criteriaShow">
49
+ <div class="col-sm-2 form-group">
50
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
51
+ <right-tree @re-res="$parent.$parent.getorg" width="60%"
52
+ :initresid='$parent.$parent.org'></right-tree>
53
+ </div>
54
+ <div class="col-sm-2 form-group">
55
+ <label class="font_normal_body">客户类型</label>
56
+ <v-select style="width:60%" id="f_user_type"
57
+ v-model="model.f_user_type"
58
+ placeholder='客户类型'
59
+ :value.sync="model.f_user_type"
60
+ @change="$parent.$parent.userTypeChange()"
61
+ :options='$parent.$parent.usertypes'
62
+ condition="f_user_type = '{}'"
63
+ close-on-select>
64
+ </v-select>
65
+ </div>
66
+ <div class="col-sm-2 form-group">
67
+ <label class="font_normal_body">用气性质</label>
68
+ <v-select style="width:60%" id="f_gasproperties"
69
+ v-model="model.f_gasproperties"
70
+ placeholder='用气性质'
71
+ :value.sync="model.f_gasproperties"
72
+ :options='$parent.$parent.gasproperties'
73
+ condition="f_gasproperties = '{}'"
74
+ close-on-select>
75
+ </v-select>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">气表品牌</label>
79
+ <v-select
80
+ placeholder='气表品牌'
81
+ :value.sync="model.f_meter_brand"
82
+ v-model="model.f_meter_brand"
83
+ :options='$parent.$parent.meterbrands'
84
+ close-on-select
85
+ condition="f_meter_brand='{}'">
86
+ </v-select>
87
+ </div>
88
+ <div class="col-sm-2 form-group" >
89
+ <label class="font_normal_body">气表型号</label>
90
+ <v-select
91
+ placeholder='气表型号'
92
+ :value.sync="model.f_meter_style"
93
+ v-model="model.f_meter_style"
94
+ :options='$parent.$parent.meterstyle[model.f_meter_brand]'
95
+ close-on-select
96
+ condition="f_meter_style='{}'">
97
+ </v-select>
98
+ </div>
99
+ <div class="col-sm-2 form-group">
100
+ <label class="font_normal_body">开始时间</label>
101
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
102
+ v-model="model.startDate"
103
+ :value.sync="model.startDate"
104
+ :disabled-days-of-Week="[]"
105
+ :format="'yyyy-MM-dd 00:00:00'"
106
+ :show-reset-button="reset">
107
+ </datepicker>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label class="font_normal_body">结束时间</label>
111
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
112
+ v-model="model.endDate"
113
+ :value.sync="model.endDate"
114
+ :disabled-days-of-Week="[]"
115
+ :format="'yyyy-MM-dd 23:59:59'"
116
+ :show-reset-button="reset">
117
+ </datepicker>
118
+ </div>
119
+ <div class="col-sm-2 form-group">
120
+ <label class="font_normal_body">分析状态</label>
121
+ <v-select
122
+ placeholder='状态'
123
+ :value.sync="model.f_state"
124
+ v-model="model.f_state"
125
+ :options='$parent.$parent.states'
126
+ close-on-select
127
+ condition="f_state='{}'">
128
+ </v-select>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </criteria>
133
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
134
+ <template partial='head'>
135
+ <tr>
136
+ <th style="text-align:center">
137
+ <nobr>序号</nobr>
138
+ </th>
139
+ <th style="text-align:center">
140
+ <nobr>客户编号</nobr>
141
+ </th>
142
+ <th style="text-align:center">
143
+ <nobr>客户名称</nobr>
144
+ </th>
145
+ <th style="text-align:center">
146
+ <nobr>客户地址</nobr>
147
+ </th>
148
+ <th style="text-align:center">
149
+ <nobr>客户类型</nobr>
150
+ </th>
151
+ <th style="text-align:center">
152
+ <nobr>用气性质</nobr>
153
+ </th>
154
+ <th style="text-align:center">
155
+ <nobr>表号</nobr>
156
+ </th>
157
+ <th style="text-align:center">
158
+ <nobr>气表品牌</nobr>
159
+ </th>
160
+ <th style="text-align:center" >
161
+ <nobr>气表型号</nobr>
162
+ </th>
163
+ <th style="text-align:center" >
164
+ <nobr>组织机构</nobr>
165
+ </th>
166
+ <th style="text-align:center" >
167
+ <nobr>上期初余</nobr>
168
+ </th>
169
+ <th style="text-align:center" >
170
+ <nobr>期末余额</nobr>
171
+ </th>
172
+ <th style="text-align:center" >
173
+ <nobr>期间充值</nobr>
174
+ </th>
175
+ <th style="text-align:center" >
176
+ <nobr>表上期初气量底数</nobr>
177
+ </th>
178
+ <th style="text-align:center" >
179
+ <nobr>表上期末气量底数</nobr>
180
+ </th>
181
+ <th style="text-align:center" >
182
+ <nobr>表上期间用气总量</nobr>
183
+ </th>
184
+
185
+ <th style="text-align:center" >
186
+ <nobr>结算期初气量底数</nobr>
187
+ </th>
188
+ <th style="text-align:center" >
189
+ <nobr>结算期末气量底数</nobr>
190
+ </th>
191
+ <th style="text-align:center" >
192
+ <nobr>结算期间用气总量</nobr>
193
+ </th>
194
+ <th style="text-align:center" >
195
+ <nobr>期间用气金额</nobr>
196
+ </th>
197
+
198
+ <th style="text-align:center" >
199
+ <nobr>分析状态</nobr>
200
+ </th>
201
+ <th style="text-align:center" >
202
+ <nobr>结算金额异常</nobr>
203
+ </th>
204
+ </tr>
205
+ </template>
206
+ <template partial='body'>
207
+ <td style="text-align:center">{{$index+1}}</td>
208
+ <td style="text-align: center;">
209
+ <nobr>{{row.f_userinfo_code}}</nobr>
210
+ </td>
211
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
212
+ <td><nobr>{{row.f_address}}</nobr></td>
213
+ <td style="text-align:center">{{row.f_user_type}}</td>
214
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
215
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
216
+ <td style="text-align:center">
217
+ <nobr>{{row.f_meter_brand}}</nobr>
218
+ </td>
219
+ <td style="text-align:center">
220
+ <nobr>{{row.f_meter_style}}</nobr>
221
+ </td>
222
+ <td style="text-align:center">
223
+ <nobr>{{row.f_orgname}}</nobr>
224
+ </td>
225
+ <th style="text-align:center" >
226
+ <nobr>{{row.f_early_jval}}</nobr>
227
+ </th>
228
+ <th style="text-align:center" >
229
+ <nobr>{{row.f_cur_jval}}</nobr>
230
+ </th>
231
+ <th style="text-align:center" >
232
+ <nobr>{{row.f_collection}}</nobr>
233
+ </th>
234
+ <th style="text-align:center" >
235
+ <nobr>{{row.f_early_meter_tablebase}}</nobr>
236
+ </th>
237
+ <th style="text-align:center" >
238
+ <nobr>{{row.f_cur_meter_tablebase}}</nobr>
239
+ </th>
240
+ <th style="text-align:center" >
241
+ <nobr>{{row.f_meter_tablebase}}</nobr>
242
+ </th>
243
+
244
+ <th style="text-align:center" >
245
+ <nobr>{{row.f_early_hand_tablebase}}</nobr>
246
+ </th>
247
+ <th style="text-align:center" >
248
+ <nobr>{{row.f_cur_hand_tablebase}}</nobr>
249
+ </th>
250
+ <th style="text-align:center" >
251
+ <nobr>{{row.f_hand_tablebase}}</nobr>
252
+ </th>
253
+ <th style="text-align:center" >
254
+ <nobr>{{row.f_oughtfee}}</nobr>
255
+ </th>
256
+ <th style="text-align:center" >
257
+ <nobr>{{row.f_state}}</nobr>
258
+ </th>
259
+ <th style="text-align:center" >
260
+ <nobr>{{row.f_money}}</nobr>
261
+ </th>
262
+ </template>
263
+ </data-grid>
264
+ </criteria-paged>
265
+ </div>
266
+ </div>
267
+ </template>
268
+
269
+ <script>
270
+ import {PagedList} from 'vue-client'
271
+ import * as Util from '../../../Util'
272
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
273
+ let readySomething = async function (self) {
274
+
275
+ await self.$MagLoadParams.loadParam()
276
+ self.initParams()
277
+ self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() +' 00:00:00'
278
+ self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
279
+ self.$refs.paged.$refs.cri.search()
280
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
281
+ }
282
+ export default {
283
+ title: '物联网表结算分析',
284
+ props: ['data'],
285
+ data() {
286
+ return {
287
+ model: new PagedList('api/af-revenue/sql/webmeterSettlementAnalysis', 20, {
288
+ startDate: 'this.model.startDate',
289
+ endDate: 'this.model.endDate'
290
+ }),
291
+ getfield:{
292
+ 'f_userinfo_code':'客户编号','f_user_name':'客户名称',
293
+ 'f_address':'客户地址','f_user_type':'客户类型','f_gasproperties':'用气性质',
294
+ 'f_meternumber':'表号',
295
+ 'f_meter_brand':'气表品牌','f_meter_style': '气表型号','f_orgname':'组织机构',
296
+ 'f_early_meter_tablebase': '表上期初表底数', 'f_cur_meter_tablebase': '表上期末表底数', 'f_early_jval': '期初余额',
297
+ 'f_cur_jval': '期末余额', 'f_meter_tablebase': '表上期间用气总量','f_early_hand_tablebase': '结算期初表底数',
298
+ 'f_cur_hand_tablebase':'结算期末表底数', 'f_oughtfee': '应交金额','f_hand_tablebase':'结算期间用气总量','f_state':'状态','f_money': '结算金额异常'},
299
+ showdetail:false,
300
+ rowdata:{},
301
+ startDate: '',
302
+ endDate: '',
303
+ criteriaShow:false,
304
+ outlets: [],
305
+ other: [],
306
+ sumsmodel: {},
307
+ gasproperties:[{label: '全部', value: ''}],
308
+ operator: [],
309
+ meterbrands: [],
310
+ states: [],
311
+ meterstyle:{},
312
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
313
+ orgid:[this.$login.f.orgid],
314
+ condition: '1=1',
315
+ org:[this.$login.f.orgid]
316
+
317
+ }
318
+ },
319
+ ready() {
320
+ readySomething(this)
321
+ },
322
+ methods: {
323
+ getotherfooter() {
324
+ this.other = [];
325
+
326
+ let firstLine = [`导出时间: ${this.$login.toStandardTimeString()}`];
327
+
328
+
329
+ let secondLine = [
330
+ `开始时间: ${this.$refs.paged.$refs.cri.model.startDate}`,
331
+ `结束时间: ${this.$refs.paged.$refs.cri.model.endDate}`
332
+ ];
333
+
334
+ this.other.push(firstLine);
335
+ this.other.push(secondLine);
336
+
337
+ console.log('Header Data:', this.other);
338
+ },
339
+ userTypeChange () {
340
+ this.gasproperties=[{label: '全部', value: ''}]
341
+ if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
342
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
343
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
344
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
345
+ }
346
+ else{
347
+ this.gasproperties =[{label: '全部', value: ''}]
348
+ }
349
+ },
350
+ hidden(){
351
+ this.criteriaShow = !this.criteriaShow
352
+ },
353
+ showmsg(obj){
354
+ this.rowdata = obj
355
+ this.showdetail = true
356
+ },
357
+ cancel() {
358
+ this.showdetail = false
359
+ },
360
+ initParams () {
361
+ // 初始化气表品牌
362
+ let brandArr = []
363
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
364
+ if(item.value.f_meter_type==='物联网表'){
365
+ let temp = {}
366
+ temp.label = item.label
367
+ temp.value = item.value.f_meter_brand
368
+ brandArr.push(temp)
369
+
370
+ let styleArr = [{label: '全部', value: ''}]
371
+ for (let row of item.value.gasmodel) {
372
+ styleArr.push({label: row.label,value: row.value.f_meter_style})
373
+ }
374
+ this.meterstyle[temp.value] = styleArr
375
+ }
376
+
377
+ })
378
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
379
+ this.states = [{label: '全部', value: ''}, ...this.$appdata.getParam('分析状态')]
380
+ },
381
+ search(args) {
382
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
383
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
384
+ if (this.endDate == '' || this.startDate == '') {
385
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
386
+ }
387
+ this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
388
+ this.model.search(args.condition, args.model)
389
+ },
390
+ getorg(obj) {
391
+ if (obj.resids.length>0) {
392
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
393
+ }else
394
+ {
395
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
396
+ }
397
+ },
398
+ clearmsg() {
399
+ this.$refs.paged.$refs.cri.model = {}
400
+ }
401
+ },
402
+ watch: {
403
+ sumsmodel:{
404
+ handler: function(val) {
405
+ this.getotherfooter();
406
+ },
407
+ deep: true
408
+ },
409
+ },
410
+ computed: {
411
+ getCondition() {
412
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
413
+ return {
414
+ condition: condition ,
415
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
416
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
417
+ }
418
+ },
419
+ usertypes() {
420
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
421
+ }
422
+ }
423
+ }
424
+ </script>
425
+ <style>
426
+ .form-input-group label {
427
+ text-align: right;
428
+ width: auto;
429
+ }
430
+
431
+ .mystyle {
432
+ float: right;
433
+ padding-right: 10%;
434
+ }
435
+
436
+ .mystyle1 {
437
+ padding-top: 10px;
438
+
439
+ }
440
+
441
+ .mystyle2 {
442
+ width: 100%;
443
+ height: 35px;
444
+ /*background: #00A3F0;*/
445
+ padding-left: 15px;
446
+ float: left;
447
+ }
448
+
449
+ .datapanel {
450
+ color: #333;
451
+ background-color: white;
452
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
453
+ padding: 10px 30px 10px 30px;
454
+ border-radius: 15px;
455
+ }
456
+ </style>