manage-client 3.2.102 → 3.2.103-03-cs

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 (255) hide show
  1. package/build/dev-server.js +4 -5
  2. package/build/webpack.base.conf.js +17 -17
  3. package/build/webpack.prod.conf.js +106 -23
  4. package/package.json +10 -4
  5. package/src/App.vue +1 -0
  6. package/src/ManageHome.js +2 -6
  7. package/src/components/SellReport/ApplyFillmoney.vue +228 -0
  8. package/src/components/SellReport/BankManager.vue +102 -102
  9. package/src/components/SellReport/Cardapplysgas.vue +274 -0
  10. package/src/components/SellReport/ESaleMonthReport.vue +221 -0
  11. package/src/components/SellReport/GFReportWH.vue +181 -0
  12. package/src/components/SellReport/GasPropertiesManager.vue +151 -0
  13. package/src/components/SellReport/LeftChart.vue +132 -0
  14. package/src/components/SellReport/ManageBusSummary.vue +77 -64
  15. package/src/components/SellReport/ManageBusSummarynopay.vue +237 -0
  16. package/src/components/SellReport/ManageMonthGas.vue +1 -1
  17. package/src/components/SellReport/ManageSellType.vue +1 -1
  18. package/src/components/SellReport/MarketAnjianChuli.vue +228 -0
  19. package/src/components/SellReport/MarketAnjianSituation.vue +228 -0
  20. package/src/components/SellReport/MarketMonthChart.vue +162 -0
  21. package/src/components/SellReport/MarketMonthMoney.vue +237 -0
  22. package/src/components/SellReport/MarketMonthgas.vue +244 -0
  23. package/src/components/SellReport/MarketanjianStyle.vue +228 -0
  24. package/src/components/SellReport/PriceReportWHwu.vue +180 -0
  25. package/src/components/SellReport/ReportHistoryShow.vue +51 -0
  26. package/src/components/SellReport/ReportItems.vue +161 -92
  27. package/src/components/SellReport/ReportPool.vue +91 -19
  28. package/src/components/SellReport/SellDepReport.vue +2 -1
  29. package/src/components/SellReport/Test.vue +862 -0
  30. package/src/components/SellReport/UserFillmoney.vue +420 -0
  31. package/src/components/SellReport/UserGasFillCard.vue +6 -6
  32. package/src/components/SellReport/applysFillmoney.vue +228 -0
  33. package/src/components/SellReport/tl_handgas.vue +244 -0
  34. package/src/components/SellReport/tl_handmoney.vue +244 -0
  35. package/src/components/WebReport/EchartsBox.vue +55 -34
  36. package/src/components/daping/CallCenter.vue +26 -14
  37. package/src/components/daping/DataManagement.vue +45 -39
  38. package/src/components/daping/SafeCheckRing.vue +2 -1
  39. package/src/components/daping/SafecheckBarChart.vue +17 -8
  40. package/src/components/daping/json/dataManage.json +30 -0
  41. package/src/components/qinhua/Pie.vue +18 -8
  42. package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +2 -2
  43. package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +4 -4
  44. package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +165 -0
  45. package/src/components/sale/businessquery/ArrearsQuery.vue +7 -5
  46. package/src/components/sale/businessquery/BalanceTable.vue +5 -1
  47. package/src/components/sale/businessquery/BusinesQuery.vue +6 -0
  48. package/src/components/sale/businessquery/BusinessManage.vue +18 -0
  49. package/src/components/sale/businessquery/CancellationQuery.vue +6 -0
  50. package/src/components/sale/businessquery/CardHandplanQuery.vue +7 -0
  51. package/src/components/sale/businessquery/ChangeMeterQuery.vue +13 -2
  52. package/src/components/sale/businessquery/ChargeQuery.vue +17 -9
  53. package/src/components/sale/businessquery/CollectManage.vue +13 -3
  54. package/src/components/sale/businessquery/CommunityPaymen.vue +3 -3
  55. package/src/components/sale/businessquery/DisableQuery.vue +36 -4
  56. package/src/components/sale/businessquery/EnableQuery.vue +8 -1
  57. package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
  58. package/src/components/sale/businessquery/FillCardQuery.vue +47 -7
  59. package/src/components/sale/businessquery/FillGasQuery.vue +29 -1
  60. package/src/components/sale/businessquery/GasLossQuery.vue +18 -0
  61. package/src/components/sale/businessquery/GroupChargeQuery.vue +6 -10
  62. package/src/components/sale/businessquery/HandBookTwoQuery.vue +700 -0
  63. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +5 -2
  64. package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
  65. package/src/components/sale/businessquery/InspectListGas.vue +238 -246
  66. package/src/components/sale/businessquery/MonthGasQuery.vue +2 -2
  67. package/src/components/sale/businessquery/MoveMeterQuery.vue +10 -4
  68. package/src/components/sale/businessquery/NoBusinessQuery.vue +37 -38
  69. package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +689 -0
  70. package/src/components/sale/businessquery/OtherChargeQuery.vue +7 -1
  71. package/src/components/sale/businessquery/PriceChange.vue +4 -0
  72. package/src/components/sale/businessquery/PrickBillQuery.vue +7 -1
  73. package/src/components/sale/businessquery/PrivilegeQuery.vue +6 -1
  74. package/src/components/sale/businessquery/ProceedsOper.vue +4 -4
  75. package/src/components/sale/businessquery/ReceiptQuery.vue +25 -14
  76. package/src/components/sale/businessquery/ResidentialCardQuery.vue +373 -0
  77. package/src/components/sale/businessquery/ReverseQuery.vue +7 -1
  78. package/src/components/sale/businessquery/SellOrgnameQuery.vue +2 -2
  79. package/src/components/sale/businessquery/SellPeopleQuery.vue +10 -15
  80. package/src/components/sale/businessquery/SendbookQuery.vue +6 -0
  81. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +4 -0
  82. package/src/components/sale/businessquery/TransferQuery.vue +7 -1
  83. package/src/components/sale/businessquery/TransferRecordQuery.vue +179 -0
  84. package/src/components/sale/businessquery/UserSellHeadDetail.vue +4 -4
  85. package/src/components/sale/businessquery/overDueQuery.vue +12 -6
  86. package/src/components/sale/businessquery/priceadjustQuery.vue +6 -0
  87. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +8 -2
  88. package/src/components/sale/businessquery/reportDetail.vue +256 -0
  89. package/src/components/sale/businessquery/sellingChargePrice.vue +4 -5
  90. package/src/components/sale/businessquery/yucunDetails.vue +6 -0
  91. package/src/components/sale/config/exportConfig.js +128 -52
  92. package/src/components/sale/config/tableConfig.js +54 -48
  93. package/src/components/sale/filesquery/MeterQuery.vue +30 -9
  94. package/src/components/sale/filesquery/RecordInfoQuery.vue +103 -92
  95. package/src/components/sale/filesquery/UserQuery.vue +6 -0
  96. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +1 -1
  97. package/src/components/sale/report/aode/MonthByChargeType.vue +2 -1
  98. package/src/components/sale/report/aode/MonthByUserType.vue +2 -1
  99. package/src/components/sale/report/aode/YearByChargeTpye.vue +2 -1
  100. package/src/components/sale/report/aode/YearByUserType.vue +2 -1
  101. package/src/components/sale/resourcequery/LoginQuery.vue +245 -0
  102. package/src/components/sale/resourcequery/ResourceManage.vue +36 -0
  103. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +420 -0
  104. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +383 -0
  105. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
  106. package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -0
  107. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +2 -1
  108. package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
  109. package/src/components/webmeter/DrillData/UserGasEform.vue +1 -1
  110. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +4 -3
  111. package/src/components/webmeter/WebmeterQuery.vue +3 -0
  112. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +432 -0
  113. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +8 -1
  114. package/src/components/webmeter/instruction/NewQueryInstruct.vue +14 -1
  115. package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
  116. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +560 -506
  117. package/src/components/webmeter/recharge/RechargeList.vue +1 -1
  118. package/src/components/webmeter/report/ReportList.vue +5 -5
  119. package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
  120. package/src/filiale/WEINAN/BusinessManage.vue +13 -5
  121. package/src/filiale/WEINAN/CancellationQuery.vue +422 -0
  122. package/src/filiale/WEINAN/ChargeQuery.vue +70 -76
  123. package/src/filiale/WEINAN/CollectManage.vue +148 -0
  124. package/src/filiale/WEINAN/DisableQuery.vue +523 -0
  125. package/src/filiale/WEINAN/EnableQuery.vue +456 -0
  126. package/src/filiale/WEINAN/FillGasQuery.vue +6 -2
  127. package/src/filiale/WEINAN/MeterQuery.vue +34 -7
  128. package/src/filiale/WEINAN/NewAccountQuery.vue +409 -0
  129. package/src/filiale/WEINAN/OtherChargeQuery.vue +8 -7
  130. package/src/filiale/WEINAN/RecordInfoQuery.vue +5 -2
  131. package/src/filiale/WEINAN/config/exportConfig.js +24 -33
  132. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +46 -38
  133. package/src/filiale/WEINAN/sale.js +13 -4
  134. package/src/filiale/dongguan/components/SellReport/BankManager.vue +146 -0
  135. package/src/filiale/dongguan/components/SellReport/SiteManager.vue +147 -0
  136. package/src/filiale/dongguan/components/WebReport/BussinessType.vue +137 -0
  137. package/src/filiale/dongguan/components/WebReport/Paymentpie.vue +157 -0
  138. package/src/filiale/dongguan/reportManage.js +21 -0
  139. package/src/filiale/gaomi/MeterQuery.vue +37 -7
  140. package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +30 -7
  141. package/src/filiale/jingwei/RecordInfoQuery.vue +55 -33
  142. package/src/filiale/kelai/UserQuery.vue +963 -0
  143. package/src/filiale/kelai/exportConfig.js +1062 -0
  144. package/src/filiale/kelai/sale.js +8 -0
  145. package/src/filiale/liaoyuan/RecordInfoQuery.vue +3 -1
  146. package/src/filiale/liaoyuan/exportConfig.js +2 -1
  147. package/src/filiale/macheng/HandplanQuery.vue +6 -0
  148. package/src/filiale/macheng/MeterQuery.vue +28 -5
  149. package/src/filiale/macheng/MonthGasQuery.vue +2 -2
  150. package/src/filiale/macheng/RecordInfoQuery.vue +2 -2
  151. package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +394 -0
  152. package/src/filiale/macheng/config/exportConfig.js +3 -3
  153. package/src/filiale/macheng/webmeterManage.js +9 -0
  154. package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
  155. package/src/filiale/meihekou/HandplanQuery.vue +9 -3
  156. package/src/filiale/meihekou/UserQuery.vue +14 -4
  157. package/src/filiale/qianneng/ArrearsQuery.vue +27 -7
  158. package/src/filiale/qianneng/BusinessManage.vue +182 -0
  159. package/src/filiale/qianneng/ChargeQuery.vue +194 -187
  160. package/src/filiale/qianneng/GasLossQuery.vue +632 -0
  161. package/src/filiale/qianneng/HandplanQuery.vue +221 -168
  162. package/src/filiale/qianneng/MeterQuery.vue +54 -1
  163. package/src/filiale/qianneng/OtherChargeQuery.vue +33 -31
  164. package/src/filiale/qianneng/SellDepReport.vue +27 -7
  165. package/src/filiale/qianneng/UserQuery.vue +938 -0
  166. package/src/filiale/qianneng/exportConfig.js +28 -35
  167. package/src/filiale/qianneng/sale.js +5 -1
  168. package/src/filiale/qingtongxia/MeterQuery.vue +30 -7
  169. package/src/filiale/qingtongxia/MonthGasQuery.vue +480 -0
  170. package/src/filiale/qingtongxia/RecordInfoQuery.vue +12 -4
  171. package/src/filiale/qingtongxia/SellPeopleQuery.vue +8 -13
  172. package/src/filiale/qingtongxia/sale.js +2 -0
  173. package/src/filiale/rizhao/ChargeQuery.vue +1295 -0
  174. package/src/filiale/rizhao/InspectListUser.vue +451 -0
  175. package/src/filiale/rizhao/sale.js +16 -0
  176. package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
  177. package/src/filiale/rongcheng/exportConfig.js +2 -2
  178. package/src/filiale/shaoguan/ArrearsQuery.vue +15 -15
  179. package/src/filiale/shaoguan/TransferQuery.vue +8 -3
  180. package/src/filiale/shaoguan/config/exportConfig.js +2 -2
  181. package/src/filiale/tongchuan/ChargeQuery.vue +1319 -1319
  182. package/src/filiale/tongchuan/DeviceQuery.vue +1 -1
  183. package/src/filiale/tongchuan/FillGasQuery.vue +11 -2
  184. package/src/filiale/tongchuan/MeterQuery.vue +3 -5
  185. package/src/filiale/tongchuan/PriceChangeQuery.vue +1 -1
  186. package/src/filiale/tongchuan/ReportList.vue +29 -32
  187. package/src/filiale/tongchuan/UserDeviceQuery.vue +1 -1
  188. package/src/filiale/tongchuan/config/exportConfig.js +10 -19
  189. package/src/filiale/wuhai/ChargeQuery.vue +28 -11
  190. package/src/filiale/xinkang/ChargeQuery.vue +1308 -0
  191. package/src/filiale/xinkang/sale.js +10 -0
  192. package/src/filiale/zhongsheng/config/exportConfig.js +2 -2
  193. package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +116 -0
  194. package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +180 -0
  195. package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +322 -0
  196. package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +140 -0
  197. package/src/filiale/zhongyi/CallReport/RateBottom.vue +143 -0
  198. package/src/filiale/zhongyi/CallReport/RateTop.vue +144 -0
  199. package/src/filiale/zhongyi/CallReport/ScrollContent.vue +143 -0
  200. package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +385 -0
  201. package/src/filiale/zhongyi/CallReport/SwiperTools.vue +161 -0
  202. package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +143 -0
  203. package/src/filiale/zhongyi/CallReport/Time.vue +100 -0
  204. package/src/filiale/zhongyi/CallReport/Userinfo.vue +97 -0
  205. package/src/filiale/zhongyi/CallReport/WeatherData.vue +44 -0
  206. package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
  207. package/src/filiale/zhongyi/GasStatistics.vue +499 -0
  208. package/src/filiale/zhongyi/MeterExceptionList.vue +599 -0
  209. package/src/filiale/zhongyi/sale.js +46 -0
  210. package/src/main.js +66 -66
  211. package/src/newmanage.js +116 -113
  212. package/src/reportManage.js +82 -9
  213. package/src/saleManage.js +599 -558
  214. package/src/webmeterManage.js +9 -8
  215. package/static/fonts/font.css +6 -0
  216. package/static/fonts//351/230/277/351/207/214/346/261/211/344/273/252/346/231/272/350/203/275/351/273/221/344/275/223.TTF +0 -0
  217. package/static/images/zhongyi/Pigeon.png +0 -0
  218. package/static/images/zhongyi/background.png +0 -0
  219. package/static/images/zhongyi/blueArrows.png +0 -0
  220. package/static/images/zhongyi/blueBall.png +0 -0
  221. package/static/images/zhongyi/blueLadder.png +0 -0
  222. package/static/images/zhongyi/blueLine.png +0 -0
  223. package/static/images/zhongyi/bluebg.png +0 -0
  224. package/static/images/zhongyi/bulebg2.png +0 -0
  225. package/static/images/zhongyi/chart-2@2x.png +0 -0
  226. package/static/images/zhongyi/cloudy.png +0 -0
  227. package/static/images/zhongyi/exclamationPoint.png +0 -0
  228. package/static/images/zhongyi/netHall.png +0 -0
  229. package/static/images/zhongyi/orangebg.png +0 -0
  230. package/static/images/zhongyi/phone1.png +0 -0
  231. package/static/images/zhongyi/phone2.png +0 -0
  232. package/static/images/zhongyi/phone3.png +0 -0
  233. package/static/images/zhongyi/phone4.png +0 -0
  234. package/static/images/zhongyi/phone5.png +0 -0
  235. package/static/images/zhongyi/refresh.png +0 -0
  236. package/static/images/zhongyi/ring.png +0 -0
  237. package/static/images/zhongyi/service1.png +0 -0
  238. package/static/images/zhongyi/service2.png +0 -0
  239. package/static/images/zhongyi/telephone1.png +0 -0
  240. package/static/images/zhongyi/telephone2.png +0 -0
  241. package/static/images/zhongyi/trumpet.png +0 -0
  242. package/static/images/zhongyi/weChat.png +0 -0
  243. package/static/images/zhongyi/workOrder.png +0 -0
  244. package/static/images/zhongyi/yellowArrows.png +0 -0
  245. package/static/images/zhongyi/yellowBall.png +0 -0
  246. package/static/images/zhongyi/yellowLadder.png +0 -0
  247. package/static/images/zhongyi/yellowbg.png +0 -0
  248. package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235 2@2x.png +0 -0
  249. package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235@2x.png +0 -0
  250. package/static/images/zhongyi//347/256/255/345/244/264 19 1.png +0 -0
  251. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  252. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  253. package/.gradle/6.1/gc.properties +0 -0
  254. package/.gradle/buildOutputCleanup/built.bin +0 -0
  255. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
@@ -0,0 +1,963 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" >
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">客户编号</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
24
+ </div>
25
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body">客户电话</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
28
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
29
+ </div>
30
+ <div class="span" style="float:right;">
31
+ <button class="button_search button_spacing" @click="search()">查询</button>
32
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
33
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
34
+
35
+ <export-excel :data="$parent.$parent.getCondition"
36
+ :field="$parent.$parent.getExportField"
37
+ :footer="$parent.$parent.footer"
38
+ :header="$parent.$parent.other"
39
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
40
+ sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出'
41
+ :choose-col="true"></export-excel>
42
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
43
+ :defaultfield="$parent.$parent.defaultfield"
44
+ titletable="客户查询"
45
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
46
+
47
+ <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>
48
+ </div>
49
+ </div>
50
+ <div class="row" v-show="$parent.$parent.criteriaShow">
51
+
52
+ <div class="col-sm-2 form-group">
53
+ <label class="font_normal_body">身份证号</label>
54
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
55
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">客户状态</label>
59
+ <v-select :value.sync="model.f_user_state"
60
+ v-model="model.f_user_state"
61
+ :options='$parent.$parent.userstates' placeholder='请选择'
62
+ condition="f_user_state = '{}'"
63
+ close-on-select></v-select>
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">用户类型</label>
67
+ <v-select :value.sync="model.f_user_type"
68
+ v-model="model.f_user_type" condition="f_user_type = '{}'"
69
+ :options='$parent.$parent.userTypes' placeholder='请选择'
70
+ close-on-select></v-select>
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人数&nbsp;&nbsp;&nbsp;</label>
74
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
75
+ condition="f_people_num = '{}'" placeholder="人数">
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">微信绑定</label>
79
+ <v-select
80
+ :value.sync="model.f_wechat"
81
+ v-model="model.f_wechat"
82
+ :options='$parent.$parent.weixinSign'
83
+ placeholder='请选择'
84
+ condition="f_wechat = '{}'"
85
+ close-on-select>
86
+ </v-select>
87
+ </div>
88
+ <div class="col-sm-2 form-group">
89
+ <label class="font_normal_body" >缴费类型</label>
90
+ <v-select :value.sync="model.f_payment" multiple
91
+ v-model="model.f_payment"
92
+ :options='$parent.$parent.dypayment' placeholder='请选择'
93
+ condition="f_cost_type in {}"
94
+ close-on-select></v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group">
97
+ <label class="font_normal_body">客户地址</label>
98
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
99
+ condition="f_address like '%{}%'" placeholder='客户地址'>
100
+ </div>
101
+ <div class="col-sm-2 form-group">
102
+ <label for="startDate" class="font_normal_body">建档日期</label>
103
+ <datepicker placeholder="建档日期" style="width:60%"
104
+ v-model="model.f_createfile_date"
105
+ :value.sync="model.f_createfile_date"
106
+ :format="'yyyy-MM-dd'"
107
+ :show-reset-button="true"
108
+ condition="f_createfile_date >= '{} 00:00:00'">
109
+ </datepicker>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label class="font_normal_body">建档部门</label>
113
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_depname"
114
+ condition="f_depname like '%{}%'" placeholder='建档部门'>
115
+ </div>
116
+ <div class="col-sm-2 form-group">
117
+ <label class="font_normal_body">报警器编码</label>
118
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_alarm_code"
119
+ condition="f_alarm_code like '%{}%'" placeholder='报警器编码'>
120
+ </div>
121
+ <div class="col-sm-2 form-group">
122
+ <label class="font_normal_body">发票编码</label>
123
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_taxpayer_id"
124
+ condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
125
+ </div>
126
+ <div class="col-sm-2 form-group">
127
+ <label class="font_normal_body">燃气表号</label>
128
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
129
+ condition="f_meternumber like '%{}%'" placeholder='燃气表号'>
130
+ </div>
131
+ <!-- <div class="col-sm-2">-->
132
+ <!-- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区名称&nbsp;&nbsp;&nbsp;</label>-->
133
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"-->
134
+ <!-- condition="f_residential_area like '%{}%'" placeholder="小区"/>-->
135
+ <!-- <div class="col-sm-8">&ndash;&gt;-->
136
+ <!-- <input type="text" v-show="false" v-model="model.f_residential_area" class="input_search" style="width: 80%"&ndash;&gt;-->
137
+ <!--; v-validate:f_residential_area='{required: true }'>&ndash;&gt;-->
138
+ <!-- <v-select :value.sync="model.f_residential_area" :value-single="true"&ndash;&gt;-->
139
+ <!-- class="select_list select"&ndash;&gt;-->
140
+ <!-- :options='fresidentialarea' placeholder='请选择'&ndash;&gt;-->
141
+ <!-- close-on-select search="true">&ndash;&gt;-->
142
+ <!-- </v-select>-->
143
+ <!-- </div>-->
144
+
145
+ <div class="col-sm-2 form-group">
146
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
147
+ <v-select :value.sync="model.f_residential_area"
148
+ class="select_list select"
149
+ enter-push
150
+ multiple = "true"
151
+ v-model="model.f_residential_area"
152
+ style="width: 60%"
153
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
154
+ close-on-select>
155
+
156
+ </v-select>
157
+ </div>
158
+ <div class="col-sm-2 form-group">
159
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼栋&nbsp;&nbsp;&nbsp;</label>
160
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
161
+ condition="f_building like '%{}%'" placeholder="楼栋"/>
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;单元&nbsp;&nbsp;&nbsp;</label>
165
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
166
+ condition="f_unit like '%{}%'" placeholder="单元"/>
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;楼层&nbsp;&nbsp;</label>
170
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
171
+ condition="f_floor like '%{}%'" placeholder="楼层"/>
172
+ </div>
173
+ <div class="col-sm-2 form-group">
174
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;门牌号</label>
175
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
176
+ condition="f_room like '%{}%'" placeholder="门牌号">
177
+ </div>
178
+ <div class="col-sm-2 form-group">
179
+ <label class="font_normal_body">余额区间</label>
180
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
181
+ condition="f_balance >= '{}'" placeholder="最小值">
182
+ </div>
183
+ <div class="col-sm-2 form-group">
184
+ <label class="font_normal_body">&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
185
+ <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
186
+ condition="f_balance <= '{}'" placeholder="最大值">
187
+ </div>
188
+ <div class="col-sm-2 form-group">
189
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;抄表员</label>
190
+ <v-select :value.sync="model.f_inputtor"
191
+ v-model="model.f_inputtor" condition="f_inputtor = '{}'"
192
+ :options='$parent.$parent.inputtores' placeholder='请选择'
193
+ multiple = "true"
194
+ close-on-select></v-select>
195
+ </div>
196
+
197
+ <!-- <div class="col-sm-2" >-->
198
+ <!-- <label for="f_balance" class="font_normal_body">账户结余</label>-->
199
+ <!-- <div class="form-group">-->
200
+ <!-- <v-input id="f_balance" placeholder="账户结余"-->
201
+ <!-- :expression.sync = 'model.f_balance'-->
202
+ <!-- v-model="model.f_balance"-->
203
+ <!-- condition= "f_balance {}"-->
204
+ <!-- :show-reset-button="reset"-->
205
+ <!-- v-ref:f_balance>-->
206
+ <!-- </v-input>-->
207
+ <!-- </div>-->
208
+ <!-- </div>-->
209
+ <div class="col-sm-2 form-group">
210
+ <label for="startDate" class="font_normal_body">开始日期</label>
211
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
212
+ v-model="model.startDate"
213
+ :value.sync="model.startDate"
214
+ :format="'yyyy-MM-dd'"
215
+ :show-reset-button="true"
216
+ condition="f_createfile_date >= '{} 00:00:00'">
217
+ </datepicker>
218
+ </div>
219
+ <div class="col-sm-2 form-group">
220
+ <label for="endDate" class="font_normal_body">结束日期</label>
221
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
222
+ v-model="model.endDate"
223
+ :value.sync="model.endDate"
224
+ :format="'yyyy-MM-dd'"
225
+ :show-reset-button="true"
226
+ condition="f_createfile_date <= '{} 23:59:59'">
227
+ </datepicker>
228
+ </div>
229
+ <!--表册片区-->
230
+ <div class="col-sm-2 form-group">
231
+ <label class="font_normal_body">表册片区</label>
232
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
233
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
234
+ style="width:60%"
235
+ close-on-select
236
+ condition="f_book_slice_area = '{}'"></v-select>
237
+ </div>
238
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
239
+ <div class="col-sm-2 form-group">
240
+ <label class="font_normal_body">客户等级</label>
241
+ <v-select :value.sync="model.f_user_level"
242
+ v-model="model.f_user_level" condition="f_user_level in {}"
243
+ :options='$parent.$parent.userLevels' placeholder='请选择'
244
+ multiple = "true"
245
+ close-on-select></v-select>
246
+ </div>
247
+ <div class="col-sm-2 form-group">
248
+ <label class="font_normal_body">通气状态</label>
249
+ <v-select :value.sync="model.f_address_state"
250
+ v-model="model.f_address_state" condition="f_address_state = '{}'"
251
+ :options='$parent.$parent.addressstate' placeholder='请选择'
252
+ close-on-select></v-select>
253
+ </div>
254
+ <div class="col-sm-2 form-group">
255
+ <label for="startGasDate" class="font_normal_body">通气时间</label>
256
+ <datepicker id="startGasDate" placeholder="开始日期" style="width:60%"
257
+ v-model="model.startGasDate"
258
+ :value.sync="model.startGasDate"
259
+ :format="'yyyy-MM-dd'"
260
+ :show-reset-button="true"
261
+ condition="f_gas_date >= '{} 00:00:00'">
262
+ </datepicker>
263
+ </div>
264
+ <div class="col-sm-2 form-group">
265
+ <label for="endGasDate" class="font_normal_body">至</label>
266
+ <datepicker id="endGasDate" placeholder="结束日期" style="width:60%"
267
+ v-model="model.endGasDate"
268
+ :value.sync="model.endGasDate"
269
+ :format="'yyyy-MM-dd'"
270
+ :show-reset-button="true"
271
+ condition="f_gas_date <= '{} 23:59:59'">
272
+ </datepicker>
273
+ </div>
274
+ <div class="col-sm-2 form-group">
275
+ <label class="font_normal_body">发卡状态</label>
276
+ <v-select :value.sync="model.f_whether_hairpin"
277
+ v-model="model.f_whether_hairpin" condition="f_whether_hairpin = '{}'"
278
+ :options='$parent.$parent.hairpin' placeholder='请选择'
279
+ close-on-select></v-select>
280
+ </div>
281
+ <div class="col-sm-2 form-group">
282
+ <label class="font_normal_body">特殊用户</label>
283
+ <v-select :value.sync="model.f_usetype"
284
+ v-model="model.f_usetype" condition="f_usetype = '{}'"
285
+ :options='$parent.$parent.usetype' placeholder='请选择'
286
+ close-on-select></v-select>
287
+ </div>
288
+
289
+ </div>
290
+ </div>
291
+ </criteria>
292
+
293
+
294
+ <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
295
+ <template partial='head'>
296
+ <tr>
297
+ <th>
298
+ <!--<nobr>客户编号</nobr>-->
299
+ <data-order field="f_userinfo_code" name="客户编号"
300
+ :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
301
+ </th>
302
+ <th>
303
+ <nobr>客户名称</nobr>
304
+ </th>
305
+ <th>
306
+ <nobr>档案编号</nobr>
307
+ </th>
308
+ <th>
309
+ <nobr>客户电话</nobr>
310
+ </th>
311
+ <th>
312
+ <nobr>身份证号</nobr>
313
+ </th>
314
+ <th>
315
+ <nobr>表册片区</nobr>
316
+ </th>
317
+ <th>
318
+ <nobr>账户余额</nobr>
319
+ </th>
320
+ <th>
321
+ <nobr>客户等级</nobr>
322
+ </th>
323
+ <th>
324
+ <nobr>用户类型</nobr>
325
+ </th>
326
+ <th>
327
+ <data-order field="f_address" name="客户地址"
328
+ :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
329
+ </th>
330
+ <th>
331
+ <nobr>表号</nobr>
332
+ </th>
333
+ <th>
334
+ <nobr>小区</nobr>
335
+ </th>
336
+ <th>
337
+ <nobr>楼栋</nobr>
338
+ </th>
339
+ <th>
340
+ <nobr>单元</nobr>
341
+ </th>
342
+ <th>
343
+ <nobr>楼层</nobr>
344
+ </th>
345
+ <th>
346
+ <nobr>门牌号</nobr>
347
+ </th>
348
+ <th>
349
+ <nobr>客户状态</nobr>
350
+ </th>
351
+ <th>
352
+ <!--<nobr>建档日期</nobr>-->
353
+ <data-order field="f_createfile_date" name="建档日期"
354
+ :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>
355
+ </th>
356
+ <th>
357
+ <nobr>建档人</nobr>
358
+ </th>
359
+ <th>
360
+ <nobr>缴费类型</nobr>
361
+ </th>
362
+ <th>
363
+ <nobr>银行户名</nobr>
364
+ </th>
365
+ <th>
366
+ <nobr>银行名称</nobr>
367
+ </th>
368
+ <th>
369
+ <nobr>银行账号</nobr>
370
+ </th>
371
+ <th>
372
+ <nobr>银行身份证号</nobr>
373
+ </th>
374
+ <th>
375
+ <nobr>缴费编号</nobr>
376
+ </th>
377
+ <th>
378
+ <nobr>通气状态</nobr>
379
+ </th>
380
+ <th>
381
+ <nobr>发卡状态</nobr>
382
+ </th>
383
+ <th>
384
+ <nobr>特殊用户</nobr>
385
+ </th>
386
+ <th>
387
+ <nobr>备注</nobr>
388
+ </th>
389
+ <!-- <th>-->
390
+ <!-- <nobr>部门</nobr>-->
391
+ <!-- </th>-->
392
+ <!-- <th>-->
393
+ <!-- <nobr>公司</nobr>-->
394
+ <!-- </th>-->
395
+ </tr>
396
+ </template>
397
+ <template partial='body'>
398
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;" ><nobr>
399
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
400
+ </nobr> </td>
401
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
402
+ <nobr>{{row.f_user_name}}</nobr>
403
+ </td>
404
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
405
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
406
+ </td>
407
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
408
+ <nobr>{{row.f_user_phone}}</nobr>
409
+ </td>
410
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
411
+ <nobr>{{row.f_idnumber}}</nobr>
412
+ </td>
413
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
414
+ <nobr>{{row.f_book_slice_area}}</nobr>
415
+ </td>
416
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
417
+ <nobr>{{row.f_balance}}</nobr>
418
+ </td>
419
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
420
+ <nobr>{{row.f_user_level}}</nobr>
421
+ </td>
422
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
423
+ <nobr>{{row.f_user_type}}</nobr>
424
+ </td>
425
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
426
+ <nobr>{{row.f_address}}</nobr>
427
+ </td>
428
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
429
+ <nobr>{{row.f_meternumber}}</nobr>
430
+ </td>
431
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
432
+ <nobr>{{row.f_residential_area}}</nobr>
433
+ </td>
434
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
435
+ <nobr>{{row.f_building}}</nobr>
436
+ </td>
437
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
438
+ <nobr>{{row.f_unit}}</nobr>
439
+ </td>
440
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
441
+ <nobr>{{row.f_floor}}</nobr>
442
+ </td>
443
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
444
+ <nobr>{{row.f_room}}</nobr>
445
+ </td>
446
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
447
+ <nobr>{{row.f_user_state}}</nobr>
448
+ </td>
449
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
450
+ <nobr>{{row.f_createfile_date}}</nobr>
451
+ </td>
452
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
453
+ <nobr>{{row.f_createfile_person}}</nobr>
454
+ </td>
455
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
456
+ <nobr>{{row.f_cost_type}}</nobr>
457
+ </td>
458
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
459
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
460
+ </td>
461
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
462
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
463
+ </td>
464
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
465
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
466
+ </td>
467
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
468
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
469
+ </td>
470
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
471
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
472
+ </td>
473
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
474
+ <nobr>{{row.f_address_state}}</nobr>
475
+ </td>
476
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
477
+ <nobr>{{row.f_whether_hairpin}}</nobr>
478
+ </td>
479
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
480
+ <nobr>{{row.f_usetype}}</nobr>
481
+ </td>
482
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
483
+ <nobr>{{row.f_comments}}</nobr>
484
+ </td>
485
+ <!-- <td style="text-align: center;">-->
486
+ <!-- <nobr>{{row.f_depname}}</nobr>-->
487
+ <!-- </td>-->
488
+ <!-- <td style="text-align: center;">-->
489
+ <!-- <nobr>{{row.f_orgname}}</nobr>-->
490
+ <!-- </td>-->
491
+ </template>
492
+ <template partial='foot'>
493
+ </template>
494
+ </data-grid>
495
+ </criteria-paged>
496
+
497
+ <table class="table-hover">
498
+ <tr style="position: relative" class="table-bordered">
499
+ <td
500
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
501
+ 汇总信息
502
+ </td>
503
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
504
+ 结余合计:&emsp;{{sumsmodel.f_balance}}
505
+ </td>
506
+ </tr>
507
+ </table>
508
+
509
+ <!--<modal :show.sync="printshow" v-ref:modal backdrop="false">-->
510
+ <!--<header slot="modal-header" class="modal-header text-center">-->
511
+ <!--<h4 class="modal-title">打印列选择</h4>-->
512
+ <!--<input type="checkbox" class="" id="f_generations" v-model="all">-->
513
+ <!--<label for="f_generations" class="font-size">全选</label>-->
514
+ <!--</header>-->
515
+ <!--<article slot="modal-body">-->
516
+ <!--<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">-->
517
+ <!--<div class="col-sm-3" v-for="f in fields">-->
518
+ <!--<input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">-->
519
+ <!--<label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>-->
520
+ <!--</div>-->
521
+ <!--</div>-->
522
+ <!--</article>-->
523
+ <!--<footer slot="modal-footer" class="modal-footer">-->
524
+ <!--<center>-->
525
+ <!--<button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>-->
526
+ <!--<button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>-->
527
+ <!--<print-table :model='model' v-show="false" v-ref:print-->
528
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
529
+ <!--:thead="thead" :tfoot='tfoot' :attach="yangsen"-->
530
+ <!--:fields="modelval" :printpage="true">-->
531
+ <!--</print-table>-->
532
+ <!--</center>-->
533
+ <!--</footer>-->
534
+ <!--</modal>-->
535
+ <!--<user-detail v-if="userdetail.show" :data="userdetail"></user-detail>-->
536
+ </div>
537
+
538
+ </div>
539
+ </div>
540
+ <div class="basic-main" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
541
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
542
+ </div>
543
+ </div>
544
+ </template>
545
+
546
+ <script>
547
+ import {HttpResetClass, PagedList} from 'vue-client'
548
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
549
+ import exportConfig from './exportConfig'
550
+
551
+ let readySomething = async function (self) {
552
+ self.$MagGetSaleParam.initinputtor();
553
+ self.getinputtores();
554
+ // 获取区县
555
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
556
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
557
+ // await self.$refs.paged.$refs.cri.search()
558
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
559
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
560
+ }
561
+
562
+ export default {
563
+ title: '客户查询',
564
+ data() {
565
+ return {
566
+ other:[],
567
+ footer:[],
568
+ model: new PagedList('rs/sql/filesQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_userinfo_code desc'`}, {f_balance: 0}),
569
+ criteriaShow: false,
570
+ orgCondtionStr: '',
571
+ modelval: [],
572
+ printshow: false,
573
+ all: false,
574
+ fields: {},
575
+ //排序
576
+ orderitem:'f_userinfo_code desc',
577
+ orderFields: {
578
+ f_operate_date: 'no'
579
+ },
580
+ //默认打印列
581
+ defaultfield: [],
582
+ config: {
583
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
584
+ },
585
+ balance2:'',
586
+ thead: '',
587
+ tfoot: '',
588
+ area: [],
589
+ //合计数据
590
+ sumsmodel: {},
591
+ initres: {
592
+ org:[this.$login.f.orgid],
593
+ dep:[],
594
+ user:[],
595
+ },
596
+ userdetail: {
597
+ show: false,
598
+ f_userinfo_code: '',
599
+ f_filialeids: ''
600
+ },
601
+
602
+ show:false,
603
+ rowdata:{},
604
+ meterInfo:{},
605
+ deviceInfo:{},
606
+ condition2:'',
607
+
608
+
609
+ weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
610
+ //小区
611
+ residentialArea: [],
612
+ //表册片区
613
+ bookSlice:[{label: '全部',value: ''}],
614
+ inputtores:[{label: '全部',value: ''}], //抄表员
615
+ allorgid:[],
616
+ f_filialeid: this.$login.f.f_orgid,
617
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
618
+ }
619
+ },
620
+ ready() {
621
+ this.getaddress()
622
+ this.$refs.paged.$refs.cri.model.f_user_state=['正常']
623
+ readySomething(this).then(() => {
624
+ this.$emit('ready')
625
+ }).catch((error) => {
626
+ this.$emit('error', error)
627
+ })
628
+ this.initAreas(this.$login.f.orgid)
629
+ },
630
+ methods: {
631
+ async getinputtores () {
632
+ // 获取抄表员
633
+ let rs = []
634
+ if (this.$login.f.f_gasman.length > 0) {
635
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
636
+ let temp = {
637
+ label: this.$login.f.f_gasman[i].name,
638
+ value: this.$login.f.f_gasman[i].name
639
+ }
640
+ rs.push(temp)
641
+ }
642
+ }
643
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
644
+ },
645
+ async updateParams() {
646
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
647
+ this.inputtores = [];
648
+ this.inputtores.push({label: "全部", value: ""})
649
+ this.initSlice(this.f_filialeid)
650
+ if(this.allorgid!=null){
651
+ this.allorgid.forEach((res)=>{
652
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
653
+ })
654
+ }
655
+ },
656
+ getotherfooter () {
657
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
658
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
659
+ this.other = [];
660
+ this.footer = [];
661
+ let exportdata = this.getCondition;
662
+ let otherInData = [];
663
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
664
+ let footerData = [], exportfield = this.getExportField;
665
+ footerData.push("合计");
666
+ let self = this;
667
+ for (var field in self.sumsmodel) {
668
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
669
+ }
670
+ this.footer.push(footerData);
671
+ this.other.push(otherInData);
672
+ },
673
+ async getaddress(){
674
+ console.log('开始获取小区')
675
+ let HttpReset = new HttpResetClass()
676
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
677
+ data: {
678
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
679
+ }
680
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
681
+ console.log('小区',data)
682
+ let house = []
683
+ for (let row of data.data){
684
+ console.log('开始保存小区')
685
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
686
+ }
687
+ this.residentialArea = house
688
+ },
689
+
690
+ //把数据库查询数据转换为下拉数据
691
+ calculate(rows){
692
+ let data = []
693
+ rows.forEach((row, n) => {
694
+ data[n] = {label: row.f_residential_area, value: row.id}
695
+ })
696
+ return data
697
+ },
698
+ search(){
699
+ this.$refs.paged.$refs.cri.search()
700
+ },
701
+ cancel(obj) {
702
+ this.show = false
703
+ },
704
+ showmsg(obj){
705
+
706
+ this.rowdata=obj
707
+ this.show=true
708
+ // let http = new HttpResetClass()
709
+ // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
710
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
711
+ // this.meterInfo = res.data})
712
+ // let http2 = new HttpResetClass()
713
+ // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
714
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
715
+ // this.deviceInfo = res.data})
716
+
717
+ // this.f_userinfo_id=obj.f_userinfo_id
718
+ },
719
+ //初始化片区
720
+ async initSlice (val) {
721
+ if (val) {
722
+ let getAllArea = await this.$resetpost('/rs/search', {
723
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
724
+ userid: this.$login.f.id
725
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
726
+ let arr = getAllArea.data.filter((res) => {
727
+ return res.parentid == val
728
+ })
729
+ this.bookSlice = []
730
+ console.log('过滤之后的片区-------------------', arr)
731
+ arr.forEach((res) => {
732
+ this.bookSlice.push({label: res.name, value: res.name})
733
+ })
734
+ }
735
+ },
736
+ async initAreas (val) {
737
+
738
+ if (val) {
739
+ let getAllArea = await this.$resetpost('/rs/search', {
740
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
741
+ userid: this.$login.f.id
742
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
743
+
744
+ let arr = getAllArea.data.filter((res) => {
745
+ return res.parentid == val
746
+ })
747
+ console.log('过滤之后的片区', arr)
748
+ this.sliceArea = []
749
+ arr.forEach((res) => {
750
+ this.sliceArea.push({label: res.name, value: res.name})
751
+ })
752
+ }
753
+ },
754
+ selfSearch(args) {
755
+ //小区查询条件
756
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
757
+ console.log("=====小区model绑定====",this.area)
758
+ if(this.area.length !== 0){
759
+ let str = JSON.stringify(this.area)
760
+ str = str.replace(/"/g,`'`)
761
+ str = str.replace(/\[/g,``)
762
+ str = str.replace(/\]/g,``)
763
+ console.log("=====小区model22222222222绑定====",str)
764
+ //查询多个小区时条件
765
+ args.condition += ` and f_residential_area in ( ${str} )`
766
+ }
767
+
768
+ if (!this.orgCondtionStr) {
769
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
770
+ } else {
771
+ args.condition = `${args.condition}` + this.orgCondtionStr
772
+ }
773
+ this.condition2 = args.condition
774
+ this.model.search(args.condition, args.model)
775
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
776
+ console.log('合计字段', this.sumsmodel)
777
+ },
778
+ clear() {
779
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
780
+ this.$refs.paged.$refs.cri.model[key] = []
781
+ })
782
+ },
783
+ hidden() {
784
+ this.criteriaShow = !this.criteriaShow
785
+ },
786
+ getRes(obj) {
787
+ this.orgCondtionStr = obj
788
+ },
789
+ stamp() {
790
+ this.all = false
791
+ //默认选择要打印的列
792
+ this.modelval = defaultPrint.config
793
+ this.fields = this.getfield
794
+ console.log('所有打印字段', this.fields)
795
+ this.printshow = true
796
+ this.put()
797
+ },
798
+ put() {
799
+ // 对Modelval进行排序
800
+ this.sortModelval()
801
+ this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
802
+ for (let key of this.modelval) {
803
+ this.thead += '<th>' + this.fields[key] + '</th>'
804
+ }
805
+ this.thead += '</tr>'
806
+ },
807
+ print() {
808
+ this.$refs.print.PrintAsFile()
809
+ this.printshow = false
810
+ },
811
+ close() {
812
+ this.printshow = false
813
+ },
814
+ // 对选择的列进行排序
815
+ sortModelval() {
816
+ let sortModel = []
817
+ Object.keys(this.fields).forEach((key) => {
818
+ if (this.modelval.includes(key)) {
819
+ sortModel.push(key)
820
+ }
821
+ })
822
+ this.modelval = sortModel
823
+ console.log('选择的打印的字段', this.modelval)
824
+ },
825
+ dblclick(row, index) {
826
+ console.log('双击之后数据', row, index)
827
+ this.userdetail.show = true
828
+ this.userdetail.f_userinfo_code = row.f_userinfo_code
829
+ this.userdetail.f_filialeids = row.f_filialeids
830
+ },
831
+ sort (field, rule) {
832
+ // 将所有排序方式设为不排序,实现相互排斥
833
+ for (let key in this.orderFields) {
834
+ if (key === field) {
835
+ this.orderFields[key] = rule
836
+ } else {
837
+ this.orderFields[key] = 'no'
838
+ }
839
+ }
840
+ // 如果新规则不排序,还原为默认排序
841
+ if (rule === 'no') {
842
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
843
+ } else {
844
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
845
+ }
846
+
847
+ this.search()
848
+ }
849
+ },
850
+
851
+ watch: {
852
+ 'all'(val) {
853
+ if (val) {
854
+ this.modelval = this.bodyData
855
+ } else {
856
+ this.modelval = defaultPrint.config
857
+ this.put()
858
+ }
859
+ },
860
+ 'modelval.length'() {
861
+ this.put()
862
+ },
863
+ sumsmodel:{
864
+ handler: function(val) {
865
+ this.getotherfooter();
866
+ },
867
+ deep: true
868
+ },
869
+ 'orgCondtionStr'(val) {
870
+ let res = val.match(/'(.*?)'/)
871
+ console.log('正则提取:',res && res[1])
872
+ if (res) {
873
+ this.f_filialeid = res[1]
874
+ if(res.input !=null){
875
+ let resorgid = res.input.substring(res.input.indexOf("'"));
876
+ if(resorgid!= null && resorgid!=''){
877
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
878
+ // resorgid = resorgid.replaceAll("'","");
879
+ resorgid = resorgid.replace(/'/g,"");
880
+ this.allorgid = resorgid.split(",")
881
+ }
882
+ }
883
+ this.updateParams()
884
+ }
885
+ },
886
+ },
887
+ computed: {
888
+ // defaultexport() {
889
+ // return exportConfig.chargeexportConfig
890
+ // },
891
+ authArr () {
892
+ return this.$login.r ? this.$login.r : []
893
+ },
894
+
895
+ getCondition() {
896
+ return {condition: this.condition2,orderitem:this.orderitem}
897
+ },
898
+ getfield() {
899
+ let data = {}
900
+ this.bodyData.forEach((value, index) => {
901
+ data[this.bodyData[index]] = this.headData[index]
902
+ })
903
+ //合计字段打印
904
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
905
+ if (this.sumsmodel) {
906
+ Object.keys(this.sumsmodel).forEach((key) => {
907
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
908
+ })
909
+ } else {
910
+ this.tfoot += '暂无'
911
+ }
912
+ this.tfoot += '</th></tr>'
913
+ return data
914
+ },
915
+ getExportField() {
916
+ return exportConfig.userConfig
917
+ },
918
+ inputtor () {
919
+ // 获取抄表员
920
+ console.log('获取抄表员', this.$login.f)
921
+ let rs = []
922
+ if (this.$login.f.f_gasman.length > 0) {
923
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
924
+ let temp = {
925
+ label: this.$login.f.f_gasman[i].name,
926
+ value: this.$login.f.f_gasman[i].name
927
+ }
928
+ rs.push(temp)
929
+ }
930
+ }
931
+
932
+ return [{label: '全部', value: ''}, ...rs]
933
+ },
934
+ userstates() {
935
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
936
+ },
937
+ userLevels () {
938
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')]
939
+ },
940
+ userTypes () {
941
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
942
+ },
943
+ hairpin() {
944
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
945
+ },
946
+ usetype() {
947
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('特殊用户')]
948
+ },
949
+ addressstate() {
950
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
951
+ }
952
+ }
953
+ }
954
+ </script>
955
+ <style>
956
+ .back-red{ /* 红色背景 */
957
+ background-color: #F6C6CE;
958
+ }
959
+ .back-blue{ /* 蓝色背景 */
960
+
961
+ }
962
+ </style>
963
+