manage-client 4.1.145 → 4.1.146
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.
- package/build/dev-server.js +11 -11
- package/package.json +1 -1
- package/src/components/SellReport/fugou/FgUserGasType.vue +2 -1
- package/src/filiale/jinbin/exportConfig.js +1110 -0
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +1372 -0
- package/src/filiale/jinbin/sale.js +7 -0
- package/src/filiale/wenxi/MeterExceptionList.vue +102 -77
|
@@ -68,6 +68,13 @@
|
|
|
68
68
|
<input type="number" style="width:30%" class="input_search" title="小于等于" v-model="model.f_balance_amount_big"
|
|
69
69
|
condition="f_balance_amount <= '{}' " placeholder="小于等于">
|
|
70
70
|
</div>
|
|
71
|
+
<div class="col-sm-2 form-group">
|
|
72
|
+
<label class="font_normal_body">用 气 量 </label>
|
|
73
|
+
<input type="number" style="width:30%" class="input_search" title="大于等于" v-model="model.f_oughtamount_small"
|
|
74
|
+
condition="f_oughtamount >= '{}' " placeholder="大于等于">
|
|
75
|
+
<input type="number" style="width:30%" class="input_search" title="小于等于" v-model="model.f_oughtamount_big"
|
|
76
|
+
condition="f_oughtamount <= '{}' " placeholder="小于等于">
|
|
77
|
+
</div>
|
|
71
78
|
<div class="col-sm-2 form-group">
|
|
72
79
|
<label class="font_normal_body">气表品牌</label>
|
|
73
80
|
<v-select :value.sync="model.f_meter_brand" multiple="true"
|
|
@@ -118,11 +125,11 @@
|
|
|
118
125
|
condition="f_batterylevel <= '{}' " placeholder="小于等于">
|
|
119
126
|
</div>
|
|
120
127
|
<div class="col-sm-2 form-group">
|
|
121
|
-
<label class="font_normal_body"
|
|
128
|
+
<label class="font_normal_body">报警级别</label>
|
|
122
129
|
<v-select style="width:60%"
|
|
123
130
|
v-model="model.f_error_level"
|
|
124
|
-
placeholder='
|
|
125
|
-
@change="$parent.$parent.getErrorInfo(
|
|
131
|
+
placeholder='报警级别'
|
|
132
|
+
@change="$parent.$parent.getErrorInfo()"
|
|
126
133
|
:value.sync="model.f_error_level"
|
|
127
134
|
:options='$parent.$parent.GetErrorLevel'
|
|
128
135
|
condition="f_error_level = '{}'"
|
|
@@ -130,16 +137,27 @@
|
|
|
130
137
|
</v-select>
|
|
131
138
|
</div>
|
|
132
139
|
<div class="col-sm-2 form-group">
|
|
133
|
-
<label class="font_normal_body"
|
|
140
|
+
<label class="font_normal_body">报警类型</label>
|
|
134
141
|
<v-select style="width:60%" multiple="true"
|
|
135
142
|
v-model="model.f_error_type"
|
|
136
|
-
placeholder='
|
|
143
|
+
placeholder='报警类型'
|
|
137
144
|
:value.sync="model.f_error_type"
|
|
138
145
|
:options='$parent.$parent.GetErrorType'
|
|
139
146
|
condition="f_error_type in {}"
|
|
140
147
|
>
|
|
141
148
|
</v-select>
|
|
142
149
|
</div>
|
|
150
|
+
<div class="col-sm-2 form-group">
|
|
151
|
+
<label class="font_normal_body">阀门状态</label>
|
|
152
|
+
<v-select style="width:60%"
|
|
153
|
+
v-model="model.valvestate"
|
|
154
|
+
placeholder='阀门状态'
|
|
155
|
+
:value.sync="model.valvestate"
|
|
156
|
+
:options='$parent.$parent.valueState'
|
|
157
|
+
condition="valvestate = '{}'"
|
|
158
|
+
close-on-select>
|
|
159
|
+
</v-select>
|
|
160
|
+
</div>
|
|
143
161
|
<div class="col-sm-2 form-group">
|
|
144
162
|
<label class="font_normal_body">处理状态</label>
|
|
145
163
|
<v-select style="width:60%"
|
|
@@ -181,12 +199,24 @@
|
|
|
181
199
|
<th style="text-align:center">
|
|
182
200
|
<nobr>客户地址</nobr>
|
|
183
201
|
</th>
|
|
202
|
+
<th style="text-align:center">
|
|
203
|
+
<nobr>用户状态</nobr>
|
|
204
|
+
</th>
|
|
205
|
+
<th style="text-align:center">
|
|
206
|
+
<nobr>用气量</nobr>
|
|
207
|
+
</th>
|
|
184
208
|
<th style="text-align:center">
|
|
185
209
|
<nobr>账户余额</nobr>
|
|
186
210
|
</th>
|
|
187
211
|
<th style="text-align:center">
|
|
188
212
|
<nobr>联系电话</nobr>
|
|
189
213
|
</th>
|
|
214
|
+
<th style="text-align:center">
|
|
215
|
+
<nobr>表具状态</nobr>
|
|
216
|
+
</th>
|
|
217
|
+
<th style="text-align:center">
|
|
218
|
+
<nobr>表位置</nobr>
|
|
219
|
+
</th>
|
|
190
220
|
<th style="text-align:center">
|
|
191
221
|
<nobr>表号</nobr>
|
|
192
222
|
</th>
|
|
@@ -215,16 +245,19 @@
|
|
|
215
245
|
<nobr>阀门状态</nobr>
|
|
216
246
|
</th>
|
|
217
247
|
<th style="text-align:center">
|
|
218
|
-
<nobr
|
|
248
|
+
<nobr>报警类型</nobr>
|
|
219
249
|
</th>
|
|
220
250
|
<th style="text-align:center">
|
|
221
|
-
<nobr
|
|
251
|
+
<nobr>报警级别</nobr>
|
|
222
252
|
</th>
|
|
223
253
|
<th style="text-align:center">
|
|
224
|
-
<nobr
|
|
254
|
+
<nobr>报警详情</nobr>
|
|
225
255
|
</th>
|
|
226
256
|
<th style="text-align:center">
|
|
227
|
-
|
|
257
|
+
<nobr>处理状态</nobr>
|
|
258
|
+
</th>
|
|
259
|
+
<th style="text-align:center">
|
|
260
|
+
<nobr>备注信息</nobr>
|
|
228
261
|
</th>
|
|
229
262
|
<th style="text-align:center">
|
|
230
263
|
<nobr>分公司</nobr>
|
|
@@ -245,8 +278,12 @@
|
|
|
245
278
|
<td>
|
|
246
279
|
<nobr>{{row.address}}</nobr>
|
|
247
280
|
</td>
|
|
281
|
+
<td style="text-align:center">{{row.f_user_state}}</td>
|
|
282
|
+
<td style="text-align:center">{{row.f_oughtamount}}</td>
|
|
248
283
|
<td style="text-align:center">{{row.f_balance_amount}}</td>
|
|
249
284
|
<td style="text-align:center">{{row.f_user_phone}}</td>
|
|
285
|
+
<td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
|
|
286
|
+
<td style="text-align:center"><nobr>{{row.f_position}}</nobr></td>
|
|
250
287
|
<td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
251
288
|
<td style="text-align:center">
|
|
252
289
|
<nobr>{{row.f_meter_brand}}</nobr>
|
|
@@ -270,7 +307,7 @@
|
|
|
270
307
|
<nobr>{{row.f_magneticInterference == 1 ? '异常' : '正常'}}</nobr>
|
|
271
308
|
</td>
|
|
272
309
|
<td style="text-align:center">
|
|
273
|
-
<nobr>{{row.
|
|
310
|
+
<nobr>{{row.valvestate}}</nobr>
|
|
274
311
|
</td>
|
|
275
312
|
<td style="text-align:center">
|
|
276
313
|
<nobr>{{row.f_error_type}}</nobr>
|
|
@@ -278,6 +315,9 @@
|
|
|
278
315
|
<td style="text-align:center">
|
|
279
316
|
<nobr>{{row.f_error_level}}</nobr>
|
|
280
317
|
</td>
|
|
318
|
+
<td style="text-align:center">
|
|
319
|
+
<nobr>{{row.f_error_msg}}</nobr>
|
|
320
|
+
</td>
|
|
281
321
|
<td style="text-align:center">
|
|
282
322
|
<nobr>{{row.f_is_read}}</nobr>
|
|
283
323
|
</td>
|
|
@@ -291,30 +331,6 @@
|
|
|
291
331
|
</data-grid>
|
|
292
332
|
</criteria-paged>
|
|
293
333
|
</div>
|
|
294
|
-
<!--<div style="height: 40px;width: 100%;" v-show="echarts">
|
|
295
|
-
<div style="display: inline-block;width: 20%;">
|
|
296
|
-
<button class="button_search button_spacing" v-show="echarts" @click="notShowEcharts()">隐藏图表</button>
|
|
297
|
-
<button class="button_search button_spacing" v-show="isActiveTotalForm" @click="notShowTotalForm()">隐藏汇总</button>
|
|
298
|
-
</div>
|
|
299
|
-
<!–图显示模板–>
|
|
300
|
-
<div class="mystyle" style="display: inline-block;" >
|
|
301
|
-
<label class="font_normal_body">图表统计项</label>
|
|
302
|
-
<v-select style="width:60%" id="groupname" v-model="groupname"
|
|
303
|
-
placeholder='分组项'
|
|
304
|
-
value-single="true"
|
|
305
|
-
:value.sync="groupname"
|
|
306
|
-
:options='getgroupname'
|
|
307
|
-
close-on-select></v-select>
|
|
308
|
-
</div>
|
|
309
|
-
</div>
|
|
310
|
-
<div v-show="echarts" style="width: 100%;height: 90%;">
|
|
311
|
-
<new-exception-echarts :condition="condition" :startdate="startDate" :groupname="groupname[0]"
|
|
312
|
-
:enddate="endDate" :echarts="echarts"></new-exception-echarts>
|
|
313
|
-
</div>
|
|
314
|
-
<div v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
|
|
315
|
-
<new-exception-eform-total :condition="condition" :startdate="startDate"
|
|
316
|
-
:enddate="endDate"></new-exception-eform-total>
|
|
317
|
-
</div>-->
|
|
318
334
|
</div>
|
|
319
335
|
<div class="flex" v-if="showdetail">
|
|
320
336
|
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
@@ -360,9 +376,31 @@
|
|
|
360
376
|
{label: '日', value: 'day'}
|
|
361
377
|
],
|
|
362
378
|
getfield:{
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
379
|
+
"f_userinfo_code":"客户编号",
|
|
380
|
+
"f_user_name":"客户名称",
|
|
381
|
+
"f_residential_area":"小区",
|
|
382
|
+
"address":"客户地址",
|
|
383
|
+
"f_user_state":"用户状态",
|
|
384
|
+
"f_balance_amount":"账户余额",
|
|
385
|
+
"f_oughtamount":"用气量",
|
|
386
|
+
"f_user_phone":"联系电话",
|
|
387
|
+
"f_table_state":"表具状态",
|
|
388
|
+
"f_position":"表具位置",
|
|
389
|
+
"f_meternumber":"表号",
|
|
390
|
+
"f_meter_brand":"气表品牌",
|
|
391
|
+
"f_hand_date":"抄表日期",
|
|
392
|
+
"f_insert_date":"最后一次通讯时间",
|
|
393
|
+
"f_electricity":"电池电量",
|
|
394
|
+
"f_batterylevel":"电池电压",
|
|
395
|
+
"f_signal":"信号强度",
|
|
396
|
+
"f_magneticInterference":"磁干扰异常",
|
|
397
|
+
"valvestate":"阀门状态",
|
|
398
|
+
"f_error_type":"报警类型",
|
|
399
|
+
"f_error_level":"报警级别",
|
|
400
|
+
"f_error_msg":"报警详情",
|
|
401
|
+
"f_is_read":"处理状态",
|
|
402
|
+
"f_error_reason":"备注信息",
|
|
403
|
+
"f_orgname":"分公司"
|
|
366
404
|
},
|
|
367
405
|
outlets: [],
|
|
368
406
|
operator: [],
|
|
@@ -384,9 +422,6 @@
|
|
|
384
422
|
readySomething(this)
|
|
385
423
|
this.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
|
|
386
424
|
this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
387
|
-
// console.log("type:"+this.$refs.paged.$refs.cri.model.f_error_type)
|
|
388
|
-
this.getErrorInfo('f_error_level')
|
|
389
|
-
// console.log("type:"+this.$refs.paged.$refs.cri.model.f_error_type)
|
|
390
425
|
},
|
|
391
426
|
methods: {
|
|
392
427
|
showmsg(obj){
|
|
@@ -423,50 +458,34 @@
|
|
|
423
458
|
clickshow() {
|
|
424
459
|
this.searchshow = !this.searchshow
|
|
425
460
|
},
|
|
426
|
-
getErrorInfo(
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
461
|
+
getErrorInfo(){
|
|
462
|
+
let self = this
|
|
463
|
+
let load = new HttpResetClass()
|
|
464
|
+
load.load('POST', 'api/af-revenue/sql/singleTableParam', {
|
|
465
|
+
data: {
|
|
466
|
+
items:'name',
|
|
467
|
+
tablename:'t_paramvalue',
|
|
468
|
+
condition:'processid in (select id from t_parameter where name='+ `'${this.$refs.paged.$refs.cri.model.f_error_level[0]}'` + ')'
|
|
433
469
|
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
for (i = 0; i < rows.length; i++) {
|
|
448
|
-
let dr = {label: '全部', value: ''}
|
|
449
|
-
dr.label=rows[i].f_type
|
|
450
|
-
dr.value=rows[i].f_type
|
|
451
|
-
array1.push(dr)
|
|
452
|
-
console.log("rows[i]========",rows[i],dr)
|
|
453
|
-
}
|
|
454
|
-
console.log("array1========",array1)
|
|
455
|
-
if (items=='f_error_level'){
|
|
456
|
-
self.GetErrorLevel=array1
|
|
457
|
-
}else {
|
|
458
|
-
self.GetErrorType=array1
|
|
459
|
-
}
|
|
460
|
-
})
|
|
470
|
+
},{warnMsg:null,resolveMsg:null}).then((res) => {
|
|
471
|
+
let i = 0
|
|
472
|
+
let rows=res.data
|
|
473
|
+
let array1=[]
|
|
474
|
+
array1.push({label: '全部', value: ''})
|
|
475
|
+
for (i = 0; i < rows.length; i++) {
|
|
476
|
+
let dr = {label: '全部', value: ''}
|
|
477
|
+
dr.label=rows[i].name
|
|
478
|
+
dr.value=rows[i].name
|
|
479
|
+
array1.push(dr)
|
|
480
|
+
}
|
|
481
|
+
self.GetErrorType=array1
|
|
482
|
+
})
|
|
461
483
|
|
|
462
484
|
},
|
|
463
485
|
search(args) {
|
|
464
486
|
this.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
465
487
|
this.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
466
488
|
this.f_error_type=this.$refs.paged.$refs.cri.model.f_error_type
|
|
467
|
-
/* if (this.endDate == '' || this.startDate == '') {
|
|
468
|
-
return this.$showMessage("时间区间的开始和结束时间不能为空!")
|
|
469
|
-
}*/
|
|
470
489
|
if (this.orgCondtionStr){
|
|
471
490
|
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
472
491
|
}
|
|
@@ -559,6 +578,9 @@
|
|
|
559
578
|
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
560
579
|
}
|
|
561
580
|
},
|
|
581
|
+
valueState() {
|
|
582
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
|
|
583
|
+
},
|
|
562
584
|
usertypes() {
|
|
563
585
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
564
586
|
},
|
|
@@ -568,6 +590,9 @@
|
|
|
568
590
|
isread() {
|
|
569
591
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('处理状态')]
|
|
570
592
|
},
|
|
593
|
+
GetErrorLevel() {
|
|
594
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('异常级别')]
|
|
595
|
+
},
|
|
571
596
|
abnormalstatus(){
|
|
572
597
|
return this.$getParams('异常状态', [{label: '全部', value: ''}])
|
|
573
598
|
}
|