manage-client 3.3.217 → 3.3.219

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