sale-client 4.1.230 → 4.2.1-ronghao

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 (171) hide show
  1. package/build/dev-server.js +29 -46
  2. package/package.json +2 -2
  3. package/src/App.vue +3 -3
  4. package/src/components/FilesManage/UserGeneralInfoTest.vue +4 -4
  5. package/src/components/FilesManageNew/FileUserFiles.vue +2 -4
  6. package/src/components/FilesManageNew/MeterinfoTest.vue +9 -9
  7. package/src/components/FilesManageNew/UserEssentialInfoTest.vue +201 -227
  8. package/src/components/FilesManageNew/UserGeneralInfoTest.vue +0 -2
  9. package/src/components/charge/business/CardMeterCenter.vue +1 -1
  10. package/src/components/charge/business/FilesComplete.vue +3 -3
  11. package/src/components/charge/business/IOTMeterCenter.vue +1 -1
  12. package/src/components/charge/business/OtherChargeNew.vue +68 -48
  13. package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +10 -1
  14. package/src/components/common/userinfo_detail/ic_detail/CardHandRecord.vue +1 -1
  15. package/src/components/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +1 -1
  16. package/src/components/common/userinfo_detail/ic_detail/GarbageRecordList.vue +69 -0
  17. package/src/components/common/userinfo_detail/ic_detail/InsuranceChargesRecord.vue +384 -0
  18. package/src/components/common/userinfo_detail/ic_detail/WebHandQueryUser.vue +1 -1
  19. package/src/components/revenue/Common/MeterMessage.vue +1 -1
  20. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  21. package/src/components/revenue/HandManager/WebHand.vue +7 -4
  22. package/src/components/revenue/base/leftview/SafeCheck.vue +41 -3
  23. package/src/components/revenue/base/leftview/UserFeeInfo.vue +76 -0
  24. package/src/components/revenue/base/leftview/otherinfo.vue +1 -0
  25. package/src/components/revenue/base/rightview/CardList.vue +7 -3
  26. package/src/components/revenue/batchDeduction/batchDeductionList.vue +1 -1
  27. package/src/components/revenue/cardHandManage/cardDown.vue +18 -0
  28. package/src/components/revenue/changeInsurance/InsuranceAdd.vue +1 -0
  29. package/src/components/revenue/changeInsurance/InsuranceRecord.vue +2 -1
  30. package/src/components/revenue/comprehen/ComprehenOperation/BankPayment/BankPayment.vue +1 -1
  31. package/src/components/revenue/comprehen/ComprehenOperation/GiftFee/icTable.vue +4 -2
  32. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  33. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  34. package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +2 -2
  35. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  36. package/src/components/revenue/machineHandManage/HandplanQuery.vue +1 -1
  37. package/src/components/revenue/machineHandManage/machineHand.vue +3 -2
  38. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +970 -970
  39. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  40. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  41. package/src/filiale/bayan/StockListmain.vue +543 -543
  42. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  43. package/src/filiale/dexin/MeterinfoTest.vue +1239 -0
  44. package/src/filiale/dexin/UserEssentialInfoTest.vue +602 -0
  45. package/src/filiale/dexin/sale.js +5 -0
  46. package/src/filiale/fugou/MeterinfoTest.vue +1 -1
  47. package/src/filiale/jiaxian/AutomaticPurse.vue +349 -0
  48. package/src/filiale/jiaxian/ChangeMeterQueryUser.vue +303 -0
  49. package/src/filiale/jiaxian/ChangeRecord.vue +44 -2
  50. package/src/filiale/jiaxian/FillCardQueryUser.vue +250 -0
  51. package/src/filiale/jiaxian/FillGasQueryUser.vue +270 -0
  52. package/src/filiale/jiaxian/OtherChargeQueryUser.vue +305 -0
  53. package/src/filiale/jiaxian/PriceAdjustmentQueryUser.vue +368 -0
  54. package/src/filiale/jiaxian/PriceChangeQueryUser.vue +243 -0
  55. package/src/filiale/jiaxian/QueryInstruct.vue +436 -0
  56. package/src/filiale/jiaxian/RecordQueryUser.vue +321 -0
  57. package/src/filiale/jiaxian/Repurchase.vue +181 -0
  58. package/src/filiale/jiaxian/TransferQueryUser.vue +274 -0
  59. package/src/filiale/jiaxian/UserInfoDetailManageNew.vue +11 -11
  60. package/src/filiale/jiaxian/Userinfo.vue +426 -0
  61. package/src/filiale/jiaxian/WatchCollection.vue +54 -1
  62. package/src/filiale/jiaxian/WebAutomaticPurse.vue +348 -0
  63. package/src/filiale/jiaxian/contractSigningList.vue +149 -0
  64. package/src/filiale/jiaxian/sale.js +5 -0
  65. package/src/filiale/jinhong/AutoAccountsDetail.vue +63 -0
  66. package/src/filiale/jinhong/CardList.vue +572 -0
  67. package/src/filiale/jinhong/CardMeterCenter.vue +1 -1
  68. package/src/filiale/jinhong/CardMeterCenterInner.vue +61 -22
  69. package/src/filiale/jinhong/GarbageCharge.vue +1 -1
  70. package/src/filiale/jinhong/HandplanQuery.vue +1430 -0
  71. package/src/filiale/jinhong/IOTMeterCenterInner.vue +42 -14
  72. package/src/filiale/jinhong/InsuranceAdd.vue +27 -5
  73. package/src/filiale/jinhong/InsuranceChargesDetails.vue +11 -5
  74. package/src/filiale/jinhong/InsuranceRecord.vue +4 -5
  75. package/src/filiale/jinhong/InsuranceTemp.vue +33 -5
  76. package/src/filiale/jinhong/MachineChargeService.js +8 -0
  77. package/src/filiale/jinhong/MachineMeterCenter.vue +38 -11
  78. package/src/filiale/jinhong/ShowCardSellGasInner.vue +46 -14
  79. package/src/filiale/jinhong/Userinfo.vue +75 -1
  80. package/src/filiale/jinhong/insuranceGuanL.vue +349 -0
  81. package/src/filiale/jinhong/machineDown.vue +1205 -0
  82. package/src/filiale/jinhong/sale.js +9 -0
  83. package/src/filiale/jinhuang/UserInfoDetailManageNew.vue +259 -0
  84. package/src/filiale/jinhuang/WebHand.vue +1026 -0
  85. package/src/filiale/jinhuang/WebHandQueryUser.vue +413 -0
  86. package/src/filiale/jinhuang/cardsHand.vue +911 -0
  87. package/src/filiale/jinhuang/sale.js +8 -0
  88. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  89. package/src/filiale/lixianV3/InsuranceAdd.vue +1 -0
  90. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  91. package/src/filiale/meihekou/CardMeterCenter.vue +991 -0
  92. package/src/filiale/meihekou/ChargeManage.vue +3 -2
  93. package/src/filiale/meihekou/ChargeOper.vue +279 -169
  94. package/src/filiale/meihekou/HandManager.vue +57 -2
  95. package/src/filiale/meihekou/NoCardMeterCenter.vue +542 -0
  96. package/src/filiale/meihekou/OverUseCharge.vue +1 -1
  97. package/src/filiale/meihekou/PrintBill.vue +48 -41
  98. package/src/filiale/meihekou/ReissueBill.vue +4 -1
  99. package/src/filiale/meihekou/ShowCardSellGas.vue +935 -0
  100. package/src/filiale/meihekou/TransferManage.vue +704 -0
  101. package/src/filiale/meihekou/Userinfo.vue +233 -5
  102. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  103. package/src/filiale/meihekou/icTable.vue +233 -0
  104. package/src/filiale/meihekou/machineHand.vue +2158 -0
  105. package/src/filiale/meihekou/manualChargeCenter.vue +394 -0
  106. package/src/filiale/meihekou/meterTable.vue +220 -0
  107. package/src/filiale/meihekou/sale.js +15 -0
  108. package/src/filiale/qianneng/MeterMessage.vue +1 -1
  109. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +508 -508
  110. package/src/filiale/rizhao/InsuranceAdd.vue +1 -0
  111. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  112. package/src/filiale/ronghao/CardList.vue +19 -17
  113. package/src/filiale/ronghao/CardMeterChargeCancel.vue +5 -0
  114. package/src/filiale/ronghao/CardService.js +2144 -2144
  115. package/src/filiale/ronghao/ChangeMeterService.js +1 -1
  116. package/src/filiale/ronghao/ChargeList.vue +17 -17
  117. package/src/filiale/ronghao/ChargeManage.vue +325 -0
  118. package/src/filiale/ronghao/ChargeOper.vue +330 -0
  119. package/src/filiale/ronghao/FilesManageNew/UserEssentialInfoTest.vue +457 -0
  120. package/src/filiale/ronghao/FilesManageNew/UserGeneralInfoTest.vue +690 -0
  121. package/src/filiale/ronghao/HandplanQuery.vue +13 -14
  122. package/src/filiale/ronghao/IOTMeterCenter.vue +15 -6
  123. package/src/filiale/ronghao/InsuranceAdd.vue +1 -0
  124. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  125. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  126. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  127. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  128. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  129. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  130. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  131. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  132. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  133. package/src/filiale/ronghao/Upload.vue +654 -654
  134. package/src/filiale/ronghao/Userinfo.vue +18 -18
  135. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  136. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  137. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  138. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  139. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  140. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  141. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  142. package/src/filiale/ronghao/machineRefund.vue +3 -1
  143. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  144. package/src/filiale/ronghao/sale.js +11 -0
  145. package/src/filiale/ronghao/specificInformation.vue +537 -537
  146. package/src/filiale/ronghao/uploadFilesHistory.vue +214 -0
  147. package/src/filiale/ruihua/FilesManage/MeterinfoTest.vue +10 -0
  148. package/src/filiale/shanxian/components/revenue/InsuranceAdd.vue +1 -0
  149. package/src/filiale/wuan/MeterMessage.vue +1 -1
  150. package/src/filiale/yangchun/BasicLivingList.vue +281 -0
  151. package/src/filiale/yangchun/BlackList/BlackRecordQuery.vue +1 -0
  152. package/src/filiale/yangchun/CardChangeFill.vue +1 -1
  153. package/src/filiale/yangchun/ChargeList.vue +954 -954
  154. package/src/filiale/yangchun/FilesManage/UserPaperInfoTest.vue +3 -3
  155. package/src/filiale/yangchun/NewMeterList.vue +742 -0
  156. package/src/filiale/yangchun/sale.js +3 -0
  157. package/src/filiale/yuncheng/CardList.vue +1 -1
  158. package/src/filiale/yuncheng/IndustryCommerceHand.vue +1145 -0
  159. package/src/filiale/yuncheng/IndustryCommerceHandAudit.vue +794 -0
  160. package/src/filiale/yuncheng/IndustryCommerceHandManager.vue +64 -0
  161. package/src/filiale/yuncheng/InsuranceAdd.vue +1 -0
  162. package/src/filiale/yuncheng/MeterBookUser.vue +781 -0
  163. package/src/filiale/yuncheng/UserDeviceInfoTest.vue +2 -2
  164. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  165. package/src/filiale/yuncheng/industryDown.vue +1118 -0
  166. package/src/filiale/yuncheng/sale.js +11 -0
  167. package/src/filiale/yuncheng/uploadFilesHistory.vue +185 -0
  168. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  169. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  170. package/src/plugins/CardService.js +2217 -2217
  171. package/src/sale.js +3 -1
@@ -0,0 +1,742 @@
1
+ <template>
2
+ <div id="stand-work-list" class="basic-main" style="height: 98%">
3
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
4
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.selfsearch'>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group">
8
+ <label class="font_normal_body">客户编号</label>
9
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
10
+ v-model="model.f_userinfo_code"
11
+ placeholder='客户编号'
12
+ condition="f_userinfo_code like '%{}%'"
13
+ >
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
18
+ v-model="model.f_user_name"
19
+ placeholder='客户名称'
20
+ condition="f_user_name like '%{}%'"
21
+ >
22
+ </div>
23
+ <div style="float:right">
24
+ <button class="button_search button_spacing" @click="$parent.$parent.openModal" v-if="this.$login.r.includes('修改阀控状态')">修改阀控状态</button>
25
+ <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
26
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
27
+ <export-excel :data="$parent.$parent.getCondition"
28
+ :field="$parent.$parent.config.excelHeaders"
29
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="manage_getNewMeterBrandAndModel" template-name='表具查询'
30
+ v-ref:exports
31
+ v-if="this.$login.r.includes('表具查询导出')"
32
+ :choose-col="true"></export-excel>
33
+ <!-- <export-excel-->
34
+ <!-- :data="{condition: $parent.$parent.condition}"-->
35
+ <!-- :field="$parent.$parent.getfield"-->
36
+ <!-- sqlurl="api/af-revenue/logic/saleExport" progress="saleGetExportProgress" sql-name="manage_getNewMeterBrandAndModel" template-name='表具查询'-->
37
+ <!-- :choose-col="true"></export-excel>-->
38
+ <div style="float: right" class="button_spacing"
39
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
+ @click="$parent.$parent.hidden()"></div>
41
+ </div>
42
+ </div>
43
+
44
+ <div class="row" v-show="$parent.$parent.criteriaShow">
45
+ <div class="col-sm-2 form-group">
46
+ <label class="font_normal_body">客户地址</label>
47
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
48
+ v-model="model.f_address"
49
+ placeholder='客户地址'
50
+ :size="model.f_address ? model.f_address.length : 6"
51
+ condition="f_address like '%{}%'"
52
+ >
53
+ </div>
54
+ <div class="col-sm-2 form-group">
55
+ <label class="font_normal_body">片区</label>
56
+ <v-select
57
+ placeholder='片区'
58
+ value-single="true"
59
+ style="width:60%"
60
+ :value.sync="model.f_slice_area"
61
+ v-model="model.f_slice_area"
62
+ :options='$parent.$parent.sliceArea'
63
+ close-on-select condition="f_slice_area ='{}'">
64
+ </v-select>
65
+ </div>
66
+ <div class="col-sm-2 form-group">
67
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
68
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
69
+ v-model="model.f_meternumber"
70
+ placeholder='表号'
71
+ condition="f_meternumber like '%{}%'">
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;电话&nbsp;&nbsp;&nbsp;</label>
75
+ <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
76
+ v-model="model.f_user_phone"
77
+ placeholder='电话'
78
+ condition="f_user_phone like '%{}%'">
79
+ </div>
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">组织机构</label>
82
+ <res-select :initresid="$parent.$parent.org"
83
+ style="width:60%"
84
+ @res-select="$parent.$parent.getorg"
85
+ restype='organization'>
86
+ </res-select>
87
+
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">客户类型</label>
91
+ <v-select
92
+ placeholder='客户类型'
93
+ value-single="true"
94
+ style="width:60%"
95
+ :value.sync="model.f_user_type"
96
+ v-model="model.f_user_type"
97
+ :options='$parent.$parent.Gasusertype'
98
+ close-on-select condition="f_user_type ='{}'">
99
+ </v-select>
100
+ </div>
101
+
102
+ <div class="col-sm-2 form-group">
103
+ <label class="font_normal_body">用气性质</label>
104
+ <v-select
105
+ placeholder='用气性质'
106
+ value-single="true"
107
+ :value.sync="model.f_gasproperties"
108
+ style="width:60%"
109
+ multiple
110
+ v-model="model.f_gasproperties"
111
+ :options='$parent.$parent.Gasproperties'
112
+ close-on-select condition="f_gasproperties in {}">
113
+ </v-select>
114
+ </div>
115
+ <div class="col-sm-2 form-group">
116
+ <label class="font_normal_body">气表状态</label>
117
+ <v-select
118
+ placeholder='气表状态'
119
+ :value.sync="model.f_table_state"
120
+ style="width:60%"
121
+ v-model="model.f_table_state"
122
+ :options='$parent.$parent.TableStates'
123
+ close-on-select
124
+ condition="f_table_state='{}'">
125
+ </v-select>
126
+ </div>
127
+ <div class="col-sm-2 form-group">
128
+ <label class="font_normal_body">气表品牌</label>
129
+ <v-select
130
+ placeholder='气表品牌'
131
+ multiple
132
+ :value.sync="model.f_gasbrand"
133
+ style="width:60%"
134
+ v-model="model.f_gasbrand"
135
+ :options='$parent.$parent.meterbrand'
136
+ close-on-select
137
+ condition="f_meter_brand in {}">
138
+ </v-select>
139
+ </div>
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">阀控状态</label>
142
+ <v-select
143
+ placeholder='阀控状态'
144
+
145
+ :value.sync="model.f_network_valve"
146
+ style="width:60%"
147
+ v-model="model.f_network_valve"
148
+ :options='$parent.$parent.f_network_valve'
149
+ close-on-select
150
+ condition="f_network_valve='{}'">
151
+ </v-select>
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body">阀门状态</label>
155
+ <v-select
156
+ placeholder='阀门状态'
157
+
158
+ :value.sync="model.f_valvestate"
159
+ style="width:60%"
160
+ v-model="model.f_valvestate"
161
+ :options='$parent.$parent.valvestates'
162
+ close-on-select
163
+ condition="f_valvestate='{}'">
164
+ </v-select>
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label class="font_normal_body">表上余额</label>
168
+ <input @keyup.enter="search" type="number" class="input_search" style="width:60%"
169
+ v-model="model.f_balance_min"
170
+ placeholder='表上余额'
171
+ condition="f_balance_amount > {}">
172
+ </div>
173
+ <div class="col-sm-2 form-group">
174
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
175
+ <input @keyup.enter="search" type="number" class="input_search" style="width:60%"
176
+ v-model="model.f_balance_max"
177
+ placeholder='表上余额'
178
+ condition="f_balance_amount < {}">
179
+ </div>
180
+ <div class="col-sm-2 form-group" title="参数名称:【结算方式】">
181
+ <label class="font_normal_body">结算方式</label>
182
+ <v-select
183
+ placeholder='结算方式'
184
+ :value.sync="model.f_calculation"
185
+ style="width:60%"
186
+ v-model="model.f_calculation"
187
+ :options='$parent.$parent.calculation'
188
+ close-on-select
189
+ condition="f_calculation='{}'">
190
+ </v-select>
191
+ </div>
192
+ </div>
193
+
194
+ </div>
195
+ </criteria>
196
+
197
+ <data-grid id='meterlist' partial='list' class="list_area table_sy" v-ref:grid :model="model" :optional="true">
198
+ <template partial='head'>
199
+ <tr>
200
+ <th style="text-align:center">
201
+ <nobr>序号</nobr>
202
+ </th>
203
+ <th style="text-align:center">
204
+ <nobr>客户编号</nobr>
205
+ </th>
206
+ <th style="text-align:center">
207
+ <nobr>客户名称</nobr>
208
+ </th>
209
+ <th style="text-align:center">
210
+ <data-order field="f_address" name="客户地址"></data-order>
211
+ </th>
212
+ <th style="text-align:center;color:#3c763d">
213
+ <nobr>表号</nobr>
214
+ </th>
215
+ <th style="text-align:center;color:#3c763d">
216
+ <nobr>电话</nobr>
217
+ </th>
218
+ <th style="text-align:center">
219
+ <nobr>气表品牌</nobr>
220
+ </th>
221
+ <th style="text-align:center">
222
+ <nobr>结算方式</nobr>
223
+ </th>
224
+ <th style="text-align:center">
225
+ <nobr>气表底数</nobr>
226
+ </th>
227
+ <th style="text-align:center">
228
+ <nobr>累购金额</nobr>
229
+ </th>
230
+ <th style="text-align:center">
231
+ <nobr>表上余额</nobr>
232
+ </th>
233
+ <th style="text-align:center">
234
+ <nobr>阀控状态</nobr>
235
+ </th>
236
+ <th style="text-align:center">
237
+ <nobr>阀门状态</nobr>
238
+ </th>
239
+ <!--<th style="text-align:center">-->
240
+ <!--<nobr>防拆功能</nobr>-->
241
+ <!--</th>-->
242
+ <th style="text-align:center">
243
+ <nobr>信号强度</nobr>
244
+ </th>
245
+ <th style="text-align:center">
246
+ <nobr>电压</nobr>
247
+ </th>
248
+ <th style="text-align:center">
249
+ <nobr>磁干扰</nobr>
250
+ </th>
251
+ <th style="text-align:center">
252
+ <nobr>电量</nobr>
253
+ </th>
254
+ <th style="text-align:center">
255
+ <nobr>角度</nobr>
256
+ </th>
257
+ <th style="text-align:center">
258
+ <nobr>阀门无动作天数</nobr>
259
+ </th>
260
+ <th style="text-align:center">
261
+ <nobr>未通讯天数</nobr>
262
+ </th>
263
+ <th style="text-align:center">
264
+ <nobr>未用气天数</nobr>
265
+ </th>
266
+ <th style="text-align:center">
267
+ <nobr>本月用量</nobr>
268
+ </th>
269
+ <th style="text-align:center">
270
+ <nobr>上月用量</nobr>
271
+ </th>
272
+ <th style="text-align:center">
273
+ <nobr>日用量</nobr>
274
+ </th>
275
+ <th style="text-align:center">
276
+ <nobr>年用量</nobr>
277
+ </th>
278
+ <th style="text-align:center">
279
+ <nobr>温度</nobr>
280
+ </th>
281
+ <th style="text-align:center">
282
+ <nobr>表内余额</nobr>
283
+ </th>
284
+ <th style="text-align:center">
285
+ <nobr>组织机构</nobr>
286
+ </th>
287
+ </tr>
288
+ </template>
289
+ <template partial='body'>
290
+ <tr>
291
+ <td style="text-align:center">
292
+ <nobr>{{ $index + 1 }}</nobr>
293
+ </td>
294
+ <td style="text-align:center">
295
+ <nobr>{{ row.f_userinfo_code }}</nobr>
296
+ </td>
297
+ <td style="text-align:center">
298
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{ row.f_user_name }}</a></span>
299
+ </td>
300
+ <td>
301
+ <nobr>{{ row.f_address }}</nobr>
302
+ </td>
303
+ <td style="text-align:center;color:#3c763d">
304
+ <nobr>
305
+ {{ row.f_meternumber }}
306
+ </nobr>
307
+ </td>
308
+ <td style="text-align:center;color:#3c763d">
309
+ <nobr>
310
+ {{ row.f_user_phone }}
311
+ </nobr>
312
+ </td>
313
+ <td style="text-align:center">
314
+ <nobr>{{ row.f_meter_brand }}</nobr>
315
+ </td>
316
+ <td style="text-align:center">
317
+ <nobr>{{ row.f_calculation }}</nobr>
318
+ </td>
319
+ <td style="text-align:center">
320
+ <nobr>{{ row.f_meter_base }}</nobr>
321
+ </td>
322
+ <td style="text-align:center">
323
+ <nobr>{{ row.f_total_fee }}</nobr>
324
+ </td>
325
+ <td style="text-align:center">
326
+ <nobr>{{ row.f_balance_amount }}</nobr>
327
+ </td>
328
+ <td style="text-align:center">
329
+ <nobr>{{ row.f_network_valve }}</nobr>
330
+ </td>
331
+
332
+ <td style="text-align:center">
333
+ <nobr>{{ row.f_valvestate }}</nobr>
334
+ </td>
335
+ <!--<td style="text-align:center">-->
336
+ <!--<nobr>{{row.f_valvestate}}</nobr>-->
337
+ <!--</td>-->
338
+ <td style="text-align:center">
339
+ <nobr>{{ row.f_splitalarm }}</nobr>
340
+ </td>
341
+ <td style="text-align:center">
342
+ <nobr>{{ row.f_batterylevel }}</nobr>
343
+ </td>
344
+ <td style="text-align:center">
345
+ <nobr>{{ row.f_magneticinterference }}</nobr>
346
+ </td>
347
+ <td style="text-align:center">
348
+ <nobr>{{ row.f_electricity }}</nobr>
349
+ </td>
350
+ <td style="text-align:center">
351
+ <nobr>{{ row.angley }}</nobr>
352
+ </td>
353
+ <td style="text-align:center">
354
+ <nobr>{{ row.valvenoactionday }}</nobr>
355
+ </td>
356
+ <td style="text-align:center">
357
+ <nobr>{{ row.nosignalday }}</nobr>
358
+ </td>
359
+ <td style="text-align:center">
360
+ <nobr>{{ row.nousegasday }}</nobr>
361
+ </td>
362
+ <td style="text-align:center">
363
+ <nobr>{{ row.usegasbythismonth }}</nobr>
364
+ </td>
365
+ <td style="text-align:center">
366
+ <nobr>{{ row.usegasbylastmonth }}</nobr>
367
+ </td>
368
+ <td style="text-align:center">
369
+ <nobr>{{ row.usegasbyday }}</nobr>
370
+ </td>
371
+ <td style="text-align:center">
372
+ <nobr>{{ row.usegasbyyear }}</nobr>
373
+ </td>
374
+ <td style="text-align:center">
375
+ <nobr>{{ row.flowmetertemperature }}</nobr>
376
+ </td>
377
+ <td style="text-align:center">
378
+ <nobr>{{ row.f_jval }}</nobr>
379
+ </td>
380
+
381
+ <td style="text-align:center">
382
+ <nobr>{{ row.f_orgname }}</nobr>
383
+ </td>
384
+ </tr>
385
+ </template>
386
+ </data-grid>
387
+ </criteria-paged>
388
+ <table class="table-hover">
389
+ <tr style="position: relative" class="table-bordered">
390
+ <td
391
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
392
+ 汇总信息
393
+ </td>
394
+ <td
395
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
396
+ 累购金额:&emsp;{{ model.sums.f_total_fee }}
397
+ </td>
398
+ </tr>
399
+ </table>
400
+ </div>
401
+
402
+ <modal :show.sync="showModal" v-ref:modal backdrop="false">
403
+ <header slot="modal-header" class="modal-header">
404
+ <h4 class="modal-title">阀控管理</h4>
405
+ </header>
406
+ <article slot="modal-body" class="modal-body">
407
+ <validator name='v'>
408
+ <form class="form-horizontal select-overspread">
409
+
410
+ <div class="form-group">
411
+ <label class=" col-sm-3 control-label">阀控状态:</label>
412
+ <div class="col-sm-4">
413
+ <v-select v-model="f_network_valve"
414
+ placeholder='请选择'
415
+ :value.sync="disableModel.f_network_valve"
416
+ :options='f_network_valve'
417
+ :value-single="true"
418
+ close-on-select clear-button>
419
+ </v-select>
420
+ </div>
421
+ </div>
422
+
423
+ <div class="form-group">
424
+ <label class=" col-sm-3 control-label">操作原因:</label>
425
+ <div class="col-sm-8">
426
+ <textarea class="form-control" v-model="disableModel.f_othereason" rows="3"
427
+ placeholder="多行输入"></textarea>
428
+ </div>
429
+ </div>
430
+ </form>
431
+ </validator>
432
+ </article>
433
+ <footer slot="modal-footer" class="modal-footer">
434
+ <button type="button" class="button_search" @click='confirm()'>提交</button>
435
+ <button type="button" class="button_clear" @click='close'>取消</button>
436
+ </footer>
437
+ </modal>
438
+ </template>
439
+
440
+
441
+ <script>
442
+ import {PagedList} from 'vue-client'
443
+ import plugins from '../../plugins/GetLoginInfoService'
444
+
445
+ let readyGen = async function (self) {
446
+ await self.$MagLoadParams.loadParam()
447
+ self.initQueryParam()
448
+ await self.$getConfig(self, 'manageGetNewMeterBrandAndModel')
449
+ console.log('表具管理config', self.config)
450
+ self.getfield = self.config.excelHeaders
451
+ // self.reflash()
452
+ }
453
+ export default {
454
+ title: '表具查询',
455
+ data () {
456
+ return {
457
+ showModal: false,
458
+ disableModel: {
459
+ f_othereason: '',
460
+ f_network_valve: ''
461
+ },
462
+ model: new PagedList('api/af-revenue/sql/manage_getNewMeterBrandAndModel', 50, {orderitem: '"f_userinfo_id DESC"'}, {
463
+ f_total_fee: 0
464
+ }),
465
+ row: null,
466
+ meterbrand: [],
467
+ f_network_valve: this.$appdata.getParam('阀控状态') ? [{
468
+ label: '全部',
469
+ value: ''
470
+ }, ...this.$appdata.getParam('阀控状态')] : [],
471
+ valvestates: this.$appdata.getParam('阀门状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')] : [],
472
+ calculation: this.$appdata.getParam('结算方式') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('结算方式')] : [],
473
+ searchshow: false,
474
+ orgcondition: ' and f_filialeid = ' + `'${this.$login.f.orgid}'`,
475
+ getfield: {},
476
+ // 排序
477
+ orderitem: 'f_userinfo_id desc',
478
+ orderFields: {
479
+ f_operate_date: 'no'
480
+ },
481
+ org: [this.$login.f.orgid],
482
+ criteriaShow: false,
483
+ config: {
484
+ excelHeaders: {
485
+ 'f_userinfo_code': '客户编号',
486
+ 'f_user_name': '客户名称',
487
+ 'f_address': '客户地址',
488
+ 'f_meternumber': '表号',
489
+ 'f_user_phone': '电话',
490
+ 'f_meter_brand': '气表品牌',
491
+ 'f_calculation': '结算方式',
492
+ 'f_meter_base': '气表底数',
493
+ 'f_total_fee': '累购金额',
494
+ 'f_balance_amount': '表上余额',
495
+ 'f_network_valve': '阀控状态',
496
+ 'f_valvestate': '阀门状态',
497
+ 'f_signal': '信号强度',
498
+ 'f_batterylevel': '电压',
499
+ 'f_magneticinterference': '磁干扰',
500
+ 'angley': '角度',
501
+ 'valvenoactionday': '阀门无动作天数',
502
+ 'nosignalday': '未通讯天数',
503
+ 'nousegasday': '未用气天数',
504
+ 'usegasbythismonth': '本月用量',
505
+ 'usegasbylastmonth': '上月用量',
506
+ 'usegasbyday': '日用量',
507
+ 'usegasbyyear': '年用量',
508
+ 'flowmetertemperature': '温度',
509
+ 'f_jval': '表内余额',
510
+ 'f_orgname': '组织机构'
511
+ }
512
+ },
513
+ condition: 'f_filialeid = ' + this.$login.f.orgid,
514
+ WarningType: [
515
+ {label: '全部', value: ''}
516
+ ],
517
+ Warningstyle: [
518
+ {label: '全部', value: ''}
519
+ ],
520
+ Warningstyles: [
521
+ {label: '全部', value: ''}
522
+ ],
523
+ styles: false,
524
+ softVwareersion: [],
525
+ Gasusertype: [],
526
+ sliceArea: [],
527
+ Gasproperties: [],
528
+ // Gasproperties: this.$refs.paged.$refs.criteria.model.f_user_type.length === 1 ? this.$appdata.getParam(this.model.f_user_type[0]) : [],
529
+ Gasproperties2: [],
530
+ f_signal_1: '',
531
+ f_signal_2: '',
532
+ str: '',
533
+ isBusy: false,
534
+ f_batterylevel_1: 0,
535
+ f_batterylevel_2: 0,
536
+ }
537
+ },
538
+ props: ['searchobj', 'isdeal'],
539
+ ready () {
540
+ // 初始化气表品牌下拉框
541
+ // 初始化客户类型,用气性质,用气属性,软件版本号下拉框
542
+ readyGen(this)
543
+ this.$refs.paged.$refs.criteria.model.f_table_state = ['正常']
544
+ this.$refs.paged.$refs.criteria.search()
545
+ },
546
+ watch: {
547
+ 'searchobj' (val) {
548
+ if (this.searchobj != null) {
549
+ this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
550
+ this.$refs.paged.$refs.criteria.search()
551
+ }
552
+ }
553
+ },
554
+
555
+ methods: {
556
+ openModal () {
557
+ if (this.$refs.paged.$refs.grid.getRowData().length !== 0) {
558
+ this.showModal = true
559
+ }
560
+ },
561
+ async confirm () {
562
+
563
+ let operInfo = {
564
+ f_operator: this.$login.f.name,
565
+ f_operatorid: this.$login.f.id,
566
+ f_orgid: this.$login.f.orgid,
567
+ f_orgname: this.$login.f.orgs,
568
+ f_depid: this.$login.f.depids,
569
+ f_depname: this.$login.f.deps,
570
+ f_network_valve: this.disableModel.f_network_valve,
571
+ f_othereason: this.disableModel.f_othereason
572
+
573
+ }
574
+
575
+ console.log('model----', this.$refs.paged.$refs.grid.getRowData())
576
+ let userlist = []
577
+
578
+ this.$refs.paged.$refs.grid.getRowData().forEach((item) => {
579
+ let user = {
580
+ f_userinfo_id: item.f_userinfo_id,
581
+ f_user_name: item.f_user_name,
582
+ f_userfiles_id: item.f_userfiles_id,
583
+ f_table_state: item.f_table_state
584
+
585
+ }
586
+ userlist.push(user)
587
+ })
588
+
589
+ let param = {
590
+ userlist,
591
+ operInfo
592
+ }
593
+
594
+ console.log(param)
595
+
596
+ await this.$resetpost('api/af-revenue/logic/importNetworkValve', {data: param}, {
597
+ rejectMsg: '同步失败',
598
+ resolveMsg: '同步成功'
599
+ })
600
+
601
+ await this.search()
602
+ this.showModal = false
603
+ },
604
+
605
+ close () {
606
+ // 关闭对话框的逻辑
607
+ this.showModal = false
608
+ },
609
+ hidden () {
610
+ this.criteriaShow = !this.criteriaShow
611
+ },
612
+ clearmsg () {
613
+ this.$refs.paged.$refs.criteria.model = {}
614
+ },
615
+ clickshow () {
616
+ this.searchshow = !this.searchshow
617
+ },
618
+ dealmsg (val) {
619
+ val.model = this.model.model
620
+ this.$emit('deal-msg', val)
621
+ },
622
+ search () {
623
+ this.$refs.paged.$refs.criteria.search()
624
+ },
625
+ selfsearch (args) {
626
+ this.isBusy = true
627
+ args.condition = `${args.condition} ` + this.orgcondition
628
+ this.condition = args.condition
629
+ this.model.search(args.condition, args.model)
630
+ },
631
+ getorg (obj) {
632
+ if (plugins.convertToIn(obj) !== null && plugins.convertToIn(obj) !== '') {
633
+ this.orgcondition = ' and f_filialeid in ' + plugins.convertToIn(obj)
634
+ } else {
635
+ this.orgcondition = ` and f_filialeid = '${this.$login.f.orgid}'`
636
+ }
637
+ },
638
+
639
+ userTypeChange () {
640
+ this.gasproperties = []
641
+ if (this.model.f_user_type.length === 1) {
642
+ if (this.model.f_user_type[0]) {
643
+ this.gasproperties = this.$appdata.getParam(this.model.f_user_type[0])
644
+ } else {
645
+ this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
646
+ }
647
+ }
648
+ },
649
+ sort (field, rule) {
650
+ // 将所有排序方式设为不排序,实现相互排斥
651
+ for (let key in this.orderFields) {
652
+ if (key === field) {
653
+ this.orderFields[key] = rule
654
+ } else {
655
+ this.orderFields[key] = 'no'
656
+ }
657
+ }
658
+ // 如果新规则不排序,还原为默认排序
659
+ if (rule === 'no') {
660
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
661
+ } else {
662
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
663
+ }
664
+
665
+ this.search()
666
+ },
667
+ initQueryParam () {
668
+ let arr = []
669
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
670
+ let temp = {}
671
+ if (item.value.f_meter_type === '物联网表') {
672
+ temp.label = item.label
673
+ temp.value = item.value.f_meter_brand
674
+ arr.push(temp)
675
+ }
676
+ })
677
+ this.meterbrand = [{label: '全部', value: ''}, ...arr]
678
+ }
679
+ },
680
+ computed: {
681
+ getCondition () {
682
+ return {
683
+ condition: this.condition,
684
+ orderitem: this.orderitem
685
+ }
686
+ },
687
+ /* Warningstyle () {
688
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('燃气表型号')]
689
+ }, */
690
+ MeterTypes () {
691
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
692
+ },
693
+ TableStates () {
694
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
695
+ },
696
+ Gasproperties () {
697
+ let rs = []
698
+ if (this.model.model.f_user_type) {
699
+ rs = this.$appdata.getParam(this.model.model.f_user_type[0])
700
+ }
701
+ return rs
702
+ // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
703
+ },
704
+ Gasusertype () {
705
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
706
+ },
707
+ sliceArea () {
708
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('片区')]
709
+ },
710
+ signtype1 () {
711
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
712
+ },
713
+ parameterState () {
714
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
715
+ },
716
+ userfilesState () {
717
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报状态')]
718
+ },
719
+ /* softVwareersion() {
720
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('软件版本号')]
721
+ }, */
722
+ valvestate () {
723
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
724
+ }
725
+ }
726
+ }
727
+ </script>
728
+ <style>
729
+ .form-input-group label {
730
+ text-align: right;
731
+ width: auto;
732
+ }
733
+
734
+ .datapanel {
735
+ color: #333;
736
+ background-color: white;
737
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
738
+ padding: 10px 30px 10px 30px;
739
+ border-radius: 15px;
740
+ }
741
+ </style>
742
+