manage-client 3.3.1 → 3.3.3

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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/components/sale/businessquery/GroupChargeQuery.vue +1 -1
  3. package/src/filiale/gehua/GroupChargeQuery.vue +1 -1
  4. package/src/filiale/macheng/config/exportConfig.js +1 -1
  5. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  6. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  7. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  8. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  9. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  10. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  11. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  12. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  13. package/src/filiale/shanxian/LostContactAnalysisList.vue +19 -18
  14. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  15. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  16. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  17. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  18. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  19. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  20. package/src/filiale/shanxian/UserLostContactAnalysis.vue +18 -17
  21. package/src/filiale/shanxian/UserQuery.vue +27 -26
  22. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  23. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  24. package/src/filiale/shanxian/sale.js +20 -0
  25. package/src/filiale/shanxian/webmeterManage.js +4 -0
  26. package/src/filiale/wenxi/GasStatistics.vue +6 -6
  27. package/src/filiale/wenxi/HandplanQuery.vue +10 -10
  28. package/src/filiale/wenxi/MeterQuery.vue +41 -68
  29. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  30. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
@@ -0,0 +1,608 @@
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 class="font_normal_body">{{$parent.$parent.usertitle}}编号</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 class="font_normal_body">{{$parent.$parent.usertitle}}名称</label>
20
+ <input style="width:60%" type="text" class="input_search"
21
+ v-model="model.f_user_name"
22
+ @keyup.enter="search"
23
+ placeholder='用户名称'
24
+ condition="f_user_name 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 class="font_normal_body">{{$parent.$parent.usertitle}}地址</label>
30
+ <input style="width:60%" type="text" class="input_search"
31
+ v-model="model.f_area" placeholder='地址'
32
+ condition="f_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 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
+ <!-- <res-select-group :initres="$parent.$parent.initres" :show-component="['company']" @re-res="$parent.$parent.getorg" v-ref:sel></res-select-group>-->
59
+
60
+ <div class="col-sm-2 form-group">
61
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
62
+ <right-tree @re-res="$parent.$parent.getorg"
63
+ :initresid='$parent.$parent.org'></right-tree>
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}用户类型</label>
67
+ <v-select style="width:60%" id="f_user_type"
68
+ v-model="model.f_user_type"
69
+ placeholder='用户类型'
70
+ @change="$parent.$parent.userTypeChange()"
71
+ :value.sync="model.f_user_type"
72
+ :options='$parent.$parent.usertypes'
73
+ condition="f_user_type = '{}'"
74
+ close-on-select>
75
+ </v-select>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">用气性质</label>
79
+ <v-select style="width:60%" id="f_gasproperties"
80
+ v-model="model.f_gasproperties"
81
+ placeholder='用气性质'
82
+ @keyup.enter="search"
83
+ :value.sync="model.f_gasproperties"
84
+ :options='$parent.$parent.gasproperties'
85
+ condition="f_gasproperties = '{}'"
86
+ close-on-select>
87
+ </v-select>
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label class="font_normal_body">气表品牌</label>
91
+ <v-select
92
+ placeholder='气表品牌'
93
+ :value.sync="model.f_meter_brand"
94
+ v-model="model.f_meter_brand"
95
+ :options='$parent.$parent.WarningType'
96
+ @change="$parent.$parent.getMeterType"
97
+ close-on-select
98
+ condition="f_meter_brand='{}'">
99
+ </v-select>
100
+ </div>
101
+ <div class="col-sm-2 form-group" >
102
+ <label class="font_normal_body">气表型号</label>
103
+ <v-select v-if="$parent.$parent.styles"
104
+ placeholder='气表型号'
105
+ :value.sync="model.f_meter_style"
106
+ v-model="model.f_meter_style"
107
+ :options='$parent.$parent.Warningstyle'
108
+ close-on-select
109
+ condition="f_meter_style='{}'">
110
+ </v-select>
111
+ <v-select v-if="!$parent.$parent.styles"
112
+ placeholder='气表型号'
113
+ :value.sync="model.f_meter_style"
114
+ v-model="model.f_meter_style"
115
+ :options='$parent.$parent.Warningstyles'
116
+ close-on-select
117
+ condition="f_meter_style='{}'">
118
+ </v-select>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}用户状态</label>
122
+ <v-select
123
+ placeholder='用户状态'
124
+ value-single="true"
125
+ style="width:60%"
126
+ :value.sync="model.f_user_state"
127
+ v-model="model.f_user_state"
128
+ :options='$parent.$parent.userstate'
129
+ close-on-select condition="f_user_state ='{}'">
130
+ </v-select>
131
+ </div>
132
+ <div class="col-sm-2 form-group">
133
+ <label class="font_normal_body">上报区间</label>
134
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
135
+ v-model="model.startDate"
136
+ :value.sync="model.startDate"
137
+ :disabled-days-of-Week="[]"
138
+ :format="'yyyy-MM-dd HH:mm:ss'"
139
+ condition="f_insert_date >= '{}'"
140
+ :show-reset-button="reset">
141
+ </datepicker>
142
+ </div>
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
145
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
146
+ v-model="model.endDate"
147
+ :value.sync="model.endDate"
148
+ :format="'yyyy-MM-dd HH:mm:ss'"
149
+ :disabled-days-of-Week="[]"
150
+ condition="f_insert_date <= '{}'"
151
+ :show-reset-button="reset">
152
+ </datepicker>
153
+ </div>
154
+ <div class="col-sm-2 form-group">
155
+ <label class="font_normal_body">异常级别</label>
156
+ <v-select style="width:60%"
157
+ v-model="model.f_error_level"
158
+ placeholder='异常级别'
159
+ @change="$parent.$parent.getErrorInfo('f_error_type')"
160
+ :value.sync="model.f_error_level"
161
+ :options='$parent.$parent.GetErrorLevel'
162
+ condition="f_error_level = '{}'"
163
+ close-on-select>
164
+ </v-select>
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label class="font_normal_body">异常类型</label>
168
+ <v-select style="width:60%"
169
+ v-model="model.f_error_type"
170
+ placeholder='异常类型'
171
+ :value.sync="model.f_error_type"
172
+ :options='$parent.$parent.GetErrorType'
173
+ condition="f_error_type = '{}'"
174
+ close-on-select>
175
+ </v-select>
176
+ </div>
177
+
178
+
179
+
180
+ </div>
181
+ </div>
182
+ </criteria>
183
+ <data-grid id="lostuserlist" :model="model" class="list_area table_sy" partial='list' v-ref:grid>
184
+ <template partial='head'>
185
+ <tr>
186
+ <th style="text-align:center">
187
+ <nobr>序号</nobr>
188
+ </th>
189
+ <th style="text-align:center">
190
+ <nobr>{{$parent.$parent.$parent.usertitle}}编号</nobr>
191
+ </th>
192
+ <th style="text-align:center">
193
+ <nobr>{{$parent.$parent.$parent.usertitle}}名称</nobr>
194
+ </th>
195
+ <th style="text-align:center">
196
+ <nobr>{{$parent.$parent.$parent.usertitle}}地址</nobr>
197
+ </th>
198
+ <th style="text-align:center">
199
+ <nobr>{{$parent.$parent.$parent.usertitle}}类型</nobr>
200
+ </th>
201
+ <th style="text-align:center">
202
+ <nobr>用气性质</nobr>
203
+ </th>
204
+ <th style="text-align:center">
205
+ <nobr>表号</nobr>
206
+ </th>
207
+ <th style="text-align:center">
208
+ <nobr>气表品牌</nobr>
209
+ </th>
210
+ <th style="text-align:center">
211
+ <nobr>异常时间</nobr>
212
+ </th>
213
+ <th style="text-align:center">
214
+ <nobr>异常类型</nobr>
215
+ </th>
216
+ <th style="text-align:center">
217
+ <nobr>异常级别</nobr>
218
+ </th>
219
+ <th style="text-align:center">
220
+ <nobr>异常描述</nobr>
221
+ </th>
222
+ <th style="text-align:center" >
223
+ <nobr>气表型号</nobr>
224
+ </th>
225
+ <th style="text-align:center" >
226
+ <nobr>{{$parent.$parent.$parent.usertitle}}状态</nobr>
227
+ </th>
228
+ <th style="text-align:center">
229
+ <nobr>组织机构</nobr>
230
+ </th>
231
+
232
+ </tr>
233
+
234
+ </template>
235
+ <template partial='body'>
236
+ <td style="text-align:center">
237
+ <nobr>{{$index+1}}</nobr>
238
+ </td>
239
+ <td style="text-align: center;"><nobr>
240
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
241
+ </nobr> </td>
242
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
243
+ <td>
244
+ <nobr>{{row.f_address}}</nobr>
245
+ </td>
246
+ <td style="text-align:center">{{row.f_user_type}}</td>
247
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
248
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
249
+ <td style="text-align:center">
250
+ <nobr>{{row.f_meter_brand}}</nobr>
251
+ </td>
252
+ <td style="text-align:center">
253
+ <nobr>{{row.f_insert_date}}</nobr>
254
+ </td>
255
+ <td style="text-align:center">
256
+ <nobr>{{row.f_error_type}}</nobr>
257
+ </td>
258
+ <td style="text-align:center">
259
+ <nobr>{{row.f_error_level}}</nobr>
260
+ </td>
261
+ <td style="text-align:center">
262
+ <nobr>{{row.f_error_msg}}</nobr>
263
+ </td>
264
+ <td style="text-align:center">
265
+ <nobr>{{row.f_meter_style}}</nobr>
266
+ </td>
267
+ <td style="text-align:center">
268
+ <nobr>{{row.f_user_state}}</nobr>
269
+ </td>
270
+ <td style="text-align:center">
271
+ <nobr>{{row.f_orgname}}</nobr>
272
+ </td>
273
+ </template>
274
+ </data-grid>
275
+ </criteria-paged>
276
+ </div>
277
+ <!--<div style="height: 40px;width: 100%;" v-show="echarts">
278
+ <div style="display: inline-block;width: 20%;">
279
+ <button class="button_search button_spacing" v-show="echarts" @click="notShowEcharts()">隐藏图表</button>
280
+ <button class="button_search button_spacing" v-show="isActiveTotalForm" @click="notShowTotalForm()">隐藏汇总</button>
281
+ </div>
282
+ &lt;!&ndash;图显示模板&ndash;&gt;
283
+ <div class="mystyle" style="display: inline-block;" >
284
+ <label class="font_normal_body">图表统计项</label>
285
+ <v-select style="width:60%" id="groupname" v-model="groupname"
286
+ placeholder='分组项'
287
+ value-single="true"
288
+ :value.sync="groupname"
289
+ :options='getgroupname'
290
+ close-on-select></v-select>
291
+ </div>
292
+ </div>
293
+ <div v-show="echarts" style="width: 100%;height: 90%;">
294
+ <new-exception-echarts :condition="condition" :startdate="startDate" :groupname="groupname[0]"
295
+ :enddate="endDate" :echarts="echarts"></new-exception-echarts>
296
+ </div>
297
+ <div v-show="isActiveTotalForm" style="width: 100%;height: 90%;">
298
+ <new-exception-eform-total :condition="condition" :startdate="startDate"
299
+ :enddate="endDate"></new-exception-eform-total>
300
+ </div>-->
301
+ <div v-if="echarts" style="width: 100%;height: 98%;">
302
+ <new-exception-echarts :condition="condition" :startdate="startDate" :groupname="groupname[0]"
303
+ :enddate="endDate" :echarts="echarts"></new-exception-echarts>
304
+ </div>
305
+ </div>
306
+ <div class="flex" v-if="showdetail">
307
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
308
+ </div>
309
+ </template>
310
+
311
+ <script>
312
+ import {HttpResetClass, PagedList} from 'vue-client'
313
+ import * as Util from '../../../Util'
314
+ import getLodop from '../.././../plugins/LodopFuncs'
315
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
316
+
317
+ let readySomething = async function (self) {
318
+ await self.$MagLoadParams.loadParam()
319
+ self.initParams()
320
+ self.getMeterTypeAndBrand('f_meter_brand', '1=1')
321
+ }
322
+ export default {
323
+ title: '异常分析',
324
+ props: ['data'],
325
+ data() {
326
+ return {
327
+ model: new PagedList('rs/sql/DrillErrorByUserinfo', 20),
328
+ reportStr: null,
329
+ show: false,
330
+ startDate: '',
331
+ endDate: '',
332
+ WarningType: [
333
+ {label: '全部', value: ''}
334
+ ],
335
+ Warningstyles: [
336
+ {label: '全部', value: ''}
337
+ ],
338
+ styles:false,
339
+ f_error_type:'',
340
+ groupname: ['day'],
341
+ getgroupname: [
342
+ {label: '年份', value: 'year'},
343
+ {label: '月份', value: 'month'},
344
+ {label: '周', value: 'week'},
345
+ {label: '日', value: 'day'}
346
+ ],
347
+ getfield:{
348
+ "f_userinfo_code":"用户编号", "f_user_name":"用户名称", "f_address":"用户地址","f_user_type":"用户类型","f_gasproperties":"用气性质",
349
+ "f_meternumber":"表号","f_meter_brand":"气表品牌","f_insert_date":"上报时间","f_error_level":"异常级别","f_error_type":"异常类型",
350
+ "f_error_msg":"异常描述","f_orgname":"组织机构"
351
+ },
352
+ usertitle: this.$appdata.getSingleValue('用户名称前缀') ? this.$appdata.getSingleValue('用户名称前缀') : '客户',
353
+ outlets: [],
354
+ operator: [],
355
+ gasproperties:[{label: '全部', value: ''}],
356
+ showdetail:false,
357
+ rowdata:{},
358
+ filename: '',
359
+ criteriaShow: false,
360
+ echarts: false,
361
+ searchshow: false,
362
+ isActiveTotalForm: false,
363
+ GetErrorLevel:[],
364
+ GetErrorType:[],
365
+ initres: {
366
+ org:[this.$login.f.orgid],
367
+ dep:[],
368
+ user:[]
369
+ },
370
+ condition: '1=1',
371
+ org:[this.$login.f.orgid],
372
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`
373
+ }
374
+ },
375
+ ready() {
376
+ readySomething(this)
377
+ this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-2).substring(0,10) + ' 00:00:00'
378
+ // this.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
379
+ this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
380
+ // console.log("type:"+this.$refs.paged.$refs.cri.model.f_error_type)
381
+ this.getErrorInfo('f_error_level')
382
+ // console.log("type:"+this.$refs.paged.$refs.cri.model.f_error_type)
383
+ this.$refs.paged.$refs.cri.search()
384
+
385
+ },
386
+ methods: {
387
+ getMeterType() {
388
+ this.Warningstyle = [{label: '全部', value: ''}]
389
+ this.styles = false
390
+ let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
391
+ this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
392
+ },
393
+ getMeterTypeAndBrand(groupname, condition) {
394
+ condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
395
+ let self = this
396
+ self.$refs.paged.$refs.cri.model.f_meter_style=''
397
+ let load = new HttpResetClass()
398
+ load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
399
+ data: {
400
+ condition: condition,
401
+ groupname: groupname
402
+ }
403
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
404
+ for (let i = 0; i < res.data.length; i++) {
405
+ if (groupname == 'f_meter_brand') {
406
+ self.WarningType.push({label: res.data[i].f_meter_brand, value:res.data[i].f_meter_brand})
407
+ console.log('气表品牌~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~')
408
+ console.log( self.WarningType)
409
+ } else if (groupname == 'f_meter_style') {
410
+ //气表类型
411
+ self.Warningstyle.push({label: res.data[i].f_meter_style, value:res.data[i].f_meter_style})
412
+ }
413
+ }
414
+ if (self.Warningstyle.length > 1) {
415
+ self.showMeterStyle()
416
+ }
417
+ })
418
+
419
+ },
420
+ showMeterStyle() {
421
+ this.styles = true
422
+ },
423
+ userTypeChange () {
424
+ this.gasproperties=[{label: '全部', value: ''}]
425
+ if(this.$refs.paged.$refs.cri.model !==null) {
426
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
427
+ if(this.$refs.paged.$refs.cri.model.f_user_type){
428
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type)
429
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
430
+ }
431
+ // this.gasproperties.push({label: '全部', value: ''})
432
+ }
433
+ },
434
+ showmsg(obj){
435
+ this.rowdata=obj
436
+ this.showdetail=true
437
+ },
438
+ cancel() {
439
+ this.showdetail = false
440
+ },
441
+ getRes(condition,obj) {
442
+ this.orgCondtionStr = condition
443
+ this.orgname = obj.orgnames[0]
444
+ this.depname = obj.depnames[0]
445
+ },
446
+ getorg(obj) {
447
+ if (obj.resids.length>0) {
448
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
449
+ }else
450
+ {
451
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
452
+ }
453
+ },
454
+ initParams () {
455
+ let arr = []
456
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
457
+ let temp = {}
458
+ if(item.value.f_meter_type==='物联网表'){
459
+ temp.label = item.label
460
+ temp.value = item.value.f_meter_brand
461
+ arr.push(temp )
462
+ }
463
+
464
+ })
465
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
466
+ },
467
+ hidden(){
468
+ this.criteriaShow = !this.criteriaShow
469
+ },
470
+ clickshow() {
471
+ this.searchshow = !this.searchshow
472
+ },
473
+ getErrorInfo(items){
474
+ let self = this
475
+ self.$refs.paged.$refs.cri.model.f_error_type=''
476
+ console.log("self.model.f_error_type=''",self.model.f_error_type)
477
+ let f_error_level=''
478
+ if (items!='f_error_level') {
479
+ if(this.$refs.paged.$refs.cri.model.f_error_level){
480
+ f_error_level=this.$refs.paged.$refs.cri.model.f_error_level[0]
481
+ }
482
+ }
483
+ let load = new HttpResetClass()
484
+ load.load('POST', 'rs/sql/singleTableParam', {
485
+ data: {
486
+ items:items+' f_type',
487
+ tablename:'t_exception',
488
+ condition:items=='f_error_level'?'1=1 group by '+items:`f_error_level='${f_error_level}' group by `+items
489
+ }
490
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
491
+ let rows=res.data
492
+ let array1=[]
493
+ array1.push({label: '全部', value: ''})
494
+ for (let i = 0; i < rows.length; i++) {
495
+ array1.push({label: rows[i].f_type,value: rows[i].f_type})
496
+ }
497
+ console.log("array1========",array1)
498
+ if (items=='f_error_level'){
499
+ self.GetErrorLevel=array1
500
+ }else {
501
+ self.GetErrorType=array1
502
+ }
503
+ })
504
+
505
+ },
506
+ search(args) {
507
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
508
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
509
+ this.f_error_type=this.$refs.paged.$refs.cri.model.f_error_type
510
+ console.log('1231321312312321')
511
+ /* if (this.endDate == '' || this.startDate == '') {
512
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
513
+ }*/
514
+ this.condition = this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
515
+
516
+ args.condition = this.condition
517
+ this.model.search(args.condition, args.model)
518
+ },
519
+ SaveAsFile(str) {
520
+ this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
521
+ if (res === 'confirm') {
522
+ let style = '<style>' +
523
+ 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
524
+ let strHtml = style + document.getElementById(str).innerHTML;
525
+ console.log(strHtml);
526
+ let LODOP = getLodop();
527
+ LODOP.PRINT_INIT('');
528
+ LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
529
+ LODOP.SAVE_TO_FILE('异常分析(表统计).xls')
530
+ }
531
+ })
532
+ },
533
+ clearmsg() {
534
+ this.$refs.paged.$refs.cri.model = {}
535
+ },
536
+ close() {
537
+ this.show = false
538
+ },
539
+ // 显示柱状图
540
+ showEcharts() {
541
+ this.echarts = true
542
+ this.isActiveTotalForm = false
543
+ },
544
+ notShowTotalForm() {
545
+ this.echarts = false
546
+ this.isActiveTotalForm = false
547
+ },
548
+ // 不显示柱状图
549
+ notShowEcharts() {
550
+ this.echarts = false
551
+ this.isActiveTotalForm = false
552
+ },
553
+ // 显示汇总数据表格
554
+ showTotalForm() {
555
+ this.echarts = false
556
+ this.isActiveTotalForm = true
557
+ }
558
+ },
559
+ watch: {
560
+ 'data'(val) {
561
+ if (val.f_files_path) {
562
+ this.getFileContent(val.f_files_path)
563
+ } else {
564
+ this.reportStr = null
565
+ }
566
+ }
567
+ },
568
+ computed: {
569
+ // usertypes () {
570
+ // return this.$appdate.getParams("用户类型")
571
+ // },
572
+ getCondition() {
573
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
574
+ return {
575
+ condition: condition ,
576
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
577
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
578
+ }
579
+
580
+ },
581
+ usertypes() {
582
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
583
+ },
584
+ userstate() {
585
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
586
+ }
587
+ }
588
+ }
589
+ </script>
590
+ <style>
591
+ .form-input-group label {
592
+ text-align: right;
593
+ width: auto;
594
+ }
595
+
596
+ .mystyle {
597
+ float: right;
598
+ padding-right: 10%;
599
+ }
600
+
601
+ .datapanel {
602
+ color: #333;
603
+ background-color: white;
604
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
605
+ padding: 10px 30px 10px 30px;
606
+ border-radius: 15px;
607
+ }
608
+ </style>
@@ -23,4 +23,24 @@ export default function () {
23
23
  Vue.component('user-query', (resolve) => { require(['./UserQuery'], resolve) })
24
24
  // 收费查询
25
25
  Vue.component('charge-query', (resolve) => { require(['./ChargeQuery'], resolve) })
26
+ // 过户查询
27
+ Vue.component('transfer-query', (resolve) => { require(['./TransferQuery'], resolve) })
28
+ // 冲正查询
29
+ Vue.component('reverse-query', (resolve) => { require(['./ReverseQuery'], resolve) })
30
+ // 启用查询
31
+ Vue.component('enable-query', (resolve) => { require(['./EnableQuery'], resolve) })
32
+ // 停用查询
33
+ Vue.component('disable-query', (resolve) => { require(['./DisableQuery'], resolve) })
34
+ // 销户查询
35
+ Vue.component('cancellation-query', (resolve) => { require(['./CancellationQuery'], resolve) })
36
+ // 表具查询
37
+ Vue.component('meter-query', (resolve) => { require(['./MeterQuery'], resolve) })
38
+ // 表具设备查询
39
+ Vue.component('equipment-query', (resolve) => { require(['./DeviceQuery'], resolve) })
40
+ // 档案变更查询
41
+ Vue.component('changeuser-query', (resolve) => { require(['./ChangeUserQuery'], resolve) })
42
+ // 用气查询
43
+ Vue.component('fmygas-query', (resolve) => { require(['./FMYGasQuery'], resolve) })
44
+ // 月用气查询
45
+ Vue.component('month-gas-query', (resolve) => { require(['./MonthGasQuery'], resolve) })
26
46
  }
@@ -9,4 +9,8 @@ export default function () {
9
9
  Vue.component('new-webmeter-user-gas-all', (resolve) => { require(['./UserGasAll.vue'], resolve) })
10
10
  // 失联查询
11
11
  Vue.component('user-gas-echarts', (resolve) => { require(['./UserGasEcharts.vue'], resolve) })
12
+
13
+ Vue.component('new-query-instruct', (resolve) => { require(['./NewQueryInstruct'], resolve) })
14
+ // 异常汇总分析
15
+ Vue.component('total-exception-by-meter', (resolve) => { require(['./newwebmeter/TotalExceptionByMeter'], resolve) })
12
16
  }
@@ -63,12 +63,12 @@
63
63
  condition="ss.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
64
64
  >
65
65
  </div>
66
- <div class="col-sm-2">
67
- <label class="font_normal_body">小区名称</label>
68
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_residential_area" placeholder='燃气证号'
69
- condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area' v-el:f_gascode
70
- >
71
- </div>
66
+ <!-- <div class="col-sm-2">-->
67
+ <!-- <label class="font_normal_body">小区名称</label>-->
68
+ <!-- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_residential_area" placeholder='燃气证号'-->
69
+ <!-- condition="ss.f_residential_area like '%{}%'" v-next-el='f_residential_area' v-el:f_gascode-->
70
+ <!-- >-->
71
+ <!-- </div>-->
72
72
  <div class="col-sm-2 form-group">
73
73
  <label class="font_normal_body">气价类型</label>
74
74
  <v-select :value.sync="model.pricetype" v-model="model.pricetype"