manage-client 3.2.42 → 3.2.43

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 (111) hide show
  1. package/build/dev-server.js +8 -26
  2. package/package.json +1 -1
  3. package/src/components/BasisEcharts/BarChart.vue +247 -247
  4. package/src/components/SellReport/BonSummary.vue +178 -178
  5. package/src/components/SellReport/ChargePrick.vue +205 -205
  6. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  7. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  8. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  9. package/src/components/SellReport/NonResidentGas.vue +203 -203
  10. package/src/components/SellReport/OutletTable.vue +258 -258
  11. package/src/components/SellReport/QibiaoShouqi.vue +242 -242
  12. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  13. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  14. package/src/components/SellReport/SellingTable.vue +220 -220
  15. package/src/components/SellReport/UserSellingGas.vue +228 -228
  16. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  17. package/src/components/daping/GMap.vue +636 -636
  18. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  19. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  20. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  21. package/src/components/sale/businessquery/AreaChargeQuery.vue +380 -380
  22. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  23. package/src/components/sale/businessquery/BusinessManage.vue +6 -1
  24. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  25. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  26. package/src/components/sale/businessquery/CollectManage.vue +138 -138
  27. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  28. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  29. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  30. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  31. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  32. package/src/components/sale/businessquery/GasLossQuery.vue +561 -0
  33. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  34. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  35. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  36. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  37. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  38. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  39. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  40. package/src/components/sale/businessquery/gasPriceQuery.vue +365 -0
  41. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  42. package/src/components/sale/businessquery/usergas.vue +311 -311
  43. package/src/components/sale/config/exportConfig.js +10 -0
  44. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  45. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  46. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  47. package/src/components/statistical/DendrogramManage.vue +239 -239
  48. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  49. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  50. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  51. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  52. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  53. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +208 -208
  54. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  55. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  56. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  57. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  58. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  59. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  60. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  61. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  62. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  63. package/src/filiale/WEINAN/ReportDataQuery.vue +325 -325
  64. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  65. package/src/filiale/WEINAN/UserGasAll.vue +577 -577
  66. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  67. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  68. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  69. package/src/filiale/WEINAN/reportManage.js +12 -12
  70. package/src/filiale/WEINAN/sale.js +36 -36
  71. package/src/filiale/alashan/reportManage.js +10 -10
  72. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  73. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  74. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  75. package/src/filiale/macheng/MeterQuery.vue +12 -0
  76. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  77. package/src/filiale/meihekou/YingShouMingXi.vue +538 -538
  78. package/src/filiale/pingxiang/sale.js +9 -9
  79. package/src/filiale/qianneng/OtherChargeDetailQuery.vue +74 -0
  80. package/src/filiale/qianneng/OtherChargeQuery.vue +634 -0
  81. package/src/filiale/qianneng/sale.js +9 -0
  82. package/src/filiale/qingtongxia/sale.js +13 -13
  83. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  84. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  85. package/src/filiale/rongchuang/reportManage.js +11 -11
  86. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  87. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  88. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  89. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  90. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  91. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  92. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  93. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  94. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  95. package/src/filiale/tongchuan/ManageBusSummary.vue +240 -240
  96. package/src/filiale/tongchuan/reportManage.js +5 -5
  97. package/src/filiale/wuhai/ChargeQuery.vue +19 -16
  98. package/src/filiale/zhongsheng/ChargeQuery.vue +1255 -1255
  99. package/src/filiale/zhongsheng/config/exportConfig.js +899 -899
  100. package/src/filiale/zhongsheng/sale.js +10 -10
  101. package/src/main.js +3 -3
  102. package/src/saleManage.js +9 -0
  103. package/static/wuhai.json +1610 -1610
  104. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  105. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  106. package/.gradle/5.4.1/gc.properties +0 -0
  107. package/src/.idea/misc.xml +0 -9
  108. package/src/.idea/modules.xml +0 -8
  109. package/src/.idea/src.iml +0 -9
  110. package/src/.idea/vcs.xml +0 -6
  111. package/src/.idea/workspace.xml +0 -93
@@ -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>