manage-client 3.3.233 → 3.3.234

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