manage-client 3.2.122 → 3.2.125

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.
@@ -0,0 +1,599 @@
1
+ <template>
2
+ <div class="flex-row" v-if="!showdetail">
3
+ <div id='app1' class="basic-main" v-show="(!echarts)&&(!isActiveTotalForm)">
4
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label style="width:35%" class="font_normal_body">客户编号</label>
10
+ <input style="width:60%" type="text" class="input_search"
11
+ v-model="model.f_userinfo_code"
12
+ placeholder='客户编号'
13
+ @keyup.enter="search"
14
+ condition="f_userinfo_code like '%{}%'"
15
+ v-el:xq v-next-el='f_userinfo_code'
16
+ v-el:username>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label style="width:35%" class="font_normal_body">客户名称</label>
20
+ <input style="width:60%" type="text" class="input_search"
21
+ v-model="model.username"
22
+ @keyup.enter="search"
23
+ placeholder='客户名称'
24
+ condition="username like '%{}%'"
25
+ v-el:xq v-next-el='username'
26
+ v-el:username>
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label style="width:35%" class="font_normal_body">客户地址</label>
30
+ <input style="width:60%" type="text" class="input_search"
31
+ v-model="model.address" placeholder='地址'
32
+ condition="address like '%{}%'"
33
+ @keyup.enter="search"
34
+ v-el:xq v-next-el='address' v-el:area
35
+ >
36
+ </div>
37
+ <div class="col-sm-2 form-group">
38
+ <label style="width:35%" class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
39
+ <input style="width:60%" type="text" class="input_search"
40
+ v-model="model.f_meternumber" placeholder='表号'
41
+ @keyup.enter="search"
42
+ condition="f_meternumber like '%{}%'"
43
+ v-next-el='meternumber' v-el:meternumber>
44
+ </div>
45
+ <div style="float:right">
46
+ <button class="button_search button_spacing" @click="search()">查询</button>
47
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
48
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
49
+ :field="$parent.$parent.getfield"
50
+ sqlurl="rs/logic/exportfile" sql-name="DrillErrorByUserinfo" template-name='异常分析'
51
+ :choose-col="true"></export-excel>
52
+ <!--<button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
53
+ <!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->
54
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
55
+ </div>
56
+ </div>
57
+ <div class="row" v-show="$parent.$parent.criteriaShow">
58
+ <div class="col-sm-2 form-group">
59
+ <label style="width:35%" class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
60
+ <right-tree @re-res="$parent.$parent.getorg"
61
+ :initresid='$parent.$parent.org'></right-tree>
62
+ </div>
63
+ <div class="col-sm-2 form-group">
64
+ <label style="width:35%" class="font_normal_body">余额&nbsp;&nbsp;大于</label>
65
+ <input style="width:60%" type="number" class="input_search"
66
+ v-model="model.f_balance_amount_sta" placeholder='账户余额'
67
+ condition="f_balance_amount>{}"
68
+ @keyup.enter="search"
69
+ v-el:xq v-next-el='f_day' v-el:area
70
+ >
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label style="width:35%" class="font_normal_body">小于</label>
74
+ <input style="width:60%" type="number" class="input_search"
75
+ v-model="model.f_balance_amount_end" placeholder='账户余额'
76
+ condition="f_balance_amount < {}"
77
+ @keyup.enter="search"
78
+ v-el:xq v-next-el='f_day' v-el:area
79
+ >
80
+ </div>
81
+ <div class="col-sm-2 form-group">
82
+ <label style="width:35%" class="font_normal_body">气表品牌</label>
83
+ <v-select :value.sync="model.f_balance_amount"
84
+ v-model="model.f_meter_brand"
85
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
86
+ condition="f_meter_brand = '{}'"
87
+ close-on-select></v-select>
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label style="width:35%" class="font_normal_body">上报区间</label>
91
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
92
+ v-model="model.startDate"
93
+ :value.sync="model.startDate"
94
+ :disabled-days-of-Week="[]"
95
+ :format="'yyyy-MM-dd HH:mm:ss'"
96
+ condition="f_insert_date >= '{}'"
97
+ :show-reset-button="reset">
98
+ </datepicker>
99
+ </div>
100
+ <div class="col-sm-2 form-group">
101
+ <label style="width:35%" class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
102
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
103
+ v-model="model.endDate"
104
+ :value.sync="model.endDate"
105
+ :format="'yyyy-MM-dd HH:mm:ss'"
106
+ :disabled-days-of-Week="[]"
107
+ condition="f_insert_date <= '{}'"
108
+ :show-reset-button="reset">
109
+ </datepicker>
110
+ </div>
111
+ <div class="col-sm-2 form-group">
112
+ <label style="width:35%" class="font_normal_body">未抄表天数&nbsp;></label>
113
+ <input style="width:60%" type="number" class="input_search"
114
+ v-model="model.f_day" placeholder='未抄表天数'
115
+ condition="DateDiff(dd,f_hand_date,getdate())>{}"
116
+ @keyup.enter="search"
117
+ v-el:xq v-next-el='f_day' v-el:area
118
+ >
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label style="width:35%" class="font_normal_body">电池电量大于</label>
122
+ <input style="width:60%" type="number" class="input_search"
123
+ v-model="model.f_electricity_sta" placeholder='电池电量'
124
+ condition="f_electricity>{}"
125
+ @keyup.enter="search"
126
+ v-el:xq v-next-el='f_day' v-el:area
127
+ >
128
+ </div>
129
+ <div class="col-sm-2 form-group">
130
+ <label style="width:35%" class="font_normal_body">小于</label>
131
+ <input style="width:60%" type="number" class="input_search"
132
+ v-model="model.f_electricity_end" placeholder='电池电量'
133
+ condition="f_electricity < {}"
134
+ @keyup.enter="search"
135
+ v-el:xq v-next-el='f_day' v-el:area
136
+ >
137
+ </div>
138
+ <div class="col-sm-2 form-group">
139
+ <label style="width:35%" class="font_normal_body">电池电压大于</label>
140
+ <input style="width:60%" type="number" class="input_search"
141
+ v-model="model.f_batterylevel_sta" placeholder='电池电压'
142
+ condition="f_batterylevel>{}"
143
+ @keyup.enter="search"
144
+ v-el:xq v-next-el='f_day' v-el:area
145
+ >
146
+ </div>
147
+ <div class="col-sm-2 form-group">
148
+ <label style="width:35%" class="font_normal_body">小于</label>
149
+ <input style="width:60%" type="number" class="input_search"
150
+ v-model="model.f_batterylevel_end" placeholder='电池电压'
151
+ condition="f_batterylevel < {}"
152
+ @keyup.enter="search"
153
+ v-el:xq v-next-el='f_day' v-el:area
154
+ >
155
+ </div>
156
+ <div class="col-sm-2 form-group">
157
+ <label style="width:35%" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;异常级别</label>
158
+ <v-select style="width:60%"
159
+ v-model="model.f_error_level"
160
+ placeholder='异常级别'
161
+ @change="$parent.$parent.getErrorInfo('f_error_type')"
162
+ :value.sync="model.f_error_level"
163
+ :options='$parent.$parent.GetErrorLevel'
164
+ condition="f_error_level = '{}'"
165
+ close-on-select>
166
+ </v-select>
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label style="width:35%" class="font_normal_body">异常类型</label>
170
+ <v-select style="width:60%"
171
+ v-model="model.f_error_type"
172
+ placeholder='异常类型'
173
+ :value.sync="model.f_error_type"
174
+ :options='$parent.$parent.GetErrorType'
175
+ condition="f_error_type = '{}'"
176
+ close-on-select>
177
+ </v-select>
178
+ </div>
179
+ <div class="col-sm-2 form-group">
180
+ <label style="width:35%" class="font_normal_body">是否欠费</label>
181
+ <v-select style="width:60%"
182
+ v-model="model.isowefee"
183
+ placeholder='是否欠费'
184
+ :value.sync="model.isowefee"
185
+ :options='$parent.$parent.owefee'
186
+ condition="isowefee = '{}'"
187
+ close-on-select>
188
+ </v-select>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </criteria>
193
+ <data-grid id="lostuserlist" :model="model" class="list_area table_sy" partial='list' v-ref:grid>
194
+ <template partial='head'>
195
+ <tr>
196
+ <th style="text-align:center">
197
+ <nobr>序号</nobr>
198
+ </th>
199
+ <th style="text-align:center">
200
+ <nobr>客户编号</nobr>
201
+ </th>
202
+ <th style="text-align:center">
203
+ <nobr>档案编号</nobr>
204
+ </th>
205
+ <th style="text-align:center">
206
+ <nobr>客户名称</nobr>
207
+ </th>
208
+ <th style="text-align:center">
209
+ <nobr>小区</nobr>
210
+ </th>
211
+ <th style="text-align:center">
212
+ <nobr>客户地址</nobr>
213
+ </th>
214
+ <th style="text-align:center">
215
+ <nobr>建档日期</nobr>
216
+ </th>
217
+ <th style="text-align:center">
218
+ <nobr>账户余额</nobr>
219
+ </th>
220
+ <th style="text-align:center">
221
+ <nobr>联系电话</nobr>
222
+ </th>
223
+ <th style="text-align:center">
224
+ <nobr>表号</nobr>
225
+ </th>
226
+ <th style="text-align:center">
227
+ <nobr>气表品牌</nobr>
228
+ </th>
229
+ <th style="text-align:center">
230
+ <nobr>抄表日期</nobr>
231
+ </th>
232
+ <th style="text-align:center">
233
+ <nobr>是否欠费</nobr>
234
+ </th>
235
+ <th style="text-align:center">
236
+ <nobr>最后一次通讯时间</nobr>
237
+ </th>
238
+ <th style="text-align:center">
239
+ <nobr>电池电量</nobr>
240
+ </th>
241
+ <th style="text-align:center">
242
+ <nobr>电池电压</nobr>
243
+ </th>
244
+ <th style="text-align:center">
245
+ <nobr>信号强度</nobr>
246
+ </th>
247
+ <th style="text-align:center">
248
+ <nobr>磁干扰异常</nobr>
249
+ </th>
250
+ <th style="text-align:center">
251
+ <nobr>阀门状态</nobr>
252
+ </th>
253
+ <th style="text-align:center">
254
+ <nobr>表底数</nobr>
255
+ </th>
256
+ <th style="text-align:center">
257
+ <nobr>异常类型</nobr>
258
+ </th>
259
+ <th style="text-align:center">
260
+ <nobr>异常级别</nobr>
261
+ </th>
262
+ <th style="text-align:center">
263
+ <nobr>分公司</nobr>
264
+ </th>
265
+
266
+ </tr>
267
+
268
+ </template>
269
+ <template partial='body'>
270
+ <td style="text-align:center">
271
+ <nobr>{{$index+1}}</nobr>
272
+ </td>
273
+ <td style="text-align: center;"><nobr>
274
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
275
+ </nobr> </td>
276
+ <td style="text-align:center"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
277
+ <td style="text-align:center"><nobr>{{row.username}}</nobr></td>
278
+ <td style="text-align:center"><nobr>{{row.f_residential_area}}</nobr></td>
279
+ <td>
280
+ <nobr>{{row.address}}</nobr>
281
+ </td>
282
+ <td style="text-align:center">{{row.f_createfile_date}}</td>
283
+ <td style="text-align:center">{{row.f_balance_amount}}</td>
284
+ <td style="text-align:center">{{row.f_user_phone}}</td>
285
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
286
+ <td style="text-align:center">
287
+ <nobr>{{row.f_meter_brand}}</nobr>
288
+ </td>
289
+ <td style="text-align:center">
290
+ <nobr>{{row.f_hand_date}}</nobr>
291
+ </td>
292
+ <td style="text-align:center">
293
+ <nobr>{{row.isowefee}}</nobr>
294
+ </td>
295
+ <td style="text-align:center">
296
+ <nobr>{{row.f_insert_date}}</nobr>
297
+ </td>
298
+ <td style="text-align:center">
299
+ <nobr>{{row.f_electricity}}</nobr>
300
+ </td>
301
+ <td style="text-align:center">
302
+ <nobr>{{row.f_batterylevel}}</nobr>
303
+ </td>
304
+ <td style="text-align:center">
305
+ <nobr>{{row.f_signal}}</nobr>
306
+ </td>
307
+ <td style="text-align:center">
308
+ <nobr>{{row.f_magneticInterference == 1 ? '异常' : '正常'}}</nobr>
309
+ </td>
310
+ <td style="text-align:center">
311
+ <nobr>{{row.f_valvestate == 0 ? '开阀' : '关阀'}}</nobr>
312
+ </td>
313
+ <td style="text-align:center">
314
+ <nobr>{{row.f_meter_base}}</nobr>
315
+ </td>
316
+ <td style="text-align:center">
317
+ <nobr>{{row.f_error_type}}</nobr>
318
+ </td>
319
+ <td style="text-align:center">
320
+ <nobr>{{row.f_error_level}}</nobr>
321
+ </td>
322
+ <td style="text-align:center">
323
+ <nobr>{{row.f_orgname}}</nobr>
324
+ </td>
325
+ </template>
326
+ </data-grid>
327
+ </criteria-paged>
328
+ </div>
329
+ <!--<div style="height: 40px;width: 100%;" v-show="echarts">
330
+ <div style="display: inline-block;width: 20%;">
331
+ <button class="button_search button_spacing" v-show="echarts" @click="notShowEcharts()">隐藏图表</button>
332
+ <button class="button_search button_spacing" v-show="isActiveTotalForm" @click="notShowTotalForm()">隐藏汇总</button>
333
+ </div>
334
+ &lt;!&ndash;图显示模板&ndash;&gt;
335
+ <div class="mystyle" style="display: inline-block;" >
336
+ <label class="font_normal_body">图表统计项</label>
337
+ <v-select style="width:60%" id="groupname" v-model="groupname"
338
+ placeholder='分组项'
339
+ value-single="true"
340
+ :value.sync="groupname"
341
+ :options='getgroupname'
342
+ close-on-select></v-select>
343
+ </div>
344
+ </div>
345
+ <div v-show="echarts" style="width: 100%;height: 90%;">
346
+ <new-exception-echarts :condition="condition" :startdate="startDate" :groupname="groupname[0]"
347
+ :enddate="endDate" :echarts="echarts"></new-exception-echarts>
348
+ </div>
349
+ <div v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
350
+ <new-exception-eform-total :condition="condition" :startdate="startDate"
351
+ :enddate="endDate"></new-exception-eform-total>
352
+ </div>-->
353
+ </div>
354
+ <div class="flex" v-if="showdetail">
355
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
356
+ </div>
357
+ </template>
358
+
359
+ <script>
360
+ import {HttpResetClass, PagedList} from 'vue-client'
361
+ import * as Util from '../../Util'
362
+ import getLodop from '../../plugins/LodopFuncs'
363
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
364
+
365
+ let readySomething = async function (self) {
366
+ await self.$MagLoadParams.loadParam()
367
+ self.initParams()
368
+ }
369
+ export default {
370
+ title: '异常查看',
371
+ props: ['data'],
372
+ data() {
373
+ return {
374
+ model: new PagedList('rs/sql/getExceptionList', 20),
375
+ reportStr: null,
376
+ show: false,
377
+ startDate: '',
378
+ endDate: '',
379
+ meterbrands: [],
380
+ f_error_type:'',
381
+ groupname: ['year'],
382
+ getgroupname: [
383
+ {label: '年份', value: 'year'},
384
+ {label: '月份', value: 'month'},
385
+ {label: '周', value: 'week'},
386
+ {label: '日', value: 'day'}
387
+ ],
388
+ getfield:{
389
+ "f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号", "f_user_name":"客户名称", "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
390
+ "f_meternumber":"表号","f_meter_brand":"气表品牌","isowefee":"是否欠费","f_insert_date":"上报时间","f_error_level":"异常级别","f_error_type":"异常类型",
391
+ "f_error_msg":"异常描述","f_orgname":"组织机构","f_createfile_date":"建档日期","f_meter_base":"表底数"
392
+ },
393
+ outlets: [],
394
+ operator: [],
395
+ showdetail:false,
396
+ rowdata:{},
397
+ filename: '',
398
+ criteriaShow: false,
399
+ echarts: false,
400
+ searchshow: false,
401
+ isActiveTotalForm: false,
402
+ GetErrorLevel:[],
403
+ GetErrorType:[],
404
+ condition: '1=1',
405
+ org:[this.$login.f.orgid],
406
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`
407
+ }
408
+ },
409
+ ready() {
410
+ readySomething(this)
411
+ this.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
412
+ this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
413
+ // console.log("type:"+this.$refs.paged.$refs.cri.model.f_error_type)
414
+ this.getErrorInfo('f_error_level')
415
+ // console.log("type:"+this.$refs.paged.$refs.cri.model.f_error_type)
416
+ this.$refs.paged.$refs.cri.search()
417
+
418
+ },
419
+ methods: {
420
+ showmsg(obj){
421
+ this.rowdata=obj
422
+ this.showdetail=true
423
+ },
424
+ cancel() {
425
+ this.showdetail = false
426
+ },
427
+ getorg(obj) {
428
+ if (obj.resids.length>0) {
429
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
430
+ }else
431
+ {
432
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
433
+ }
434
+ },
435
+ initParams () {
436
+ let arr = []
437
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
438
+ let temp = {}
439
+ if(item.value.f_meter_type==='物联网表'){
440
+ temp.label = item.label
441
+ temp.value = item.value.f_meter_brand
442
+ arr.push(temp )
443
+ }
444
+
445
+ })
446
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
447
+ },
448
+ hidden(){
449
+ this.criteriaShow = !this.criteriaShow
450
+ },
451
+ clickshow() {
452
+ this.searchshow = !this.searchshow
453
+ },
454
+ getErrorInfo(items){
455
+ let self = this
456
+ let f_error_level=''
457
+ if (items!='f_error_level') {
458
+ if(this.$refs.paged.$refs.cri.model.f_error_level){
459
+ f_error_level=this.$refs.paged.$refs.cri.model.f_error_level[0]
460
+ }
461
+ }
462
+ let load = new HttpResetClass()
463
+ load.load('POST', 'rs/sql/singleTableParam', {
464
+ data: {
465
+ items:items+' f_type',
466
+ tablename:'t_exception',
467
+ condition:items=='f_error_level'?'1=1 group by '+items:`f_error_level='${f_error_level}' group by `+items
468
+ }
469
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
470
+ let i = 0
471
+ let rows=res.data
472
+ let array1=[]
473
+ array1.push({label: '全部', value: ''})
474
+ console.log("rows========",rows)
475
+ for (i = 0; i < rows.length; i++) {
476
+ let dr = {label: '全部', value: ''}
477
+ dr.label=rows[i].f_type
478
+ dr.value=rows[i].f_type
479
+ array1.push(dr)
480
+ console.log("rows[i]========",rows[i],dr)
481
+ }
482
+ console.log("array1========",array1)
483
+ if (items=='f_error_level'){
484
+ self.GetErrorLevel=array1
485
+ }else {
486
+ self.GetErrorType=array1
487
+ }
488
+ })
489
+
490
+ },
491
+ search(args) {
492
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
493
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
494
+ this.f_error_type=this.$refs.paged.$refs.cri.model.f_error_type
495
+ console.log('1231321312312321')
496
+ /* if (this.endDate == '' || this.startDate == '') {
497
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
498
+ }*/
499
+ this.condition = this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
500
+
501
+ args.condition = this.condition
502
+ this.model.search(args.condition, args.model)
503
+ },
504
+ SaveAsFile(str) {
505
+ this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
506
+ if (res === 'confirm') {
507
+ let style = '<style>' +
508
+ 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
509
+ let strHtml = style + document.getElementById(str).innerHTML;
510
+ console.log(strHtml);
511
+ let LODOP = getLodop();
512
+ LODOP.PRINT_INIT('');
513
+ LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
514
+ LODOP.SAVE_TO_FILE('异常分析(表统计).xls')
515
+ }
516
+ })
517
+ },
518
+ clearmsg() {
519
+ this.$refs.paged.$refs.cri.model = {}
520
+ },
521
+ close() {
522
+ this.show = false
523
+ },
524
+ // 显示柱状图
525
+ showEcharts() {
526
+ this.echarts = true
527
+ this.isActiveTotalForm = false
528
+ },
529
+ notShowTotalForm() {
530
+ this.echarts = false
531
+ this.isActiveTotalForm = false
532
+ },
533
+ // 不显示柱状图
534
+ notShowEcharts() {
535
+ this.echarts = false
536
+ this.isActiveTotalForm = false
537
+ },
538
+ // 显示汇总数据表格
539
+ showTotalForm() {
540
+ this.echarts = false
541
+ this.isActiveTotalForm = true
542
+ }
543
+ },
544
+ watch: {
545
+ 'data'(val) {
546
+ if (val.f_files_path) {
547
+ this.getFileContent(val.f_files_path)
548
+ } else {
549
+ this.reportStr = null
550
+ }
551
+ }
552
+ },
553
+ computed: {
554
+ // usertypes () {
555
+ // return this.$appdate.getParams("客户类型")
556
+ // },
557
+ getCondition() {
558
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
559
+ return {
560
+ condition: condition ,
561
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
562
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
563
+ }
564
+
565
+ },
566
+ usertypes() {
567
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
568
+ },
569
+ Gasproperties() {
570
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
571
+ },
572
+ abnormalstatus(){
573
+ return this.$getParams('异常状态', [{label: '全部', value: ''}])
574
+ },
575
+ owefee(){
576
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('是否')]
577
+ }
578
+ }
579
+ }
580
+ </script>
581
+ <style>
582
+ .form-input-group label {
583
+ text-align: right;
584
+ width: auto;
585
+ }
586
+
587
+ .mystyle {
588
+ float: right;
589
+ padding-right: 10%;
590
+ }
591
+
592
+ .datapanel {
593
+ color: #333;
594
+ background-color: white;
595
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
596
+ padding: 10px 30px 10px 30px;
597
+ border-radius: 15px;
598
+ }
599
+ </style>
@@ -1,7 +1,10 @@
1
1
  // 分公司特殊组件页面注册
2
2
  let specialComp = {
3
3
  // 物联网表用气量统计表
4
- 'use-gas-statistics': (resolve) => { require(['./GasStatistics'], resolve) }
4
+ 'use-gas-statistics': (resolve) => { require(['./GasStatistics'], resolve) },
5
+ // 异常汇总分析
6
+ 'meter-exception-list': (resolve) => { require(['./MeterExceptionList'], resolve) }
7
+
5
8
  }
6
9
  exports.specialComp = specialComp
7
10
 
package/src/main.js CHANGED
@@ -43,7 +43,7 @@ all()
43
43
  // sale()
44
44
  ldap()
45
45
  system(false)
46
- saleManage()
46
+ saleManage('qingtongxia')
47
47
 
48
48
  webmeterManage()
49
49
  ManageHome()
@@ -143,6 +143,10 @@ export default function (filiale) {
143
143
  Vue.component('manage-bus-summary', (resolve) => {
144
144
  require(['./components/SellReport/ManageBusSummary'], resolve)
145
145
  })
146
+ // 报表展示组件(收费汇总报表-无付款方式用户类型与用气性质分组)
147
+ Vue.component('manage-bus-summarynopay', (resolve) => {
148
+ require(['./components/SellReport/ManageBusSummarynopay'], resolve)
149
+ })
146
150
  // 报表展示组件(现金结账单)
147
151
  Vue.component('manage-bus-table', (resolve) => {
148
152
  require(['./components/SellReport/ManageBusTable'], resolve)
File without changes