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,700 +1,700 @@
1
- <template>
2
- <div class="flex-row" v-show="!showdetail">
3
- <div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
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="form-group">-->
9
- <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
10
- <!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
11
- <!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
12
- <!--</div>-->
13
-
14
- <div class="col-sm-2 form-group">
15
- <label class="font_normal_body">客户编号</label>
16
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
17
- v-model="model.f_userinfo_code" placeholder='客户编号'
18
- condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
19
- >
20
- </div>
21
- <div class="col-sm-2 form-group">
22
- <label class="font_normal_body">客户名称</label>
23
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
24
- v-model="model.f_user_name" placeholder='客户名称'
25
- condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
26
- >
27
- </div>
28
- <div class="col-sm-2 form-group">
29
- <label class="font_normal_body">客户地址</label>
30
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
31
- placeholder='地址'
32
- condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
33
- >
34
- </div>
35
- <div class="col-sm-2 form-group">
36
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
37
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
38
- v-model="model.f_meternumber" placeholder='表号'
39
- condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
40
- >
41
- </div>
42
- <div style="float:right">
43
- <button class="button_search button_spacing" @click="search()">查询</button>
44
- <button class="button_clear button_spacing" @click="clear">清空</button>
45
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
46
- :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
47
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeter_getAllLoseQuery" template-name='失联分析'
48
- :choose-col="true"></export-excel>
49
- <!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
50
- <!-- <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
51
- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
52
- <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>
53
- </div>
54
- </div>
55
- <div class="row" v-show="$parent.$parent.criteriaShow">
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
58
- <right-tree @re-res="$parent.$parent.getorg" width="60%"
59
- :initresid='$parent.$parent.org'></right-tree>
60
- </div>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">客户类型</label>
63
- <v-select style="width:60%" id="f_user_type"
64
- v-model="model.f_user_type"
65
- placeholder='客户类型'
66
- :value.sync="model.f_user_type"
67
- @change="$parent.$parent.userTypeChange()"
68
- :options='$parent.$parent.usertypes'
69
- condition="f_user_type = '{}'"
70
- close-on-select>
71
- </v-select>
72
- </div>
73
- <div class="col-sm-2 form-group">
74
- <label class="font_normal_body">用气性质</label>
75
- <v-select style="width:60%" id="f_gasproperties"
76
- v-model="model.f_gasproperties"
77
- placeholder='用气性质'
78
- :value.sync="model.f_gasproperties"
79
- :options='$parent.$parent.gasproperties'
80
- condition="f_gasproperties = '{}'"
81
- close-on-select>
82
- </v-select>
83
- </div>
84
- <div class="col-sm-2 form-group">
85
- <label class="font_normal_body">气表品牌</label>
86
- <v-select
87
- placeholder='气表品牌'
88
- :value.sync="model.f_meter_brand"
89
- v-model="model.f_meter_brand"
90
- :options='$parent.$parent.WarningType'
91
- @change="$parent.$parent.getMeterType"
92
- close-on-select
93
- condition="f_meter_brand='{}'">
94
- </v-select>
95
- </div>
96
- <div class="col-sm-2 form-group" >
97
- <label class="font_normal_body">气表型号</label>
98
- <v-select v-if="$parent.$parent.styles"
99
- placeholder='气表型号'
100
- :value.sync="model.f_meter_style"
101
- v-model="model.f_meter_style"
102
- :options='$parent.$parent.Warningstyle'
103
- close-on-select
104
- condition="f_meter_style='{}'">
105
- </v-select>
106
- <v-select v-if="!$parent.$parent.styles"
107
- placeholder='气表型号'
108
- :value.sync="model.f_meter_style"
109
- v-model="model.f_meter_style"
110
- :options='$parent.$parent.Warningstyles'
111
- close-on-select
112
- condition="f_meter_style='{}'">
113
- </v-select>
114
- </div>
115
- <div class="col-sm-2 form-group">
116
- <label class="font_normal_body">用户状态</label>
117
- <v-select
118
- placeholder='用户状态'
119
- value-single
120
- style="width:60%"
121
- :value.sync="model.f_user_state"
122
- v-model="model.f_user_state"
123
- :options='$parent.$parent.userstate'
124
- close-on-select condition="f_user_state ='{}'">
125
- </v-select>
126
- </div>
127
- <!--<div class="col-sm-2 form-group">-->
128
- <!--<label class="font_normal_body">最新状态</label>-->
129
- <!-- <v-select style="width:60%" id="f_state"-->
130
- <!--v-model="model.f_state"-->
131
- <!--placeholder='最新状态'-->
132
- <!--:value.sync="model.f_state"-->
133
- <!--:options='$parent.$parent.getstate'-->
134
- <!--condition="f_state = '{}'"-->
135
- <!--close-on-select>-->
136
- <!--</v-select>-->
137
- <!--</div>-->
138
- <div class="col-sm-2 form-group">
139
- <label class="font_normal_body">开始时间</label>
140
- <datepicker style="width:60%" id="startdate" placeholder="开始时间"
141
- v-model="model.startDate"
142
- :value.sync="model.startDate"
143
- :disabled-days-of-Week="[]"
144
- :format="'yyyy-MM-dd HH:mm:ss'"
145
-
146
- :show-reset-button="reset">
147
- </datepicker>
148
- </div>
149
- <div class="col-sm-2 form-group">
150
- <label class="font_normal_body">结束时间</label>
151
- <datepicker style="width:60%" id="enddate" placeholder="结束日期"
152
- v-model="model.endDate"
153
- :value.sync="model.endDate"
154
- :disabled-days-of-Week="[]"
155
- :format="'yyyy-MM-dd HH:mm:ss'"
156
-
157
- :show-reset-button="reset">
158
- </datepicker>
159
- </div>
160
-
161
-
162
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
163
- <label class="font_normal_body">最长失联</label>
164
- <div class="row">
165
- <input type="text" style="width:27%" class="input_search" v-model="model.max_interval_day1"
166
- condition="max_interval_day >= {} " placeholder="">
167
- <label class="font_normal_body"> &nbsp;≤ x ≤ </label>
168
- <input type="text" style="width:27%" class="input_search" v-model="model.max_interval_day2"
169
- condition="max_interval_day <= {} " placeholder="">
170
- </div>
171
- </div>
172
-
173
-
174
- <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
175
- <label class="font_normal_body">合计失联</label>
176
- <div class="row">
177
- <input type="text" style="width:27%" class="input_search" v-model="model.SLdays1"
178
- condition="SLdays >= {} " placeholder="">
179
- <label class="font_normal_body">&nbsp; ≤ x ≤ </label>
180
- <input type="text" style="width:27%" class="input_search" v-model="model.SLdays2"
181
- condition="SLdays <= {} " placeholder="">
182
- </div>
183
- </div>
184
- <div class="col-sm-2 form-group">
185
- <label class="font_normal_body">是否通气</label>
186
- <v-select
187
- placeholder='是否通气'
188
- style="width:60%"
189
- :value.sync="model.f_address_state"
190
- v-model="model.f_address_state"
191
- :options='$parent.$parent.addressState'
192
- close-on-select condition="f_address_state = '{}'">
193
- </v-select>
194
- </div>
195
- <div class="col-sm-2 form-group">
196
- <label class="font_normal_body">开始时间</label>
197
- <datepicker style="width:60%" id="startdate" placeholder="最初上报开始时间"
198
- v-model="model.firstStartDate"
199
- :value.sync="model.firstStartDate"
200
- :disabled-days-of-Week="[]"
201
- :format="'yyyy-MM-dd'"
202
- condition="f_first_meteread_date >= '{} 00:00:00'"
203
- :show-reset-button="reset">
204
- </datepicker>
205
- </div>
206
- <div class="col-sm-2 form-group">
207
- <label class="font_normal_body">结束时间</label>
208
- <datepicker style="width:60%" id="enddate" placeholder="最初上报结束时间"
209
- v-model="model.firstEndDate"
210
- :value.sync="model.firstEndDate"
211
- :disabled-days-of-Week="[]"
212
- :format="'yyyy-MM-dd'"
213
- condition="f_first_meteread_date <= '{} 23:59:59'"
214
- :show-reset-button="reset">
215
- </datepicker>
216
- </div>
217
- <div class="col-sm-2 form-group">
218
- <label class="font_normal_body">开始时间</label>
219
- <datepicker style="width:60%" id="startdate" placeholder="最后上报开始时间"
220
- v-model="model.finalStartDate"
221
- :value.sync="model.finalStartDate"
222
- :disabled-days-of-Week="[]"
223
- :format="'yyyy-MM-dd'"
224
- condition="f_final_meteread_date >= '{} 00:00:00'"
225
- :show-reset-button="reset">
226
- </datepicker>
227
- </div>
228
- <div class="col-sm-2 form-group">
229
- <label class="font_normal_body">结束时间</label>
230
- <datepicker style="width:60%" id="enddate" placeholder="最后上报结束时间"
231
- v-model="model.finalEndDate"
232
- :value.sync="model.finalEndDate"
233
- :disabled-days-of-Week="[]"
234
- :format="'yyyy-MM-dd'"
235
- condition="f_final_meteread_date <= '{} 23:59:59'"
236
- :show-reset-button="reset">
237
- </datepicker>
238
- </div>
239
-
240
- <!--<div class="col-sm-2 form-group">-->
241
- <!--<label class="font_normal_body">最新失联</label>-->
242
- <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days1" placeholder='天数大于等于'-->
243
- <!--condition="new_days >= {}" v-next-el='new_days' v-el:new_days-->
244
- <!--&gt;-->
245
- <!--</div>-->
246
- <!--<div class="col-sm-2 form-group">-->
247
- <!--<label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>-->
248
- <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days2" placeholder='天数小于等于'-->
249
- <!--condition="new_days <= {}" v-next-el='new_days' v-el:new_days-->
250
- <!--&gt;-->
251
- <!--</div>-->
252
- </div>
253
-
254
-
255
-
256
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
257
- <!--:thead='"<th>序号</th>\n"+-->
258
- <!--"<th>档案编号</th>" +-->
259
- <!--" <th>档案标识</th>"+-->
260
- <!--"<th>客户名称</th>"+-->
261
- <!--"<th>表号</th"+-->
262
- <!--"<th>表具类型</th>"+-->
263
- <!--"<th>客户类型</th>"+-->
264
- <!--"<th>区域</th>"+-->
265
- <!--"<th>小区</th>"+-->
266
- <!--"<th>地址</th>"+-->
267
- <!--"<th>用气气量</th>"+-->
268
- <!--"<th>用气金额</th>"-->
269
- <!--+"<th>用气价格</th>"-->
270
- <!--+"<th>时间</th>"-->
271
- <!--+"<th>所属机构</th>"'-->
272
- <!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
273
- <!--</print-table>-->
274
- <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
275
- <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
276
- <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
277
- <!--sqlurl="api/af-revenue/sql/getUserGas"></export-excel>-->
278
- </div>
279
- </criteria>
280
- <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
281
- <template partial='head'>
282
- <tr>
283
- <th style="text-align:center">
284
- <nobr>序号</nobr>
285
- </th>
286
- <th style="text-align:center">
287
- <nobr>客户编号</nobr>
288
- </th>
289
- <th style="text-align:center">
290
- <nobr>客户名称</nobr>
291
- </th>
292
- <th style="text-align:center">
293
- <nobr>客户地址</nobr>
294
- </th>
295
- <th style="text-align:center">
296
- <nobr>客户类型</nobr>
297
- </th>
298
- <th style="text-align:center">
299
- <nobr>用气性质</nobr>
300
- </th>
301
- <th style="text-align:center">
302
- <nobr>表号</nobr>
303
- </th>
304
- <th style="text-align:center">
305
- <nobr>启用日期</nobr>
306
- </th>
307
- <th style="text-align:center">
308
- <nobr>应报天数</nobr>
309
- </th>
310
- <th style="text-align:center">
311
- <nobr>实报天数</nobr>
312
- </th>
313
- <th style="text-align:center">
314
- <nobr>最长失联天数</nobr>
315
- </th>
316
- <th style="text-align:center">
317
- <nobr>累计失联天数</nobr>
318
- </th>
319
- <th style="text-align:center">
320
- <nobr>气表厂家</nobr>
321
- </th>
322
- <th style="text-align:center" >
323
- <nobr>气表型号</nobr>
324
- </th>
325
- <th style="text-align:center" >
326
- <nobr>用户状态</nobr>
327
- </th>
328
- <th style="text-align:center" >
329
- <nobr>最初上报时间</nobr>
330
- </th>
331
- <th style="text-align:center" >
332
- <nobr>最后上报时间</nobr>
333
- </th>
334
- <th style="text-align:center" >
335
- <nobr>组织机构</nobr>
336
- </th>
337
-
338
- </tr>
339
-
340
- </template>
341
- <template partial='body'>
342
- <td style="text-align:center">{{$index+1}}</td>
343
- <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
344
- <td style="text-align: center;"><nobr>
345
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
346
- </nobr> </td>
347
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
348
- <td><nobr>{{row.f_address}}</nobr></td>
349
- <td style="text-align:center">{{row.f_user_type}}</td>
350
- <td style="text-align:center">{{row.f_gasproperties}}</td>
351
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
352
- <td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
353
-
354
- <td style="text-align:center">{{row.ybdays}}</td>
355
- <td style="text-align:center">{{row.sbdays}}</td>
356
- <td style="text-align:center">
357
- <nobr>{{row.max_interval_day}}</nobr>
358
- </td>
359
- <td style="text-align:center">
360
- <nobr>{{row.sldays}}</nobr>
361
- </td>
362
- <td style="text-align:center">
363
- <nobr>{{row.f_meter_brand}}</nobr>
364
- </td>
365
- <td style="text-align:center">
366
- <nobr>{{row.f_meter_style}}</nobr>
367
- </td>
368
- <td style="text-align:center">
369
- <nobr>{{row.f_user_state}}</nobr>
370
- </td>
371
- <td style="text-align:center">
372
- <nobr>{{row.initinsertdate}}</nobr>
373
- </td>
374
- <td style="text-align:center">
375
- <nobr>{{row.last_date}}</nobr>
376
- </td>
377
- <td style="text-align:center">
378
- <nobr>{{row.f_orgname}}</nobr>
379
- </td>
380
-
381
- </template>
382
- </data-grid>
383
- </criteria-paged>
384
- </div>
385
- <div class="flex-row" v-show="echarts" style="width: 100%;height: 90%;">
386
- <lost-contact-echarts :groupname="groupname[0]" :condition = "condition" :startdate="startDate"
387
- :enddate="endDate" :echarts="echarts"></lost-contact-echarts>
388
- </div>
389
- <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
390
- <lost-contact-eform :condition="condition"
391
- ></lost-contact-eform>
392
- </div>
393
- </div>
394
-
395
- <!-- <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">-->
396
- <!-- <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>-->
397
- <!-- </div>-->
398
- <!-- <div class="flex-row" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">-->
399
- <!-- <lost-contact-eform :condition="model.condition" :startdate="startDate"-->
400
- <!-- :enddate="endDate"></lost-contact-eform>-->
401
- <!-- </div>-->
402
- <div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
403
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
404
- </div>
405
- </template>
406
-
407
- <script>
408
- import {PagedList} from 'vue-client'
409
- import UserGasEcharts from '../../components/webmeter/DrillData/UserGasEcharts'
410
- import * as Util from '../../Util'
411
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
412
- import {HttpResetClass} from 'vue-client'
413
- let readySomething = async function (self) {
414
-
415
- await self.$MagLoadParams.loadParam()
416
- self.initParams()
417
- let year = new Date().getFullYear()
418
- self.$refs.paged.$refs.cri.model.startDate = year+'-01-01 00:00:00'
419
- // self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
420
- self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
421
- self.$refs.paged.$refs.cri.model.f_user_state='正常'
422
- }
423
- export default {
424
- title: '失联分析',
425
- props: ['data'],
426
- components: {UserGasEcharts},
427
- data() {
428
- return {
429
- model: new PagedList('api/af-revenue/sql/webmeter_getAllLoseQuery', 20, {
430
- startDate: 'this.model.startDate',
431
- endDate: 'this.model.endDate'
432
- }),
433
- getfield:{
434
- "f_userinfo_code":"客户编号","f_user_name":"客户名称","f_residential_area":"小区",
435
- "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
436
- "f_meternumber":"表号",
437
- "f_startuse_date":"启用日期",
438
- "ybdays":"应报天数",
439
- "sbdays":"实报天数",
440
- "max_interval_day":"最长失联天数","sldays":"累计失联天数", "initinsertdate":"最初上报时间","last_date":"最后上报时间",
441
- "f_meter_brand":"气表厂家","f_orgname":"组织机构"},
442
- reportStr: null,
443
- show: false,
444
- showdetail:false,
445
- rowdata:{},
446
- startDate: '',
447
- endDate: '',
448
- criteriaShow:false,
449
- outlets: [],
450
- gasproperties:[{label: '全部', value: ''}],
451
- operator: [],
452
- WarningType: [
453
- {label: '全部', value: ''}
454
- ],
455
- Warningstyles: [
456
- {label: '全部', value: ''}
457
- ],
458
- styles:false,
459
- filename: '',
460
- orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
461
- echarts: false,
462
- orgid:[this.$login.f.orgid],
463
- searchshow: false,
464
- isActiveTotalForm: false,
465
- condition: '1=1',
466
- groupname: ['max_days_type'],
467
- getgroupname: [
468
- {label: '客户类型', value: 'f_user_type'},
469
- {label: '用气性质', value: 'f_gasproperties'},
470
- {label: '分公司', value: 'f_orgname'},
471
- {label: '最长失联天数', value: 'max_days_type'},
472
- {label: '合计失联天数', value: 'all_days_type'}
473
- ],
474
- org:[this.$login.f.orgid]
475
-
476
- }
477
- },
478
- ready() {
479
- readySomething(this)
480
- this.getMeterTypeAndBrand('f_meter_brand', '1=1')
481
- },
482
- methods: {
483
- getMeterType() {
484
- this.Warningstyle = [{label: '全部', value: ''}]
485
- this.styles = false
486
- let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
487
- this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
488
- },
489
- getMeterTypeAndBrand(groupname, condition) {
490
- condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
491
- let self = this
492
- let load = new HttpResetClass()
493
- load.load('POST', 'api/af-revenue/sql/getMeterStyleAndBrand1', {
494
- data: {
495
- condition: condition,
496
- groupname: groupname
497
- }
498
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
499
- for (let i = 0; i < res.data.length; i++) {
500
- if (groupname == 'f_meter_brand') {
501
- let dr = {}
502
- dr.label = res.data[i].f_meter_brand
503
- dr.value = res.data[i].f_meter_brand
504
- //气表品牌
505
- // self.WarningType.push(dr)
506
- } else if (groupname == 'f_meter_style') {
507
- self.Warningstyle= [
508
- {label: '全部', value: ''}
509
- ],
510
- self.$refs.paged.$refs.cri.model.f_meter_style=''
511
- let dr = {}
512
- dr.label = res.data[i].f_meter_style
513
- dr.value = res.data[i].f_meter_style
514
- //气表类型
515
- self.Warningstyle.push(dr)
516
- }
517
- }
518
- if (self.Warningstyle.length > 1) {
519
- self.showMeterStyle()
520
- }
521
- })
522
-
523
- },
524
- showMeterStyle() {
525
- this.styles = true
526
- },
527
- userTypeChange () {
528
- this.gasproperties=[{label: '全部', value: ''}]
529
- if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
530
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
531
-
532
- console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
533
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
534
- // this.gasproperties.push({label: '全部', value: ''})
535
- }
536
- else{
537
- this.gasproperties =[{label: '全部', value: ''}]
538
- }
539
- },
540
- hidden(){
541
- this.criteriaShow = !this.criteriaShow
542
- },
543
- clickshow() {
544
- this.searchshow = !this.searchshow
545
- },
546
- showmsg(obj){
547
- this.rowdata=obj
548
- this.showdetail = true
549
- },
550
- cancel() {
551
- this.showdetail = false
552
- },
553
- initParams () {
554
- let arr = []
555
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
556
- let temp = {}
557
- if(item.value.f_meter_type==='物联网表'){
558
- temp.label = item.label
559
- temp.value = item.value.f_meter_brand
560
- arr.push(temp )
561
- }
562
-
563
- })
564
- this.WarningType = [{label: '全部', value: ''}, ...arr]
565
-
566
- },
567
- search(args) {
568
- this.startDate = this.$refs.paged.$refs.cri.model.startDate
569
- this.endDate = this.$refs.paged.$refs.cri.model.endDate
570
- if (this.endDate == '' || this.startDate == '') {
571
- return this.$showMessage("时间区间的开始和结束时间不能为空!")
572
- }
573
- this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
574
- this.model.search(args.condition, args.model)
575
- },
576
- getorg(obj) {
577
- if (obj.resids.length>0) {
578
- this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
579
- }else
580
- {
581
- this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
582
- }
583
- },
584
- // SaveAsFile(str) {
585
- // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
586
- // if (res === 'confirm') {
587
- // let style = '<style>' +
588
- // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
589
- // let strHtml = style + document.getElementById(str).innerHTML;
590
- // console.log(strHtml);
591
- // let LODOP = getLodop();
592
- // LODOP.PRINT_INIT('');
593
- // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
594
- // LODOP.SAVE_TO_FILE('失联分析.xls')
595
- // }
596
- // })
597
- // },
598
- clearmsg() {
599
- this.$refs.paged.$refs.cri.model = {}
600
- },
601
-
602
-
603
- close() {
604
- this.show = false
605
- },
606
- // 显示柱状图
607
- showEcharts() {
608
- this.echarts = true
609
- this.isActiveTotalForm = false
610
- },
611
- notShowTotalForm() {
612
- this.echarts = false
613
- this.isActiveTotalForm = false
614
- },
615
- // 不显示柱状图
616
- notShowEcharts() {
617
- this.echarts = false
618
- this.isActiveTotalForm = false
619
- },
620
- // 显示汇总数据表格
621
- showTotalForm() {
622
- this.echarts = false
623
- this.isActiveTotalForm = true
624
- }
625
- },
626
- watch: {
627
- 'data'(val) {
628
- if (val.f_files_path) {
629
- this.getFileContent(val.f_files_path)
630
- } else {
631
- this.reportStr = null
632
- }
633
- }
634
- },
635
- computed: {
636
- // usertypes () {
637
- // return this.$appdate.getParams("客户类型")
638
- // },
639
- getCondition() {
640
- let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
641
- return {
642
- condition: condition ,
643
- startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
644
- endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
645
- }
646
-
647
- },
648
- usertypes() {
649
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
650
- },
651
- f_outlets() {
652
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
653
- },
654
- valveStatus() {
655
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
656
- },
657
- getstate() {
658
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
659
- },
660
- userstate() {
661
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
662
- },
663
- addressState() {
664
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('是否通气')]
665
- }
666
- }
667
- }
668
- </script>
669
- <style>
670
- .form-input-group label {
671
- text-align: right;
672
- width: auto;
673
- }
674
-
675
- .mystyle {
676
- float: right;
677
- padding-right: 10%;
678
- }
679
-
680
- .mystyle1 {
681
- padding-top: 10px;
682
-
683
- }
684
-
685
- .mystyle2 {
686
- width: 100%;
687
- height: 35px;
688
- /*background: #00A3F0;*/
689
- padding-left: 15px;
690
- float: left;
691
- }
692
-
693
- .datapanel {
694
- color: #333;
695
- background-color: white;
696
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
697
- padding: 10px 30px 10px 30px;
698
- border-radius: 15px;
699
- }
700
- </style>
1
+ <template>
2
+ <div class="flex-row" v-show="!showdetail">
3
+ <div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
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="form-group">-->
9
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
10
+ <!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
11
+ <!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
12
+ <!--</div>-->
13
+
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body">客户编号</label>
16
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
17
+ v-model="model.f_userinfo_code" placeholder='客户编号'
18
+ condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
19
+ >
20
+ </div>
21
+ <div class="col-sm-2 form-group">
22
+ <label class="font_normal_body">客户名称</label>
23
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
24
+ v-model="model.f_user_name" placeholder='客户名称'
25
+ condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
26
+ >
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">客户地址</label>
30
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
31
+ placeholder='地址'
32
+ condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
33
+ >
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
37
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
38
+ v-model="model.f_meternumber" placeholder='表号'
39
+ condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
40
+ >
41
+ </div>
42
+ <div style="float:right">
43
+ <button class="button_search button_spacing" @click="search()">查询</button>
44
+ <button class="button_clear button_spacing" @click="clear">清空</button>
45
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
46
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
47
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="webmeter_getAllLoseQuery" template-name='失联分析'
48
+ :choose-col="true"></export-excel>
49
+ <!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
50
+ <!-- <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
51
+ <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>
52
+ <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>
53
+ </div>
54
+ </div>
55
+ <div class="row" v-show="$parent.$parent.criteriaShow">
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
58
+ <right-tree @re-res="$parent.$parent.getorg" width="60%"
59
+ :initresid='$parent.$parent.org'></right-tree>
60
+ </div>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">客户类型</label>
63
+ <v-select style="width:60%" id="f_user_type"
64
+ v-model="model.f_user_type"
65
+ placeholder='客户类型'
66
+ :value.sync="model.f_user_type"
67
+ @change="$parent.$parent.userTypeChange()"
68
+ :options='$parent.$parent.usertypes'
69
+ condition="f_user_type = '{}'"
70
+ close-on-select>
71
+ </v-select>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">用气性质</label>
75
+ <v-select style="width:60%" id="f_gasproperties"
76
+ v-model="model.f_gasproperties"
77
+ placeholder='用气性质'
78
+ :value.sync="model.f_gasproperties"
79
+ :options='$parent.$parent.gasproperties'
80
+ condition="f_gasproperties = '{}'"
81
+ close-on-select>
82
+ </v-select>
83
+ </div>
84
+ <div class="col-sm-2 form-group">
85
+ <label class="font_normal_body">气表品牌</label>
86
+ <v-select
87
+ placeholder='气表品牌'
88
+ :value.sync="model.f_meter_brand"
89
+ v-model="model.f_meter_brand"
90
+ :options='$parent.$parent.WarningType'
91
+ @change="$parent.$parent.getMeterType"
92
+ close-on-select
93
+ condition="f_meter_brand='{}'">
94
+ </v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group" >
97
+ <label class="font_normal_body">气表型号</label>
98
+ <v-select v-if="$parent.$parent.styles"
99
+ placeholder='气表型号'
100
+ :value.sync="model.f_meter_style"
101
+ v-model="model.f_meter_style"
102
+ :options='$parent.$parent.Warningstyle'
103
+ close-on-select
104
+ condition="f_meter_style='{}'">
105
+ </v-select>
106
+ <v-select v-if="!$parent.$parent.styles"
107
+ placeholder='气表型号'
108
+ :value.sync="model.f_meter_style"
109
+ v-model="model.f_meter_style"
110
+ :options='$parent.$parent.Warningstyles'
111
+ close-on-select
112
+ condition="f_meter_style='{}'">
113
+ </v-select>
114
+ </div>
115
+ <div class="col-sm-2 form-group">
116
+ <label class="font_normal_body">用户状态</label>
117
+ <v-select
118
+ placeholder='用户状态'
119
+ value-single
120
+ style="width:60%"
121
+ :value.sync="model.f_user_state"
122
+ v-model="model.f_user_state"
123
+ :options='$parent.$parent.userstate'
124
+ close-on-select condition="f_user_state ='{}'">
125
+ </v-select>
126
+ </div>
127
+ <!--<div class="col-sm-2 form-group">-->
128
+ <!--<label class="font_normal_body">最新状态</label>-->
129
+ <!-- <v-select style="width:60%" id="f_state"-->
130
+ <!--v-model="model.f_state"-->
131
+ <!--placeholder='最新状态'-->
132
+ <!--:value.sync="model.f_state"-->
133
+ <!--:options='$parent.$parent.getstate'-->
134
+ <!--condition="f_state = '{}'"-->
135
+ <!--close-on-select>-->
136
+ <!--</v-select>-->
137
+ <!--</div>-->
138
+ <div class="col-sm-2 form-group">
139
+ <label class="font_normal_body">开始时间</label>
140
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
141
+ v-model="model.startDate"
142
+ :value.sync="model.startDate"
143
+ :disabled-days-of-Week="[]"
144
+ :format="'yyyy-MM-dd HH:mm:ss'"
145
+
146
+ :show-reset-button="reset">
147
+ </datepicker>
148
+ </div>
149
+ <div class="col-sm-2 form-group">
150
+ <label class="font_normal_body">结束时间</label>
151
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
152
+ v-model="model.endDate"
153
+ :value.sync="model.endDate"
154
+ :disabled-days-of-Week="[]"
155
+ :format="'yyyy-MM-dd HH:mm:ss'"
156
+
157
+ :show-reset-button="reset">
158
+ </datepicker>
159
+ </div>
160
+
161
+
162
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
163
+ <label class="font_normal_body">最长失联</label>
164
+ <div class="row">
165
+ <input type="text" style="width:27%" class="input_search" v-model="model.max_interval_day1"
166
+ condition="max_interval_day >= {} " placeholder="">
167
+ <label class="font_normal_body"> &nbsp;≤ x ≤ </label>
168
+ <input type="text" style="width:27%" class="input_search" v-model="model.max_interval_day2"
169
+ condition="max_interval_day <= {} " placeholder="">
170
+ </div>
171
+ </div>
172
+
173
+
174
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
175
+ <label class="font_normal_body">合计失联</label>
176
+ <div class="row">
177
+ <input type="text" style="width:27%" class="input_search" v-model="model.SLdays1"
178
+ condition="SLdays >= {} " placeholder="">
179
+ <label class="font_normal_body">&nbsp; ≤ x ≤ </label>
180
+ <input type="text" style="width:27%" class="input_search" v-model="model.SLdays2"
181
+ condition="SLdays <= {} " placeholder="">
182
+ </div>
183
+ </div>
184
+ <div class="col-sm-2 form-group">
185
+ <label class="font_normal_body">是否通气</label>
186
+ <v-select
187
+ placeholder='是否通气'
188
+ style="width:60%"
189
+ :value.sync="model.f_address_state"
190
+ v-model="model.f_address_state"
191
+ :options='$parent.$parent.addressState'
192
+ close-on-select condition="f_address_state = '{}'">
193
+ </v-select>
194
+ </div>
195
+ <div class="col-sm-2 form-group">
196
+ <label class="font_normal_body">开始时间</label>
197
+ <datepicker style="width:60%" id="startdate" placeholder="最初上报开始时间"
198
+ v-model="model.firstStartDate"
199
+ :value.sync="model.firstStartDate"
200
+ :disabled-days-of-Week="[]"
201
+ :format="'yyyy-MM-dd'"
202
+ condition="f_first_meteread_date >= '{} 00:00:00'"
203
+ :show-reset-button="reset">
204
+ </datepicker>
205
+ </div>
206
+ <div class="col-sm-2 form-group">
207
+ <label class="font_normal_body">结束时间</label>
208
+ <datepicker style="width:60%" id="enddate" placeholder="最初上报结束时间"
209
+ v-model="model.firstEndDate"
210
+ :value.sync="model.firstEndDate"
211
+ :disabled-days-of-Week="[]"
212
+ :format="'yyyy-MM-dd'"
213
+ condition="f_first_meteread_date <= '{} 23:59:59'"
214
+ :show-reset-button="reset">
215
+ </datepicker>
216
+ </div>
217
+ <div class="col-sm-2 form-group">
218
+ <label class="font_normal_body">开始时间</label>
219
+ <datepicker style="width:60%" id="startdate" placeholder="最后上报开始时间"
220
+ v-model="model.finalStartDate"
221
+ :value.sync="model.finalStartDate"
222
+ :disabled-days-of-Week="[]"
223
+ :format="'yyyy-MM-dd'"
224
+ condition="f_final_meteread_date >= '{} 00:00:00'"
225
+ :show-reset-button="reset">
226
+ </datepicker>
227
+ </div>
228
+ <div class="col-sm-2 form-group">
229
+ <label class="font_normal_body">结束时间</label>
230
+ <datepicker style="width:60%" id="enddate" placeholder="最后上报结束时间"
231
+ v-model="model.finalEndDate"
232
+ :value.sync="model.finalEndDate"
233
+ :disabled-days-of-Week="[]"
234
+ :format="'yyyy-MM-dd'"
235
+ condition="f_final_meteread_date <= '{} 23:59:59'"
236
+ :show-reset-button="reset">
237
+ </datepicker>
238
+ </div>
239
+
240
+ <!--<div class="col-sm-2 form-group">-->
241
+ <!--<label class="font_normal_body">最新失联</label>-->
242
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days1" placeholder='天数大于等于'-->
243
+ <!--condition="new_days >= {}" v-next-el='new_days' v-el:new_days-->
244
+ <!--&gt;-->
245
+ <!--</div>-->
246
+ <!--<div class="col-sm-2 form-group">-->
247
+ <!--<label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>-->
248
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.new_days2" placeholder='天数小于等于'-->
249
+ <!--condition="new_days <= {}" v-next-el='new_days' v-el:new_days-->
250
+ <!--&gt;-->
251
+ <!--</div>-->
252
+ </div>
253
+
254
+
255
+
256
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
257
+ <!--:thead='"<th>序号</th>\n"+-->
258
+ <!--"<th>档案编号</th>" +-->
259
+ <!--" <th>档案标识</th>"+-->
260
+ <!--"<th>客户名称</th>"+-->
261
+ <!--"<th>表号</th"+-->
262
+ <!--"<th>表具类型</th>"+-->
263
+ <!--"<th>客户类型</th>"+-->
264
+ <!--"<th>区域</th>"+-->
265
+ <!--"<th>小区</th>"+-->
266
+ <!--"<th>地址</th>"+-->
267
+ <!--"<th>用气气量</th>"+-->
268
+ <!--"<th>用气金额</th>"-->
269
+ <!--+"<th>用气价格</th>"-->
270
+ <!--+"<th>时间</th>"-->
271
+ <!--+"<th>所属机构</th>"'-->
272
+ <!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
273
+ <!--</print-table>-->
274
+ <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
275
+ <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
276
+ <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
277
+ <!--sqlurl="api/af-revenue/sql/getUserGas"></export-excel>-->
278
+ </div>
279
+ </criteria>
280
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
281
+ <template partial='head'>
282
+ <tr>
283
+ <th style="text-align:center">
284
+ <nobr>序号</nobr>
285
+ </th>
286
+ <th style="text-align:center">
287
+ <nobr>客户编号</nobr>
288
+ </th>
289
+ <th style="text-align:center">
290
+ <nobr>客户名称</nobr>
291
+ </th>
292
+ <th style="text-align:center">
293
+ <nobr>客户地址</nobr>
294
+ </th>
295
+ <th style="text-align:center">
296
+ <nobr>客户类型</nobr>
297
+ </th>
298
+ <th style="text-align:center">
299
+ <nobr>用气性质</nobr>
300
+ </th>
301
+ <th style="text-align:center">
302
+ <nobr>表号</nobr>
303
+ </th>
304
+ <th style="text-align:center">
305
+ <nobr>启用日期</nobr>
306
+ </th>
307
+ <th style="text-align:center">
308
+ <nobr>应报天数</nobr>
309
+ </th>
310
+ <th style="text-align:center">
311
+ <nobr>实报天数</nobr>
312
+ </th>
313
+ <th style="text-align:center">
314
+ <nobr>最长失联天数</nobr>
315
+ </th>
316
+ <th style="text-align:center">
317
+ <nobr>累计失联天数</nobr>
318
+ </th>
319
+ <th style="text-align:center">
320
+ <nobr>气表厂家</nobr>
321
+ </th>
322
+ <th style="text-align:center" >
323
+ <nobr>气表型号</nobr>
324
+ </th>
325
+ <th style="text-align:center" >
326
+ <nobr>用户状态</nobr>
327
+ </th>
328
+ <th style="text-align:center" >
329
+ <nobr>最初上报时间</nobr>
330
+ </th>
331
+ <th style="text-align:center" >
332
+ <nobr>最后上报时间</nobr>
333
+ </th>
334
+ <th style="text-align:center" >
335
+ <nobr>组织机构</nobr>
336
+ </th>
337
+
338
+ </tr>
339
+
340
+ </template>
341
+ <template partial='body'>
342
+ <td style="text-align:center">{{$index+1}}</td>
343
+ <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
344
+ <td style="text-align: center;"><nobr>
345
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
346
+ </nobr> </td>
347
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
348
+ <td><nobr>{{row.f_address}}</nobr></td>
349
+ <td style="text-align:center">{{row.f_user_type}}</td>
350
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
351
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
352
+ <td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
353
+
354
+ <td style="text-align:center">{{row.ybdays}}</td>
355
+ <td style="text-align:center">{{row.sbdays}}</td>
356
+ <td style="text-align:center">
357
+ <nobr>{{row.max_interval_day}}</nobr>
358
+ </td>
359
+ <td style="text-align:center">
360
+ <nobr>{{row.sldays}}</nobr>
361
+ </td>
362
+ <td style="text-align:center">
363
+ <nobr>{{row.f_meter_brand}}</nobr>
364
+ </td>
365
+ <td style="text-align:center">
366
+ <nobr>{{row.f_meter_style}}</nobr>
367
+ </td>
368
+ <td style="text-align:center">
369
+ <nobr>{{row.f_user_state}}</nobr>
370
+ </td>
371
+ <td style="text-align:center">
372
+ <nobr>{{row.initinsertdate}}</nobr>
373
+ </td>
374
+ <td style="text-align:center">
375
+ <nobr>{{row.last_date}}</nobr>
376
+ </td>
377
+ <td style="text-align:center">
378
+ <nobr>{{row.f_orgname}}</nobr>
379
+ </td>
380
+
381
+ </template>
382
+ </data-grid>
383
+ </criteria-paged>
384
+ </div>
385
+ <div class="flex-row" v-show="echarts" style="width: 100%;height: 90%;">
386
+ <lost-contact-echarts :groupname="groupname[0]" :condition = "condition" :startdate="startDate"
387
+ :enddate="endDate" :echarts="echarts"></lost-contact-echarts>
388
+ </div>
389
+ <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
390
+ <lost-contact-eform :condition="condition"
391
+ ></lost-contact-eform>
392
+ </div>
393
+ </div>
394
+
395
+ <!-- <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">-->
396
+ <!-- <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>-->
397
+ <!-- </div>-->
398
+ <!-- <div class="flex-row" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">-->
399
+ <!-- <lost-contact-eform :condition="model.condition" :startdate="startDate"-->
400
+ <!-- :enddate="endDate"></lost-contact-eform>-->
401
+ <!-- </div>-->
402
+ <div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
403
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
404
+ </div>
405
+ </template>
406
+
407
+ <script>
408
+ import {PagedList} from 'vue-client'
409
+ import UserGasEcharts from '../../components/webmeter/DrillData/UserGasEcharts'
410
+ import * as Util from '../../Util'
411
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
412
+ import {HttpResetClass} from 'vue-client'
413
+ let readySomething = async function (self) {
414
+
415
+ await self.$MagLoadParams.loadParam()
416
+ self.initParams()
417
+ let year = new Date().getFullYear()
418
+ self.$refs.paged.$refs.cri.model.startDate = year+'-01-01 00:00:00'
419
+ // self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
420
+ self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
421
+ self.$refs.paged.$refs.cri.model.f_user_state='正常'
422
+ }
423
+ export default {
424
+ title: '失联分析',
425
+ props: ['data'],
426
+ components: {UserGasEcharts},
427
+ data() {
428
+ return {
429
+ model: new PagedList('api/af-revenue/sql/webmeter_getAllLoseQuery', 20, {
430
+ startDate: 'this.model.startDate',
431
+ endDate: 'this.model.endDate'
432
+ }),
433
+ getfield:{
434
+ "f_userinfo_code":"客户编号","f_user_name":"客户名称","f_residential_area":"小区",
435
+ "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
436
+ "f_meternumber":"表号",
437
+ "f_startuse_date":"启用日期",
438
+ "ybdays":"应报天数",
439
+ "sbdays":"实报天数",
440
+ "max_interval_day":"最长失联天数","sldays":"累计失联天数", "initinsertdate":"最初上报时间","last_date":"最后上报时间",
441
+ "f_meter_brand":"气表厂家","f_orgname":"组织机构"},
442
+ reportStr: null,
443
+ show: false,
444
+ showdetail:false,
445
+ rowdata:{},
446
+ startDate: '',
447
+ endDate: '',
448
+ criteriaShow:false,
449
+ outlets: [],
450
+ gasproperties:[{label: '全部', value: ''}],
451
+ operator: [],
452
+ WarningType: [
453
+ {label: '全部', value: ''}
454
+ ],
455
+ Warningstyles: [
456
+ {label: '全部', value: ''}
457
+ ],
458
+ styles:false,
459
+ filename: '',
460
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
461
+ echarts: false,
462
+ orgid:[this.$login.f.orgid],
463
+ searchshow: false,
464
+ isActiveTotalForm: false,
465
+ condition: '1=1',
466
+ groupname: ['max_days_type'],
467
+ getgroupname: [
468
+ {label: '客户类型', value: 'f_user_type'},
469
+ {label: '用气性质', value: 'f_gasproperties'},
470
+ {label: '分公司', value: 'f_orgname'},
471
+ {label: '最长失联天数', value: 'max_days_type'},
472
+ {label: '合计失联天数', value: 'all_days_type'}
473
+ ],
474
+ org:[this.$login.f.orgid]
475
+
476
+ }
477
+ },
478
+ ready() {
479
+ readySomething(this)
480
+ this.getMeterTypeAndBrand('f_meter_brand', '1=1')
481
+ },
482
+ methods: {
483
+ getMeterType() {
484
+ this.Warningstyle = [{label: '全部', value: ''}]
485
+ this.styles = false
486
+ let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
487
+ this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
488
+ },
489
+ getMeterTypeAndBrand(groupname, condition) {
490
+ condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
491
+ let self = this
492
+ let load = new HttpResetClass()
493
+ load.load('POST', 'api/af-revenue/sql/getMeterStyleAndBrand1', {
494
+ data: {
495
+ condition: condition,
496
+ groupname: groupname
497
+ }
498
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
499
+ for (let i = 0; i < res.data.length; i++) {
500
+ if (groupname == 'f_meter_brand') {
501
+ let dr = {}
502
+ dr.label = res.data[i].f_meter_brand
503
+ dr.value = res.data[i].f_meter_brand
504
+ //气表品牌
505
+ // self.WarningType.push(dr)
506
+ } else if (groupname == 'f_meter_style') {
507
+ self.Warningstyle= [
508
+ {label: '全部', value: ''}
509
+ ],
510
+ self.$refs.paged.$refs.cri.model.f_meter_style=''
511
+ let dr = {}
512
+ dr.label = res.data[i].f_meter_style
513
+ dr.value = res.data[i].f_meter_style
514
+ //气表类型
515
+ self.Warningstyle.push(dr)
516
+ }
517
+ }
518
+ if (self.Warningstyle.length > 1) {
519
+ self.showMeterStyle()
520
+ }
521
+ })
522
+
523
+ },
524
+ showMeterStyle() {
525
+ this.styles = true
526
+ },
527
+ userTypeChange () {
528
+ this.gasproperties=[{label: '全部', value: ''}]
529
+ if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
530
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
531
+
532
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
533
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
534
+ // this.gasproperties.push({label: '全部', value: ''})
535
+ }
536
+ else{
537
+ this.gasproperties =[{label: '全部', value: ''}]
538
+ }
539
+ },
540
+ hidden(){
541
+ this.criteriaShow = !this.criteriaShow
542
+ },
543
+ clickshow() {
544
+ this.searchshow = !this.searchshow
545
+ },
546
+ showmsg(obj){
547
+ this.rowdata=obj
548
+ this.showdetail = true
549
+ },
550
+ cancel() {
551
+ this.showdetail = false
552
+ },
553
+ initParams () {
554
+ let arr = []
555
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
556
+ let temp = {}
557
+ if(item.value.f_meter_type==='物联网表'){
558
+ temp.label = item.label
559
+ temp.value = item.value.f_meter_brand
560
+ arr.push(temp )
561
+ }
562
+
563
+ })
564
+ this.WarningType = [{label: '全部', value: ''}, ...arr]
565
+
566
+ },
567
+ search(args) {
568
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
569
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
570
+ if (this.endDate == '' || this.startDate == '') {
571
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
572
+ }
573
+ this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
574
+ this.model.search(args.condition, args.model)
575
+ },
576
+ getorg(obj) {
577
+ if (obj.resids.length>0) {
578
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
579
+ }else
580
+ {
581
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
582
+ }
583
+ },
584
+ // SaveAsFile(str) {
585
+ // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
586
+ // if (res === 'confirm') {
587
+ // let style = '<style>' +
588
+ // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
589
+ // let strHtml = style + document.getElementById(str).innerHTML;
590
+ // console.log(strHtml);
591
+ // let LODOP = getLodop();
592
+ // LODOP.PRINT_INIT('');
593
+ // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
594
+ // LODOP.SAVE_TO_FILE('失联分析.xls')
595
+ // }
596
+ // })
597
+ // },
598
+ clearmsg() {
599
+ this.$refs.paged.$refs.cri.model = {}
600
+ },
601
+
602
+
603
+ close() {
604
+ this.show = false
605
+ },
606
+ // 显示柱状图
607
+ showEcharts() {
608
+ this.echarts = true
609
+ this.isActiveTotalForm = false
610
+ },
611
+ notShowTotalForm() {
612
+ this.echarts = false
613
+ this.isActiveTotalForm = false
614
+ },
615
+ // 不显示柱状图
616
+ notShowEcharts() {
617
+ this.echarts = false
618
+ this.isActiveTotalForm = false
619
+ },
620
+ // 显示汇总数据表格
621
+ showTotalForm() {
622
+ this.echarts = false
623
+ this.isActiveTotalForm = true
624
+ }
625
+ },
626
+ watch: {
627
+ 'data'(val) {
628
+ if (val.f_files_path) {
629
+ this.getFileContent(val.f_files_path)
630
+ } else {
631
+ this.reportStr = null
632
+ }
633
+ }
634
+ },
635
+ computed: {
636
+ // usertypes () {
637
+ // return this.$appdate.getParams("客户类型")
638
+ // },
639
+ getCondition() {
640
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
641
+ return {
642
+ condition: condition ,
643
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
644
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
645
+ }
646
+
647
+ },
648
+ usertypes() {
649
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
650
+ },
651
+ f_outlets() {
652
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
653
+ },
654
+ valveStatus() {
655
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
656
+ },
657
+ getstate() {
658
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
659
+ },
660
+ userstate() {
661
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
662
+ },
663
+ addressState() {
664
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('是否通气')]
665
+ }
666
+ }
667
+ }
668
+ </script>
669
+ <style>
670
+ .form-input-group label {
671
+ text-align: right;
672
+ width: auto;
673
+ }
674
+
675
+ .mystyle {
676
+ float: right;
677
+ padding-right: 10%;
678
+ }
679
+
680
+ .mystyle1 {
681
+ padding-top: 10px;
682
+
683
+ }
684
+
685
+ .mystyle2 {
686
+ width: 100%;
687
+ height: 35px;
688
+ /*background: #00A3F0;*/
689
+ padding-left: 15px;
690
+ float: left;
691
+ }
692
+
693
+ .datapanel {
694
+ color: #333;
695
+ background-color: white;
696
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
697
+ padding: 10px 30px 10px 30px;
698
+ border-radius: 15px;
699
+ }
700
+ </style>