manage-client 3.1.54 → 3.1.55

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 (56) hide show
  1. package/.gradle/{7.1 → 4.4}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/{buildOutputCleanup/outputFiles.bin → 4.4/fileHashes/fileHashes.bin} +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  4. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  5. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  6. package/.gradle/{7.1/dependencies-accessors → 5.4.1}/gc.properties +0 -0
  7. package/.gradle/{7.1 → 6.1}/executionHistory/executionHistory.bin +0 -0
  8. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  9. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  10. package/.gradle/{7.1 → 6.1}/fileHashes/fileHashes.bin +0 -0
  11. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
  12. package/.gradle/{7.1 → 6.1}/gc.properties +0 -0
  13. package/build/dev-server.js +25 -10
  14. package/package.json +1 -1
  15. package/src/.idea/misc.xml +9 -0
  16. package/src/.idea/modules.xml +8 -0
  17. package/src/.idea/src.iml +9 -0
  18. package/src/.idea/vcs.xml +6 -0
  19. package/src/.idea/workspace.xml +93 -0
  20. package/src/components/SellReport/ReportItems.vue +241 -241
  21. package/src/components/sale/businessquery/FillGasQuery.vue +491 -491
  22. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  23. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  24. package/src/components/sale/filesquery/DeviceQuery.vue +524 -524
  25. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  26. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  27. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  28. package/src/filiale/WEINAN/config/tableConfig.js +36 -36
  29. package/src/filiale/WEINAN/sale.js +29 -29
  30. package/src/filiale/jingwei/ChargeQuery.vue +1241 -1241
  31. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  32. package/src/filiale/liaoyuan/ChargeQuery.vue +1284 -1284
  33. package/src/filiale/liaoyuan/exportConfig.js +718 -718
  34. package/src/filiale/meihekou/CardHandplanQuery.vue +541 -541
  35. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  36. package/src/filiale/pingxiang/sale.js +9 -9
  37. package/src/filiale/qingtongxia/sale.js +13 -13
  38. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  39. package/src/filiale/shaoguan/ChargeQuery.vue +1034 -1034
  40. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1308
  41. package/src/filiale/shaoguan/OtherChargeQuery.vue +596 -596
  42. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  43. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  44. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  45. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  46. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  47. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  48. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  49. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -41
  50. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -290
  51. package/src/filiale/shaoguan/sale.js +35 -35
  52. package/src/main.js +4 -4
  53. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  54. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  55. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  56. package/.gradle/configuration-cache/gc.properties +0 -0
@@ -1,308 +1,308 @@
1
- <template>
2
- <div style="background: white">
3
- <!-- 条件-->
4
- <div style="height: 11%;width: 100%;">
5
- <div class="row" style="margin-top: 10px">
6
- <div class="col-sm-2 form-group" >
7
- <label for="startDate" class="font_normal_body">开始日期</label>
8
- <datepicker id="startDate" placeholder="开始日期" style="width:60%;"
9
- v-model="model.startDate"
10
- :value.sync="model.startDate"
11
- :format="'yyyy-MM-dd HH:mm:ss'"
12
- :show-reset-button="true"
13
- >
14
- </datepicker>
15
- </div>
16
- <div class="col-sm-2 form-group">
17
- <label for="endDate" class="font_normal_body">结束日期</label>
18
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
19
- v-model="model.endDate"
20
- :value.sync="model.endDate"
21
- :format="'yyyy-MM-dd HH:mm:ss'"
22
- :show-reset-button="true"
23
- >
24
- </datepicker>
25
- </div>
26
- <div class="col-sm-2 form-group">
27
- <label class="font_normal_body">客户编号</label>
28
- <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
29
- placeholder="客户编号">
30
- </div>
31
- <div class="col-sm-2 form-group">
32
- <label class="font_normal_body">客户名称</label>
33
- <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
34
- placeholder="客户名称">
35
- </div>
36
- <div class="col-sm-2 form-group">
37
- <label class="font_normal_body">气表编号</label>
38
- <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
39
- placeholder="气表编号">
40
- </div>
41
-
42
- <div class="span" style="float:right;">
43
- <button class="button_search button_spacing" @click="search()">查询</button>
44
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
45
- </div>
46
- <div class="row" v-show="criteriaShow">
47
- <div class="col-sm-2 form-group">
48
- <label class="font_normal_body">微信绑定</label>
49
- <input type="text" style="width:60%" class="input_search" v-model="model.f_open_id"
50
- placeholder="微信绑定">
51
- </div>
52
- </div>
53
- </div>
54
- </div>
55
- <!-- 中间上部分 -->
56
- <div style="height: 25%;width: 100%;">
57
-
58
- <div class="row" style="height:25%">
59
- <p style="margin-left:15px;color: #0b87e2">系统信息</p>
60
- <p>
61
- <span>
62
- <lable class="cs1">表具最后通信日期</lable>
63
- <input type="text" style="width: 10%" class="cs2" v-model="meter.rows[0].f_date"
64
- >
65
- </span>
66
- <span>
67
- <lable class="cs1">表具最后通信时间</lable>
68
- <input type="text" style="width: 10%" class="cs2" v-model="meter.rows[0].f_date_tine"
69
- >
70
- </span>
71
- </p>
72
- <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
73
- <template partial='head' >
74
- <tr>
75
- <th><nobr>信息分类</nobr></th>
76
- <th><nobr>是否成功</nobr></th>
77
- <th><nobr>失败原因</nobr></th>
78
- <th><nobr>(预留)</nobr></th>
79
- <th><nobr>(预留)是否成功</nobr></th>
80
- <th><nobr>(预留)失败原因</nobr></th>
81
- </tr>
82
- </template>
83
- <template partial='body' >
84
- <tr >
85
- <td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
86
- <td style="text-align:center;white-space:nowrap;">{{row.gas}}</td>
87
- <td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
88
- <td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
89
- <td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
90
- <td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
91
- </tr>
92
- </template>
93
- </data-grid>
94
- </div>
95
- </div>
96
- <!-- 中间下部分-->
97
- <div style="height: 15%;width: 100%;">
98
- <p style="margin-left: 15px;color: #0b87e2">表端信息</p>
99
- <data-grid :model="info" class="table_sy" partial='list' v-ref:grid >
100
- <template partial='head' >
101
- <tr>
102
- <th><nobr>序号</nobr></th>
103
- <th><nobr>用户编号</nobr></th>
104
- <th><nobr>用户姓名</nobr></th>
105
- <th><nobr>用户地址</nobr></th>
106
- <th><nobr>气表编号</nobr></th>
107
- </tr>
108
- </template>
109
- <template partial='body' >
110
- <tr >
111
- <td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
112
- <td style="text-align:center;white-space:nowrap;">{{row.f_userinfo_code}}</td>
113
- <td style="text-align:center;white-space:nowrap;">{{row.f_user_name}}</td>
114
- <td style="text-align:center;white-space:nowrap;">{{row.f_address}}</td>
115
- <td style="text-align:center;white-space:nowrap;">{{row.f_meternumber}}</td>
116
- </tr>
117
- </template>
118
- </data-grid>
119
- </div>
120
- <div style="height: 15%;width: 100%;">
121
- <data-grid :model="meter" class="table_sy" partial='list' v-ref:grid >
122
- <template partial='head' >
123
- <tr>
124
- <th><nobr>阀门状态</nobr></th>
125
- <th><nobr>充值金额</nobr></th>
126
- <th><nobr>表内余额</nobr></th>
127
- <th><nobr>电池电压</nobr></th>
128
- <th><nobr>信号强度</nobr></th>
129
- <th><nobr>当前单价</nobr></th>
130
- <th><nobr>其他关阀</nobr></th>
131
- <th><nobr>关阀走气</nobr></th>
132
- <th><nobr>磁干扰</nobr></th>
133
- </tr>
134
- </template>
135
- <template partial='body' >
136
- <tr >
137
- <td style="text-align:center;white-space:nowrap;">{{row.f_valvestate}}</td>
138
- <td style="text-align:center;white-space:nowrap;">{{row.f_meterbalanceamt}}</td>
139
- <td style="text-align:center;white-space:nowrap;">{{row.f_meterdebitamt}}</td>
140
- <td style="text-align:center;white-space:nowrap;">{{row.f_batterylevel}}</td>
141
- <td style="text-align:center;white-space:nowrap;">{{row.f_signal}}</td>
142
- <td style="text-align:center;white-space:nowrap;">{{row.f_price}}</td>
143
- <td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
144
- <td style="text-align:center;white-space:nowrap;">{{row.f_leakageflag}}</td>
145
- <td style="text-align:center;white-space:nowrap;">{{row.f_magneticinterference}}</td>
146
- </tr>
147
- </template>
148
- </data-grid>
149
- </div>
150
- <!-- 结束-->
151
- <div id="foot" style="height:35%" >
152
- <p style="margin-left: 15px;color: #0b87e2">历史扣费详情</p>
153
- <data-grid :model="sellgas" class="table_sy" partial='list' v-ref:grid >
154
- <template partial='head' >
155
- <tr>
156
- <th><nobr>用户编号</nobr></th>
157
- <th><nobr>用户表号</nobr></th>
158
- <th><nobr>用户姓名</nobr></th>
159
- <th><nobr>上期余额</nobr></th>
160
- <th><nobr>本期余额</nobr></th>
161
- <th><nobr>购气量</nobr></th>
162
- <th><nobr>购气金额</nobr></th>
163
- <th><nobr>阶梯一气量</nobr></th>
164
- <th><nobr>阶梯二气量</nobr></th>
165
- <th><nobr>阶梯三气量</nobr></th>
166
- </tr>
167
- </template>
168
- <template partial='body' >
169
- <tr >
170
- <td style="text-align:center;white-space:nowrap;">{{row.f_userinfo_code}}</td>
171
- <td style="text-align:center;white-space:nowrap;">{{row.f_meternumber}}</td>
172
- <td style="text-align:center;white-space:nowrap;">{{row.f_user_name}}</td>
173
- <td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
174
- <td style="text-align:center;white-space:nowrap;">{{row.f_curbalance}}</td>
175
- <td style="text-align:center;white-space:nowrap;">{{row.f_pregas}}</td>
176
- <td style="text-align:center;white-space:nowrap;">{{row.f_preamount}}</td>
177
- <td style="text-align:center;white-space:nowrap;">{{row.f_stairamount1}}</td>
178
- <td style="text-align:center;white-space:nowrap;">{{row.f_stair2amount}}</td>
179
- <td style="text-align:center;white-space:nowrap;">{{row.f_stair3amount}}</td>
180
- </tr>
181
- </template>
182
- </data-grid>
183
- </div>
184
- </div>
185
- </template>
186
- <script>
187
- import { PagedList } from 'vue-client'
188
- export default {
189
- title: '物联网表状态查询',
190
- name: 'iotStateQuery',
191
- data () {
192
- return {
193
- // model:new PagedList('rs/sql/iotinfoQuery',20,{}),
194
- model:{
195
- startDate:this.$login.toStandardDateString() + ' 00:00:00',
196
- endDate:this.$login.toStandardDateString() + ' 23:59:59',
197
- },
198
- info:{
199
- rows:[]
200
- },
201
- meter:{
202
- rows:[]
203
- },
204
- sellgas:{
205
- rows:[]
206
- },
207
- criteriaShow:false
208
- }
209
- },
210
- ready () {
211
- },
212
- methods: {
213
- hidden() {
214
- this.criteriaShow = !this.criteriaShow
215
- },
216
-
217
- async search(){
218
- this.info.rows=[]
219
- this.meter.rows=[]
220
- this.sellgas.rows=[]
221
- let condition=` 1=1`
222
- if(!this.model.f_userinfo_code&&!this.model.f_meternumber&&!this.model.f_open_id){
223
- this.$showAlert('请输入唯一条件','warning',2000)
224
- return
225
- }
226
- if(this.model.f_userinfo_code){
227
- condition+= ` and f_userinfo_code = '${this.model.f_userinfo_code}' `
228
- }
229
- if(this.model.f_user_name){
230
- condition+= ` and f_user_name = '${this.model.f_user_name} '`
231
- }
232
- if(this.model.f_meternumber){
233
- condition+= ` and f_meternumber = '${this.model.f_meternumber} '`
234
- }
235
- if(this.model.f_open_id){
236
- condition+= ` and f_open_id = '${this.model.f_open_id} '`
237
- }
238
- let res= await this.$resetpost('rs/sql/iotinfoQuery',{data:{condition:condition,startDate:this.model.startDate,endDate:this.model.endDate}},{resolveMsg:null,rejectMsg:'查询出错'})
239
- if(res.data.length>0){
240
- this.info.rows.push(res.data[0])
241
- }
242
- let meter= await this.$resetpost('rs/sql/iotmeterQuery',{data:{condition:condition,startDate:this.model.startDate,endDate:this.model.endDate}},{resolveMsg:null,rejectMsg:'查询出错'})
243
- if(meter.data.length>0){
244
- this.meter.rows.push(meter.data[0])
245
- }
246
- let sellgas= await this.$resetpost('rs/sql/iotSellQuery',{data:{condition:condition,startDate:this.model.startDate,endDate:this.model.endDate}},{resolveMsg:null,rejectMsg:'查询出错'})
247
- this.sellgas.rows=sellgas.data
248
- console.log("res",this.info.rows,this.meter.rows,this.sellgas.rows)
249
- },
250
- cancel() {
251
- this.show = false
252
- },
253
- },
254
- computed: {
255
- },
256
- events: {
257
-
258
- },
259
- watch: {
260
- }
261
- }
262
- </script>
263
- <style>
264
- #head1{
265
- width: 64px;
266
- height: 15px;
267
- font-family: PingFang-SC-Bold;
268
- font-size: 16px;
269
- font-weight: normal;
270
- font-stretch: normal;
271
- line-height: 45px;
272
- letter-spacing: 0px;
273
- color: #666666;
274
- }
275
- #buttons{
276
- width: 31px;
277
- height: 15px;
278
- font-family: PingFang-SC-Bold;
279
- font-size: 16px;
280
- font-weight: normal;
281
- font-stretch: normal;
282
- line-height: 45px;
283
- letter-spacing: 0px;
284
- color: #ffffff;
285
- }
286
- .cs1 {
287
- width: 133px;
288
- height: 15px;
289
- font-family: PingFang-SC-Medium;
290
- font-size: 16px;
291
- font-weight: normal;
292
- font-stretch: normal;
293
- line-height: 45px;
294
- letter-spacing: 0px;
295
- color: #333333;
296
- }
297
- .cs2 {
298
- width: 98px;
299
- height: 20px;
300
- font-family: PingFang-SC-Medium;
301
- font-size: 16px;
302
- font-weight: normal;
303
- font-stretch: normal;
304
- line-height: 45px;
305
- letter-spacing: 0px;
306
- color: #333333;
307
- }
308
- </style>
1
+ <template>
2
+ <div style="background: white">
3
+ <!-- 条件-->
4
+ <div style="height: 11%;width: 100%;">
5
+ <div class="row" style="margin-top: 10px">
6
+ <div class="col-sm-2 form-group" >
7
+ <label for="startDate" class="font_normal_body">开始日期</label>
8
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%;"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :format="'yyyy-MM-dd HH:mm:ss'"
12
+ :show-reset-button="true"
13
+ >
14
+ </datepicker>
15
+ </div>
16
+ <div class="col-sm-2 form-group">
17
+ <label for="endDate" class="font_normal_body">结束日期</label>
18
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
19
+ v-model="model.endDate"
20
+ :value.sync="model.endDate"
21
+ :format="'yyyy-MM-dd HH:mm:ss'"
22
+ :show-reset-button="true"
23
+ >
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-2 form-group">
27
+ <label class="font_normal_body">客户编号</label>
28
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
29
+ placeholder="客户编号">
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">客户名称</label>
33
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
34
+ placeholder="客户名称">
35
+ </div>
36
+ <div class="col-sm-2 form-group">
37
+ <label class="font_normal_body">气表编号</label>
38
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
39
+ placeholder="气表编号">
40
+ </div>
41
+
42
+ <div class="span" style="float:right;">
43
+ <button class="button_search button_spacing" @click="search()">查询</button>
44
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
45
+ </div>
46
+ <div class="row" v-show="criteriaShow">
47
+ <div class="col-sm-2 form-group">
48
+ <label class="font_normal_body">微信绑定</label>
49
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_open_id"
50
+ placeholder="微信绑定">
51
+ </div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <!-- 中间上部分 -->
56
+ <div style="height: 25%;width: 100%;">
57
+
58
+ <div class="row" style="height:25%">
59
+ <p style="margin-left:15px;color: #0b87e2">系统信息</p>
60
+ <p>
61
+ <span>
62
+ <lable class="cs1">表具最后通信日期</lable>
63
+ <input type="text" style="width: 10%" class="cs2" v-model="meter.rows[0].f_date"
64
+ >
65
+ </span>
66
+ <span>
67
+ <lable class="cs1">表具最后通信时间</lable>
68
+ <input type="text" style="width: 10%" class="cs2" v-model="meter.rows[0].f_date_tine"
69
+ >
70
+ </span>
71
+ </p>
72
+ <data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
73
+ <template partial='head' >
74
+ <tr>
75
+ <th><nobr>信息分类</nobr></th>
76
+ <th><nobr>是否成功</nobr></th>
77
+ <th><nobr>失败原因</nobr></th>
78
+ <th><nobr>(预留)</nobr></th>
79
+ <th><nobr>(预留)是否成功</nobr></th>
80
+ <th><nobr>(预留)失败原因</nobr></th>
81
+ </tr>
82
+ </template>
83
+ <template partial='body' >
84
+ <tr >
85
+ <td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
86
+ <td style="text-align:center;white-space:nowrap;">{{row.gas}}</td>
87
+ <td style="text-align:center;white-space:nowrap;">{{row.fee}}</td>
88
+ <td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
89
+ <td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
90
+ <td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
91
+ </tr>
92
+ </template>
93
+ </data-grid>
94
+ </div>
95
+ </div>
96
+ <!-- 中间下部分-->
97
+ <div style="height: 15%;width: 100%;">
98
+ <p style="margin-left: 15px;color: #0b87e2">表端信息</p>
99
+ <data-grid :model="info" class="table_sy" partial='list' v-ref:grid >
100
+ <template partial='head' >
101
+ <tr>
102
+ <th><nobr>序号</nobr></th>
103
+ <th><nobr>用户编号</nobr></th>
104
+ <th><nobr>用户姓名</nobr></th>
105
+ <th><nobr>用户地址</nobr></th>
106
+ <th><nobr>气表编号</nobr></th>
107
+ </tr>
108
+ </template>
109
+ <template partial='body' >
110
+ <tr >
111
+ <td style="text-align:center;white-space:nowrap;">{{$index+1}}</td>
112
+ <td style="text-align:center;white-space:nowrap;">{{row.f_userinfo_code}}</td>
113
+ <td style="text-align:center;white-space:nowrap;">{{row.f_user_name}}</td>
114
+ <td style="text-align:center;white-space:nowrap;">{{row.f_address}}</td>
115
+ <td style="text-align:center;white-space:nowrap;">{{row.f_meternumber}}</td>
116
+ </tr>
117
+ </template>
118
+ </data-grid>
119
+ </div>
120
+ <div style="height: 15%;width: 100%;">
121
+ <data-grid :model="meter" class="table_sy" partial='list' v-ref:grid >
122
+ <template partial='head' >
123
+ <tr>
124
+ <th><nobr>阀门状态</nobr></th>
125
+ <th><nobr>充值金额</nobr></th>
126
+ <th><nobr>表内余额</nobr></th>
127
+ <th><nobr>电池电压</nobr></th>
128
+ <th><nobr>信号强度</nobr></th>
129
+ <th><nobr>当前单价</nobr></th>
130
+ <th><nobr>其他关阀</nobr></th>
131
+ <th><nobr>关阀走气</nobr></th>
132
+ <th><nobr>磁干扰</nobr></th>
133
+ </tr>
134
+ </template>
135
+ <template partial='body' >
136
+ <tr >
137
+ <td style="text-align:center;white-space:nowrap;">{{row.f_valvestate}}</td>
138
+ <td style="text-align:center;white-space:nowrap;">{{row.f_meterbalanceamt}}</td>
139
+ <td style="text-align:center;white-space:nowrap;">{{row.f_meterdebitamt}}</td>
140
+ <td style="text-align:center;white-space:nowrap;">{{row.f_batterylevel}}</td>
141
+ <td style="text-align:center;white-space:nowrap;">{{row.f_signal}}</td>
142
+ <td style="text-align:center;white-space:nowrap;">{{row.f_price}}</td>
143
+ <td style="text-align:center;white-space:nowrap;">{{row.f_payment}}</td>
144
+ <td style="text-align:center;white-space:nowrap;">{{row.f_leakageflag}}</td>
145
+ <td style="text-align:center;white-space:nowrap;">{{row.f_magneticinterference}}</td>
146
+ </tr>
147
+ </template>
148
+ </data-grid>
149
+ </div>
150
+ <!-- 结束-->
151
+ <div id="foot" style="height:35%" >
152
+ <p style="margin-left: 15px;color: #0b87e2">历史扣费详情</p>
153
+ <data-grid :model="sellgas" class="table_sy" partial='list' v-ref:grid >
154
+ <template partial='head' >
155
+ <tr>
156
+ <th><nobr>用户编号</nobr></th>
157
+ <th><nobr>用户表号</nobr></th>
158
+ <th><nobr>用户姓名</nobr></th>
159
+ <th><nobr>上期余额</nobr></th>
160
+ <th><nobr>本期余额</nobr></th>
161
+ <th><nobr>购气量</nobr></th>
162
+ <th><nobr>购气金额</nobr></th>
163
+ <th><nobr>阶梯一气量</nobr></th>
164
+ <th><nobr>阶梯二气量</nobr></th>
165
+ <th><nobr>阶梯三气量</nobr></th>
166
+ </tr>
167
+ </template>
168
+ <template partial='body' >
169
+ <tr >
170
+ <td style="text-align:center;white-space:nowrap;">{{row.f_userinfo_code}}</td>
171
+ <td style="text-align:center;white-space:nowrap;">{{row.f_meternumber}}</td>
172
+ <td style="text-align:center;white-space:nowrap;">{{row.f_user_name}}</td>
173
+ <td style="text-align:center;white-space:nowrap;">{{row.f_balance}}</td>
174
+ <td style="text-align:center;white-space:nowrap;">{{row.f_curbalance}}</td>
175
+ <td style="text-align:center;white-space:nowrap;">{{row.f_pregas}}</td>
176
+ <td style="text-align:center;white-space:nowrap;">{{row.f_preamount}}</td>
177
+ <td style="text-align:center;white-space:nowrap;">{{row.f_stairamount1}}</td>
178
+ <td style="text-align:center;white-space:nowrap;">{{row.f_stair2amount}}</td>
179
+ <td style="text-align:center;white-space:nowrap;">{{row.f_stair3amount}}</td>
180
+ </tr>
181
+ </template>
182
+ </data-grid>
183
+ </div>
184
+ </div>
185
+ </template>
186
+ <script>
187
+ import { PagedList } from 'vue-client'
188
+ export default {
189
+ title: '物联网表状态查询',
190
+ name: 'iotStateQuery',
191
+ data () {
192
+ return {
193
+ // model:new PagedList('rs/sql/iotinfoQuery',20,{}),
194
+ model:{
195
+ startDate:this.$login.toStandardDateString() + ' 00:00:00',
196
+ endDate:this.$login.toStandardDateString() + ' 23:59:59',
197
+ },
198
+ info:{
199
+ rows:[]
200
+ },
201
+ meter:{
202
+ rows:[]
203
+ },
204
+ sellgas:{
205
+ rows:[]
206
+ },
207
+ criteriaShow:false
208
+ }
209
+ },
210
+ ready () {
211
+ },
212
+ methods: {
213
+ hidden() {
214
+ this.criteriaShow = !this.criteriaShow
215
+ },
216
+
217
+ async search(){
218
+ this.info.rows=[]
219
+ this.meter.rows=[]
220
+ this.sellgas.rows=[]
221
+ let condition=` 1=1`
222
+ if(!this.model.f_userinfo_code&&!this.model.f_meternumber&&!this.model.f_open_id){
223
+ this.$showAlert('请输入唯一条件','warning',2000)
224
+ return
225
+ }
226
+ if(this.model.f_userinfo_code){
227
+ condition+= ` and f_userinfo_code = '${this.model.f_userinfo_code}' `
228
+ }
229
+ if(this.model.f_user_name){
230
+ condition+= ` and f_user_name = '${this.model.f_user_name} '`
231
+ }
232
+ if(this.model.f_meternumber){
233
+ condition+= ` and f_meternumber = '${this.model.f_meternumber} '`
234
+ }
235
+ if(this.model.f_open_id){
236
+ condition+= ` and f_open_id = '${this.model.f_open_id} '`
237
+ }
238
+ let res= await this.$resetpost('rs/sql/iotinfoQuery',{data:{condition:condition,startDate:this.model.startDate,endDate:this.model.endDate}},{resolveMsg:null,rejectMsg:'查询出错'})
239
+ if(res.data.length>0){
240
+ this.info.rows.push(res.data[0])
241
+ }
242
+ let meter= await this.$resetpost('rs/sql/iotmeterQuery',{data:{condition:condition,startDate:this.model.startDate,endDate:this.model.endDate}},{resolveMsg:null,rejectMsg:'查询出错'})
243
+ if(meter.data.length>0){
244
+ this.meter.rows.push(meter.data[0])
245
+ }
246
+ let sellgas= await this.$resetpost('rs/sql/iotSellQuery',{data:{condition:condition,startDate:this.model.startDate,endDate:this.model.endDate}},{resolveMsg:null,rejectMsg:'查询出错'})
247
+ this.sellgas.rows=sellgas.data
248
+ console.log("res",this.info.rows,this.meter.rows,this.sellgas.rows)
249
+ },
250
+ cancel() {
251
+ this.show = false
252
+ },
253
+ },
254
+ computed: {
255
+ },
256
+ events: {
257
+
258
+ },
259
+ watch: {
260
+ }
261
+ }
262
+ </script>
263
+ <style>
264
+ #head1{
265
+ width: 64px;
266
+ height: 15px;
267
+ font-family: PingFang-SC-Bold;
268
+ font-size: 16px;
269
+ font-weight: normal;
270
+ font-stretch: normal;
271
+ line-height: 45px;
272
+ letter-spacing: 0px;
273
+ color: #666666;
274
+ }
275
+ #buttons{
276
+ width: 31px;
277
+ height: 15px;
278
+ font-family: PingFang-SC-Bold;
279
+ font-size: 16px;
280
+ font-weight: normal;
281
+ font-stretch: normal;
282
+ line-height: 45px;
283
+ letter-spacing: 0px;
284
+ color: #ffffff;
285
+ }
286
+ .cs1 {
287
+ width: 133px;
288
+ height: 15px;
289
+ font-family: PingFang-SC-Medium;
290
+ font-size: 16px;
291
+ font-weight: normal;
292
+ font-stretch: normal;
293
+ line-height: 45px;
294
+ letter-spacing: 0px;
295
+ color: #333333;
296
+ }
297
+ .cs2 {
298
+ width: 98px;
299
+ height: 20px;
300
+ font-family: PingFang-SC-Medium;
301
+ font-size: 16px;
302
+ font-weight: normal;
303
+ font-stretch: normal;
304
+ line-height: 45px;
305
+ letter-spacing: 0px;
306
+ color: #333333;
307
+ }
308
+ </style>