manage-client 3.3.230 → 3.3.232

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/build/dev-server.js +190 -190
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/hs_err_pid13052.log +206 -206
  6. package/package.json +111 -111
  7. package/src/components/SellReport/BusinessClassify.vue +292 -292
  8. package/src/components/SellReport/ChManageBusSummary.vue +273 -273
  9. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  10. package/src/components/SellReport/ManageGasGroupSummary.vue +208 -0
  11. package/src/components/SellReport/ManageSellType.vue +267 -267
  12. package/src/components/SellReport/ReportItems.vue +312 -312
  13. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  14. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  15. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  16. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  17. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  18. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  19. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  20. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  21. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  22. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  23. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  24. package/src/components/sale/businessquery/CollectManage.vue +161 -161
  25. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  26. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  27. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  28. package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
  29. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  30. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  31. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  32. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  33. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  34. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  35. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  36. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  37. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  38. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  39. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  40. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  41. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  42. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  43. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  44. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  45. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  46. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  47. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  48. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  49. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  50. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  51. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  52. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  53. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  54. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  55. package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
  56. package/src/components/sale/businessquery/usergas.vue +315 -315
  57. package/src/components/sale/config/exportConfig.js +2762 -2762
  58. package/src/components/sale/config/tableConfig.js +59 -59
  59. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  60. package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
  61. package/src/components/sale/filesquery/UserQuery.vue +977 -977
  62. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  63. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -736
  64. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -689
  65. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  66. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  67. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  68. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  69. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  70. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
  71. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  72. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  73. package/src/components/webmeter/report/ReportList.vue +453 -453
  74. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  75. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  76. package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
  77. package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
  78. package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
  79. package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
  80. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
  81. package/src/filiale/ancheng/exportConfig.js +1112 -1112
  82. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  83. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  84. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  85. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  86. package/src/filiale/bayan/config/tableConfig.js +59 -59
  87. package/src/filiale/bayan/sale.js +8 -8
  88. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  89. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  90. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  91. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  92. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  93. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  94. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  95. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  96. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  97. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  98. package/src/filiale/bayan/webmeterManage.js +26 -26
  99. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  100. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  101. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  102. package/src/filiale/dingcheng/sale.js +9 -9
  103. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  104. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  105. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  106. package/src/filiale/hantou/config/tableConfig.js +54 -54
  107. package/src/filiale/hantou/sale.js +8 -8
  108. package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
  109. package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
  110. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  111. package/src/filiale/jingyang/RechargeList.vue +346 -346
  112. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  113. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  114. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  115. package/src/filiale/jingyang/sale.js +8 -8
  116. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  117. package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
  118. package/src/filiale/kelai/GasStatistics.vue +561 -561
  119. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  120. package/src/filiale/kelai/NewGasStatistics.vue +556 -556
  121. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  122. package/src/filiale/kelai/reportManage.js +13 -13
  123. package/src/filiale/kelai/sale.js +17 -17
  124. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  125. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  126. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  127. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  128. package/src/filiale/macheng/config/exportConfig.js +79 -79
  129. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  130. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  131. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  132. package/src/filiale/meihekou/CollectManage.vue +152 -152
  133. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  134. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  135. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  136. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  137. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  138. package/src/filiale/meihekou/sale.js +39 -39
  139. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  140. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  141. package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
  142. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  143. package/src/filiale/qianneng/exportConfig.js +232 -232
  144. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  145. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  146. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  147. package/src/filiale/rizhao/sale.js +13 -13
  148. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  149. package/src/filiale/shangluo/sale.js +17 -17
  150. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  151. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  152. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  153. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  154. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  155. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  156. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  157. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  158. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  159. package/src/filiale/taizhoukesi/sale.js +11 -11
  160. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  161. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  162. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  163. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  164. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  165. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  166. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  167. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  168. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  169. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  170. package/src/filiale/xinjiangdexin/sale.js +7 -7
  171. package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
  172. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  173. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  174. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  175. package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
  176. package/src/filiale/yangchun/UserQuery.vue +980 -980
  177. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  178. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  179. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  180. package/src/filiale/yangchun/reportManage.js +6 -6
  181. package/src/filiale/yangchun/sale.js +20 -20
  182. package/src/filiale/yangchun/webmeterManage.js +5 -5
  183. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  184. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  185. package/src/filiale/yuncheng/GasInspection.vue +610 -610
  186. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  187. package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
  188. package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
  189. package/src/filiale/yuncheng/sale.js +23 -23
  190. package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
  191. package/src/filiale/zhongyi/GasStatistics.vue +537 -537
  192. package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
  193. package/src/filiale/zhongyi/exportConfig.js +2556 -2556
  194. package/src/filiale/zhongyi/sale.js +33 -33
  195. package/src/filiale/zhongyi/webmeterManage.js +15 -15
  196. package/src/main.js +68 -68
  197. package/src/plugins/LodopFuncs.js +159 -159
  198. package/src/reportManage.js +777 -773
  199. package/src/saleManage.js +689 -689
  200. package/src/webmeterManage.js +130 -130
  201. package/.gradle/7.4/checksums/checksums.lock +0 -0
  202. package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
  203. package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
  204. package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
  205. package/.gradle/7.4/fileChanges/last-build.bin +0 -0
  206. package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
  207. package/.gradle/7.4/gc.properties +0 -0
@@ -1,1474 +1,1474 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div style="flex:1;" class="flex" v-if="!show">
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">客户电话</label>
22
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
- condition="f_user_phone like '%{}%'" placeholder="客户电话">
24
- </div>
25
- <div class="col-sm-2 form-group">
26
- <label class="font_normal_body" title="旧客户编号">档案编号</label>
27
- <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
28
- condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
29
- </div>
30
- <div class="col-sm-2 form-group">
31
- <label class="font_normal_body" title="旧客户编号">合同编号</label>
32
- <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_id"
33
- condition="f_contract_id = '{}' " placeholder="合同编号">
34
- </div>
35
-
36
-
37
-
38
- <div class="span" style = "float:right;">
39
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
40
- <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
41
- <button class="button_search button_spacing" @click="search()">查询</button>
42
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
44
-
45
- <export-excel :data="$parent.$parent.getCondition"
46
- :field="$parent.$parent.getExportField"
47
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
48
- sqlurl="rs/easyExcel/compreExport" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
49
- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
50
- :defaultfield="$parent.$parent.defaultfield"
51
- titletable="综合档案查询"
52
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
53
- <div style="float: right" class="button_spacing"
54
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
55
- @click="$parent.$parent.hidden()"></div>
56
- </div>
57
- </div>
58
-
59
- <div class="row" v-show="$parent.$parent.criteriaShow">
60
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">身份证号</label>
63
- <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
64
- condition="f_idnumber like '%{}%'" placeholder="身份证号">
65
- </div>
66
- <div class="col-sm-2 form-group" >
67
- <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
68
- <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
69
- v-model="model.startDate"
70
- :value.sync="model.startDate"
71
- :format="'yyyy-MM-dd'"
72
- :show-reset-button="true"
73
- condition="f_createfile_date >= '{} 00:00:00'">
74
- </datepicker>
75
- </div>
76
- <div class="col-sm-2 form-group" >
77
- <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
78
- <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
79
- v-model="model.endDate"
80
- :value.sync="model.endDate"
81
- :format="'yyyy-MM-dd'"
82
- :show-reset-button="true"
83
- condition="f_createfile_date <= '{} 23:59:59'">
84
- </datepicker>
85
- </div>
86
-
87
- <div class="col-sm-2 form-group" >
88
- <label class="font_normal_body">客户状态</label>
89
- <v-select :value.sync="model.f_user_state"
90
- v-model="model.f_user_state"
91
- multiple
92
- :options='$parent.$parent.userstates' placeholder='请选择'
93
- condition="f_user_state in {}"
94
- ></v-select>
95
- </div>
96
- <div class="col-sm-2 form-group">
97
- <label class="font_normal_body">人&emsp;&emsp;数</label>
98
- <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
99
- condition="f_people_num = '{}'" placeholder="人数">
100
- </div>
101
- <div class="col-sm-2 form-group">
102
- <label class="font_normal_body">客户地址</label>
103
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
104
- condition="f_address like '%{}%'" placeholder='客户地址'>
105
- </div>
106
- <div class="col-sm-2 form-group">
107
- <label for="startDate" class="font_normal_body">建档日期</label>
108
- <datepicker placeholder="建档日期" style="width:60%"
109
- v-model="model.f_createfile_date"
110
- :value.sync="model.f_createfile_date"
111
- :format="'yyyy-MM-dd'"
112
- :show-reset-button="true"
113
- condition="f_createfile_date >= '{} 00:00:00'">
114
- </datepicker>
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_depname"
119
- condition="f_depname 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_alarm_code"
124
- condition="f_alarm_code 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_taxpayer_id"
129
- condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
130
- </div>
131
- <div class="col-sm-2 form-group">
132
- <label class="font_normal_body">燃气表号</label>
133
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
134
- condition="f_meternumber = '{}'" placeholder='燃气表号'>
135
- </div>
136
-
137
- <div class="col-sm-2 form-group">
138
- <label class="font_normal_body">气表分类</label>
139
- <v-select :value.sync="model.f_meter_classify"
140
- v-model="model.f_meter_classify" multiple
141
- :options='$parent.$parent.metertypes' placeholder='请选择'
142
- condition="f_meter_classify in {}"
143
- ></v-select>
144
- </div>
145
-
146
- <div class="col-sm-2 form-group">
147
- <label class="font_normal_body">气表品牌</label>
148
- <v-select :value.sync="model.f_meter_brand"
149
- v-model="model.f_meter_brand" multiple
150
- @change="$parent.$parent.getMeterStyle"
151
- :options='$parent.$parent.meterbrands' placeholder='请选择'
152
- condition="f_meter_brand in {}"
153
- ></v-select>
154
- </div>
155
-
156
- <div class="col-sm-2 form-group">
157
- <label class="font_normal_body">气表型号</label>
158
- <v-select :value.sync="model.f_meter_style"
159
- v-model="model.f_meter_style" multiple
160
- :options='$parent.$parent.meterStyle' placeholder='请选择'
161
- condition="f_meter_style in {}"
162
- ></v-select>
163
- </div>
164
- <div class="col-sm-2 form-group">
165
- <label class="font_normal_body">表&emsp;&emsp;号</label>
166
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
167
- condition="f_meternumber = '{}'" placeholder='表号'>
168
- </div>
169
- <div class="col-sm-2 form-group">
170
- <label class="font_normal_body">卡&emsp;&emsp;号</label>
171
- <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
172
- condition="f_card_id = '{}'" placeholder='卡号'>
173
- </div>
174
- <div class="col-sm-2 form-group">
175
- <label class="font_normal_body">客户类型</label>
176
- <v-select :value.sync="model.f_user_type"
177
- :options='$parent.$parent.usertypes'
178
- @change="$parent.$parent.userTypeChange()"
179
- placeholder='请选择' v-model="model.f_user_type"
180
- condition="f_user_type = '{}'"
181
- close-on-select></v-select>
182
- </div>
183
- <div class="col-sm-2 form-group" >
184
- <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表日期</label>
185
- <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
186
- v-model="model.startDate1"
187
- :value.sync="model.startDate1"
188
- :format="'yyyy-MM-dd'"
189
- :show-reset-button="true"
190
- condition="f_hand_date >= '{} 00:00:00'">
191
- </datepicker>
192
- </div>
193
- <div class="col-sm-2 form-group" >
194
- <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表日期</label>
195
- <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
196
- v-model="model.endDate1"
197
- :value.sync="model.endDate1"
198
- :format="'yyyy-MM-dd'"
199
- :show-reset-button="true"
200
- condition="f_hand_date <= '{} 23:59:59'">
201
- </datepicker>
202
- </div>
203
- <div class="col-sm-2 form-group">
204
- <label class="font_normal_body">小&emsp;&emsp;区</label>
205
- <v-select :value.sync="model.f_residential_area"
206
- class="select_list select"
207
- enter-push
208
- multiple
209
- condition="f_residential_area in {}"
210
- v-model="model.f_residential_area"
211
- style="width: 60%"
212
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
213
- >
214
-
215
- </v-select>
216
- </div>
217
- <div class="col-sm-2 form-group" >
218
- <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
219
- <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
220
- condition="f_building = '{}'" placeholder='楼号'>
221
- </div>
222
- <div class="col-sm-2 form-group" >
223
- <label class="font_normal_body">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;元</label>
224
- <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
225
- condition="f_unit = '{}'" placeholder='单元号'>
226
- </div>
227
-
228
- <div class="col-sm-2 form-group" >
229
- <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;层</label>
230
- <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
231
- condition="f_floor = '{}'" placeholder='楼层号'>
232
- </div>
233
- <div class="col-sm-2 form-group" >
234
- <label class="font_normal_body">门&ensp;牌&ensp;号</label>
235
- <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
236
- condition="f_room = '{}'" placeholder='门牌号'>
237
- </div>
238
- <div class="col-sm-2 form-group">
239
- <label class="font_normal_body">余额区间</label>
240
- <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
241
- condition="f_balance >= '{}'" placeholder="最小值">
242
- </div>
243
- <div class="col-sm-2 form-group">
244
- <label class="font_normal_body">&ensp;&ensp;&ensp;至&ensp;&ensp;&ensp;</label>
245
- <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
246
- condition="f_balance <= '{}'" placeholder="最大值">
247
- </div>
248
- <div class="col-sm-2 form-group" >
249
- <label class="font_normal_body">客户地址</label>
250
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
251
- condition="f_address like '%{}%'" placeholder='客户地址'>
252
- </div>
253
- <div class="col-sm-2 form-group" >
254
- <label class="font_normal_body">用&ensp;气&ensp;点</label>
255
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
256
- condition="f_userfiles_address like '%{}%'" placeholder="用气点">
257
- </div>
258
- <div class="col-sm-2 form-group">
259
- <label class="font_normal_body">用气性质</label>
260
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
261
- :options='$parent.$parent.gasproperties' placeholder='请选择' multiple
262
- condition="f_gasproperties in {}"
263
- ></v-select>
264
- </div>
265
- <!-- <div class="col-sm-2 form-group">-->
266
- <!-- <label class="font_normal_body">用气性质</label>-->
267
- <!-- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
268
- <!-- :options='$parent.$parent.gasproperties' placeholder='请选择'-->
269
- <!-- condition="f_gasproperties = '{}'"-->
270
- <!-- close-on-select></v-select>-->
271
- <!-- </div>-->
272
- <div class="col-sm-2 form-group">
273
- <label class="font_normal_body">气价类型</label>
274
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
275
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
276
- condition="f_price_type = '{}'" @change="$parent.$parent.pricetypechanged"
277
- close-on-select v-ref:type>
278
- </v-select>
279
- </div>
280
- <div class="col-sm-2 form-group">
281
- <label class="font_normal_body">气价名称</label>
282
- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
283
- multiple
284
- :options="$parent.$parent.pricenames" placeholder='气价名称'
285
- condition="f_price_name in {}"
286
- ></v-select>
287
- </div>
288
- <div class="col-sm-2 form-group" >
289
- <label class="font_normal_body">微信绑定</label>
290
- <v-select :value.sync="model.f_isband"
291
- v-model="model.f_isband"
292
- :options='$parent.$parent.bandstates' placeholder='请选择'
293
- condition="f_isband = '{}'"
294
- close-on-select></v-select>
295
- </div>
296
- <div class="col-sm-2 form-group">
297
- <label class="font_normal_body">壁&ensp;挂&ensp;炉</label>
298
- <v-select :value.sync="model.isbgl" v-model="model.isbgl"
299
- :options='$parent.$parent.bgl' placeholder='请选择'
300
- condition="isbgl = '{}'"
301
- close-on-select></v-select>
302
- </div>
303
- <div class="col-sm-2 form-group">
304
- <label class="font_normal_body">发卡状态</label>
305
- <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
306
- :options='$parent.$parent.whetherCard' placeholder='请选择'
307
- condition="f_whether_hairpin = '{}'"
308
- close-on-select></v-select>
309
- </div>
310
- <div class="col-sm-2 form-group">
311
- <label class="font_normal_body">安装位置</label>
312
- <v-select :value.sync="model.f_position" v-model="model.f_position"
313
- :options='$parent.$parent.positions' placeholder='请选择'
314
- condition="f_position = '{}'"
315
- multiple></v-select>
316
- </div>
317
-
318
- <!--表册片区-->
319
- <div class="col-sm-2 form-group">
320
- <label class="font_normal_body">表册片区</label>
321
- <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
322
- @change="$parent.$parent.inputtorchange"
323
- :options='$parent.$parent.bookSlice' placeholder='片区/表册'
324
- style="width:60%"
325
- close-on-select
326
- condition="f_book_slice_area = '{}'"></v-select>
327
- </div>
328
- <div class="col-sm-2 form-group">
329
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
330
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
331
- :options='$parent.$parent.meterbooks' placeholder='请选择'
332
- style="width:60%"
333
- multiple
334
- condition="f_meter_book_num in {}"></v-select>
335
- </div>
336
- <div class="col-sm-2 form-group">
337
- <label class="font_normal_body">房屋类型</label>
338
- <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
339
- :options='$parent.$parent.houseTypes' placeholder='请选择'
340
- style="width:60%"
341
- close-on-select
342
- condition="f_house_type = '{}'"></v-select>
343
- </div>
344
- <div class="col-sm-2 form-group">
345
- <label class="font_normal_body" >缴费类型</label>
346
- <v-select :value.sync="model.f_payment" multiple
347
- v-model="model.f_payment"
348
- :options='$parent.$parent.dypayment' placeholder='请选择'
349
- condition="f_cost_type in {}"
350
- ></v-select>
351
- </div>
352
- <div class="col-sm-2 form-group" >
353
- <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
354
- <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
355
- v-model="model.startDate2"
356
- :value.sync="model.startDate2"
357
- :format="'yyyy-MM-dd'"
358
- :show-reset-button="true"
359
- condition="f_open_date >= '{} 00:00:00'">
360
- </datepicker>
361
- </div>
362
- <div class="col-sm-2 form-group" >
363
- <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
364
- <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
365
- v-model="model.endDate2"
366
- :value.sync="model.endDate2"
367
- :format="'yyyy-MM-dd'"
368
- :show-reset-button="true"
369
- condition="f_open_date <= '{} 23:59:59'">
370
- </datepicker>
371
- </div>
372
- <div class="col-sm-2 form-group" >
373
- <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
374
- <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
375
- v-model="model.startDate3"
376
- :value.sync="model.startDate3"
377
- :format="'yyyy-MM-dd'"
378
- :show-reset-button="true"
379
- condition="f_install_date >= '{} 00:00:00'">
380
- </datepicker>
381
- </div>
382
- <div class="col-sm-2 form-group" >
383
- <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
384
- <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
385
- v-model="model.endDate3"
386
- :value.sync="model.endDate3"
387
- :format="'yyyy-MM-dd'"
388
- :show-reset-button="true"
389
- condition="f_install_date <= '{} 23:59:59'">
390
- </datepicker>
391
- </div>
392
- <div class="col-sm-2 form-group" >
393
- <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
394
- <datepicker id="endDate4" placeholder="开始日期" style="width:60%"
395
- v-model="model.startDate4"
396
- :value.sync="model.startDate4"
397
- :format="'yyyy-MM-dd'"
398
- :show-reset-button="true"
399
- condition="f_gas_date >= '{} 00:00:00'">
400
- </datepicker>
401
- </div>
402
- <div class="col-sm-2 form-group" >
403
- <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
404
- <datepicker id="endDate4" placeholder="结束日期" style="width:60%"
405
- v-model="model.endDate4"
406
- :value.sync="model.endDate4"
407
- :format="'yyyy-MM-dd'"
408
- :show-reset-button="true"
409
- condition="f_gas_date <= '{} 23:59:59'">
410
- </datepicker>
411
- </div>
412
- <div class="col-sm-2 form-group" >
413
- <label for="startDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
414
- <datepicker id="startDate5" placeholder="开始日期" style="width:60%"
415
- v-model="model.startDate5"
416
- :value.sync="model.startDate5"
417
- :format="'yyyy-MM-dd'"
418
- :show-reset-button="true"
419
- condition="f_subscribe_date >= '{} 00:00:00'">
420
- </datepicker>
421
- </div>
422
- <div class="col-sm-2 form-group" >
423
- <label for="endDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
424
- <datepicker id="endDate5" placeholder="结束日期" style="width:60%"
425
- v-model="model.endDate5"
426
- :value.sync="model.endDate5"
427
- :format="'yyyy-MM-dd'"
428
- :show-reset-button="true"
429
- condition="f_subscribe_date <= '{} 23:59:59'">
430
- </datepicker>
431
- </div>
432
- <div class="col-sm-2 form-group" >
433
- <label class="font_normal_body">气表表号</label>
434
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
435
- condition="f_meternumber like '%{}%'" placeholder='气表表号'>
436
- </div>
437
- <div class="col-sm-2 form-group">
438
- <label class="font_normal_body">使用类型</label>
439
- <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
440
- :options='$parent.$parent.useTypes' placeholder='请选择'
441
- style="width:60%"
442
- close-on-select
443
- condition="f_usetype = '{}'"></v-select>
444
- </div>
445
- <div class="col-sm-2 form-group">
446
- <label class="font_normal_body">表具状态</label>
447
- <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
448
- multiple
449
- :options='$parent.$parent.TableStates' placeholder='请选择'
450
- style="width:60%"
451
- condition="f_table_state in {}"></v-select>
452
- </div>
453
- <div class="col-sm-2 form-group">
454
- <label class="font_normal_body">表册抄表员</label>
455
- <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
456
- style="width:60%"
457
- multiple
458
- :options='$parent.$parent.inputtores' placeholder='表册抄表员'
459
- v-el:cc></v-select>
460
- </div>
461
- <div class="col-sm-2 form-group">
462
- <label class="font_normal_body">档案抄表员</label>
463
- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
464
- style="width:60%"
465
- multiple
466
- :options='$parent.$parent.inputtores' placeholder='档案抄表员'
467
- v-el:cc></v-select>
468
- </div>
469
- <div class="col-sm-2 form-group">
470
- <label class="font_normal_body">安&ensp;装&ensp;人</label>
471
- <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
472
- style="width:60%"
473
- multiple
474
- :options='$parent.$parent.person' placeholder='安装人'
475
- condition="f_install_person in {}"
476
- v-el:cc></v-select>
477
- </div>
478
- <div class="col-sm-2 form-group">
479
- <label class="font_normal_body">自动阀控</label>
480
- <v-select
481
- placeholder='自动阀控'
482
-
483
- :value.sync="model.f_network_valve"
484
- style="width:60%"
485
- v-model="model.f_network_valve"
486
- :options='$parent.$parent.networkvalves'
487
- close-on-select
488
- condition="f_network_valve='{}'">
489
- </v-select>
490
- </div>
491
- <div class="col-sm-2 form-group" >
492
- <label class="font_normal_body">备注信息</label>
493
- <input type="text" style="width:60%" class="input_search" v-model="model.f_comments"
494
- condition="f_comments like '%{}%'" placeholder='备注信息'>
495
- </div>
496
- <div class="col-sm-2 form-group">
497
- <label class="font_normal_body">有无备注</label>
498
- <v-select
499
- placeholder='有无备注'
500
- :value.sync="$parent.$parent.f_hasComments"
501
- style="width:60%"
502
- :value-single="true"
503
- v-model="$parent.$parent.f_hasComments"
504
- :options='$parent.$parent.hasComments'
505
- close-on-select>
506
- </v-select>
507
- </div>
508
- </div>
509
- </div>
510
- </criteria>
511
-
512
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
513
- <template partial='head'>
514
- <tr>
515
- <th rowspan="2">
516
- <nobr>序号</nobr>
517
- </th>
518
- <th colspan="6">
519
- <nobr>用户信息</nobr>
520
- </th>
521
- <th colspan="5">
522
- <nobr>建档信息</nobr>
523
- </th>
524
- <th colspan="6">
525
- <nobr>燃气表</nobr>
526
- </th>
527
- <th colspan="63">
528
- <nobr>其他</nobr>
529
- </th>
530
- </tr>
531
- <tr>
532
- <th>
533
- <!--<nobr>客户编号</nobr>-->
534
- <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
535
- </th>
536
- <th>
537
- <nobr>小区名称</nobr>
538
- </th>
539
- <th>
540
- <nobr>户主姓名</nobr>
541
- </th>
542
- <th>
543
- <nobr>身份证号</nobr>
544
- </th>
545
- <th>
546
- <nobr>详细地址</nobr>
547
- </th>
548
- <th>
549
- <nobr>联系电话</nobr>
550
- </th>
551
- <th>
552
- <nobr>建档日期</nobr>
553
- </th>
554
- <th>
555
- <nobr>供气合同编号</nobr>
556
- </th>
557
- <th>
558
- <nobr>通气日期</nobr>
559
- </th>
560
- <th>
561
- <nobr>通气人员</nobr>
562
- </th>
563
- <th>
564
- <nobr>防盗卡号</nobr>
565
- </th>
566
- <th>
567
- <nobr>品牌</nobr>
568
- </th>
569
- <th>
570
- <nobr>表号</nobr>
571
- </th>
572
- <th>
573
- <nobr>类型</nobr>
574
- </th>
575
- <th>
576
- <nobr>型号</nobr>
577
- </th>
578
- <th>
579
- <nobr>表向</nobr>
580
- </th>
581
- <th>
582
- <nobr>生产年月</nobr>
583
- </th>
584
- <th><nobr>客户状态</nobr></th>
585
-
586
- <th><nobr>档案编号</nobr></th>
587
- <th><nobr>是否发卡</nobr></th>
588
- <th><nobr>卡号</nobr></th>
589
- <!-- <th><nobr>客户名称</nobr></th>-->
590
- <!-- <th><nobr>小区名称</nobr></th>-->
591
- <th><nobr>楼栋</nobr></th>
592
- <th><nobr>单元</nobr></th>
593
- <th><nobr>楼层</nobr></th>
594
- <th><nobr>门牌号</nobr></th>
595
- <!-- <th>-->
596
- <!-- <data-order field="f_userinfo_code" name="客户地址"-->
597
- <!-- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>-->
598
- <!-- </th>-->
599
- <!-- <th><nobr>客户电话</nobr></th>-->
600
- <th><nobr>表册片区</nobr></th>
601
- <!-- <th>-->
602
- <!-- &lt;!&ndash;<nobr>通气日期</nobr>&ndash;&gt;-->
603
- <!-- <data-order field="f_gas_date" name="通气日期" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>-->
604
- <!-- </th>-->
605
- <!-- 气价类型,单价暂时未处理 -->
606
- <th><nobr>气价类型</nobr></th>
607
- <th><nobr>气价名称</nobr></th>
608
- <th><nobr>单价</nobr></th>
609
-
610
- <th><nobr>安装位置</nobr></th>
611
- <th><nobr>缴费类型</nobr></th>
612
- <!-- <th><nobr>气表类型</nobr></th>-->
613
- <!-- <th><nobr>气表品牌</nobr></th>-->
614
- <!-- <th><nobr>表号</nobr></th>-->
615
- <th><nobr>表封号</nobr></th>
616
- <!-- <th><nobr>左右表</nobr></th>-->
617
- <th>
618
- <!--<nobr>气表安装日期</nobr>-->
619
- <data-order field="f_install_date" name="气表安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_install_date"></data-order>
620
- </th>
621
- <th><nobr>气表底数</nobr></th>
622
- <th><nobr>账户余额</nobr></th>
623
- <th>
624
- <!--<nobr>最后抄表日期</nobr>-->
625
- <data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
626
- </th>
627
- <!--<th><nobr>最后购气日期</nobr></th>-->
628
-
629
- <th><nobr>自动阀控</nobr></th>
630
- <th><nobr>阀门状态</nobr></th>
631
-
632
- <!-- <th><nobr>旧客户编号</nobr></th> -->
633
- <th><nobr>客户类型</nobr></th>
634
- <th><nobr>用气性质</nobr></th>
635
- <th>
636
- <!--<nobr>开户时间</nobr>-->
637
- <data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
638
-
639
- </th>
640
- <th><nobr>证件类型</nobr></th>
641
- <!-- <th><nobr>证件号码</nobr></th>-->
642
- <th><nobr>人口数</nobr></th>
643
- <th>
644
- <!--<nobr>保险结束日期</nobr>-->
645
- <data-order field="f_ins_stop_date" name="保险结束日期" :order.sync="$parent.$parent.$parent.orderFields.f_ins_stop_date"></data-order>
646
- </th>
647
- <!-- <th>-->
648
- <!-- &lt;!&ndash;<nobr>建档日期</nobr>&ndash;&gt;-->
649
- <!-- <data-order field="f_createfile_date" name="建档日期" :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>-->
650
- <!-- </th>-->
651
- <th><nobr>建档人</nobr></th>
652
- <th><nobr>所属营业厅</nobr></th>
653
- <!-- <th><nobr>备注信息</nobr></th>-->
654
-
655
- <!-- <th><nobr>气价详情</nobr></th>-->
656
- <th><nobr>曾用名</nobr></th>
657
- <th><nobr>备用电话</nobr></th>
658
- <th><nobr>租户姓名</nobr></th>
659
- <th><nobr>租户电话</nobr></th>
660
- <!--<th><nobr>曾用名</nobr></th>-->
661
- <!-- <th><nobr>发票编码</nobr></th>-->
662
- <th><nobr>是否煤改气</nobr></th>
663
- <th><nobr>是否发放天然气使用证</nobr></th>
664
-
665
- <th><nobr>使用类型</nobr></th>
666
-
667
- <!-- <th><nobr>使用状态</nobr></th>-->
668
- <!--<th><nobr>通气时间</nobr></th>-->
669
-
670
- <!-- <th><nobr>气表型号</nobr></th>-->
671
- <th><nobr>预约通气时间</nobr></th>
672
- <th><nobr>表具状态</nobr></th>
673
- <th><nobr>初始气表底数</nobr></th>
674
- <th><nobr>累计用气金额</nobr></th>
675
- <th><nobr>表累购气量</nobr></th>
676
- <th><nobr>表累购金额</nobr></th>
677
-
678
- <th><nobr>抄表员(表册)</nobr></th>
679
- <th><nobr>抄表员(档案)</nobr></th>
680
- <th><nobr>用气点</nobr></th>
681
- <th><nobr>安装人</nobr></th>
682
- <!-- <th><nobr>通气人</nobr></th>-->
683
- <!-- <th><nobr>点火状态</nobr></th>-->
684
- <th><nobr>表册名称</nobr></th>
685
- <th><nobr>抄表册编号</nobr></th>
686
-
687
- <th><nobr>抄表册顺序</nobr></th>
688
- <th><nobr>表剩余金额</nobr></th>
689
- <!-- <th><nobr>首次购气日期</nobr></th>-->
690
- <th><nobr>写卡次数</nobr></th>
691
- <th><nobr>补卡次数</nobr></th>
692
- <!-- <th><nobr>购气次数</nobr></th>-->
693
-
694
- <th><nobr>表同步状态</nobr></th>
695
- <th><nobr>微信绑定</nobr></th>
696
-
697
- <th>
698
- <nobr>银行户名</nobr>
699
- </th>
700
- <th>
701
- <nobr>银行名称</nobr>
702
- </th>
703
- <th>
704
- <nobr>银行账号</nobr>
705
- </th>
706
- <th>
707
- <nobr>银行身份证号</nobr>
708
- </th>
709
- <th>
710
- <nobr>缴费编号</nobr>
711
- </th>
712
- <th>
713
- <nobr>报警器编号</nobr>
714
- </th>
715
- <th>
716
- <!--<nobr>换表时间</nobr>-->
717
- <data-order field="f_maxdate" name="换表时间" :order.sync="$parent.$parent.$parent.orderFields.f_maxdate"></data-order>
718
- </th>
719
- <th>
720
- <nobr>灶具信息</nobr>
721
- </th>
722
- <th>
723
- <nobr>备注</nobr>
724
- </th>
725
- </tr>
726
- </template>
727
- <template partial='body'>
728
- <td style="text-align: center;"><nobr>{{$index + 1}}</nobr></td>
729
- <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
730
- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
731
- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
732
- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
733
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
734
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
735
- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
736
- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
737
- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
738
- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
739
- <td style="text-align: center;"><nobr>{{row.f_defendcard}}</nobr></td>
740
- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
741
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
742
- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
743
- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
744
- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
745
- <td style="text-align: center;"><nobr>{{row.f_factory_date}}</nobr></td>
746
- <!-- <td style="text-align: center;"><nobr>-->
747
- <!-- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
748
- <!-- </nobr> </td>-->
749
- <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
750
- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
751
- <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
752
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
753
- <!-- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>-->
754
- <!-- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>-->
755
- <td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
756
- <td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
757
- <td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
758
- <!-- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>-->
759
- <td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
760
- <!-- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>-->
761
- <td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
762
- <!-- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>-->
763
- <!-- 气价类型,单价暂时未处理 -->
764
- <td style="text-align: center;"><nobr>&nbsp;&nbsp;</nobr></td>
765
- <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
766
- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
767
-
768
- <td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
769
- <td style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
770
- <!-- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>-->
771
- <!-- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>-->
772
- <!-- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>-->
773
- <td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
774
- <!-- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>-->
775
- <td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
776
- <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
777
- <td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
778
- <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
779
- <!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
780
- <td style="text-align: center;"><nobr>{{row.f_network_valve}}</nobr></td>
781
- <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
782
-
783
- <!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
784
- <td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
785
- <td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
786
-
787
- <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
788
- <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
789
- <!-- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>-->
790
- <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
791
- <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
792
- <!-- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>-->
793
- <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
794
- <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
795
- <!-- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>-->
796
-
797
- <!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
798
- <td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
799
- <td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
800
- <td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
801
- <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
802
- <!-- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>-->
803
- <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
804
- <td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
805
-
806
- <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
807
- <!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
808
- <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
809
-
810
- <!-- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>-->
811
- <td style="text-align: center;"><nobr>{{row.f_subscribe_date}}</nobr></td>
812
- <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
813
- <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
814
- <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
815
- <td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
816
- <td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
817
- <td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
818
- <td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
819
-
820
- <td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
821
- <td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
822
- <!-- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>-->
823
- <!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
824
- <td style="text-align: center;"><nobr>{{row.f_book_name}}</nobr></td>
825
- <td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
826
-
827
- <td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
828
- <td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
829
- <!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
830
- <td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
831
- <td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
832
- <!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
833
- <td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
834
- <td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
835
-
836
- <td style="text-align: center;">
837
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
838
- </td>
839
- <td style="text-align: center;">
840
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
841
- </td>
842
- <td style="text-align: center;">
843
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
844
- </td>
845
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
846
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
847
- </td>
848
- <td style="text-align: center;">
849
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
850
- </td>
851
- <td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
852
- <td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
853
- <td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
854
- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
855
- </template>
856
- <template partial='foot'>
857
-
858
- </template>
859
- </data-grid>
860
- </criteria-paged>
861
-
862
- <table class="table-hover">
863
- <tr style="position: relative" class="table-bordered">
864
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
865
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">已挂表:{{sumsmodel.f_yiguabiao}}</td>
866
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">未挂表:{{sumsmodel.f_weiguabiao}}</td>
867
- </tr>
868
- </table>
869
-
870
- <modal :show.sync="printshow" v-ref:modal backdrop="false">
871
- <header slot="modal-header" class="modal-header text-center">
872
- <h4 class="modal-title">打印列选择</h4>
873
- <input type="checkbox" class="" id="f_generations" v-model="all">
874
- <label for="f_generations" class="font-size">全选</label>
875
- </header>
876
- <article slot="modal-body">
877
- <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
878
- <div class="col-sm-3" v-for="f in fields">
879
- <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
880
- <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
881
- </div>
882
- </div>
883
- </article>
884
- <footer slot="modal-footer" class="modal-footer">
885
- <center>
886
-
887
- <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
888
- <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
889
- <print-table :model='model' v-show="false" v-ref:print
890
- :top='40' :left='60' :right='40' :bottom='60'
891
- :thead="thead" :tfoot='tfoot' :attach="yangsen"
892
- :fields="modelval" :printpage="true">
893
- </print-table>
894
- </center>
895
- </footer>
896
- </modal>
897
- </div>
898
- <div class="flex" v-if="show">
899
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
900
- </div>
901
- </div></div></div>
902
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
903
- </template>
904
-
905
- <script>
906
- import {HttpResetClass, PagedList} from 'vue-client'
907
- import defaultPrint from './config/DefaultPrint'
908
- import exportConfig from './config/exportConfig'
909
- // let cardBtnGen = async function (self, val) {
910
- // self.cardInfo = val.data
911
- //
912
- // // 判断读卡是否需要卡密码
913
- // console.log('读卡上的信息', self.cardInfo)
914
- //
915
- // if (self.cardInfo.NewParam) {
916
- // if (self.cardInfo.NewParam.error) {
917
- // if (self.cardInfo.NewParam.error === '0001') {
918
- // // 需要重新读卡并传卡密码
919
- // if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
920
- // self.readCardParam = self.model.rows[0].f_card_password
921
- // self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
922
- // } else {
923
- // self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
924
- // return
925
- // }
926
- // }
927
- // }
928
- // }
929
- // self.card=self.cardInfo.CardID
930
- // self.search()
931
- // }
932
- let readySomething = async function (self) {
933
- await self.$MagLoadParams.loadParam()
934
- // await self.$LoadParams.loadParam(self.f_filialeid)
935
- self.initParams()
936
- self.getPricenames();
937
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
938
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
939
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
940
- // await self.$refs.paged.$refs.cri.search()
941
- }
942
- export default {
943
- title: '综合档案信息查询',
944
- data() {
945
- return {
946
- IdCardInfo:'',
947
- card:'',
948
- isSingleUser: null,
949
- other:[],
950
- footer:[],
951
- model: new PagedList('api/af-revenue/sql/compreQuery', 20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
952
- criteriaShow: false,
953
- orgCondtionStr:'',
954
- residentialArea: [],
955
- gasproperties:[],
956
- meterbrands: [],
957
- modelval: [],
958
- prices: [],
959
- meterbooks: [],
960
- printshow: false,
961
- all: false,
962
- fields: {},
963
- thead: '',
964
- tfoot: '',
965
- defaultfield: [],
966
- //排序
967
- orderitem: 'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc',
968
- orderFields: {
969
- f_operate_date: 'no'
970
- },
971
- config: {
972
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
973
- },
974
- area: [],
975
- inputtouPerson: [],
976
- bookinputtorperson:[],
977
- conditon2:'',
978
- show:false,
979
- rowdata:{},
980
- f_filialeid: this.$login.f.orgid,
981
- // 下拉框参数
982
- initres: {
983
- org:[this.$login.f.orgid],
984
- dep:[],
985
- user:[],
986
- },
987
- f_hasComments: '',
988
- // 合计数据
989
- sumsmodel: {},
990
- //表册片区
991
- bookSlice:[{label: '全部',value: ''}],
992
- meterStyle:[{label: '全部',value: ''}],
993
- pricenames:[],
994
- dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
995
- hasComments:[{label:"全部",value:""},{label:"有",value:"有",},{label:"无",value:"无",}],
996
- networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
997
- }
998
- },
999
- ready(){
1000
- this.getaddress()
1001
- this.$refs.paged.$refs.cri.model.f_user_state=['正常']
1002
- readySomething(this).then(() => {
1003
- this.$emit('ready')
1004
- }).catch((error) => {
1005
- this.$emit('error', error)
1006
- })
1007
- },
1008
- methods: {
1009
- recombine (param) {
1010
- // 条件拼接数据,多用于in ()。将数组转成字符串时加上单引号处理
1011
- let str = ''
1012
- if (param && param.length > 0) {
1013
- param.forEach((p) => {
1014
- str += `'${p}',`
1015
- })
1016
- }
1017
- return `(${str.substring(0, str.length - 1)})`
1018
- },
1019
- async getMeterStyle(val){
1020
- if (val.length > 0){
1021
- // 获取气表型号下拉框
1022
- let HttpReset = new HttpResetClass()
1023
- let param = {
1024
- items: 'distinct f_meter_style',
1025
- tablename: 't_gasmodel gm left join t_gasbrand tg on gm.f_gasbrand_id = tg.id',
1026
- condition: `tg.f_meter_brand in ${this.recombine(val)}`,
1027
- orderitem: 'f_meter_style'
1028
- }
1029
- let data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
1030
- for (let row of data.data) {
1031
- this.meterStyle.push({label: row.f_meter_style, value: row.f_meter_style})
1032
- }
1033
- } else {
1034
- this.meterStyle = [{label: '全部',value: ''}]
1035
- }
1036
- },
1037
- ReadIDCard(){
1038
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
1039
- console.log('======',msg)
1040
- if(msg.err !== 0){ return}
1041
- this.IdCardInfo=msg.strID
1042
- })
1043
- if(this.IdCardInfo) {
1044
- this.search()
1045
- }else{
1046
- alert("读取失败,找不到用户信息")
1047
- }
1048
- },
1049
- cardBtn (val) {
1050
- // this.clear()
1051
- cardBtnGen(this, val)
1052
- },
1053
- getPricenames() {
1054
- this.pricenames = []
1055
- let priceArr = []
1056
- this.$MagGetSaleParam.prices.forEach((item) => {
1057
- let temp = {}
1058
- temp.label = item.f_price_name
1059
- temp.value = item.f_price_name
1060
- priceArr.push(temp)
1061
- })
1062
- this.pricenames = [{label: '全部', value: ''}, ...priceArr]
1063
- },
1064
- selectPrice(){
1065
- this.pricesAll=[{label: '全部', value: ''}]
1066
- this.$refs.paged.$refs.cri.model.f_price=''
1067
- this.pricesSum.forEach((item)=>{
1068
- if(this.$refs.paged.$refs.cri.model.f_price_name==item.f_price_name){
1069
- item.detailprice.forEach((item)=>{
1070
- let temp={}
1071
- temp.label=item.f_price
1072
- temp.value=item.f_price
1073
- this.pricesAll.push(temp)
1074
- })
1075
- }
1076
- })
1077
- },
1078
- pricetypechanged(){
1079
- this.$refs.paged.$refs.cri.model.f_price_name = []
1080
- },
1081
- getotherfooter () {
1082
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
1083
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
1084
- this.other = [];
1085
- this.footer = [];
1086
- let exportdata = this.getCondition;
1087
- let otherInData = [];
1088
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
1089
- // let footerData = [], exportfield = this.getExportField;
1090
- // footerData.push("合计");
1091
- // let self = this;
1092
- // for (var field in self.sumsmodel) {
1093
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
1094
- // }
1095
- // this.footer.push(footerData);
1096
- this.other.push(otherInData);
1097
- },
1098
- initParams() {
1099
- // 初始化气表品牌
1100
- let brandArr = []
1101
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1102
- let temp = {}
1103
- temp.label = item.label
1104
- temp.value = item.value.f_meter_brand
1105
- brandArr.push(temp)
1106
- })
1107
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1108
- //初始化气表价格
1109
- this.prices = this.$MagGetSaleParam.getPrices();
1110
- },
1111
- async getaddress(){
1112
- console.log('开始获取小区')
1113
- let HttpReset = new HttpResetClass()
1114
- var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
1115
- data: {
1116
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
1117
- }
1118
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
1119
- console.log('小区',data)
1120
- let house = [{label: '全部', value: ''}]
1121
- for (let row of data.data){
1122
- console.log('开始保存小区')
1123
- house.push({label: row.f_residential_area, value: row.f_residential_area})
1124
- }
1125
- this.residentialArea = house
1126
- },
1127
- search(){
1128
- this.$refs.paged.$refs.cri.search()
1129
- },
1130
- cancel() {
1131
- this.show = false
1132
- },
1133
- showmsg(obj){
1134
- this.rowdata=obj
1135
- this.show=true
1136
- },
1137
- selfSearch (args) {
1138
-
1139
- //抄表员查询条件
1140
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1141
- if(this.inputtouPerson.length !== 0){
1142
- let str = JSON.stringify(this.inputtouPerson)
1143
- str = str.replace(/"/g,`'`)
1144
- str = str.replace(/\[/g,``)
1145
- str = str.replace(/\]/g,``)
1146
- console.log("=====抄表员model22222222222绑定====",str)
1147
- //查询多个抄表员时条件
1148
- args.condition += ` and f_inputtor in ( ${str} )`
1149
- }
1150
- //debugger
1151
- this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
1152
- if(this.bookinputtorperson.length !== 0){
1153
- let str = JSON.stringify(this.bookinputtorperson)
1154
- str = str.replace(/"/g,`'`)
1155
- str = str.replace(/\[/g,``)
1156
- str = str.replace(/\]/g,``)
1157
- console.log("=====抄表员model22222222222绑定====",str)
1158
- //查询多个抄表员时条件
1159
- args.condition += ` and f_book_inputtor in ( ${str} )`
1160
- }
1161
- if (!this.orgCondtionStr) {
1162
- args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
1163
- } else {
1164
- args.condition = `${args.condition}` + this.orgCondtionStr
1165
- }
1166
- console.log("查看条件",this.conditon2)
1167
- if (this.f_hasComments) {
1168
- if (this.f_hasComments === '有') {
1169
- args.condition +=` and f_comments != '' and f_comments is not null`
1170
- } else {
1171
- args.condition +=` and (f_comments = '' or f_comments is null)`
1172
- }
1173
- }
1174
- if(this.card!=''){
1175
- args.condition +=` and f_card_id='${this.card}'`
1176
- }
1177
- if(this.IdCardInfo!=''){
1178
- args.condition+=` and f_idnumber='${this.IdCardInfo}'`
1179
- }
1180
- this.conditon2 = args.condition
1181
- this.model.search(args.condition, args.model)
1182
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1183
- this.card=''
1184
- this.IdCardInfo=''
1185
- console.log('合计字段',this.sumsmodel)
1186
- },
1187
- clear(){
1188
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1189
- this.$refs.paged.$refs.cri.model[key] = []
1190
- })
1191
- },
1192
- hidden(){
1193
- this.criteriaShow = !this.criteriaShow
1194
- },
1195
- getRes(obj) {
1196
- this.orgCondtionStr = obj
1197
- },
1198
- stamp () {
1199
- this.all = false
1200
- //默认选择要打印的列
1201
- this.modelval = defaultPrint.config
1202
- this.fields = this.getfield
1203
- console.log('所有打印字段',this.fields)
1204
- this.printshow = true
1205
- this.put()
1206
- },
1207
- put () {
1208
- // 对Modelval进行排序
1209
- this.sortModelval()
1210
- this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
1211
- for (let key of this.modelval) {
1212
- this.thead += '<th>' + this.fields[key] + '</th>'
1213
- }
1214
- this.thead += '</tr>'
1215
- },
1216
- print () {
1217
- this.$refs.print.PrintAsFile()
1218
- this.printshow = false
1219
- },
1220
- close () {
1221
- this.printshow = false
1222
- this.all = false
1223
- },
1224
- userTypeChange () {
1225
- this.gasproperties=[]
1226
- if(this.$refs.paged.$refs.cri.model !==null) {
1227
- this.$refs.paged.$refs.cri.model.f_gasproperties=[]
1228
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1229
- // this.gasproperties.push({label: '全部', value: ''})
1230
- }
1231
- else{
1232
- this.gasproperties =[{label: '全部', value: ''}]
1233
- }
1234
- },
1235
- // 对选择的列进行排序
1236
- sortModelval () {
1237
- let sortModel = []
1238
- Object.keys(this.fields).forEach((key) => {
1239
- if (this.modelval.includes(key)) {
1240
- sortModel.push(key)
1241
- }
1242
- })
1243
- this.modelval = sortModel
1244
- console.log('选择的打印的字段', this.modelval)
1245
- },
1246
- async updateParams() {
1247
- await this.$MagLoadParams.loadParam(this.f_filialeid)
1248
- this.inputtores = [];
1249
- this.inputtores.push({label: "全部", value: ""})
1250
- this.initSlice(this.f_filialeid)
1251
- if(this.allorgid!=null){
1252
- this.allorgid.forEach((res)=>{
1253
- this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1254
- })
1255
- }
1256
- },
1257
- async initSlice (val) {
1258
- if (val) {
1259
- let getAllArea = await this.$resetpost('/rs/search', {
1260
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
1261
- userid: this.$login.f.id
1262
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
1263
- let arr = getAllArea.data.filter((res) => {
1264
- return res.parentid == val
1265
- })
1266
- this.bookSlice = []
1267
- console.log('过滤之后的片区-------------------', arr)
1268
- arr.forEach((res) => {
1269
- this.bookSlice.push({label: res.name, value: res.name})
1270
- })
1271
- }
1272
- },
1273
- //表册片区和抄表册关联
1274
- async inputtorchange(){
1275
- this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
1276
- /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
1277
- let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
1278
- if((val2.length>0)){
1279
- let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
1280
- /*if (val1[0]){
1281
- condition = condition+ ` and f_meter_book = '${val1[0]}' `
1282
- }*/
1283
- if(val2[0]) {
1284
- condition = condition + ` and f_book_slice_area = '${val2}' `
1285
- }
1286
- let param={
1287
- items:'*',
1288
- tablename:'t_meter_book',
1289
- condition:condition,
1290
- orderitem:'id'
1291
- }
1292
- let getMeterBooks = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
1293
- if (getMeterBooks.data) {
1294
- if(getMeterBooks.data.length >0){
1295
- let rs = [];
1296
- getMeterBooks.data.forEach((item)=>{
1297
- let temp = {
1298
- label:item.f_book_name,
1299
- value:item.id
1300
- };
1301
- rs.push(temp);
1302
-
1303
- })
1304
- this.meterbooks = [{label: '全部',value: ''}, ...rs];
1305
- }else{
1306
- this.meterbooks = [{label: '全部',value: ''}];
1307
- }
1308
- }
1309
- }else{
1310
- this.meterbooks = [{label: '全部',value: ''}];
1311
- this.initmeterbook();
1312
- }
1313
- },
1314
- async initmeterbook(orgstr){
1315
- if(orgstr == null ){
1316
- orgstr = this.f_filialeid;
1317
- }
1318
- //获取新的抄表册,先去清理所有的抄表册
1319
- this.$GetSaleParam.meterbooks = [];
1320
- //开始加载新的抄表册
1321
- await this.$LoadParams.loadMeterBook(orgstr)
1322
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1323
- },
1324
- sort (field, rule) {
1325
- // 将所有排序方式设为不排序,实现相互排斥
1326
- for (let key in this.orderFields) {
1327
- if (key === field) {
1328
- this.orderFields[key] = rule
1329
- } else {
1330
- this.orderFields[key] = 'no'
1331
- }
1332
- }
1333
- // 如果新规则不排序,还原为默认排序
1334
- if (rule === 'no') {
1335
- this.model.paramSource.orderitem = `'${this.orderitem}'`
1336
- } else {
1337
- this.model.paramSource.orderitem = `'${field} ${rule},f_userfiles_id desc'`
1338
- }
1339
-
1340
- this.search()
1341
- }
1342
- },
1343
- watch:{
1344
- 'model.rows.length' () {
1345
- this.isSingleUser = this.model.rows
1346
- },
1347
- 'all' (val) {
1348
- if (val) {
1349
- this.modelval = this.bodyData
1350
- } else {
1351
- this.modelval = defaultPrint.config
1352
- this.put()
1353
- }
1354
- },
1355
- 'modelval.length' () {
1356
- this.put()
1357
- },
1358
- sumsmodel:{
1359
- handler: function(val) {
1360
- this.getotherfooter();
1361
- },
1362
- deep: true
1363
- },
1364
- 'orgCondtionStr'(val) {
1365
- let res = val.match(/'(.*?)'/)
1366
- console.log('正则提取:',res && res[1])
1367
- if (res) {
1368
- this.f_filialeid = res[1]
1369
- if(res.input !=null){
1370
- let resorgid = res.input.substring(res.input.indexOf("'"));
1371
- if(resorgid!= null && resorgid!=''){
1372
- resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1373
- // resorgid = resorgid.replaceAll("'","");
1374
- resorgid = resorgid.replace(/'/g,"");
1375
- this.allorgid = resorgid.split(",")
1376
- }
1377
- }
1378
- this.updateParams()
1379
- }
1380
- },
1381
- },
1382
- computed:{
1383
- bandstates () {
1384
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
1385
- },
1386
- TableStates () {
1387
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
1388
- },
1389
- bgl(){
1390
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
1391
- },
1392
- houseTypes(){
1393
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
1394
- },
1395
- gasproperties(){
1396
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1397
- },
1398
- whetherCard(){
1399
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
1400
- },
1401
- usertypes() {
1402
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1403
- },
1404
- useTypes() {
1405
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1406
- },
1407
- positions() {
1408
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
1409
- },
1410
- // meterbooks(){
1411
- // return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1412
- // },
1413
- userstates() {
1414
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
1415
- },
1416
-
1417
- metertypes() {
1418
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
1419
- },
1420
- pricetypes() {
1421
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1422
- },
1423
- person() {
1424
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
1425
- },
1426
- tablestate() {
1427
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
1428
- },
1429
- inputtores () {
1430
- // 获取抄表员
1431
- console.log('获取抄表员', this.$login.f)
1432
- let rs = []
1433
- if (this.$login.f.f_gasman.length > 0) {
1434
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1435
- let temp = {
1436
- label: this.$login.f.f_gasman[i].name,
1437
- value: this.$login.f.f_gasman[i].name
1438
- }
1439
- rs.push(temp)
1440
- }
1441
- }
1442
-
1443
- return [{label: '全部', value: ''}, ...rs]
1444
- },
1445
- authArr () {
1446
- return this.$login.r ? this.$login.r : []
1447
- },
1448
- getCondition(){
1449
-
1450
- return {condition:this.conditon2,orderitem:this.orderitem}
1451
- },
1452
- getfield(){
1453
- let data = {}
1454
- this.bodyData.forEach((value, index)=>{
1455
- data[this.bodyData[index]] = this.headData[index]
1456
- })
1457
- //合计字段打印
1458
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1459
- if(this.sumsmodel){
1460
- Object.keys(this.sumsmodel).forEach((key) => {
1461
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1462
- })
1463
- }else{
1464
- this.tfoot += '暂无'
1465
- }
1466
- this.tfoot += '</th></tr>'
1467
- return data
1468
- },
1469
- getExportField() {
1470
- return exportConfig.compreConfig
1471
- }
1472
- }
1473
- }
1474
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
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">客户电话</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
23
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
24
+ </div>
25
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
27
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
28
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body" title="旧客户编号">合同编号</label>
32
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_id"
33
+ condition="f_contract_id = '{}' " placeholder="合同编号">
34
+ </div>
35
+
36
+
37
+
38
+ <div class="span" style = "float:right;">
39
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
40
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
41
+ <button class="button_search button_spacing" @click="search()">查询</button>
42
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
43
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
44
+
45
+ <export-excel :data="$parent.$parent.getCondition"
46
+ :field="$parent.$parent.getExportField"
47
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
48
+ sqlurl="rs/easyExcel/compreExport" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
49
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
50
+ :defaultfield="$parent.$parent.defaultfield"
51
+ titletable="综合档案查询"
52
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
53
+ <div style="float: right" class="button_spacing"
54
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
55
+ @click="$parent.$parent.hidden()"></div>
56
+ </div>
57
+ </div>
58
+
59
+ <div class="row" v-show="$parent.$parent.criteriaShow">
60
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">身份证号</label>
63
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_idnumber"
64
+ condition="f_idnumber like '%{}%'" placeholder="身份证号">
65
+ </div>
66
+ <div class="col-sm-2 form-group" >
67
+ <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
68
+ <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
69
+ v-model="model.startDate"
70
+ :value.sync="model.startDate"
71
+ :format="'yyyy-MM-dd'"
72
+ :show-reset-button="true"
73
+ condition="f_createfile_date >= '{} 00:00:00'">
74
+ </datepicker>
75
+ </div>
76
+ <div class="col-sm-2 form-group" >
77
+ <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
78
+ <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
79
+ v-model="model.endDate"
80
+ :value.sync="model.endDate"
81
+ :format="'yyyy-MM-dd'"
82
+ :show-reset-button="true"
83
+ condition="f_createfile_date <= '{} 23:59:59'">
84
+ </datepicker>
85
+ </div>
86
+
87
+ <div class="col-sm-2 form-group" >
88
+ <label class="font_normal_body">客户状态</label>
89
+ <v-select :value.sync="model.f_user_state"
90
+ v-model="model.f_user_state"
91
+ multiple
92
+ :options='$parent.$parent.userstates' placeholder='请选择'
93
+ condition="f_user_state in {}"
94
+ ></v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group">
97
+ <label class="font_normal_body">人&emsp;&emsp;数</label>
98
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_people_num"
99
+ condition="f_people_num = '{}'" placeholder="人数">
100
+ </div>
101
+ <div class="col-sm-2 form-group">
102
+ <label class="font_normal_body">客户地址</label>
103
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
104
+ condition="f_address like '%{}%'" placeholder='客户地址'>
105
+ </div>
106
+ <div class="col-sm-2 form-group">
107
+ <label for="startDate" class="font_normal_body">建档日期</label>
108
+ <datepicker placeholder="建档日期" style="width:60%"
109
+ v-model="model.f_createfile_date"
110
+ :value.sync="model.f_createfile_date"
111
+ :format="'yyyy-MM-dd'"
112
+ :show-reset-button="true"
113
+ condition="f_createfile_date >= '{} 00:00:00'">
114
+ </datepicker>
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_depname"
119
+ condition="f_depname 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_alarm_code"
124
+ condition="f_alarm_code 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_taxpayer_id"
129
+ condition="f_taxpayer_id like '%{}%'" placeholder='发票编码'>
130
+ </div>
131
+ <div class="col-sm-2 form-group">
132
+ <label class="font_normal_body">燃气表号</label>
133
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
134
+ condition="f_meternumber = '{}'" placeholder='燃气表号'>
135
+ </div>
136
+
137
+ <div class="col-sm-2 form-group">
138
+ <label class="font_normal_body">气表分类</label>
139
+ <v-select :value.sync="model.f_meter_classify"
140
+ v-model="model.f_meter_classify" multiple
141
+ :options='$parent.$parent.metertypes' placeholder='请选择'
142
+ condition="f_meter_classify in {}"
143
+ ></v-select>
144
+ </div>
145
+
146
+ <div class="col-sm-2 form-group">
147
+ <label class="font_normal_body">气表品牌</label>
148
+ <v-select :value.sync="model.f_meter_brand"
149
+ v-model="model.f_meter_brand" multiple
150
+ @change="$parent.$parent.getMeterStyle"
151
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
152
+ condition="f_meter_brand in {}"
153
+ ></v-select>
154
+ </div>
155
+
156
+ <div class="col-sm-2 form-group">
157
+ <label class="font_normal_body">气表型号</label>
158
+ <v-select :value.sync="model.f_meter_style"
159
+ v-model="model.f_meter_style" multiple
160
+ :options='$parent.$parent.meterStyle' placeholder='请选择'
161
+ condition="f_meter_style in {}"
162
+ ></v-select>
163
+ </div>
164
+ <div class="col-sm-2 form-group">
165
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
166
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
167
+ condition="f_meternumber = '{}'" placeholder='表号'>
168
+ </div>
169
+ <div class="col-sm-2 form-group">
170
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
171
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
172
+ condition="f_card_id = '{}'" placeholder='卡号'>
173
+ </div>
174
+ <div class="col-sm-2 form-group">
175
+ <label class="font_normal_body">客户类型</label>
176
+ <v-select :value.sync="model.f_user_type"
177
+ :options='$parent.$parent.usertypes'
178
+ @change="$parent.$parent.userTypeChange()"
179
+ placeholder='请选择' v-model="model.f_user_type"
180
+ condition="f_user_type = '{}'"
181
+ close-on-select></v-select>
182
+ </div>
183
+ <div class="col-sm-2 form-group" >
184
+ <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表日期</label>
185
+ <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
186
+ v-model="model.startDate1"
187
+ :value.sync="model.startDate1"
188
+ :format="'yyyy-MM-dd'"
189
+ :show-reset-button="true"
190
+ condition="f_hand_date >= '{} 00:00:00'">
191
+ </datepicker>
192
+ </div>
193
+ <div class="col-sm-2 form-group" >
194
+ <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表日期</label>
195
+ <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
196
+ v-model="model.endDate1"
197
+ :value.sync="model.endDate1"
198
+ :format="'yyyy-MM-dd'"
199
+ :show-reset-button="true"
200
+ condition="f_hand_date <= '{} 23:59:59'">
201
+ </datepicker>
202
+ </div>
203
+ <div class="col-sm-2 form-group">
204
+ <label class="font_normal_body">小&emsp;&emsp;区</label>
205
+ <v-select :value.sync="model.f_residential_area"
206
+ class="select_list select"
207
+ enter-push
208
+ multiple
209
+ condition="f_residential_area in {}"
210
+ v-model="model.f_residential_area"
211
+ style="width: 60%"
212
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
213
+ >
214
+
215
+ </v-select>
216
+ </div>
217
+ <div class="col-sm-2 form-group" >
218
+ <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号</label>
219
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_building"
220
+ condition="f_building = '{}'" placeholder='楼号'>
221
+ </div>
222
+ <div class="col-sm-2 form-group" >
223
+ <label class="font_normal_body">单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;元</label>
224
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
225
+ condition="f_unit = '{}'" placeholder='单元号'>
226
+ </div>
227
+
228
+ <div class="col-sm-2 form-group" >
229
+ <label class="font_normal_body">楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;层</label>
230
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
231
+ condition="f_floor = '{}'" placeholder='楼层号'>
232
+ </div>
233
+ <div class="col-sm-2 form-group" >
234
+ <label class="font_normal_body">门&ensp;牌&ensp;号</label>
235
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_room"
236
+ condition="f_room = '{}'" placeholder='门牌号'>
237
+ </div>
238
+ <div class="col-sm-2 form-group">
239
+ <label class="font_normal_body">余额区间</label>
240
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_balance"
241
+ condition="f_balance >= '{}'" placeholder="最小值">
242
+ </div>
243
+ <div class="col-sm-2 form-group">
244
+ <label class="font_normal_body">&ensp;&ensp;&ensp;至&ensp;&ensp;&ensp;</label>
245
+ <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
246
+ condition="f_balance <= '{}'" placeholder="最大值">
247
+ </div>
248
+ <div class="col-sm-2 form-group" >
249
+ <label class="font_normal_body">客户地址</label>
250
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
251
+ condition="f_address like '%{}%'" placeholder='客户地址'>
252
+ </div>
253
+ <div class="col-sm-2 form-group" >
254
+ <label class="font_normal_body">用&ensp;气&ensp;点</label>
255
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
256
+ condition="f_userfiles_address like '%{}%'" placeholder="用气点">
257
+ </div>
258
+ <div class="col-sm-2 form-group">
259
+ <label class="font_normal_body">用气性质</label>
260
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
261
+ :options='$parent.$parent.gasproperties' placeholder='请选择' multiple
262
+ condition="f_gasproperties in {}"
263
+ ></v-select>
264
+ </div>
265
+ <!-- <div class="col-sm-2 form-group">-->
266
+ <!-- <label class="font_normal_body">用气性质</label>-->
267
+ <!-- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
268
+ <!-- :options='$parent.$parent.gasproperties' placeholder='请选择'-->
269
+ <!-- condition="f_gasproperties = '{}'"-->
270
+ <!-- close-on-select></v-select>-->
271
+ <!-- </div>-->
272
+ <div class="col-sm-2 form-group">
273
+ <label class="font_normal_body">气价类型</label>
274
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
275
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
276
+ condition="f_price_type = '{}'" @change="$parent.$parent.pricetypechanged"
277
+ close-on-select v-ref:type>
278
+ </v-select>
279
+ </div>
280
+ <div class="col-sm-2 form-group">
281
+ <label class="font_normal_body">气价名称</label>
282
+ <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
283
+ multiple
284
+ :options="$parent.$parent.pricenames" placeholder='气价名称'
285
+ condition="f_price_name in {}"
286
+ ></v-select>
287
+ </div>
288
+ <div class="col-sm-2 form-group" >
289
+ <label class="font_normal_body">微信绑定</label>
290
+ <v-select :value.sync="model.f_isband"
291
+ v-model="model.f_isband"
292
+ :options='$parent.$parent.bandstates' placeholder='请选择'
293
+ condition="f_isband = '{}'"
294
+ close-on-select></v-select>
295
+ </div>
296
+ <div class="col-sm-2 form-group">
297
+ <label class="font_normal_body">壁&ensp;挂&ensp;炉</label>
298
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl"
299
+ :options='$parent.$parent.bgl' placeholder='请选择'
300
+ condition="isbgl = '{}'"
301
+ close-on-select></v-select>
302
+ </div>
303
+ <div class="col-sm-2 form-group">
304
+ <label class="font_normal_body">发卡状态</label>
305
+ <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
306
+ :options='$parent.$parent.whetherCard' placeholder='请选择'
307
+ condition="f_whether_hairpin = '{}'"
308
+ close-on-select></v-select>
309
+ </div>
310
+ <div class="col-sm-2 form-group">
311
+ <label class="font_normal_body">安装位置</label>
312
+ <v-select :value.sync="model.f_position" v-model="model.f_position"
313
+ :options='$parent.$parent.positions' placeholder='请选择'
314
+ condition="f_position = '{}'"
315
+ multiple></v-select>
316
+ </div>
317
+
318
+ <!--表册片区-->
319
+ <div class="col-sm-2 form-group">
320
+ <label class="font_normal_body">表册片区</label>
321
+ <v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
322
+ @change="$parent.$parent.inputtorchange"
323
+ :options='$parent.$parent.bookSlice' placeholder='片区/表册'
324
+ style="width:60%"
325
+ close-on-select
326
+ condition="f_book_slice_area = '{}'"></v-select>
327
+ </div>
328
+ <div class="col-sm-2 form-group">
329
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
330
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
331
+ :options='$parent.$parent.meterbooks' placeholder='请选择'
332
+ style="width:60%"
333
+ multiple
334
+ condition="f_meter_book_num in {}"></v-select>
335
+ </div>
336
+ <div class="col-sm-2 form-group">
337
+ <label class="font_normal_body">房屋类型</label>
338
+ <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
339
+ :options='$parent.$parent.houseTypes' placeholder='请选择'
340
+ style="width:60%"
341
+ close-on-select
342
+ condition="f_house_type = '{}'"></v-select>
343
+ </div>
344
+ <div class="col-sm-2 form-group">
345
+ <label class="font_normal_body" >缴费类型</label>
346
+ <v-select :value.sync="model.f_payment" multiple
347
+ v-model="model.f_payment"
348
+ :options='$parent.$parent.dypayment' placeholder='请选择'
349
+ condition="f_cost_type in {}"
350
+ ></v-select>
351
+ </div>
352
+ <div class="col-sm-2 form-group" >
353
+ <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
354
+ <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
355
+ v-model="model.startDate2"
356
+ :value.sync="model.startDate2"
357
+ :format="'yyyy-MM-dd'"
358
+ :show-reset-button="true"
359
+ condition="f_open_date >= '{} 00:00:00'">
360
+ </datepicker>
361
+ </div>
362
+ <div class="col-sm-2 form-group" >
363
+ <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
364
+ <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
365
+ v-model="model.endDate2"
366
+ :value.sync="model.endDate2"
367
+ :format="'yyyy-MM-dd'"
368
+ :show-reset-button="true"
369
+ condition="f_open_date <= '{} 23:59:59'">
370
+ </datepicker>
371
+ </div>
372
+ <div class="col-sm-2 form-group" >
373
+ <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
374
+ <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
375
+ v-model="model.startDate3"
376
+ :value.sync="model.startDate3"
377
+ :format="'yyyy-MM-dd'"
378
+ :show-reset-button="true"
379
+ condition="f_install_date >= '{} 00:00:00'">
380
+ </datepicker>
381
+ </div>
382
+ <div class="col-sm-2 form-group" >
383
+ <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
384
+ <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
385
+ v-model="model.endDate3"
386
+ :value.sync="model.endDate3"
387
+ :format="'yyyy-MM-dd'"
388
+ :show-reset-button="true"
389
+ condition="f_install_date <= '{} 23:59:59'">
390
+ </datepicker>
391
+ </div>
392
+ <div class="col-sm-2 form-group" >
393
+ <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
394
+ <datepicker id="endDate4" placeholder="开始日期" style="width:60%"
395
+ v-model="model.startDate4"
396
+ :value.sync="model.startDate4"
397
+ :format="'yyyy-MM-dd'"
398
+ :show-reset-button="true"
399
+ condition="f_gas_date >= '{} 00:00:00'">
400
+ </datepicker>
401
+ </div>
402
+ <div class="col-sm-2 form-group" >
403
+ <label for="endDate4" class="font_normal_body" title="点火时间">点火时间</label>
404
+ <datepicker id="endDate4" placeholder="结束日期" style="width:60%"
405
+ v-model="model.endDate4"
406
+ :value.sync="model.endDate4"
407
+ :format="'yyyy-MM-dd'"
408
+ :show-reset-button="true"
409
+ condition="f_gas_date <= '{} 23:59:59'">
410
+ </datepicker>
411
+ </div>
412
+ <div class="col-sm-2 form-group" >
413
+ <label for="startDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
414
+ <datepicker id="startDate5" placeholder="开始日期" style="width:60%"
415
+ v-model="model.startDate5"
416
+ :value.sync="model.startDate5"
417
+ :format="'yyyy-MM-dd'"
418
+ :show-reset-button="true"
419
+ condition="f_subscribe_date >= '{} 00:00:00'">
420
+ </datepicker>
421
+ </div>
422
+ <div class="col-sm-2 form-group" >
423
+ <label for="endDate5" class="font_normal_body" title="预约通气时间">预约时间</label>
424
+ <datepicker id="endDate5" placeholder="结束日期" style="width:60%"
425
+ v-model="model.endDate5"
426
+ :value.sync="model.endDate5"
427
+ :format="'yyyy-MM-dd'"
428
+ :show-reset-button="true"
429
+ condition="f_subscribe_date <= '{} 23:59:59'">
430
+ </datepicker>
431
+ </div>
432
+ <div class="col-sm-2 form-group" >
433
+ <label class="font_normal_body">气表表号</label>
434
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
435
+ condition="f_meternumber like '%{}%'" placeholder='气表表号'>
436
+ </div>
437
+ <div class="col-sm-2 form-group">
438
+ <label class="font_normal_body">使用类型</label>
439
+ <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
440
+ :options='$parent.$parent.useTypes' placeholder='请选择'
441
+ style="width:60%"
442
+ close-on-select
443
+ condition="f_usetype = '{}'"></v-select>
444
+ </div>
445
+ <div class="col-sm-2 form-group">
446
+ <label class="font_normal_body">表具状态</label>
447
+ <v-select :value.sync="model.f_table_state" v-model="model.f_table_state"
448
+ multiple
449
+ :options='$parent.$parent.TableStates' placeholder='请选择'
450
+ style="width:60%"
451
+ condition="f_table_state in {}"></v-select>
452
+ </div>
453
+ <div class="col-sm-2 form-group">
454
+ <label class="font_normal_body">表册抄表员</label>
455
+ <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
456
+ style="width:60%"
457
+ multiple
458
+ :options='$parent.$parent.inputtores' placeholder='表册抄表员'
459
+ v-el:cc></v-select>
460
+ </div>
461
+ <div class="col-sm-2 form-group">
462
+ <label class="font_normal_body">档案抄表员</label>
463
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
464
+ style="width:60%"
465
+ multiple
466
+ :options='$parent.$parent.inputtores' placeholder='档案抄表员'
467
+ v-el:cc></v-select>
468
+ </div>
469
+ <div class="col-sm-2 form-group">
470
+ <label class="font_normal_body">安&ensp;装&ensp;人</label>
471
+ <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
472
+ style="width:60%"
473
+ multiple
474
+ :options='$parent.$parent.person' placeholder='安装人'
475
+ condition="f_install_person in {}"
476
+ v-el:cc></v-select>
477
+ </div>
478
+ <div class="col-sm-2 form-group">
479
+ <label class="font_normal_body">自动阀控</label>
480
+ <v-select
481
+ placeholder='自动阀控'
482
+
483
+ :value.sync="model.f_network_valve"
484
+ style="width:60%"
485
+ v-model="model.f_network_valve"
486
+ :options='$parent.$parent.networkvalves'
487
+ close-on-select
488
+ condition="f_network_valve='{}'">
489
+ </v-select>
490
+ </div>
491
+ <div class="col-sm-2 form-group" >
492
+ <label class="font_normal_body">备注信息</label>
493
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_comments"
494
+ condition="f_comments like '%{}%'" placeholder='备注信息'>
495
+ </div>
496
+ <div class="col-sm-2 form-group">
497
+ <label class="font_normal_body">有无备注</label>
498
+ <v-select
499
+ placeholder='有无备注'
500
+ :value.sync="$parent.$parent.f_hasComments"
501
+ style="width:60%"
502
+ :value-single="true"
503
+ v-model="$parent.$parent.f_hasComments"
504
+ :options='$parent.$parent.hasComments'
505
+ close-on-select>
506
+ </v-select>
507
+ </div>
508
+ </div>
509
+ </div>
510
+ </criteria>
511
+
512
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
513
+ <template partial='head'>
514
+ <tr>
515
+ <th rowspan="2">
516
+ <nobr>序号</nobr>
517
+ </th>
518
+ <th colspan="6">
519
+ <nobr>用户信息</nobr>
520
+ </th>
521
+ <th colspan="5">
522
+ <nobr>建档信息</nobr>
523
+ </th>
524
+ <th colspan="6">
525
+ <nobr>燃气表</nobr>
526
+ </th>
527
+ <th colspan="63">
528
+ <nobr>其他</nobr>
529
+ </th>
530
+ </tr>
531
+ <tr>
532
+ <th>
533
+ <!--<nobr>客户编号</nobr>-->
534
+ <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
535
+ </th>
536
+ <th>
537
+ <nobr>小区名称</nobr>
538
+ </th>
539
+ <th>
540
+ <nobr>户主姓名</nobr>
541
+ </th>
542
+ <th>
543
+ <nobr>身份证号</nobr>
544
+ </th>
545
+ <th>
546
+ <nobr>详细地址</nobr>
547
+ </th>
548
+ <th>
549
+ <nobr>联系电话</nobr>
550
+ </th>
551
+ <th>
552
+ <nobr>建档日期</nobr>
553
+ </th>
554
+ <th>
555
+ <nobr>供气合同编号</nobr>
556
+ </th>
557
+ <th>
558
+ <nobr>通气日期</nobr>
559
+ </th>
560
+ <th>
561
+ <nobr>通气人员</nobr>
562
+ </th>
563
+ <th>
564
+ <nobr>防盗卡号</nobr>
565
+ </th>
566
+ <th>
567
+ <nobr>品牌</nobr>
568
+ </th>
569
+ <th>
570
+ <nobr>表号</nobr>
571
+ </th>
572
+ <th>
573
+ <nobr>类型</nobr>
574
+ </th>
575
+ <th>
576
+ <nobr>型号</nobr>
577
+ </th>
578
+ <th>
579
+ <nobr>表向</nobr>
580
+ </th>
581
+ <th>
582
+ <nobr>生产年月</nobr>
583
+ </th>
584
+ <th><nobr>客户状态</nobr></th>
585
+
586
+ <th><nobr>档案编号</nobr></th>
587
+ <th><nobr>是否发卡</nobr></th>
588
+ <th><nobr>卡号</nobr></th>
589
+ <!-- <th><nobr>客户名称</nobr></th>-->
590
+ <!-- <th><nobr>小区名称</nobr></th>-->
591
+ <th><nobr>楼栋</nobr></th>
592
+ <th><nobr>单元</nobr></th>
593
+ <th><nobr>楼层</nobr></th>
594
+ <th><nobr>门牌号</nobr></th>
595
+ <!-- <th>-->
596
+ <!-- <data-order field="f_userinfo_code" name="客户地址"-->
597
+ <!-- :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>-->
598
+ <!-- </th>-->
599
+ <!-- <th><nobr>客户电话</nobr></th>-->
600
+ <th><nobr>表册片区</nobr></th>
601
+ <!-- <th>-->
602
+ <!-- &lt;!&ndash;<nobr>通气日期</nobr>&ndash;&gt;-->
603
+ <!-- <data-order field="f_gas_date" name="通气日期" :order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>-->
604
+ <!-- </th>-->
605
+ <!-- 气价类型,单价暂时未处理 -->
606
+ <th><nobr>气价类型</nobr></th>
607
+ <th><nobr>气价名称</nobr></th>
608
+ <th><nobr>单价</nobr></th>
609
+
610
+ <th><nobr>安装位置</nobr></th>
611
+ <th><nobr>缴费类型</nobr></th>
612
+ <!-- <th><nobr>气表类型</nobr></th>-->
613
+ <!-- <th><nobr>气表品牌</nobr></th>-->
614
+ <!-- <th><nobr>表号</nobr></th>-->
615
+ <th><nobr>表封号</nobr></th>
616
+ <!-- <th><nobr>左右表</nobr></th>-->
617
+ <th>
618
+ <!--<nobr>气表安装日期</nobr>-->
619
+ <data-order field="f_install_date" name="气表安装日期" :order.sync="$parent.$parent.$parent.orderFields.f_install_date"></data-order>
620
+ </th>
621
+ <th><nobr>气表底数</nobr></th>
622
+ <th><nobr>账户余额</nobr></th>
623
+ <th>
624
+ <!--<nobr>最后抄表日期</nobr>-->
625
+ <data-order field="f_hand_date" name="最后抄表日期" :order.sync="$parent.$parent.$parent.orderFields.f_hand_date"></data-order>
626
+ </th>
627
+ <!--<th><nobr>最后购气日期</nobr></th>-->
628
+
629
+ <th><nobr>自动阀控</nobr></th>
630
+ <th><nobr>阀门状态</nobr></th>
631
+
632
+ <!-- <th><nobr>旧客户编号</nobr></th> -->
633
+ <th><nobr>客户类型</nobr></th>
634
+ <th><nobr>用气性质</nobr></th>
635
+ <th>
636
+ <!--<nobr>开户时间</nobr>-->
637
+ <data-order field="f_open_date" name="开户时间" :order.sync="$parent.$parent.$parent.orderFields.f_open_date"></data-order>
638
+
639
+ </th>
640
+ <th><nobr>证件类型</nobr></th>
641
+ <!-- <th><nobr>证件号码</nobr></th>-->
642
+ <th><nobr>人口数</nobr></th>
643
+ <th>
644
+ <!--<nobr>保险结束日期</nobr>-->
645
+ <data-order field="f_ins_stop_date" name="保险结束日期" :order.sync="$parent.$parent.$parent.orderFields.f_ins_stop_date"></data-order>
646
+ </th>
647
+ <!-- <th>-->
648
+ <!-- &lt;!&ndash;<nobr>建档日期</nobr>&ndash;&gt;-->
649
+ <!-- <data-order field="f_createfile_date" name="建档日期" :order.sync="$parent.$parent.$parent.orderFields.f_createfile_date"></data-order>-->
650
+ <!-- </th>-->
651
+ <th><nobr>建档人</nobr></th>
652
+ <th><nobr>所属营业厅</nobr></th>
653
+ <!-- <th><nobr>备注信息</nobr></th>-->
654
+
655
+ <!-- <th><nobr>气价详情</nobr></th>-->
656
+ <th><nobr>曾用名</nobr></th>
657
+ <th><nobr>备用电话</nobr></th>
658
+ <th><nobr>租户姓名</nobr></th>
659
+ <th><nobr>租户电话</nobr></th>
660
+ <!--<th><nobr>曾用名</nobr></th>-->
661
+ <!-- <th><nobr>发票编码</nobr></th>-->
662
+ <th><nobr>是否煤改气</nobr></th>
663
+ <th><nobr>是否发放天然气使用证</nobr></th>
664
+
665
+ <th><nobr>使用类型</nobr></th>
666
+
667
+ <!-- <th><nobr>使用状态</nobr></th>-->
668
+ <!--<th><nobr>通气时间</nobr></th>-->
669
+
670
+ <!-- <th><nobr>气表型号</nobr></th>-->
671
+ <th><nobr>预约通气时间</nobr></th>
672
+ <th><nobr>表具状态</nobr></th>
673
+ <th><nobr>初始气表底数</nobr></th>
674
+ <th><nobr>累计用气金额</nobr></th>
675
+ <th><nobr>表累购气量</nobr></th>
676
+ <th><nobr>表累购金额</nobr></th>
677
+
678
+ <th><nobr>抄表员(表册)</nobr></th>
679
+ <th><nobr>抄表员(档案)</nobr></th>
680
+ <th><nobr>用气点</nobr></th>
681
+ <th><nobr>安装人</nobr></th>
682
+ <!-- <th><nobr>通气人</nobr></th>-->
683
+ <!-- <th><nobr>点火状态</nobr></th>-->
684
+ <th><nobr>表册名称</nobr></th>
685
+ <th><nobr>抄表册编号</nobr></th>
686
+
687
+ <th><nobr>抄表册顺序</nobr></th>
688
+ <th><nobr>表剩余金额</nobr></th>
689
+ <!-- <th><nobr>首次购气日期</nobr></th>-->
690
+ <th><nobr>写卡次数</nobr></th>
691
+ <th><nobr>补卡次数</nobr></th>
692
+ <!-- <th><nobr>购气次数</nobr></th>-->
693
+
694
+ <th><nobr>表同步状态</nobr></th>
695
+ <th><nobr>微信绑定</nobr></th>
696
+
697
+ <th>
698
+ <nobr>银行户名</nobr>
699
+ </th>
700
+ <th>
701
+ <nobr>银行名称</nobr>
702
+ </th>
703
+ <th>
704
+ <nobr>银行账号</nobr>
705
+ </th>
706
+ <th>
707
+ <nobr>银行身份证号</nobr>
708
+ </th>
709
+ <th>
710
+ <nobr>缴费编号</nobr>
711
+ </th>
712
+ <th>
713
+ <nobr>报警器编号</nobr>
714
+ </th>
715
+ <th>
716
+ <!--<nobr>换表时间</nobr>-->
717
+ <data-order field="f_maxdate" name="换表时间" :order.sync="$parent.$parent.$parent.orderFields.f_maxdate"></data-order>
718
+ </th>
719
+ <th>
720
+ <nobr>灶具信息</nobr>
721
+ </th>
722
+ <th>
723
+ <nobr>备注</nobr>
724
+ </th>
725
+ </tr>
726
+ </template>
727
+ <template partial='body'>
728
+ <td style="text-align: center;"><nobr>{{$index + 1}}</nobr></td>
729
+ <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
730
+ <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
731
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
732
+ <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
733
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
734
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
735
+ <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
736
+ <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
737
+ <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
738
+ <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
739
+ <td style="text-align: center;"><nobr>{{row.f_defendcard}}</nobr></td>
740
+ <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
741
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
742
+ <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
743
+ <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
744
+ <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
745
+ <td style="text-align: center;"><nobr>{{row.f_factory_date}}</nobr></td>
746
+ <!-- <td style="text-align: center;"><nobr>-->
747
+ <!-- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
748
+ <!-- </nobr> </td>-->
749
+ <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
750
+ <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
751
+ <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
752
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
753
+ <!-- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>-->
754
+ <!-- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>-->
755
+ <td style="text-align: center;"><nobr>{{row.f_building}}</nobr></td>
756
+ <td style="text-align: center;"><nobr>{{row.f_unit}}</nobr></td>
757
+ <td style="text-align: center;"><nobr>{{row.f_floor}}</nobr></td>
758
+ <!-- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>-->
759
+ <td style="text-align: center;"><nobr>{{row.f_room}}</nobr></td>
760
+ <!-- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>-->
761
+ <td style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></td>
762
+ <!-- <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>-->
763
+ <!-- 气价类型,单价暂时未处理 -->
764
+ <td style="text-align: center;"><nobr>&nbsp;&nbsp;</nobr></td>
765
+ <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
766
+ <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
767
+
768
+ <td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
769
+ <td style="text-align: center;"><nobr>{{row.f_cost_type}}</nobr></td>
770
+ <!-- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>-->
771
+ <!-- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>-->
772
+ <!-- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>-->
773
+ <td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
774
+ <!-- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>-->
775
+ <td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
776
+ <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
777
+ <td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
778
+ <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
779
+ <!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
780
+ <td style="text-align: center;"><nobr>{{row.f_network_valve}}</nobr></td>
781
+ <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
782
+
783
+ <!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
784
+ <td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
785
+ <td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
786
+
787
+ <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
788
+ <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
789
+ <!-- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>-->
790
+ <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
791
+ <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
792
+ <!-- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>-->
793
+ <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
794
+ <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
795
+ <!-- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>-->
796
+
797
+ <!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
798
+ <td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
799
+ <td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
800
+ <td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
801
+ <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
802
+ <!-- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>-->
803
+ <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
804
+ <td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
805
+
806
+ <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
807
+ <!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
808
+ <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
809
+
810
+ <!-- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>-->
811
+ <td style="text-align: center;"><nobr>{{row.f_subscribe_date}}</nobr></td>
812
+ <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
813
+ <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
814
+ <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
815
+ <td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
816
+ <td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
817
+ <td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
818
+ <td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
819
+
820
+ <td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
821
+ <td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
822
+ <!-- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>-->
823
+ <!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
824
+ <td style="text-align: center;"><nobr>{{row.f_book_name}}</nobr></td>
825
+ <td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
826
+
827
+ <td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
828
+ <td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
829
+ <!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
830
+ <td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
831
+ <td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
832
+ <!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
833
+ <td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
834
+ <td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
835
+
836
+ <td style="text-align: center;">
837
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
838
+ </td>
839
+ <td style="text-align: center;">
840
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
841
+ </td>
842
+ <td style="text-align: center;">
843
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
844
+ </td>
845
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
846
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
847
+ </td>
848
+ <td style="text-align: center;">
849
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
850
+ </td>
851
+ <td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
852
+ <td style="text-align: center;"><nobr>{{row.f_maxdate}}</nobr></td>
853
+ <td style="text-align: center;"><nobr>{{row.f_devices_type}}</nobr></td>
854
+ <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
855
+ </template>
856
+ <template partial='foot'>
857
+
858
+ </template>
859
+ </data-grid>
860
+ </criteria-paged>
861
+
862
+ <table class="table-hover">
863
+ <tr style="position: relative" class="table-bordered">
864
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
865
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">已挂表:{{sumsmodel.f_yiguabiao}}</td>
866
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">未挂表:{{sumsmodel.f_weiguabiao}}</td>
867
+ </tr>
868
+ </table>
869
+
870
+ <modal :show.sync="printshow" v-ref:modal backdrop="false">
871
+ <header slot="modal-header" class="modal-header text-center">
872
+ <h4 class="modal-title">打印列选择</h4>
873
+ <input type="checkbox" class="" id="f_generations" v-model="all">
874
+ <label for="f_generations" class="font-size">全选</label>
875
+ </header>
876
+ <article slot="modal-body">
877
+ <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
878
+ <div class="col-sm-3" v-for="f in fields">
879
+ <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
880
+ <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
881
+ </div>
882
+ </div>
883
+ </article>
884
+ <footer slot="modal-footer" class="modal-footer">
885
+ <center>
886
+
887
+ <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
888
+ <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
889
+ <print-table :model='model' v-show="false" v-ref:print
890
+ :top='40' :left='60' :right='40' :bottom='60'
891
+ :thead="thead" :tfoot='tfoot' :attach="yangsen"
892
+ :fields="modelval" :printpage="true">
893
+ </print-table>
894
+ </center>
895
+ </footer>
896
+ </modal>
897
+ </div>
898
+ <div class="flex" v-if="show">
899
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
900
+ </div>
901
+ </div></div></div>
902
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
903
+ </template>
904
+
905
+ <script>
906
+ import {HttpResetClass, PagedList} from 'vue-client'
907
+ import defaultPrint from './config/DefaultPrint'
908
+ import exportConfig from './config/exportConfig'
909
+ // let cardBtnGen = async function (self, val) {
910
+ // self.cardInfo = val.data
911
+ //
912
+ // // 判断读卡是否需要卡密码
913
+ // console.log('读卡上的信息', self.cardInfo)
914
+ //
915
+ // if (self.cardInfo.NewParam) {
916
+ // if (self.cardInfo.NewParam.error) {
917
+ // if (self.cardInfo.NewParam.error === '0001') {
918
+ // // 需要重新读卡并传卡密码
919
+ // if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
920
+ // self.readCardParam = self.model.rows[0].f_card_password
921
+ // self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
922
+ // } else {
923
+ // self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
924
+ // return
925
+ // }
926
+ // }
927
+ // }
928
+ // }
929
+ // self.card=self.cardInfo.CardID
930
+ // self.search()
931
+ // }
932
+ let readySomething = async function (self) {
933
+ await self.$MagLoadParams.loadParam()
934
+ // await self.$LoadParams.loadParam(self.f_filialeid)
935
+ self.initParams()
936
+ self.getPricenames();
937
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
938
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
939
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
940
+ // await self.$refs.paged.$refs.cri.search()
941
+ }
942
+ export default {
943
+ title: '综合档案信息查询',
944
+ data() {
945
+ return {
946
+ IdCardInfo:'',
947
+ card:'',
948
+ isSingleUser: null,
949
+ other:[],
950
+ footer:[],
951
+ model: new PagedList('api/af-revenue/sql/compreQuery', 20,{orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc'`},{f_yiguabiao:0,f_weiguabiao:0}),
952
+ criteriaShow: false,
953
+ orgCondtionStr:'',
954
+ residentialArea: [],
955
+ gasproperties:[],
956
+ meterbrands: [],
957
+ modelval: [],
958
+ prices: [],
959
+ meterbooks: [],
960
+ printshow: false,
961
+ all: false,
962
+ fields: {},
963
+ thead: '',
964
+ tfoot: '',
965
+ defaultfield: [],
966
+ //排序
967
+ orderitem: 'f_residential_area desc,f_building desc,f_unit desc,f_floor desc,f_room desc,f_userfiles_id desc',
968
+ orderFields: {
969
+ f_operate_date: 'no'
970
+ },
971
+ config: {
972
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
973
+ },
974
+ area: [],
975
+ inputtouPerson: [],
976
+ bookinputtorperson:[],
977
+ conditon2:'',
978
+ show:false,
979
+ rowdata:{},
980
+ f_filialeid: this.$login.f.orgid,
981
+ // 下拉框参数
982
+ initres: {
983
+ org:[this.$login.f.orgid],
984
+ dep:[],
985
+ user:[],
986
+ },
987
+ f_hasComments: '',
988
+ // 合计数据
989
+ sumsmodel: {},
990
+ //表册片区
991
+ bookSlice:[{label: '全部',value: ''}],
992
+ meterStyle:[{label: '全部',value: ''}],
993
+ pricenames:[],
994
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
995
+ hasComments:[{label:"全部",value:""},{label:"有",value:"有",},{label:"无",value:"无",}],
996
+ networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
997
+ }
998
+ },
999
+ ready(){
1000
+ this.getaddress()
1001
+ this.$refs.paged.$refs.cri.model.f_user_state=['正常']
1002
+ readySomething(this).then(() => {
1003
+ this.$emit('ready')
1004
+ }).catch((error) => {
1005
+ this.$emit('error', error)
1006
+ })
1007
+ },
1008
+ methods: {
1009
+ recombine (param) {
1010
+ // 条件拼接数据,多用于in ()。将数组转成字符串时加上单引号处理
1011
+ let str = ''
1012
+ if (param && param.length > 0) {
1013
+ param.forEach((p) => {
1014
+ str += `'${p}',`
1015
+ })
1016
+ }
1017
+ return `(${str.substring(0, str.length - 1)})`
1018
+ },
1019
+ async getMeterStyle(val){
1020
+ if (val.length > 0){
1021
+ // 获取气表型号下拉框
1022
+ let HttpReset = new HttpResetClass()
1023
+ let param = {
1024
+ items: 'distinct f_meter_style',
1025
+ tablename: 't_gasmodel gm left join t_gasbrand tg on gm.f_gasbrand_id = tg.id',
1026
+ condition: `tg.f_meter_brand in ${this.recombine(val)}`,
1027
+ orderitem: 'f_meter_style'
1028
+ }
1029
+ let data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
1030
+ for (let row of data.data) {
1031
+ this.meterStyle.push({label: row.f_meter_style, value: row.f_meter_style})
1032
+ }
1033
+ } else {
1034
+ this.meterStyle = [{label: '全部',value: ''}]
1035
+ }
1036
+ },
1037
+ ReadIDCard(){
1038
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
1039
+ console.log('======',msg)
1040
+ if(msg.err !== 0){ return}
1041
+ this.IdCardInfo=msg.strID
1042
+ })
1043
+ if(this.IdCardInfo) {
1044
+ this.search()
1045
+ }else{
1046
+ alert("读取失败,找不到用户信息")
1047
+ }
1048
+ },
1049
+ cardBtn (val) {
1050
+ // this.clear()
1051
+ cardBtnGen(this, val)
1052
+ },
1053
+ getPricenames() {
1054
+ this.pricenames = []
1055
+ let priceArr = []
1056
+ this.$MagGetSaleParam.prices.forEach((item) => {
1057
+ let temp = {}
1058
+ temp.label = item.f_price_name
1059
+ temp.value = item.f_price_name
1060
+ priceArr.push(temp)
1061
+ })
1062
+ this.pricenames = [{label: '全部', value: ''}, ...priceArr]
1063
+ },
1064
+ selectPrice(){
1065
+ this.pricesAll=[{label: '全部', value: ''}]
1066
+ this.$refs.paged.$refs.cri.model.f_price=''
1067
+ this.pricesSum.forEach((item)=>{
1068
+ if(this.$refs.paged.$refs.cri.model.f_price_name==item.f_price_name){
1069
+ item.detailprice.forEach((item)=>{
1070
+ let temp={}
1071
+ temp.label=item.f_price
1072
+ temp.value=item.f_price
1073
+ this.pricesAll.push(temp)
1074
+ })
1075
+ }
1076
+ })
1077
+ },
1078
+ pricetypechanged(){
1079
+ this.$refs.paged.$refs.cri.model.f_price_name = []
1080
+ },
1081
+ getotherfooter () {
1082
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
1083
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
1084
+ this.other = [];
1085
+ this.footer = [];
1086
+ let exportdata = this.getCondition;
1087
+ let otherInData = [];
1088
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
1089
+ // let footerData = [], exportfield = this.getExportField;
1090
+ // footerData.push("合计");
1091
+ // let self = this;
1092
+ // for (var field in self.sumsmodel) {
1093
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
1094
+ // }
1095
+ // this.footer.push(footerData);
1096
+ this.other.push(otherInData);
1097
+ },
1098
+ initParams() {
1099
+ // 初始化气表品牌
1100
+ let brandArr = []
1101
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1102
+ let temp = {}
1103
+ temp.label = item.label
1104
+ temp.value = item.value.f_meter_brand
1105
+ brandArr.push(temp)
1106
+ })
1107
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1108
+ //初始化气表价格
1109
+ this.prices = this.$MagGetSaleParam.getPrices();
1110
+ },
1111
+ async getaddress(){
1112
+ console.log('开始获取小区')
1113
+ let HttpReset = new HttpResetClass()
1114
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
1115
+ data: {
1116
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
1117
+ }
1118
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
1119
+ console.log('小区',data)
1120
+ let house = [{label: '全部', value: ''}]
1121
+ for (let row of data.data){
1122
+ console.log('开始保存小区')
1123
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
1124
+ }
1125
+ this.residentialArea = house
1126
+ },
1127
+ search(){
1128
+ this.$refs.paged.$refs.cri.search()
1129
+ },
1130
+ cancel() {
1131
+ this.show = false
1132
+ },
1133
+ showmsg(obj){
1134
+ this.rowdata=obj
1135
+ this.show=true
1136
+ },
1137
+ selfSearch (args) {
1138
+
1139
+ //抄表员查询条件
1140
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
1141
+ if(this.inputtouPerson.length !== 0){
1142
+ let str = JSON.stringify(this.inputtouPerson)
1143
+ str = str.replace(/"/g,`'`)
1144
+ str = str.replace(/\[/g,``)
1145
+ str = str.replace(/\]/g,``)
1146
+ console.log("=====抄表员model22222222222绑定====",str)
1147
+ //查询多个抄表员时条件
1148
+ args.condition += ` and f_inputtor in ( ${str} )`
1149
+ }
1150
+ //debugger
1151
+ this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
1152
+ if(this.bookinputtorperson.length !== 0){
1153
+ let str = JSON.stringify(this.bookinputtorperson)
1154
+ str = str.replace(/"/g,`'`)
1155
+ str = str.replace(/\[/g,``)
1156
+ str = str.replace(/\]/g,``)
1157
+ console.log("=====抄表员model22222222222绑定====",str)
1158
+ //查询多个抄表员时条件
1159
+ args.condition += ` and f_book_inputtor in ( ${str} )`
1160
+ }
1161
+ if (!this.orgCondtionStr) {
1162
+ args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
1163
+ } else {
1164
+ args.condition = `${args.condition}` + this.orgCondtionStr
1165
+ }
1166
+ console.log("查看条件",this.conditon2)
1167
+ if (this.f_hasComments) {
1168
+ if (this.f_hasComments === '有') {
1169
+ args.condition +=` and f_comments != '' and f_comments is not null`
1170
+ } else {
1171
+ args.condition +=` and (f_comments = '' or f_comments is null)`
1172
+ }
1173
+ }
1174
+ if(this.card!=''){
1175
+ args.condition +=` and f_card_id='${this.card}'`
1176
+ }
1177
+ if(this.IdCardInfo!=''){
1178
+ args.condition+=` and f_idnumber='${this.IdCardInfo}'`
1179
+ }
1180
+ this.conditon2 = args.condition
1181
+ this.model.search(args.condition, args.model)
1182
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
1183
+ this.card=''
1184
+ this.IdCardInfo=''
1185
+ console.log('合计字段',this.sumsmodel)
1186
+ },
1187
+ clear(){
1188
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1189
+ this.$refs.paged.$refs.cri.model[key] = []
1190
+ })
1191
+ },
1192
+ hidden(){
1193
+ this.criteriaShow = !this.criteriaShow
1194
+ },
1195
+ getRes(obj) {
1196
+ this.orgCondtionStr = obj
1197
+ },
1198
+ stamp () {
1199
+ this.all = false
1200
+ //默认选择要打印的列
1201
+ this.modelval = defaultPrint.config
1202
+ this.fields = this.getfield
1203
+ console.log('所有打印字段',this.fields)
1204
+ this.printshow = true
1205
+ this.put()
1206
+ },
1207
+ put () {
1208
+ // 对Modelval进行排序
1209
+ this.sortModelval()
1210
+ this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
1211
+ for (let key of this.modelval) {
1212
+ this.thead += '<th>' + this.fields[key] + '</th>'
1213
+ }
1214
+ this.thead += '</tr>'
1215
+ },
1216
+ print () {
1217
+ this.$refs.print.PrintAsFile()
1218
+ this.printshow = false
1219
+ },
1220
+ close () {
1221
+ this.printshow = false
1222
+ this.all = false
1223
+ },
1224
+ userTypeChange () {
1225
+ this.gasproperties=[]
1226
+ if(this.$refs.paged.$refs.cri.model !==null) {
1227
+ this.$refs.paged.$refs.cri.model.f_gasproperties=[]
1228
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
1229
+ // this.gasproperties.push({label: '全部', value: ''})
1230
+ }
1231
+ else{
1232
+ this.gasproperties =[{label: '全部', value: ''}]
1233
+ }
1234
+ },
1235
+ // 对选择的列进行排序
1236
+ sortModelval () {
1237
+ let sortModel = []
1238
+ Object.keys(this.fields).forEach((key) => {
1239
+ if (this.modelval.includes(key)) {
1240
+ sortModel.push(key)
1241
+ }
1242
+ })
1243
+ this.modelval = sortModel
1244
+ console.log('选择的打印的字段', this.modelval)
1245
+ },
1246
+ async updateParams() {
1247
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
1248
+ this.inputtores = [];
1249
+ this.inputtores.push({label: "全部", value: ""})
1250
+ this.initSlice(this.f_filialeid)
1251
+ if(this.allorgid!=null){
1252
+ this.allorgid.forEach((res)=>{
1253
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
1254
+ })
1255
+ }
1256
+ },
1257
+ async initSlice (val) {
1258
+ if (val) {
1259
+ let getAllArea = await this.$resetpost('/rs/search', {
1260
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
1261
+ userid: this.$login.f.id
1262
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
1263
+ let arr = getAllArea.data.filter((res) => {
1264
+ return res.parentid == val
1265
+ })
1266
+ this.bookSlice = []
1267
+ console.log('过滤之后的片区-------------------', arr)
1268
+ arr.forEach((res) => {
1269
+ this.bookSlice.push({label: res.name, value: res.name})
1270
+ })
1271
+ }
1272
+ },
1273
+ //表册片区和抄表册关联
1274
+ async inputtorchange(){
1275
+ this.$set('$refs.paged.$refs.cri.model.f_meter_book',[]);
1276
+ /*let val1=this.$refs.paged.$refs.cri.model.f_meter_book*/
1277
+ let val2=this.$refs.paged.$refs.cri.model.f_book_slice_area
1278
+ if((val2.length>0)){
1279
+ let condition = ` 1=1 and f_orgid ='${this.f_filialeid}' and f_book_state='有效' `
1280
+ /*if (val1[0]){
1281
+ condition = condition+ ` and f_meter_book = '${val1[0]}' `
1282
+ }*/
1283
+ if(val2[0]) {
1284
+ condition = condition + ` and f_book_slice_area = '${val2}' `
1285
+ }
1286
+ let param={
1287
+ items:'*',
1288
+ tablename:'t_meter_book',
1289
+ condition:condition,
1290
+ orderitem:'id'
1291
+ }
1292
+ let getMeterBooks = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {data: param}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'})
1293
+ if (getMeterBooks.data) {
1294
+ if(getMeterBooks.data.length >0){
1295
+ let rs = [];
1296
+ getMeterBooks.data.forEach((item)=>{
1297
+ let temp = {
1298
+ label:item.f_book_name,
1299
+ value:item.id
1300
+ };
1301
+ rs.push(temp);
1302
+
1303
+ })
1304
+ this.meterbooks = [{label: '全部',value: ''}, ...rs];
1305
+ }else{
1306
+ this.meterbooks = [{label: '全部',value: ''}];
1307
+ }
1308
+ }
1309
+ }else{
1310
+ this.meterbooks = [{label: '全部',value: ''}];
1311
+ this.initmeterbook();
1312
+ }
1313
+ },
1314
+ async initmeterbook(orgstr){
1315
+ if(orgstr == null ){
1316
+ orgstr = this.f_filialeid;
1317
+ }
1318
+ //获取新的抄表册,先去清理所有的抄表册
1319
+ this.$GetSaleParam.meterbooks = [];
1320
+ //开始加载新的抄表册
1321
+ await this.$LoadParams.loadMeterBook(orgstr)
1322
+ this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1323
+ },
1324
+ sort (field, rule) {
1325
+ // 将所有排序方式设为不排序,实现相互排斥
1326
+ for (let key in this.orderFields) {
1327
+ if (key === field) {
1328
+ this.orderFields[key] = rule
1329
+ } else {
1330
+ this.orderFields[key] = 'no'
1331
+ }
1332
+ }
1333
+ // 如果新规则不排序,还原为默认排序
1334
+ if (rule === 'no') {
1335
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
1336
+ } else {
1337
+ this.model.paramSource.orderitem = `'${field} ${rule},f_userfiles_id desc'`
1338
+ }
1339
+
1340
+ this.search()
1341
+ }
1342
+ },
1343
+ watch:{
1344
+ 'model.rows.length' () {
1345
+ this.isSingleUser = this.model.rows
1346
+ },
1347
+ 'all' (val) {
1348
+ if (val) {
1349
+ this.modelval = this.bodyData
1350
+ } else {
1351
+ this.modelval = defaultPrint.config
1352
+ this.put()
1353
+ }
1354
+ },
1355
+ 'modelval.length' () {
1356
+ this.put()
1357
+ },
1358
+ sumsmodel:{
1359
+ handler: function(val) {
1360
+ this.getotherfooter();
1361
+ },
1362
+ deep: true
1363
+ },
1364
+ 'orgCondtionStr'(val) {
1365
+ let res = val.match(/'(.*?)'/)
1366
+ console.log('正则提取:',res && res[1])
1367
+ if (res) {
1368
+ this.f_filialeid = res[1]
1369
+ if(res.input !=null){
1370
+ let resorgid = res.input.substring(res.input.indexOf("'"));
1371
+ if(resorgid!= null && resorgid!=''){
1372
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
1373
+ // resorgid = resorgid.replaceAll("'","");
1374
+ resorgid = resorgid.replace(/'/g,"");
1375
+ this.allorgid = resorgid.split(",")
1376
+ }
1377
+ }
1378
+ this.updateParams()
1379
+ }
1380
+ },
1381
+ },
1382
+ computed:{
1383
+ bandstates () {
1384
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')]
1385
+ },
1386
+ TableStates () {
1387
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
1388
+ },
1389
+ bgl(){
1390
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
1391
+ },
1392
+ houseTypes(){
1393
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
1394
+ },
1395
+ gasproperties(){
1396
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
1397
+ },
1398
+ whetherCard(){
1399
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
1400
+ },
1401
+ usertypes() {
1402
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
1403
+ },
1404
+ useTypes() {
1405
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
1406
+ },
1407
+ positions() {
1408
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
1409
+ },
1410
+ // meterbooks(){
1411
+ // return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
1412
+ // },
1413
+ userstates() {
1414
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
1415
+ },
1416
+
1417
+ metertypes() {
1418
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
1419
+ },
1420
+ pricetypes() {
1421
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
1422
+ },
1423
+ person() {
1424
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
1425
+ },
1426
+ tablestate() {
1427
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
1428
+ },
1429
+ inputtores () {
1430
+ // 获取抄表员
1431
+ console.log('获取抄表员', this.$login.f)
1432
+ let rs = []
1433
+ if (this.$login.f.f_gasman.length > 0) {
1434
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
1435
+ let temp = {
1436
+ label: this.$login.f.f_gasman[i].name,
1437
+ value: this.$login.f.f_gasman[i].name
1438
+ }
1439
+ rs.push(temp)
1440
+ }
1441
+ }
1442
+
1443
+ return [{label: '全部', value: ''}, ...rs]
1444
+ },
1445
+ authArr () {
1446
+ return this.$login.r ? this.$login.r : []
1447
+ },
1448
+ getCondition(){
1449
+
1450
+ return {condition:this.conditon2,orderitem:this.orderitem}
1451
+ },
1452
+ getfield(){
1453
+ let data = {}
1454
+ this.bodyData.forEach((value, index)=>{
1455
+ data[this.bodyData[index]] = this.headData[index]
1456
+ })
1457
+ //合计字段打印
1458
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1459
+ if(this.sumsmodel){
1460
+ Object.keys(this.sumsmodel).forEach((key) => {
1461
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1462
+ })
1463
+ }else{
1464
+ this.tfoot += '暂无'
1465
+ }
1466
+ this.tfoot += '</th></tr>'
1467
+ return data
1468
+ },
1469
+ getExportField() {
1470
+ return exportConfig.compreConfig
1471
+ }
1472
+ }
1473
+ }
1474
+ </script>