manage-client 3.2.12 → 3.2.16

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 (87) hide show
  1. package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/5.4.1/gc.properties +0 -0
  4. package/build/dev-server.js +24 -8
  5. package/package.json +1 -1
  6. package/src/.idea/misc.xml +9 -0
  7. package/src/.idea/modules.xml +8 -0
  8. package/src/.idea/src.iml +9 -0
  9. package/src/.idea/vcs.xml +6 -0
  10. package/src/.idea/workspace.xml +93 -0
  11. package/src/components/BasisEcharts/BarChart.vue +247 -247
  12. package/src/components/SellReport/BonSummary.vue +178 -178
  13. package/src/components/SellReport/CivilGasReport.vue +194 -0
  14. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  15. package/src/components/SellReport/ManageBusSummary.vue +219 -219
  16. package/src/components/SellReport/ManageGasPrice.vue +176 -176
  17. package/src/components/SellReport/NonResidentGas.vue +203 -203
  18. package/src/components/SellReport/OutletTable.vue +258 -258
  19. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -501
  20. package/src/components/SellReport/SaleMonthReport.vue +153 -153
  21. package/src/components/SellReport/SellingTable.vue +220 -220
  22. package/src/components/SellReport/UnCivilGasReport.vue +194 -0
  23. package/src/components/SellReport/UserSellingGas.vue +177 -177
  24. package/src/components/TelReport/ZhiHuanservice.vue +162 -162
  25. package/src/components/daping/GMap.vue +636 -636
  26. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  27. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  28. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  29. package/src/components/sale/businessquery/BusinesQuery.vue +2 -3
  30. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  31. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  32. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  33. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  34. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  35. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  36. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  37. package/src/components/sale/config/exportConfig.js +1 -1
  38. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  39. package/src/components/statistical/StatisticalAnalysis.vue +252 -252
  40. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  41. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  42. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  43. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  44. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +4 -5
  45. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  46. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -284
  47. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  48. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  49. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  50. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  51. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  52. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  53. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  54. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  55. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  56. package/src/filiale/WEINAN/UserGasAll.vue +577 -579
  57. package/src/filiale/WEINAN/UserGasEcharts.vue +281 -281
  58. package/src/filiale/WEINAN/UserGasList.vue +438 -438
  59. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  60. package/src/filiale/WEINAN/reportManage.js +12 -12
  61. package/src/filiale/WEINAN/sale.js +36 -36
  62. package/src/filiale/alashan/reportManage.js +10 -10
  63. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  64. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  65. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  66. package/src/filiale/meihekou/CardHandplanQuery.vue +612 -541
  67. package/src/filiale/meihekou/RecordInfoQuery.vue +1158 -1158
  68. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  69. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  70. package/src/filiale/meihekou/sale.js +26 -26
  71. package/src/filiale/pingxiang/sale.js +9 -9
  72. package/src/filiale/qingtongxia/sale.js +13 -13
  73. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  74. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  75. package/src/filiale/rongchuang/reportManage.js +11 -11
  76. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  77. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  78. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  79. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  80. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  81. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  82. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  83. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  84. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  85. package/src/main.js +5 -5
  86. package/src/reportManage.js +8 -0
  87. package/static/wuhai.json +1610 -1610
@@ -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>
@@ -17,7 +17,7 @@ export default{
17
17
  },
18
18
  // 业务查询
19
19
  businesConfig: {
20
- 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_meternumber': '表号', 'f_operat_type': '操作类型', 'f_describe': '操作描述',
20
+ 'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_money': '收款金额', 'f_operat_type': '操作类型',
21
21
  'f_state': '操作状态', 'f_operate_date': '操作日期', 'f_orgname': '组织名称', 'f_depname': '部门名称', 'f_operator': '操作人'
22
22
  },
23
23
  // 资源操作