manage-client 3.3.232 → 3.3.233

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