manage-client 3.3.217 → 3.3.218

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