manage-client 3.3.217 → 3.3.219

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/build/dev-server.js +190 -190
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/hs_err_pid13052.log +206 -206
  6. package/package.json +111 -111
  7. package/src/components/SellReport/BusinessClassify.vue +292 -292
  8. package/src/components/SellReport/ChManageBusSummary.vue +1 -1
  9. package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
  10. package/src/components/SellReport/ManageSellType.vue +267 -267
  11. package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
  12. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  13. package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
  14. package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
  15. package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
  16. package/src/components/sale/businessquery/BalanceTable.vue +482 -482
  17. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  18. package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
  19. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  20. package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
  21. package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
  22. package/src/components/sale/businessquery/CollectManage.vue +6 -6
  23. package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
  24. package/src/components/sale/businessquery/DisableQuery.vue +523 -523
  25. package/src/components/sale/businessquery/EnableQuery.vue +462 -462
  26. package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
  27. package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
  28. package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
  29. package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
  30. package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
  31. package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
  32. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
  33. package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
  34. package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
  35. package/src/components/sale/businessquery/Handgasquery.vue +477 -477
  36. package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
  37. package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
  38. package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
  39. package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
  40. package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
  41. package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
  42. package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
  43. package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
  44. package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
  45. package/src/components/sale/businessquery/SellingHand.vue +421 -421
  46. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  47. package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
  48. package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
  49. package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
  50. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  51. package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
  52. package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
  53. package/src/components/sale/businessquery/usergas.vue +315 -315
  54. package/src/components/sale/config/exportConfig.js +2761 -2761
  55. package/src/components/sale/config/tableConfig.js +59 -59
  56. package/src/components/sale/filesquery/FireQuery.vue +539 -539
  57. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  58. package/src/components/sale/filesquery/UserQuery.vue +977 -977
  59. package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
  60. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +695 -695
  61. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +646 -646
  62. package/src/components/webmeter/WebmeterQuery.vue +77 -77
  63. package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
  64. package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
  65. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
  66. package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
  67. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +552 -552
  68. package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
  69. package/src/components/webmeter/recharge/RechargeList.vue +371 -371
  70. package/src/components/webmeter/report/ReportList.vue +453 -453
  71. package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
  72. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  73. package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +12 -10
  74. package/src/filiale/ancheng/exportConfig.js +120 -120
  75. package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
  76. package/src/filiale/bayan/PrintTableManage.vue +242 -242
  77. package/src/filiale/bayan/config/DefaultPrint.js +6 -6
  78. package/src/filiale/bayan/config/exportConfig.js +2642 -2642
  79. package/src/filiale/bayan/config/tableConfig.js +59 -59
  80. package/src/filiale/bayan/sale.js +8 -8
  81. package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
  82. package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
  83. package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
  84. package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
  85. package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
  86. package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
  87. package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
  88. package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
  89. package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
  90. package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
  91. package/src/filiale/bayan/webmeterManage.js +26 -26
  92. package/src/filiale/dingcheng/DefaultPrint.js +6 -6
  93. package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
  94. package/src/filiale/dingcheng/exportConfig.js +2765 -2765
  95. package/src/filiale/dingcheng/sale.js +9 -9
  96. package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
  97. package/src/filiale/hantou/config/DefaultPrint.js +6 -6
  98. package/src/filiale/hantou/config/exportConfig.js +2667 -2667
  99. package/src/filiale/hantou/config/tableConfig.js +54 -54
  100. package/src/filiale/hantou/sale.js +8 -8
  101. package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
  102. package/src/filiale/jingyang/RechargeList.vue +346 -346
  103. package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
  104. package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
  105. package/src/filiale/jingyang/config/tableConfig.js +58 -58
  106. package/src/filiale/jingyang/sale.js +8 -8
  107. package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
  108. package/src/filiale/kelai/GasStatistics.vue +561 -561
  109. package/src/filiale/kelai/NewAccountQuery.vue +417 -417
  110. package/src/filiale/kelai/NewGasStatistics.vue +542 -542
  111. package/src/filiale/kelai/feimin_style_kl.vue +400 -400
  112. package/src/filiale/kelai/reportManage.js +13 -13
  113. package/src/filiale/kelai/sale.js +17 -17
  114. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  115. package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
  116. package/src/filiale/macheng/ArrearsQuery.vue +831 -831
  117. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  118. package/src/filiale/macheng/config/exportConfig.js +79 -79
  119. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
  120. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  121. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  122. package/src/filiale/meihekou/CollectManage.vue +152 -152
  123. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  124. package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
  125. package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
  126. package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
  127. package/src/filiale/meihekou/config/exportConfig.js +829 -829
  128. package/src/filiale/meihekou/sale.js +39 -39
  129. package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
  130. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  131. package/src/filiale/qianneng/RecordInfoQuery.vue +1 -1
  132. package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
  133. package/src/filiale/qianneng/exportConfig.js +232 -232
  134. package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
  135. package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
  136. package/src/filiale/rizhao/BusinessManage.vue +212 -212
  137. package/src/filiale/rizhao/sale.js +13 -13
  138. package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
  139. package/src/filiale/shangluo/sale.js +17 -17
  140. package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
  141. package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
  142. package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
  143. package/src/filiale/shanxian/EchartsBox.vue +134 -134
  144. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  145. package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
  146. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  147. package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
  148. package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
  149. package/src/filiale/taizhoukesi/sale.js +11 -11
  150. package/src/filiale/tongchuan/GasInspection.vue +716 -716
  151. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  152. package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
  153. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  154. package/src/filiale/tongchuan/config/exportConfig.js +858 -858
  155. package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
  156. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  157. package/src/filiale/wenxi/config/exportConfig.js +995 -995
  158. package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
  159. package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
  160. package/src/filiale/xinjiangdexin/sale.js +7 -7
  161. package/src/filiale/yangchun/ChangeMeterQuery.vue +716 -716
  162. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  163. package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
  164. package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
  165. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -1477
  166. package/src/filiale/yangchun/UserQuery.vue +980 -980
  167. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  168. package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
  169. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  170. package/src/filiale/yangchun/reportManage.js +6 -6
  171. package/src/filiale/yangchun/sale.js +20 -20
  172. package/src/filiale/yangchun/webmeterManage.js +5 -5
  173. package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
  174. package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
  175. package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
  176. package/src/filiale/yuncheng/MeterQuery.vue +995 -995
  177. package/src/filiale/yuncheng/config/exportConfig.js +2674 -2674
  178. package/src/filiale/yuncheng/sale.js +23 -23
  179. package/src/filiale/zhongyi/GasStatistics.vue +522 -522
  180. package/src/filiale/zhongyi/exportConfig.js +2554 -2554
  181. package/src/main.js +68 -68
  182. package/src/plugins/LodopFuncs.js +159 -159
  183. package/src/reportManage.js +773 -773
  184. package/src/saleManage.js +689 -689
  185. package/src/webmeterManage.js +130 -130
@@ -1,1023 +1,1023 @@
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>
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
- <v-select :value.sync="model.f_user_state"
23
- v-model="model.f_user_state"
24
- :options='$parent.$parent.userstates' placeholder='请选择'
25
- condition="f_user_state = '{}'"
26
- close-on-select></v-select>
27
- </div>
28
- <div class="col-sm-2 form-group" >
29
- <label class="font_normal_body">气表表号</label>
30
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
31
- condition="f_meternumber like '%{}%'" placeholder='气表表号'>
32
- </div>
33
- <div class="span" style = "float:right;">
34
- <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
35
- <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
36
- <button class="button_search button_spacing" @click="search()">查询</button>
37
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
- <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
39
-
40
- <export-excel :data="$parent.$parent.getCondition"
41
- :field="$parent.$parent.getExportField"
42
- :header="$parent.$parent.other"
43
- v-if="$parent.$parent.authArr.includes('档案查询导出')"
44
- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
45
- <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
46
- :defaultfield="$parent.$parent.defaultfield"
47
- titletable="综合档案查询"
48
- :sumsmodel="$parent.$parent.sumsmodel"></print-data>
49
- <div style="float: right" class="button_spacing"
50
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
51
- @click="$parent.$parent.hidden()"></div>
52
- </div>
53
- </div>
54
-
55
- <div class="row" v-show="$parent.$parent.criteriaShow">
56
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">使用类型</label>
59
- <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
60
- :options='$parent.$parent.useTypes' placeholder='请选择'
61
- style="width:60%"
62
- close-on-select
63
- condition="f_usetype = '{}'"></v-select>
64
- </div>
65
- <div class="col-sm-2 form-group" >
66
- <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
67
- <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
68
- v-model="model.startDate"
69
- :value.sync="model.startDate"
70
- :format="'yyyy-MM-dd'"
71
- :show-reset-button="true"
72
- condition="f_createfile_date >= '{} 00:00:00'">
73
- </datepicker>
74
- </div>
75
- <div class="col-sm-2 form-group" >
76
- <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
77
- <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
78
- v-model="model.endDate"
79
- :value.sync="model.endDate"
80
- :format="'yyyy-MM-dd'"
81
- :show-reset-button="true"
82
- condition="f_createfile_date <= '{} 23:59:59'">
83
- </datepicker>
84
- </div>
85
-
86
- <div class="col-sm-2 form-group">
87
- <label class="font_normal_body">气表分类</label>
88
- <v-select :value.sync="model.f_meter_classify"
89
- v-model="model.f_meter_classify"
90
- :options='$parent.$parent.metertypes' placeholder='请选择'
91
- condition="f_meter_classify = '{}'"
92
- close-on-select></v-select>
93
- </div>
94
-
95
- <div class="col-sm-2 form-group">
96
- <label class="font_normal_body">气表品牌</label>
97
- <v-select :value.sync="model.f_meter_brand"
98
- v-model="model.f_meter_brand"
99
- :options='$parent.$parent.meterbrands' placeholder='请选择'
100
- condition="f_meter_brand = '{}'"
101
- close-on-select></v-select>
102
- </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">客户类型</label>
105
- <v-select :value.sync="model.f_user_type"
106
- :options='$parent.$parent.usertypes'
107
- @change="$parent.$parent.userTypeChange()"
108
- placeholder='请选择' v-model="model.f_user_type"
109
- condition="f_user_type = '{}'"
110
- close-on-select></v-select>
111
- </div>
112
- <div class="col-sm-2 form-group" >
113
- <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表开始日期</label>
114
- <datepicker id="startDate1" placeholder="抄表开始日期" style="width:60%"
115
- v-model="model.startDate1"
116
- :value.sync="model.startDate1"
117
- :format="'yyyy-MM-dd'"
118
- :show-reset-button="true"
119
- condition="f_hand_date >= '{} 00:00:00'">
120
- </datepicker>
121
- </div>
122
- <div class="col-sm-2 form-group" >
123
- <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表结束日期</label>
124
- <datepicker id="endDate1" placeholder="抄表结束日期" style="width:60%"
125
- v-model="model.endDate1"
126
- :value.sync="model.endDate1"
127
- :format="'yyyy-MM-dd'"
128
- :show-reset-button="true"
129
- condition="f_hand_date <= '{} 23:59:59'">
130
- </datepicker>
131
- </div>
132
- <div class="col-sm-2 form-group">
133
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
134
- <v-select :value.sync="model.f_residential_area"
135
- class="select_list select"
136
- enter-push
137
- multiple
138
- condition="f_residential_area in {}"
139
- v-model="model.f_residential_area"
140
- style="width: 60%"
141
- :options='$parent.$parent.residentialArea' placeholder='选择小区'
142
- close-on-select>
143
-
144
- </v-select>
145
- </div>
146
- <div class="col-sm-2 form-group" >
147
- <label class="font_normal_body">客户地址</label>
148
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
149
- condition="f_address like '%{}%'" placeholder='客户地址'>
150
- </div>
151
- <div class="col-sm-2 form-group" >
152
- <label class="font_normal_body">用气点</label>
153
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
154
- condition="f_userfiles_address like '%{}%'" placeholder="用气点">
155
- </div>
156
- <div class="col-sm-2 form-group">
157
- <label class="font_normal_body">用气性质</label>
158
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
159
- :options='$parent.$parent.gasproperties' placeholder='请选择'
160
- condition="f_gasproperties = '{}'"
161
- close-on-select></v-select>
162
- </div>
163
- <div class="col-sm-2 form-group">
164
- <label class="font_normal_body">气价类型</label>
165
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
166
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
167
- condition="f_price_type = '{}'"
168
- close-on-select v-ref:type>
169
- </v-select>
170
- </div>
171
- <div class="col-sm-2 form-group">
172
- <label class="font_normal_body">气价名称</label>
173
- <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
174
- :options="$parent.$parent.pricenames" placeholder='气价名称'
175
- condition="f_price_name = '{}'"
176
- :is-mul="mul"
177
- close-on-select ></v-select>
178
- </div>
179
- <div class="col-sm-2 form-group" >
180
- <label class="font_normal_body">微信绑定</label>
181
- <v-select :value.sync="model.f_isband"
182
- v-model="model.f_isband"
183
- :options='$parent.$parent.bandstates' placeholder='请选择'
184
- condition="f_isband = '{}'"
185
- close-on-select></v-select>
186
- </div>
187
- <div class="col-sm-2 form-group">
188
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
189
- <v-select :value.sync="model.isbgl" v-model="model.isbgl"
190
- :options='$parent.$parent.bgl' placeholder='请选择'
191
- condition="isbgl = '{}'"
192
- close-on-select></v-select>
193
- </div>
194
- <div class="col-sm-2 form-group">
195
- <label class="font_normal_body">发卡状态</label>
196
- <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
197
- :options='$parent.$parent.whetherCard' placeholder='请选择'
198
- condition="f_whether_hairpin = '{}'"
199
- close-on-select></v-select>
200
- </div>
201
- <div class="col-sm-2 form-group">
202
- <label class="font_normal_body">安装位置</label>
203
- <v-select :value.sync="model.f_position" v-model="model.f_position"
204
- :options='$parent.$parent.positions' placeholder='请选择'
205
- condition="f_position = '{}'"
206
- close-on-select></v-select>
207
- </div>
208
-
209
- <div class="col-sm-2 form-group">
210
- <label class="font_normal_body">档案抄表员</label>
211
- <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
212
- style="width:60%"
213
- :multiple="true"
214
- :options='$parent.$parent.inputtores' placeholder='档案抄表员'
215
- close-on-select
216
- v-el:cc></v-select>
217
- </div>
218
- <div class="col-sm-2 form-group">
219
- <label class="font_normal_body">表册抄表员</label>
220
- <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
221
- style="width:60%"
222
- :multiple="true"
223
- :options='$parent.$parent.inputtores' placeholder='表册抄表员'
224
- close-on-select
225
- v-el:cc></v-select>
226
- </div>
227
- <div class="col-sm-2 form-group">
228
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
229
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
230
- :options='$parent.$parent.meterbooks' placeholder='请选择'
231
- style="width:60%"
232
- close-on-select
233
- condition="f_meter_book_num = '{}'"></v-select>
234
- </div>
235
- <div class="col-sm-2 form-group">
236
- <label class="font_normal_body">房屋类型</label>
237
- <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
238
- :options='$parent.$parent.houseTypes' placeholder='请选择'
239
- style="width:60%"
240
- close-on-select
241
- condition="f_house_type = '{}'"></v-select>
242
- </div>
243
- <div class="col-sm-2 form-group">
244
- <label class="font_normal_body" >报装类型</label>
245
- <v-select :value.sync="model.f_payment" multiple
246
- v-model="model.f_payment"
247
- :options='$parent.$parent.dypayment' placeholder='请选择'
248
- condition="f_bz_type in {}"
249
- close-on-select></v-select>
250
- </div>
251
- <div class="col-sm-2 form-group" >
252
- <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
253
- <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
254
- v-model="model.startDate2"
255
- :value.sync="model.startDate2"
256
- :format="'yyyy-MM-dd'"
257
- :show-reset-button="true"
258
- condition="f_open_date >= '{} 00:00:00'">
259
- </datepicker>
260
- </div>
261
- <div class="col-sm-2 form-group" >
262
- <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
263
- <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
264
- v-model="model.endDate2"
265
- :value.sync="model.endDate2"
266
- :format="'yyyy-MM-dd'"
267
- :show-reset-button="true"
268
- condition="f_open_date <= '{} 23:59:59'">
269
- </datepicker>
270
- </div>
271
- <div class="col-sm-2 form-group" >
272
- <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
273
- <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
274
- v-model="model.startDate3"
275
- :value.sync="model.startDate3"
276
- :format="'yyyy-MM-dd'"
277
- :show-reset-button="true"
278
- condition="f_install_date >= '{} 00:00:00'">
279
- </datepicker>
280
- </div>
281
- <div class="col-sm-2 form-group" >
282
- <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
283
- <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
284
- v-model="model.endDate3"
285
- :value.sync="model.endDate3"
286
- :format="'yyyy-MM-dd'"
287
- :show-reset-button="true"
288
- condition="f_install_date <= '{} 23:59:59'">
289
- </datepicker>
290
- </div>
291
- <div class="col-sm-2 form-group" >
292
- <label class="font_normal_body">客户电话</label>
293
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
294
- condition="f_user_phone = '{}'" placeholder='客户电话'>
295
- </div>
296
- <div class="col-sm-2 form-group">
297
- <label class="font_normal_body">客户等级</label>
298
- <v-select :value.sync="model.f_user_level"
299
- v-model="model.f_user_level" condition="f_user_level in {}"
300
- :options='$parent.$parent.userLevels' placeholder='请选择'
301
- multiple = "true"
302
- close-on-select></v-select>
303
- </div>
304
- <div class="col-sm-2 form-group">
305
- <label class="font_normal_body">安装人</label>
306
- <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
307
- style="width:60%"
308
- :multiple="true"
309
- :options='$parent.$parent.person' placeholder='安装人'
310
- condition="f_install_person = '{}'"
311
- close-on-select
312
- v-el:cc></v-select>
313
- </div>
314
- <div class="col-sm-2 form-group" >
315
- <label class="font_normal_body">发票编号</label>
316
- <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_id"
317
- condition="f_contract_id like '%{}%'" placeholder="发票编号">
318
- </div>
319
- <div class="col-sm-2 flex-row" style="white-space: nowrap">
320
- <label class="font_normal_body">&emsp;保证金</label>
321
-
322
- <div class="row">
323
- <input type="text" style="width:30%" class="input_search" v-model="model.f_bzj1"
324
- condition="f_bzj >= {} " placeholder="">
325
- <label class="font_normal_body"> ≤ x ≤ </label>
326
- <input type="text" style="width:30%" class="input_search" v-model="model.f_bzj2"
327
- condition="f_bzj <= {} " placeholder="">
328
- </div>
329
-
330
- </div>
331
-
332
- </div>
333
- </div>
334
- </criteria>
335
-
336
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
337
- <template partial='head'>
338
- <tr>
339
- <th><nobr>客户状态</nobr></th>
340
- <th><nobr>客户编号</nobr></th>
341
- <th><nobr>是否发卡</nobr></th>
342
- <th><nobr>卡号</nobr></th>
343
- <th><nobr>客户名称</nobr></th>
344
- <th><nobr>小区名称</nobr></th>
345
- <th><nobr>客户地址</nobr></th>
346
- <th><nobr>客户电话</nobr></th>
347
- <th><nobr>片区</nobr></th>
348
- <!-- 气价类型,单价暂时未处理 -->
349
- <th><nobr>气价类型</nobr></th>
350
- <th><nobr>气价名称</nobr></th>
351
- <th><nobr>单价</nobr></th>
352
- <th><nobr>保证金</nobr></th>
353
- <th><nobr>安装位置</nobr></th>
354
- <th><nobr>报装类型</nobr></th>
355
- <th><nobr>气表类型</nobr></th>
356
- <th><nobr>气表品牌</nobr></th>
357
- <th><nobr>表号</nobr></th>
358
- <th><nobr>报警器编号</nobr></th>
359
- <th><nobr>左右表</nobr></th>
360
- <th><nobr>气表安装日期</nobr></th>
361
- <th><nobr>气表底数</nobr></th>
362
- <th><nobr>账户余额</nobr></th>
363
- <th><nobr>最后抄表日期</nobr></th>
364
- <!--<th><nobr>最后购气日期</nobr></th>-->
365
-
366
- <th><nobr>阀门状态</nobr></th>
367
-
368
- <!-- <th><nobr>旧客户编号</nobr></th> -->
369
- <th><nobr>客户类型</nobr></th>
370
- <th><nobr>用气性质</nobr></th>
371
- <th><nobr>开户时间</nobr></th>
372
- <th><nobr>证件类型</nobr></th>
373
- <th><nobr>证件号码</nobr></th>
374
- <th><nobr>人口数</nobr></th>
375
- <th><nobr>保险结束日期</nobr></th>
376
- <th><nobr>建档日期</nobr></th>
377
- <th><nobr>建档人</nobr></th>
378
- <th><nobr>所属营业厅</nobr></th>
379
- <th><nobr>备注信息</nobr></th>
380
- <th><nobr>客户等级</nobr></th>
381
- <!-- <th><nobr>气价详情</nobr></th>-->
382
- <th><nobr>曾用名</nobr></th>
383
- <th><nobr>备用电话</nobr></th>
384
- <th><nobr>租户姓名</nobr></th>
385
- <th><nobr>租户电话</nobr></th>
386
- <!--<th><nobr>曾用名</nobr></th>-->
387
- <th><nobr>工程安装费</nobr></th>
388
- <th><nobr>是否煤改气</nobr></th>
389
- <th><nobr>是否发放天然气使用证</nobr></th>
390
-
391
- <th><nobr>使用类型</nobr></th>
392
-
393
- <!-- <th><nobr>使用状态</nobr></th>-->
394
- <!--<th><nobr>通气时间</nobr></th>-->
395
-
396
- <th><nobr>气表型号</nobr></th>
397
- <th><nobr>表状态</nobr></th>
398
- <th><nobr>初始气表底数</nobr></th>
399
- <th><nobr>累计用气金额</nobr></th>
400
- <th><nobr>表累购气量</nobr></th>
401
- <th><nobr>表累购金额</nobr></th>
402
-
403
- <th><nobr>抄表员(表册)</nobr></th>
404
- <th><nobr>抄表员(档案)</nobr></th>
405
- <th><nobr>用气点</nobr></th>
406
- <th><nobr>安装人</nobr></th>
407
- <th><nobr>通气人</nobr></th>
408
- <!-- <th><nobr>点火状态</nobr></th>-->
409
- <th><nobr>抄表册编号</nobr></th>
410
-
411
- <th><nobr>抄表册顺序</nobr></th>
412
- <th><nobr>表剩余金额</nobr></th>
413
- <!-- <th><nobr>首次购气日期</nobr></th>-->
414
- <th><nobr>写卡次数</nobr></th>
415
- <th><nobr>补卡次数</nobr></th>
416
- <!-- <th><nobr>购气次数</nobr></th>-->
417
-
418
- <th><nobr>表同步状态</nobr></th>
419
- <th><nobr>微信绑定</nobr></th>
420
-
421
- <th>
422
- <nobr>银行户名</nobr>
423
- </th>
424
- <th>
425
- <nobr>银行名称</nobr>
426
- </th>
427
- <th>
428
- <nobr>银行账号</nobr>
429
- </th>
430
- <th>
431
- <nobr>银行身份证号</nobr>
432
- </th>
433
- <th>
434
- <nobr>缴费编号</nobr>
435
- </th>
436
- <th>
437
- <nobr>发票编号</nobr>
438
- </th>
439
- <th>
440
- <nobr>表封号</nobr>
441
- </th>
442
- </tr>
443
- </template>
444
- <template partial='body'>
445
- <!--<td style="text-align: center;"><nobr>-->
446
- <!--<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
447
- <!--</nobr> </td>-->
448
- <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
449
- <td style="text-align: center;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
450
- <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
451
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
452
- <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
453
- <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
454
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
455
- <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
456
- <td style="text-align: center;"><nobr>{{row.f_zones}}</nobr></td>
457
- <!-- 气价类型,单价暂时未处理 -->
458
- <td style="text-align: center;"><nobr>{{row.f_price_type}}</nobr></td>
459
- <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
460
- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
461
- <td style="text-align: center;"><nobr>{{row.f_bzj}}</nobr></td>
462
- <td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
463
- <td style="text-align: center;"><nobr>{{row.f_bz_type}}</nobr></td>
464
- <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
465
- <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
466
- <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
467
- <td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
468
- <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
469
- <td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
470
- <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
471
- <td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
472
- <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
473
- <!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
474
- <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
475
-
476
- <!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
477
- <td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
478
- <td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
479
-
480
- <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
481
- <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
482
- <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
483
- <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
484
- <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
485
- <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
486
- <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
487
- <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
488
- <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
489
- <td style="text-align: center;"><nobr>{{row.f_user_level}}</nobr></td>
490
- <!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
491
- <td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
492
- <td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
493
- <td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
494
- <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
495
- <td style="text-align: center;"><nobr>{{row.f_packaging}}</nobr></td>
496
- <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
497
- <td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
498
-
499
- <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
500
- <!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
501
- <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
502
-
503
- <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
504
- <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
505
- <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
506
- <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
507
- <td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
508
- <td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
509
-
510
- <td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
511
- <td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
512
- <td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
513
- <td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
514
- <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
515
- <!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
516
- <td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
517
-
518
- <td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
519
- <td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
520
- <!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
521
- <td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
522
- <td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
523
- <!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
524
- <td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
525
- <td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
526
-
527
- <td style="text-align: center;">
528
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
529
- </td>
530
- <td style="text-align: center;">
531
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
532
- </td>
533
- <td style="text-align: center;">
534
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
535
- </td>
536
- <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
537
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
538
- </td>
539
- <td style="text-align: center;">
540
- <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
541
- </td>
542
- <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
543
- <td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
544
- </template>
545
- <template partial='foot'>
546
-
547
- </template>
548
- </data-grid>
549
- </criteria-paged>
550
-
551
- <table class="table-hover">
552
- <tr style="position: relative" class="table-bordered">
553
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
554
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">暂无合计字段</td>
555
- </tr>
556
- </table>
557
-
558
- <modal :show.sync="printshow" v-ref:modal backdrop="false">
559
- <header slot="modal-header" class="modal-header text-center">
560
- <h4 class="modal-title">打印列选择</h4>
561
- <input type="checkbox" class="" id="f_generations" v-model="all">
562
- <label for="f_generations" class="font-size">全选</label>
563
- </header>
564
- <article slot="modal-body">
565
- <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
566
- <div class="col-sm-3" v-for="f in fields">
567
- <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
568
- <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
569
- </div>
570
- </div>
571
- </article>
572
- <footer slot="modal-footer" class="modal-footer">
573
- <center>
574
-
575
- <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
576
- <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
577
- <print-table :model='model' v-show="false" v-ref:print
578
- :top='40' :left='60' :right='40' :bottom='60'
579
- :thead="thead" :tfoot='tfoot' :attach="yangsen"
580
- :fields="modelval" :printpage="true">
581
- </print-table>
582
- </center>
583
- </footer>
584
- </modal>
585
- </div>
586
- <div v-if="show">
587
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
588
- </div>
589
- </div></div></div>
590
- <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
591
- </template>
592
-
593
- <script>
594
- import {HttpResetClass, PagedList} from 'vue-client'
595
- import defaultPrint from '../../components/sale/config/DefaultPrint'
596
- import exportConfig from './config/exportConfig'
597
- let cardBtnGen = async function (self, val) {
598
- self.cardInfo = val.data
599
-
600
- // 判断读卡是否需要卡密码
601
- console.log('读卡上的信息', self.cardInfo)
602
-
603
- if (self.cardInfo.NewParam) {
604
- if (self.cardInfo.NewParam.error) {
605
- if (self.cardInfo.NewParam.error === '0001') {
606
- // 需要重新读卡并传卡密码
607
- if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
608
- self.readCardParam = self.model.rows[0].f_card_password
609
- self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
610
- } else {
611
- self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
612
- return
613
- }
614
- }
615
- }
616
- }
617
- self.card=self.cardInfo.CardID
618
- self.search()
619
- }
620
- let readySomething = async function (self) {
621
- await self.$MagLoadParams.loadParam()
622
- // await self.$LoadParams.loadParam(self.f_filialeid)
623
- self.initParams()
624
- self.getPricenames();
625
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
626
- // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
627
- // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
628
- // await self.$refs.paged.$refs.cri.search()
629
- }
630
- export default {
631
- title: '综合档案信息查询',
632
- data() {
633
- return {
634
- IdCardInfo:'',
635
- card:'',
636
- isSingleUser: null,
637
- other:[],
638
- footer:[],
639
- model: new PagedList('api/af-revenue/sql/compreQuery', 20),
640
- criteriaShow: false,
641
- orgCondtionStr:'',
642
- residentialArea: [],
643
- gasproperties:[],
644
- meterbrands: [],
645
- modelval: [],
646
- prices: [],
647
- printshow: false,
648
- all: false,
649
- fields: {},
650
- thead: '',
651
- tfoot: '',
652
- defaultfield: [],
653
- config: {
654
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
655
- },
656
- area: [],
657
- inputtouPerson: [],
658
- bookinputtorperson:[],
659
- conditon2:'',
660
- show:false,
661
- rowdata:{},
662
- f_filialeid: this.$login.f.orgid,
663
- // 下拉框参数
664
- userLevels :this.$appdata.getParam('用户等级') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')] : [],
665
- userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
666
- bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
667
- initres: {
668
- org:[this.$login.f.orgid],
669
- dep:[],
670
- user:[],
671
- },
672
- // 合计数据
673
- sumsmodel: {},
674
- pricenames:[],
675
- dypayment:this.$appdata.getParam('报装类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('报装类型')] : [],
676
- }
677
- },
678
- ready(){
679
- this.getaddress()
680
- readySomething(this).then(() => {
681
- this.$emit('ready')
682
- }).catch((error) => {
683
- this.$emit('error', error)
684
- })
685
- },
686
- methods: {
687
- ReadIDCard(){
688
- this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
689
- console.log('======',msg)
690
- if(msg.err !== 0){ return}
691
- this.IdCardInfo=msg.strID
692
- })
693
- if(this.IdCardInfo) {
694
- this.search()
695
- }else{
696
- alert("读取失败,找不到用户信息")
697
- }
698
- },
699
- cardBtn (val) {
700
- // this.clear()
701
- cardBtnGen(this, val)
702
- },
703
- getPricenames () {
704
- let f_filialeid = this.f_filialeid
705
- let result = []
706
- this.$MagGetSaleParam.prices.forEach((item) => {
707
- if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
708
- let value = {
709
- label: item.f_price_name,
710
- value: item.f_price_name
711
- }
712
- result.push(value)
713
- }
714
- })
715
- this.pricenames = [{label:'全部',value:''},...result];
716
- },
717
- getotherfooter () {
718
- // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
719
- // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
720
- this.other = [];
721
- this.footer = [];
722
- let exportdata = this.getCondition;
723
- let otherInData = [];
724
- otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
725
- // let footerData = [], exportfield = this.getExportField;
726
- // footerData.push("合计");
727
- // let self = this;
728
- // for (var field in self.sumsmodel) {
729
- // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
730
- // }
731
- // this.footer.push(footerData);
732
- this.other.push(otherInData);
733
- },
734
- initParams() {
735
- // 初始化气表品牌
736
- let brandArr = []
737
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
738
- let temp = {}
739
- temp.label = item.label
740
- temp.value = item.value.f_meter_brand
741
- brandArr.push(temp)
742
- })
743
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
744
- //初始化气表价格
745
- this.prices = this.$MagGetSaleParam.getPrices();
746
- },
747
- async getaddress(){
748
- console.log('开始获取小区')
749
- let HttpReset = new HttpResetClass()
750
- var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
751
- data: {
752
- condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
753
- }
754
- }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
755
- console.log('小区',data)
756
- let house = [{label: '全部', value: ''}]
757
- for (let row of data.data){
758
- console.log('开始保存小区')
759
- house.push({label: row.f_residential_area, value: row.f_residential_area})
760
- }
761
- this.residentialArea = house
762
- },
763
- search(){
764
- this.$refs.paged.$refs.cri.search()
765
- },
766
- cancel() {
767
- this.show = false
768
- },
769
- showmsg(obj){
770
- this.rowdata=obj
771
- this.show=true
772
- },
773
- selfSearch (args) {
774
-
775
- //抄表员查询条件
776
- this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
777
- if(this.inputtouPerson.length !== 0){
778
- let str = JSON.stringify(this.inputtouPerson)
779
- str = str.replace(/"/g,`'`)
780
- str = str.replace(/\[/g,``)
781
- str = str.replace(/\]/g,``)
782
- console.log("=====抄表员model22222222222绑定====",str)
783
- //查询多个抄表员时条件
784
- args.condition += ` and f_inputtor in ( ${str} )`
785
- }
786
- //
787
- debugger
788
- this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
789
- if(this.bookinputtorperson.length !== 0){
790
- let str = JSON.stringify(this.bookinputtorperson)
791
- str = str.replace(/"/g,`'`)
792
- str = str.replace(/\[/g,``)
793
- str = str.replace(/\]/g,``)
794
- console.log("=====抄表员model22222222222绑定====",str)
795
- //查询多个抄表员时条件
796
- args.condition += ` and f_book_inputtor in ( ${str} )`
797
- }
798
- if (!this.orgCondtionStr) {
799
- args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
800
- } else {
801
- args.condition = `${args.condition}` + this.orgCondtionStr
802
- }
803
- this.conditon2 = args.condition
804
- console.log("查看条件",this.conditon2)
805
- if(this.card!=''){
806
- args.condition +=` and f_card_id='${this.card}'`
807
- }
808
- if(this.IdCardInfo!=''){
809
- args.condition+=` and f_idnumber='${this.IdCardInfo}'`
810
- }
811
- this.model.search(args.condition, args.model)
812
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
813
- this.card=''
814
- this.IdCardInfo=''
815
- console.log('合计字段',this.sumsmodel)
816
- },
817
- clear(){
818
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
819
- this.$refs.paged.$refs.cri.model[key] = []
820
- })
821
- },
822
- hidden(){
823
- this.criteriaShow = !this.criteriaShow
824
- },
825
- getRes(obj) {
826
- this.orgCondtionStr = obj
827
- },
828
- stamp () {
829
- this.all = false
830
- //默认选择要打印的列
831
- this.modelval = defaultPrint.config
832
- this.fields = this.getfield
833
- console.log('所有打印字段',this.fields)
834
- this.printshow = true
835
- this.put()
836
- },
837
- put () {
838
- // 对Modelval进行排序
839
- this.sortModelval()
840
- this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
841
- for (let key of this.modelval) {
842
- this.thead += '<th>' + this.fields[key] + '</th>'
843
- }
844
- this.thead += '</tr>'
845
- },
846
- print () {
847
- this.$refs.print.PrintAsFile()
848
- this.printshow = false
849
- },
850
- close () {
851
- this.printshow = false
852
- this.all = false
853
- },
854
- userTypeChange () {
855
- this.gasproperties=[]
856
- if(this.$refs.paged.$refs.cri.model !==null) {
857
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
858
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
859
- // this.gasproperties.push({label: '全部', value: ''})
860
- }
861
- else{
862
- this.gasproperties =[{label: '全部', value: ''}]
863
- }
864
- },
865
- // 对选择的列进行排序
866
- sortModelval () {
867
- let sortModel = []
868
- Object.keys(this.fields).forEach((key) => {
869
- if (this.modelval.includes(key)) {
870
- sortModel.push(key)
871
- }
872
- })
873
- this.modelval = sortModel
874
- console.log('选择的打印的字段', this.modelval)
875
- }
876
- },
877
- watch:{
878
- 'model.rows.length' () {
879
- this.isSingleUser = this.model.rows
880
- },
881
- 'all' (val) {
882
- if (val) {
883
- this.modelval = this.bodyData
884
- } else {
885
- this.modelval = defaultPrint.config
886
- this.put()
887
- }
888
- },
889
- 'modelval.length' () {
890
- this.put()
891
- },
892
- sumsmodel:{
893
- handler: function(val) {
894
- this.getotherfooter();
895
- },
896
- deep: true
897
- },
898
- },
899
- computed:{
900
-
901
- bgl(){
902
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
903
- },
904
- houseTypes(){
905
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
906
- },
907
- gasproperties(){
908
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
909
- },
910
- whetherCard(){
911
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
912
- },
913
- person() {
914
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
915
- },
916
- usertypes() {
917
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
918
- },
919
- useTypes() {
920
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
921
- },
922
- positions() {
923
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
924
- },
925
- meterbooks(){
926
- return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
927
- },
928
- // gasproperties() {
929
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
930
- // },
931
-
932
- metertypes() {
933
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
934
- },
935
- pricetypes() {
936
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
937
- },
938
- tablestate() {
939
- return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
940
- },
941
-
942
- // getPricenames() {
943
- // let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
944
- // let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
945
- // let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
946
- // // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
947
- // if(this.$refs.paged.$refs.cri.model !==null) {
948
- // console.log(1111)
949
- // console.log(11112, this.prices)
950
- // let rs = []
951
- // let priceArr = []
952
- // if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
953
- // let params = {
954
- // f_user_type: f_user_type[0],
955
- // f_gasproperties: f_gasproperties[0],
956
- // f_price_type: pricetype[0],
957
- // filter: this.f_filialeid,
958
- // prices: this.prices
959
- // }
960
- // console.log(11113,params,this.$login.f)
961
- // this.$MagGetSaleParam.getPrice(params).forEach((item) => {
962
- // let temp = {}
963
- // temp.label = item.label
964
- // temp.value = item.value.f_price_name
965
- // priceArr.push(temp)
966
- // })
967
- // rs = [{label: '全部', value: ''}, ...priceArr]
968
- // }
969
- // if (rs.length === 0) {
970
- // console.log('rs读出来是空')
971
- // this.$refs.paged.$refs.cri.model.f_price_name = ''
972
- // }
973
- // return rs
974
- // }
975
- // },
976
- inputtores () {
977
- // 获取抄表员
978
- console.log('获取抄表员', this.$login.f)
979
- let rs = []
980
- if (this.$login.f.f_gasman.length > 0) {
981
- for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
982
- let temp = {
983
- label: this.$login.f.f_gasman[i].name,
984
- value: this.$login.f.f_gasman[i].name
985
- }
986
- rs.push(temp)
987
- }
988
- }
989
-
990
- return [{label: '全部', value: ''}, ...rs]
991
- },
992
- authArr () {
993
- return this.$login.r ? this.$login.r : []
994
- },
995
- getCondition(){
996
-
997
- return {condition:this.conditon2}
998
- },
999
- getfield(){
1000
- let data = {}
1001
- this.bodyData.forEach((value, index)=>{
1002
- data[this.bodyData[index]] = this.headData[index]
1003
- })
1004
- //合计字段打印
1005
- this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1006
- if(this.sumsmodel){
1007
- Object.keys(this.sumsmodel).forEach((key) => {
1008
- this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1009
- })
1010
- }else{
1011
- this.tfoot += '暂无'
1012
- }
1013
- this.tfoot += '</th></tr>'
1014
- return data
1015
- },
1016
- getExportField() {
1017
- let field=exportConfig.compreConfig
1018
- exportConfig.compreConfig.f_bzj='保证金'
1019
- return field
1020
- }
1021
- }
1022
- }
1023
- </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>
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
+ <v-select :value.sync="model.f_user_state"
23
+ v-model="model.f_user_state"
24
+ :options='$parent.$parent.userstates' placeholder='请选择'
25
+ condition="f_user_state = '{}'"
26
+ close-on-select></v-select>
27
+ </div>
28
+ <div class="col-sm-2 form-group" >
29
+ <label class="font_normal_body">气表表号</label>
30
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
31
+ condition="f_meternumber like '%{}%'" placeholder='气表表号'>
32
+ </div>
33
+ <div class="span" style = "float:right;">
34
+ <button class="button_search button_spacing" v-show="false" @click="$parent.$parent.ReadIDCard()">读取身份证</button>
35
+ <read-card :is-single.sync="$parent.$parent.isSingleUser" @read-info="$parent.$parent.cardBtn" v-ref:readcard></read-card>
36
+ <button class="button_search button_spacing" @click="search()">查询</button>
37
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
39
+
40
+ <export-excel :data="$parent.$parent.getCondition"
41
+ :field="$parent.$parent.getExportField"
42
+ :header="$parent.$parent.other"
43
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
44
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="compreQuery" template-name='综合档案查询导出' :choose-col="true"></export-excel>
45
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model" :field="$parent.$parent.getExportField"
46
+ :defaultfield="$parent.$parent.defaultfield"
47
+ titletable="综合档案查询"
48
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
49
+ <div style="float: right" class="button_spacing"
50
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
51
+ @click="$parent.$parent.hidden()"></div>
52
+ </div>
53
+ </div>
54
+
55
+ <div class="row" v-show="$parent.$parent.criteriaShow">
56
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">使用类型</label>
59
+ <v-select :value.sync="model.f_usetype" v-model="model.f_usetype"
60
+ :options='$parent.$parent.useTypes' placeholder='请选择'
61
+ style="width:60%"
62
+ close-on-select
63
+ condition="f_usetype = '{}'"></v-select>
64
+ </div>
65
+ <div class="col-sm-2 form-group" >
66
+ <label for="startDate" class="font_normal_body" title="建档开始日期">开始日期</label>
67
+ <datepicker id="startDate" placeholder="建档开始日期" style="width:60%"
68
+ v-model="model.startDate"
69
+ :value.sync="model.startDate"
70
+ :format="'yyyy-MM-dd'"
71
+ :show-reset-button="true"
72
+ condition="f_createfile_date >= '{} 00:00:00'">
73
+ </datepicker>
74
+ </div>
75
+ <div class="col-sm-2 form-group" >
76
+ <label for="endDate" class="font_normal_body" title="建档结束日期">结束日期</label>
77
+ <datepicker id="endDate" placeholder="建档结束日期" style="width:60%"
78
+ v-model="model.endDate"
79
+ :value.sync="model.endDate"
80
+ :format="'yyyy-MM-dd'"
81
+ :show-reset-button="true"
82
+ condition="f_createfile_date <= '{} 23:59:59'">
83
+ </datepicker>
84
+ </div>
85
+
86
+ <div class="col-sm-2 form-group">
87
+ <label class="font_normal_body">气表分类</label>
88
+ <v-select :value.sync="model.f_meter_classify"
89
+ v-model="model.f_meter_classify"
90
+ :options='$parent.$parent.metertypes' placeholder='请选择'
91
+ condition="f_meter_classify = '{}'"
92
+ close-on-select></v-select>
93
+ </div>
94
+
95
+ <div class="col-sm-2 form-group">
96
+ <label class="font_normal_body">气表品牌</label>
97
+ <v-select :value.sync="model.f_meter_brand"
98
+ v-model="model.f_meter_brand"
99
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
100
+ condition="f_meter_brand = '{}'"
101
+ close-on-select></v-select>
102
+ </div>
103
+ <div class="col-sm-2 form-group">
104
+ <label class="font_normal_body">客户类型</label>
105
+ <v-select :value.sync="model.f_user_type"
106
+ :options='$parent.$parent.usertypes'
107
+ @change="$parent.$parent.userTypeChange()"
108
+ placeholder='请选择' v-model="model.f_user_type"
109
+ condition="f_user_type = '{}'"
110
+ close-on-select></v-select>
111
+ </div>
112
+ <div class="col-sm-2 form-group" >
113
+ <label for="startDate1" class="font_normal_body" title="抄表开始日期">抄表开始日期</label>
114
+ <datepicker id="startDate1" placeholder="抄表开始日期" style="width:60%"
115
+ v-model="model.startDate1"
116
+ :value.sync="model.startDate1"
117
+ :format="'yyyy-MM-dd'"
118
+ :show-reset-button="true"
119
+ condition="f_hand_date >= '{} 00:00:00'">
120
+ </datepicker>
121
+ </div>
122
+ <div class="col-sm-2 form-group" >
123
+ <label for="endDate1" class="font_normal_body" title="抄表结束日期">抄表结束日期</label>
124
+ <datepicker id="endDate1" placeholder="抄表结束日期" style="width:60%"
125
+ v-model="model.endDate1"
126
+ :value.sync="model.endDate1"
127
+ :format="'yyyy-MM-dd'"
128
+ :show-reset-button="true"
129
+ condition="f_hand_date <= '{} 23:59:59'">
130
+ </datepicker>
131
+ </div>
132
+ <div class="col-sm-2 form-group">
133
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
134
+ <v-select :value.sync="model.f_residential_area"
135
+ class="select_list select"
136
+ enter-push
137
+ multiple
138
+ condition="f_residential_area in {}"
139
+ v-model="model.f_residential_area"
140
+ style="width: 60%"
141
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
142
+ close-on-select>
143
+
144
+ </v-select>
145
+ </div>
146
+ <div class="col-sm-2 form-group" >
147
+ <label class="font_normal_body">客户地址</label>
148
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
149
+ condition="f_address like '%{}%'" placeholder='客户地址'>
150
+ </div>
151
+ <div class="col-sm-2 form-group" >
152
+ <label class="font_normal_body">用气点</label>
153
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
154
+ condition="f_userfiles_address like '%{}%'" placeholder="用气点">
155
+ </div>
156
+ <div class="col-sm-2 form-group">
157
+ <label class="font_normal_body">用气性质</label>
158
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
159
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
160
+ condition="f_gasproperties = '{}'"
161
+ close-on-select></v-select>
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body">气价类型</label>
165
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
166
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
167
+ condition="f_price_type = '{}'"
168
+ close-on-select v-ref:type>
169
+ </v-select>
170
+ </div>
171
+ <div class="col-sm-2 form-group">
172
+ <label class="font_normal_body">气价名称</label>
173
+ <v-select :value.sync="model.f_price_name" v-model="model.f_price_name"
174
+ :options="$parent.$parent.pricenames" placeholder='气价名称'
175
+ condition="f_price_name = '{}'"
176
+ :is-mul="mul"
177
+ close-on-select ></v-select>
178
+ </div>
179
+ <div class="col-sm-2 form-group" >
180
+ <label class="font_normal_body">微信绑定</label>
181
+ <v-select :value.sync="model.f_isband"
182
+ v-model="model.f_isband"
183
+ :options='$parent.$parent.bandstates' placeholder='请选择'
184
+ condition="f_isband = '{}'"
185
+ close-on-select></v-select>
186
+ </div>
187
+ <div class="col-sm-2 form-group">
188
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;壁挂炉</label>
189
+ <v-select :value.sync="model.isbgl" v-model="model.isbgl"
190
+ :options='$parent.$parent.bgl' placeholder='请选择'
191
+ condition="isbgl = '{}'"
192
+ close-on-select></v-select>
193
+ </div>
194
+ <div class="col-sm-2 form-group">
195
+ <label class="font_normal_body">发卡状态</label>
196
+ <v-select :value.sync="model.whetherhairpin" v-model="model.whetherhairpin"
197
+ :options='$parent.$parent.whetherCard' placeholder='请选择'
198
+ condition="f_whether_hairpin = '{}'"
199
+ close-on-select></v-select>
200
+ </div>
201
+ <div class="col-sm-2 form-group">
202
+ <label class="font_normal_body">安装位置</label>
203
+ <v-select :value.sync="model.f_position" v-model="model.f_position"
204
+ :options='$parent.$parent.positions' placeholder='请选择'
205
+ condition="f_position = '{}'"
206
+ close-on-select></v-select>
207
+ </div>
208
+
209
+ <div class="col-sm-2 form-group">
210
+ <label class="font_normal_body">档案抄表员</label>
211
+ <v-select :value.sync="model.f_book_inputtor" v-model='model.f_book_inputtor'
212
+ style="width:60%"
213
+ :multiple="true"
214
+ :options='$parent.$parent.inputtores' placeholder='档案抄表员'
215
+ close-on-select
216
+ v-el:cc></v-select>
217
+ </div>
218
+ <div class="col-sm-2 form-group">
219
+ <label class="font_normal_body">表册抄表员</label>
220
+ <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
221
+ style="width:60%"
222
+ :multiple="true"
223
+ :options='$parent.$parent.inputtores' placeholder='表册抄表员'
224
+ close-on-select
225
+ v-el:cc></v-select>
226
+ </div>
227
+ <div class="col-sm-2 form-group">
228
+ <label class="font_normal_body">抄&ensp;表&ensp;册</label>
229
+ <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
230
+ :options='$parent.$parent.meterbooks' placeholder='请选择'
231
+ style="width:60%"
232
+ close-on-select
233
+ condition="f_meter_book_num = '{}'"></v-select>
234
+ </div>
235
+ <div class="col-sm-2 form-group">
236
+ <label class="font_normal_body">房屋类型</label>
237
+ <v-select :value.sync="model.f_house_type" v-model="model.f_house_type"
238
+ :options='$parent.$parent.houseTypes' placeholder='请选择'
239
+ style="width:60%"
240
+ close-on-select
241
+ condition="f_house_type = '{}'"></v-select>
242
+ </div>
243
+ <div class="col-sm-2 form-group">
244
+ <label class="font_normal_body" >报装类型</label>
245
+ <v-select :value.sync="model.f_payment" multiple
246
+ v-model="model.f_payment"
247
+ :options='$parent.$parent.dypayment' placeholder='请选择'
248
+ condition="f_bz_type in {}"
249
+ close-on-select></v-select>
250
+ </div>
251
+ <div class="col-sm-2 form-group" >
252
+ <label for="startDate2" class="font_normal_body" title="开户时间">开户时间</label>
253
+ <datepicker id="startDate2" placeholder="开始日期" style="width:60%"
254
+ v-model="model.startDate2"
255
+ :value.sync="model.startDate2"
256
+ :format="'yyyy-MM-dd'"
257
+ :show-reset-button="true"
258
+ condition="f_open_date >= '{} 00:00:00'">
259
+ </datepicker>
260
+ </div>
261
+ <div class="col-sm-2 form-group" >
262
+ <label for="endDate2" class="font_normal_body" title="开户时间">开户时间</label>
263
+ <datepicker id="endDate2" placeholder="结束日期" style="width:60%"
264
+ v-model="model.endDate2"
265
+ :value.sync="model.endDate2"
266
+ :format="'yyyy-MM-dd'"
267
+ :show-reset-button="true"
268
+ condition="f_open_date <= '{} 23:59:59'">
269
+ </datepicker>
270
+ </div>
271
+ <div class="col-sm-2 form-group" >
272
+ <label for="startDate3" class="font_normal_body" title="安装日期">安装日期</label>
273
+ <datepicker id="startDate3" placeholder="开始日期" style="width:60%"
274
+ v-model="model.startDate3"
275
+ :value.sync="model.startDate3"
276
+ :format="'yyyy-MM-dd'"
277
+ :show-reset-button="true"
278
+ condition="f_install_date >= '{} 00:00:00'">
279
+ </datepicker>
280
+ </div>
281
+ <div class="col-sm-2 form-group" >
282
+ <label for="endDate3" class="font_normal_body" title="安装日期">安装日期</label>
283
+ <datepicker id="endDate3" placeholder="结束日期" style="width:60%"
284
+ v-model="model.endDate3"
285
+ :value.sync="model.endDate3"
286
+ :format="'yyyy-MM-dd'"
287
+ :show-reset-button="true"
288
+ condition="f_install_date <= '{} 23:59:59'">
289
+ </datepicker>
290
+ </div>
291
+ <div class="col-sm-2 form-group" >
292
+ <label class="font_normal_body">客户电话</label>
293
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
294
+ condition="f_user_phone = '{}'" placeholder='客户电话'>
295
+ </div>
296
+ <div class="col-sm-2 form-group">
297
+ <label class="font_normal_body">客户等级</label>
298
+ <v-select :value.sync="model.f_user_level"
299
+ v-model="model.f_user_level" condition="f_user_level in {}"
300
+ :options='$parent.$parent.userLevels' placeholder='请选择'
301
+ multiple = "true"
302
+ close-on-select></v-select>
303
+ </div>
304
+ <div class="col-sm-2 form-group">
305
+ <label class="font_normal_body">安装人</label>
306
+ <v-select :value.sync="model.f_install_person" v-model='model.f_install_person'
307
+ style="width:60%"
308
+ :multiple="true"
309
+ :options='$parent.$parent.person' placeholder='安装人'
310
+ condition="f_install_person = '{}'"
311
+ close-on-select
312
+ v-el:cc></v-select>
313
+ </div>
314
+ <div class="col-sm-2 form-group" >
315
+ <label class="font_normal_body">发票编号</label>
316
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_contract_id"
317
+ condition="f_contract_id like '%{}%'" placeholder="发票编号">
318
+ </div>
319
+ <div class="col-sm-2 flex-row" style="white-space: nowrap">
320
+ <label class="font_normal_body">&emsp;保证金</label>
321
+
322
+ <div class="row">
323
+ <input type="text" style="width:30%" class="input_search" v-model="model.f_bzj1"
324
+ condition="f_bzj >= {} " placeholder="">
325
+ <label class="font_normal_body"> ≤ x ≤ </label>
326
+ <input type="text" style="width:30%" class="input_search" v-model="model.f_bzj2"
327
+ condition="f_bzj <= {} " placeholder="">
328
+ </div>
329
+
330
+ </div>
331
+
332
+ </div>
333
+ </div>
334
+ </criteria>
335
+
336
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
337
+ <template partial='head'>
338
+ <tr>
339
+ <th><nobr>客户状态</nobr></th>
340
+ <th><nobr>客户编号</nobr></th>
341
+ <th><nobr>是否发卡</nobr></th>
342
+ <th><nobr>卡号</nobr></th>
343
+ <th><nobr>客户名称</nobr></th>
344
+ <th><nobr>小区名称</nobr></th>
345
+ <th><nobr>客户地址</nobr></th>
346
+ <th><nobr>客户电话</nobr></th>
347
+ <th><nobr>片区</nobr></th>
348
+ <!-- 气价类型,单价暂时未处理 -->
349
+ <th><nobr>气价类型</nobr></th>
350
+ <th><nobr>气价名称</nobr></th>
351
+ <th><nobr>单价</nobr></th>
352
+ <th><nobr>保证金</nobr></th>
353
+ <th><nobr>安装位置</nobr></th>
354
+ <th><nobr>报装类型</nobr></th>
355
+ <th><nobr>气表类型</nobr></th>
356
+ <th><nobr>气表品牌</nobr></th>
357
+ <th><nobr>表号</nobr></th>
358
+ <th><nobr>报警器编号</nobr></th>
359
+ <th><nobr>左右表</nobr></th>
360
+ <th><nobr>气表安装日期</nobr></th>
361
+ <th><nobr>气表底数</nobr></th>
362
+ <th><nobr>账户余额</nobr></th>
363
+ <th><nobr>最后抄表日期</nobr></th>
364
+ <!--<th><nobr>最后购气日期</nobr></th>-->
365
+
366
+ <th><nobr>阀门状态</nobr></th>
367
+
368
+ <!-- <th><nobr>旧客户编号</nobr></th> -->
369
+ <th><nobr>客户类型</nobr></th>
370
+ <th><nobr>用气性质</nobr></th>
371
+ <th><nobr>开户时间</nobr></th>
372
+ <th><nobr>证件类型</nobr></th>
373
+ <th><nobr>证件号码</nobr></th>
374
+ <th><nobr>人口数</nobr></th>
375
+ <th><nobr>保险结束日期</nobr></th>
376
+ <th><nobr>建档日期</nobr></th>
377
+ <th><nobr>建档人</nobr></th>
378
+ <th><nobr>所属营业厅</nobr></th>
379
+ <th><nobr>备注信息</nobr></th>
380
+ <th><nobr>客户等级</nobr></th>
381
+ <!-- <th><nobr>气价详情</nobr></th>-->
382
+ <th><nobr>曾用名</nobr></th>
383
+ <th><nobr>备用电话</nobr></th>
384
+ <th><nobr>租户姓名</nobr></th>
385
+ <th><nobr>租户电话</nobr></th>
386
+ <!--<th><nobr>曾用名</nobr></th>-->
387
+ <th><nobr>工程安装费</nobr></th>
388
+ <th><nobr>是否煤改气</nobr></th>
389
+ <th><nobr>是否发放天然气使用证</nobr></th>
390
+
391
+ <th><nobr>使用类型</nobr></th>
392
+
393
+ <!-- <th><nobr>使用状态</nobr></th>-->
394
+ <!--<th><nobr>通气时间</nobr></th>-->
395
+
396
+ <th><nobr>气表型号</nobr></th>
397
+ <th><nobr>表状态</nobr></th>
398
+ <th><nobr>初始气表底数</nobr></th>
399
+ <th><nobr>累计用气金额</nobr></th>
400
+ <th><nobr>表累购气量</nobr></th>
401
+ <th><nobr>表累购金额</nobr></th>
402
+
403
+ <th><nobr>抄表员(表册)</nobr></th>
404
+ <th><nobr>抄表员(档案)</nobr></th>
405
+ <th><nobr>用气点</nobr></th>
406
+ <th><nobr>安装人</nobr></th>
407
+ <th><nobr>通气人</nobr></th>
408
+ <!-- <th><nobr>点火状态</nobr></th>-->
409
+ <th><nobr>抄表册编号</nobr></th>
410
+
411
+ <th><nobr>抄表册顺序</nobr></th>
412
+ <th><nobr>表剩余金额</nobr></th>
413
+ <!-- <th><nobr>首次购气日期</nobr></th>-->
414
+ <th><nobr>写卡次数</nobr></th>
415
+ <th><nobr>补卡次数</nobr></th>
416
+ <!-- <th><nobr>购气次数</nobr></th>-->
417
+
418
+ <th><nobr>表同步状态</nobr></th>
419
+ <th><nobr>微信绑定</nobr></th>
420
+
421
+ <th>
422
+ <nobr>银行户名</nobr>
423
+ </th>
424
+ <th>
425
+ <nobr>银行名称</nobr>
426
+ </th>
427
+ <th>
428
+ <nobr>银行账号</nobr>
429
+ </th>
430
+ <th>
431
+ <nobr>银行身份证号</nobr>
432
+ </th>
433
+ <th>
434
+ <nobr>缴费编号</nobr>
435
+ </th>
436
+ <th>
437
+ <nobr>发票编号</nobr>
438
+ </th>
439
+ <th>
440
+ <nobr>表封号</nobr>
441
+ </th>
442
+ </tr>
443
+ </template>
444
+ <template partial='body'>
445
+ <!--<td style="text-align: center;"><nobr>-->
446
+ <!--<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>-->
447
+ <!--</nobr> </td>-->
448
+ <td style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></td>
449
+ <td style="text-align: center;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
450
+ <td style="text-align: center;"><nobr>{{row.f_whether_hairpin}}</nobr></td>
451
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
452
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
453
+ <td style="text-align: center;"><nobr>{{row.f_residential_area}}</nobr></td>
454
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
455
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
456
+ <td style="text-align: center;"><nobr>{{row.f_zones}}</nobr></td>
457
+ <!-- 气价类型,单价暂时未处理 -->
458
+ <td style="text-align: center;"><nobr>{{row.f_price_type}}</nobr></td>
459
+ <td style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></td>
460
+ <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>
461
+ <td style="text-align: center;"><nobr>{{row.f_bzj}}</nobr></td>
462
+ <td style="text-align: center;"><nobr>{{row.f_position}}</nobr></td>
463
+ <td style="text-align: center;"><nobr>{{row.f_bz_type}}</nobr></td>
464
+ <td style="text-align: center;"><nobr>{{row.f_meter_type}}</nobr></td>
465
+ <td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
466
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
467
+ <td style="text-align: center;"><nobr>{{row.f_alarm_code}}</nobr></td>
468
+ <td style="text-align: center;"><nobr>{{row.f_aroundmeter}}</nobr></td>
469
+ <td style="text-align: center;"><nobr>{{row.f_install_date}}</nobr></td>
470
+ <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
471
+ <td style="text-align: center;"><nobr>{{row.f_balance}}</nobr></td>
472
+ <td style="text-align: center;"><nobr>{{row.f_hand_date}}</nobr></td>
473
+ <!-- <td style="text-align: center;"><nobr>{{row.f_max_operate_date}}</nobr></td>-->
474
+ <td style="text-align: center;"><nobr>{{row.f_valve_state}}</nobr></td>
475
+
476
+ <!-- <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>-->
477
+ <td style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></td>
478
+ <td style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></td>
479
+
480
+ <td style="text-align: center;"><nobr>{{row.f_open_date}}</nobr></td>
481
+ <td style="text-align: center;"><nobr>{{row.f_credentials}}</nobr></td>
482
+ <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
483
+ <td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>
484
+ <td style="text-align: center;"><nobr>{{row.f_ins_stop_date}}</nobr></td>
485
+ <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
486
+ <td style="text-align: center;"><nobr>{{row.f_createfile_person}}</nobr></td>
487
+ <td style="text-align: center;"><nobr>{{row.f_depname}}</nobr></td>
488
+ <td style="text-align: center;"><nobr>{{row.f_comments}}</nobr></td>
489
+ <td style="text-align: center;"><nobr>{{row.f_user_level}}</nobr></td>
490
+ <!-- <td style="text-align: center;"><nobr>{{row.value}}</nobr></td>-->
491
+ <td style="text-align: center;"><nobr>{{row.f_used_name}}</nobr></td>
492
+ <td style="text-align: center;"><nobr>{{row.f_rent_phone}}</nobr></td>
493
+ <td style="text-align: center;"><nobr>{{row.f_rent_name}}</nobr></td>
494
+ <td style="text-align: center;"><nobr>{{row.f_zuhu_phone}}</nobr></td>
495
+ <td style="text-align: center;"><nobr>{{row.f_packaging}}</nobr></td>
496
+ <td style="text-align: center;"><nobr>{{row.f_is_mgq}}</nobr></td>
497
+ <td style="text-align: center;"><nobr>{{row.f_send_usegas_card}}</nobr></td>
498
+
499
+ <td style="text-align: center;"><nobr>{{row.f_usetype}}</nobr></td>
500
+ <!-- <td style="text-align: center;"><nobr>{{row.f_usestate}}</nobr></td>-->
501
+ <!--<td style="text-align: center;"><nobr>{{row.f_people_num}}</nobr></td>-->
502
+
503
+ <td style="text-align: center;"><nobr>{{row.f_meter_style}}</nobr></td>
504
+ <td style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></td>
505
+ <td style="text-align: center;"><nobr>{{row.f_initial_base}}</nobr></td>
506
+ <td style="text-align: center;"><nobr>{{row.f_total_usegas_amount}}</nobr></td>
507
+ <td style="text-align: center;"><nobr>{{row.f_total_gas}}</nobr></td>
508
+ <td style="text-align: center;"><nobr>{{row.f_total_fee}}</nobr></td>
509
+
510
+ <td style="text-align: center;"><nobr>{{row.f_inputtor}}</nobr></td>
511
+ <td style="text-align: center;"><nobr>{{row.f_book_inputtor}}</nobr></td>
512
+ <td style="text-align: center;"><nobr>{{row.f_userfiles_address}}</nobr></td>
513
+ <td style="text-align: center;"><nobr>{{row.f_install_person}}</nobr></td>
514
+ <td style="text-align: center;"><nobr>{{row.f_gas_person}}</nobr></td>
515
+ <!-- <td style="text-align: center;"><nobr>{{row.f_fire_state}}</nobr></td>-->
516
+ <td style="text-align: center;"><nobr>{{row.f_meter_book_num}}</nobr></td>
517
+
518
+ <td style="text-align: center;"><nobr>{{row.f_meter_book_sort}}</nobr></td>
519
+ <td style="text-align: center;"><nobr>{{row.f_balance_amount}}</nobr></td>
520
+ <!-- <td style="text-align: center;"><nobr>{{row.f_min_operate_date}}</nobr></td>-->
521
+ <td style="text-align: center;"><nobr>{{row.f_times}}</nobr></td>
522
+ <td style="text-align: center;"><nobr>{{row.f_fillcard_times}}</nobr></td>
523
+ <!-- <td style="text-align: center;"><nobr>{{row.f_sell_number}}</nobr></td>-->
524
+ <td style="text-align: center;"><nobr>{{row.f_sendsuccess}}</nobr></td>
525
+ <td style="text-align: center;"><nobr>{{row.f_isband}}</nobr></td>
526
+
527
+ <td style="text-align: center;">
528
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_accopen}}</span></nobr>
529
+ </td>
530
+ <td style="text-align: center;">
531
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_name}}</span></nobr>
532
+ </td>
533
+ <td style="text-align: center;">
534
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_account}}</span></nobr>
535
+ </td>
536
+ <td :class="row.f_user_state !== '正常'? 'back-red' : 'back-blue'" style="text-align: center;">
537
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_idnumber}}</span></nobr>
538
+ </td>
539
+ <td style="text-align: center;">
540
+ <nobr><span v-if="row.f_cost_type =='银行代扣'">{{row.f_bank_pay_number}}</span></nobr>
541
+ </td>
542
+ <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
543
+ <td style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></td>
544
+ </template>
545
+ <template partial='foot'>
546
+
547
+ </template>
548
+ </data-grid>
549
+ </criteria-paged>
550
+
551
+ <table class="table-hover">
552
+ <tr style="position: relative" class="table-bordered">
553
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
554
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">暂无合计字段</td>
555
+ </tr>
556
+ </table>
557
+
558
+ <modal :show.sync="printshow" v-ref:modal backdrop="false">
559
+ <header slot="modal-header" class="modal-header text-center">
560
+ <h4 class="modal-title">打印列选择</h4>
561
+ <input type="checkbox" class="" id="f_generations" v-model="all">
562
+ <label for="f_generations" class="font-size">全选</label>
563
+ </header>
564
+ <article slot="modal-body">
565
+ <div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;">
566
+ <div class="col-sm-3" v-for="f in fields">
567
+ <input type="checkbox" class="" :id="'water-owe-details-'+$index" v-model="modelval" :value="$key">
568
+ <label :for="'water-owe-details-'+$index" class="font-size">{{f}}</label>
569
+ </div>
570
+ </div>
571
+ </article>
572
+ <footer slot="modal-footer" class="modal-footer">
573
+ <center>
574
+
575
+ <button v-show="printshow" type="button" class="btn btn-default" @click='close()'>取消</button>
576
+ <button v-show="printshow" type="button" class="btn btn-success" @click='print()'>打印</button>
577
+ <print-table :model='model' v-show="false" v-ref:print
578
+ :top='40' :left='60' :right='40' :bottom='60'
579
+ :thead="thead" :tfoot='tfoot' :attach="yangsen"
580
+ :fields="modelval" :printpage="true">
581
+ </print-table>
582
+ </center>
583
+ </footer>
584
+ </modal>
585
+ </div>
586
+ <div v-if="show">
587
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
588
+ </div>
589
+ </div></div></div>
590
+ <high-meter-idcard :show.sync="false" v-ref:highcard ></high-meter-idcard>
591
+ </template>
592
+
593
+ <script>
594
+ import {HttpResetClass, PagedList} from 'vue-client'
595
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
596
+ import exportConfig from './config/exportConfig'
597
+ let cardBtnGen = async function (self, val) {
598
+ self.cardInfo = val.data
599
+
600
+ // 判断读卡是否需要卡密码
601
+ console.log('读卡上的信息', self.cardInfo)
602
+
603
+ if (self.cardInfo.NewParam) {
604
+ if (self.cardInfo.NewParam.error) {
605
+ if (self.cardInfo.NewParam.error === '0001') {
606
+ // 需要重新读卡并传卡密码
607
+ if (self.model.rows.length == 1 && self.model.rows[0].f_alias === self.cardInfo.Factory) {
608
+ self.readCardParam = self.model.rows[0].f_card_password
609
+ self.cardInfo = await self.$refs.paged.$refs.cri.$refs.readcard.readCard2(self.model.rows[0].f_card_password)
610
+ } else {
611
+ self.$showAlert('此卡需要先获取客户信息。请通过条件查询该客户信息之后进行读卡!!', 'warning', 2000)
612
+ return
613
+ }
614
+ }
615
+ }
616
+ }
617
+ self.card=self.cardInfo.CardID
618
+ self.search()
619
+ }
620
+ let readySomething = async function (self) {
621
+ await self.$MagLoadParams.loadParam()
622
+ // await self.$LoadParams.loadParam(self.f_filialeid)
623
+ self.initParams()
624
+ self.getPricenames();
625
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
626
+ // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
627
+ // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
628
+ // await self.$refs.paged.$refs.cri.search()
629
+ }
630
+ export default {
631
+ title: '综合档案信息查询',
632
+ data() {
633
+ return {
634
+ IdCardInfo:'',
635
+ card:'',
636
+ isSingleUser: null,
637
+ other:[],
638
+ footer:[],
639
+ model: new PagedList('api/af-revenue/sql/compreQuery', 20),
640
+ criteriaShow: false,
641
+ orgCondtionStr:'',
642
+ residentialArea: [],
643
+ gasproperties:[],
644
+ meterbrands: [],
645
+ modelval: [],
646
+ prices: [],
647
+ printshow: false,
648
+ all: false,
649
+ fields: {},
650
+ thead: '',
651
+ tfoot: '',
652
+ defaultfield: [],
653
+ config: {
654
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone', 'f_user_state']
655
+ },
656
+ area: [],
657
+ inputtouPerson: [],
658
+ bookinputtorperson:[],
659
+ conditon2:'',
660
+ show:false,
661
+ rowdata:{},
662
+ f_filialeid: this.$login.f.orgid,
663
+ // 下拉框参数
664
+ userLevels :this.$appdata.getParam('用户等级') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')] : [],
665
+ userstates:this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : [],
666
+ bandstates:this.$appdata.getParam('微信绑定') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('微信绑定')] : [],
667
+ initres: {
668
+ org:[this.$login.f.orgid],
669
+ dep:[],
670
+ user:[],
671
+ },
672
+ // 合计数据
673
+ sumsmodel: {},
674
+ pricenames:[],
675
+ dypayment:this.$appdata.getParam('报装类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('报装类型')] : [],
676
+ }
677
+ },
678
+ ready(){
679
+ this.getaddress()
680
+ readySomething(this).then(() => {
681
+ this.$emit('ready')
682
+ }).catch((error) => {
683
+ this.$emit('error', error)
684
+ })
685
+ },
686
+ methods: {
687
+ ReadIDCard(){
688
+ this.$refs.highcard.sendMsg(this.$refs.highcard.CLT_MSG.READ_IDCARD, (msg) => {
689
+ console.log('======',msg)
690
+ if(msg.err !== 0){ return}
691
+ this.IdCardInfo=msg.strID
692
+ })
693
+ if(this.IdCardInfo) {
694
+ this.search()
695
+ }else{
696
+ alert("读取失败,找不到用户信息")
697
+ }
698
+ },
699
+ cardBtn (val) {
700
+ // this.clear()
701
+ cardBtnGen(this, val)
702
+ },
703
+ getPricenames () {
704
+ let f_filialeid = this.f_filialeid
705
+ let result = []
706
+ this.$MagGetSaleParam.prices.forEach((item) => {
707
+ if (item.f_state === '有效' && f_filialeid == item.f_filialeid) {
708
+ let value = {
709
+ label: item.f_price_name,
710
+ value: item.f_price_name
711
+ }
712
+ result.push(value)
713
+ }
714
+ })
715
+ this.pricenames = [{label:'全部',value:''},...result];
716
+ },
717
+ getotherfooter () {
718
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
719
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
720
+ this.other = [];
721
+ this.footer = [];
722
+ let exportdata = this.getCondition;
723
+ let otherInData = [];
724
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
725
+ // let footerData = [], exportfield = this.getExportField;
726
+ // footerData.push("合计");
727
+ // let self = this;
728
+ // for (var field in self.sumsmodel) {
729
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
730
+ // }
731
+ // this.footer.push(footerData);
732
+ this.other.push(otherInData);
733
+ },
734
+ initParams() {
735
+ // 初始化气表品牌
736
+ let brandArr = []
737
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
738
+ let temp = {}
739
+ temp.label = item.label
740
+ temp.value = item.value.f_meter_brand
741
+ brandArr.push(temp)
742
+ })
743
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
744
+ //初始化气表价格
745
+ this.prices = this.$MagGetSaleParam.getPrices();
746
+ },
747
+ async getaddress(){
748
+ console.log('开始获取小区')
749
+ let HttpReset = new HttpResetClass()
750
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
751
+ data: {
752
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
753
+ }
754
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
755
+ console.log('小区',data)
756
+ let house = [{label: '全部', value: ''}]
757
+ for (let row of data.data){
758
+ console.log('开始保存小区')
759
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
760
+ }
761
+ this.residentialArea = house
762
+ },
763
+ search(){
764
+ this.$refs.paged.$refs.cri.search()
765
+ },
766
+ cancel() {
767
+ this.show = false
768
+ },
769
+ showmsg(obj){
770
+ this.rowdata=obj
771
+ this.show=true
772
+ },
773
+ selfSearch (args) {
774
+
775
+ //抄表员查询条件
776
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
777
+ if(this.inputtouPerson.length !== 0){
778
+ let str = JSON.stringify(this.inputtouPerson)
779
+ str = str.replace(/"/g,`'`)
780
+ str = str.replace(/\[/g,``)
781
+ str = str.replace(/\]/g,``)
782
+ console.log("=====抄表员model22222222222绑定====",str)
783
+ //查询多个抄表员时条件
784
+ args.condition += ` and f_inputtor in ( ${str} )`
785
+ }
786
+ //
787
+ debugger
788
+ this.bookinputtorperson = this.$refs.paged.$refs.cri.model.f_book_inputtor;
789
+ if(this.bookinputtorperson.length !== 0){
790
+ let str = JSON.stringify(this.bookinputtorperson)
791
+ str = str.replace(/"/g,`'`)
792
+ str = str.replace(/\[/g,``)
793
+ str = str.replace(/\]/g,``)
794
+ console.log("=====抄表员model22222222222绑定====",str)
795
+ //查询多个抄表员时条件
796
+ args.condition += ` and f_book_inputtor in ( ${str} )`
797
+ }
798
+ if (!this.orgCondtionStr) {
799
+ args.condition = `${args.condition}` + " and uf.f_orgid = " + this.$login.f.orgid
800
+ } else {
801
+ args.condition = `${args.condition}` + this.orgCondtionStr
802
+ }
803
+ this.conditon2 = args.condition
804
+ console.log("查看条件",this.conditon2)
805
+ if(this.card!=''){
806
+ args.condition +=` and f_card_id='${this.card}'`
807
+ }
808
+ if(this.IdCardInfo!=''){
809
+ args.condition+=` and f_idnumber='${this.IdCardInfo}'`
810
+ }
811
+ this.model.search(args.condition, args.model)
812
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums;
813
+ this.card=''
814
+ this.IdCardInfo=''
815
+ console.log('合计字段',this.sumsmodel)
816
+ },
817
+ clear(){
818
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
819
+ this.$refs.paged.$refs.cri.model[key] = []
820
+ })
821
+ },
822
+ hidden(){
823
+ this.criteriaShow = !this.criteriaShow
824
+ },
825
+ getRes(obj) {
826
+ this.orgCondtionStr = obj
827
+ },
828
+ stamp () {
829
+ this.all = false
830
+ //默认选择要打印的列
831
+ this.modelval = defaultPrint.config
832
+ this.fields = this.getfield
833
+ console.log('所有打印字段',this.fields)
834
+ this.printshow = true
835
+ this.put()
836
+ },
837
+ put () {
838
+ // 对Modelval进行排序
839
+ this.sortModelval()
840
+ this.thead = `<tr><th colspan=${this.modelval.length}>设备查询统计报表</th></tr><tr>`
841
+ for (let key of this.modelval) {
842
+ this.thead += '<th>' + this.fields[key] + '</th>'
843
+ }
844
+ this.thead += '</tr>'
845
+ },
846
+ print () {
847
+ this.$refs.print.PrintAsFile()
848
+ this.printshow = false
849
+ },
850
+ close () {
851
+ this.printshow = false
852
+ this.all = false
853
+ },
854
+ userTypeChange () {
855
+ this.gasproperties=[]
856
+ if(this.$refs.paged.$refs.cri.model !==null) {
857
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
858
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
859
+ // this.gasproperties.push({label: '全部', value: ''})
860
+ }
861
+ else{
862
+ this.gasproperties =[{label: '全部', value: ''}]
863
+ }
864
+ },
865
+ // 对选择的列进行排序
866
+ sortModelval () {
867
+ let sortModel = []
868
+ Object.keys(this.fields).forEach((key) => {
869
+ if (this.modelval.includes(key)) {
870
+ sortModel.push(key)
871
+ }
872
+ })
873
+ this.modelval = sortModel
874
+ console.log('选择的打印的字段', this.modelval)
875
+ }
876
+ },
877
+ watch:{
878
+ 'model.rows.length' () {
879
+ this.isSingleUser = this.model.rows
880
+ },
881
+ 'all' (val) {
882
+ if (val) {
883
+ this.modelval = this.bodyData
884
+ } else {
885
+ this.modelval = defaultPrint.config
886
+ this.put()
887
+ }
888
+ },
889
+ 'modelval.length' () {
890
+ this.put()
891
+ },
892
+ sumsmodel:{
893
+ handler: function(val) {
894
+ this.getotherfooter();
895
+ },
896
+ deep: true
897
+ },
898
+ },
899
+ computed:{
900
+
901
+ bgl(){
902
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('壁挂炉')]
903
+ },
904
+ houseTypes(){
905
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('房屋类型')]
906
+ },
907
+ gasproperties(){
908
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
909
+ },
910
+ whetherCard(){
911
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('发卡状态')]
912
+ },
913
+ person() {
914
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装人')]
915
+ },
916
+ usertypes() {
917
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
918
+ },
919
+ useTypes() {
920
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
921
+ },
922
+ positions() {
923
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('安装位置')]
924
+ },
925
+ meterbooks(){
926
+ return [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
927
+ },
928
+ // gasproperties() {
929
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
930
+ // },
931
+
932
+ metertypes() {
933
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
934
+ },
935
+ pricetypes() {
936
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
937
+ },
938
+ tablestate() {
939
+ return [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}]
940
+ },
941
+
942
+ // getPricenames() {
943
+ // let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
944
+ // let f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties;
945
+ // let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
946
+ // // console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
947
+ // if(this.$refs.paged.$refs.cri.model !==null) {
948
+ // console.log(1111)
949
+ // console.log(11112, this.prices)
950
+ // let rs = []
951
+ // let priceArr = []
952
+ // if (f_user_type.length > 0 && f_gasproperties.length > 0 && pricetype.length >0) {
953
+ // let params = {
954
+ // f_user_type: f_user_type[0],
955
+ // f_gasproperties: f_gasproperties[0],
956
+ // f_price_type: pricetype[0],
957
+ // filter: this.f_filialeid,
958
+ // prices: this.prices
959
+ // }
960
+ // console.log(11113,params,this.$login.f)
961
+ // this.$MagGetSaleParam.getPrice(params).forEach((item) => {
962
+ // let temp = {}
963
+ // temp.label = item.label
964
+ // temp.value = item.value.f_price_name
965
+ // priceArr.push(temp)
966
+ // })
967
+ // rs = [{label: '全部', value: ''}, ...priceArr]
968
+ // }
969
+ // if (rs.length === 0) {
970
+ // console.log('rs读出来是空')
971
+ // this.$refs.paged.$refs.cri.model.f_price_name = ''
972
+ // }
973
+ // return rs
974
+ // }
975
+ // },
976
+ inputtores () {
977
+ // 获取抄表员
978
+ console.log('获取抄表员', this.$login.f)
979
+ let rs = []
980
+ if (this.$login.f.f_gasman.length > 0) {
981
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
982
+ let temp = {
983
+ label: this.$login.f.f_gasman[i].name,
984
+ value: this.$login.f.f_gasman[i].name
985
+ }
986
+ rs.push(temp)
987
+ }
988
+ }
989
+
990
+ return [{label: '全部', value: ''}, ...rs]
991
+ },
992
+ authArr () {
993
+ return this.$login.r ? this.$login.r : []
994
+ },
995
+ getCondition(){
996
+
997
+ return {condition:this.conditon2}
998
+ },
999
+ getfield(){
1000
+ let data = {}
1001
+ this.bodyData.forEach((value, index)=>{
1002
+ data[this.bodyData[index]] = this.headData[index]
1003
+ })
1004
+ //合计字段打印
1005
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
1006
+ if(this.sumsmodel){
1007
+ Object.keys(this.sumsmodel).forEach((key) => {
1008
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
1009
+ })
1010
+ }else{
1011
+ this.tfoot += '暂无'
1012
+ }
1013
+ this.tfoot += '</th></tr>'
1014
+ return data
1015
+ },
1016
+ getExportField() {
1017
+ let field=exportConfig.compreConfig
1018
+ exportConfig.compreConfig.f_bzj='保证金'
1019
+ return field
1020
+ }
1021
+ }
1022
+ }
1023
+ </script>