manage-client 1.22.46-ca → 1.22.47-ca
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/package.json +1 -1
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +1 -1
- package/src/components/webmeter/OperationMessage/OperationMessage.vue +3 -2
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +48 -41
- package/src/components/webmeter/newwebmeter/UserGasList.vue +1 -2
package/package.json
CHANGED
|
@@ -246,7 +246,7 @@ let readySomething = async function (self) {
|
|
|
246
246
|
self.initParams()
|
|
247
247
|
let year = new Date().getFullYear()
|
|
248
248
|
let month = new Date().getMonth()
|
|
249
|
-
self.$refs.paged.$refs.cri.model.startDate =
|
|
249
|
+
self.$refs.paged.$refs.cri.model.startDate = Util.toStartDate() + ' 00:00:00'
|
|
250
250
|
// self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() + ' 00:00:00'
|
|
251
251
|
self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
|
|
252
252
|
// self.$refs.paged.$refs.cri.search()
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
placeholder='是否绑定'
|
|
60
60
|
:value.sync="model.f_isopenaccount"
|
|
61
61
|
@change="$parent.$parent.changeIsOpen"
|
|
62
|
+
:value-single="true"
|
|
62
63
|
:options='$parent.$parent.f_isopenaccounts'
|
|
63
64
|
condition="f_isopenaccount = '{}'"
|
|
64
65
|
close-on-select>
|
|
@@ -233,8 +234,8 @@ export default {
|
|
|
233
234
|
},
|
|
234
235
|
methods: {
|
|
235
236
|
changeIsOpen(){
|
|
236
|
-
console.log(this.$refs.paged.$refs.cri.model.f_isopenaccount
|
|
237
|
-
if(this.$refs.paged.$refs.cri.model.f_isopenaccount
|
|
237
|
+
console.log(this.$refs.paged.$refs.cri.model.f_isopenaccount)
|
|
238
|
+
if(this.$refs.paged.$refs.cri.model.f_isopenaccount==='已绑定'){
|
|
238
239
|
this.f_buygas.push({ label: '已购气', value: '已购气' }, { label: '未购气', value: '未购气' })
|
|
239
240
|
console.log('~~~~~~~~~~~~~~~~~~~~~~~~')
|
|
240
241
|
console.log(this.f_buygas)
|
|
@@ -155,7 +155,6 @@
|
|
|
155
155
|
<v-select style="width:60%"
|
|
156
156
|
v-model="model.f_error_level"
|
|
157
157
|
placeholder='异常级别'
|
|
158
|
-
@change="$parent.$parent.getErrorInfo('f_error_type')"
|
|
159
158
|
:value.sync="model.f_error_level"
|
|
160
159
|
:options='$parent.$parent.GetErrorLevel'
|
|
161
160
|
condition="f_error_level = '{}'"
|
|
@@ -307,8 +306,7 @@ export default {
|
|
|
307
306
|
echarts: false,
|
|
308
307
|
searchshow: false,
|
|
309
308
|
isActiveTotalForm: false,
|
|
310
|
-
|
|
311
|
-
GetErrorType:[],
|
|
309
|
+
|
|
312
310
|
initres: {
|
|
313
311
|
org:[this.$login.f.orgid],
|
|
314
312
|
dep:[],
|
|
@@ -369,42 +367,42 @@ export default {
|
|
|
369
367
|
clickshow() {
|
|
370
368
|
this.searchshow = !this.searchshow
|
|
371
369
|
},
|
|
372
|
-
getErrorInfo(items){
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
},
|
|
370
|
+
// getErrorInfo(items){
|
|
371
|
+
// let self = this
|
|
372
|
+
// let f_error_level=''
|
|
373
|
+
// if (items!='f_error_level') {
|
|
374
|
+
// if(this.$refs.paged.$refs.cri.model.f_error_level){
|
|
375
|
+
// f_error_level=this.$refs.paged.$refs.cri.model.f_error_level[0]
|
|
376
|
+
// }
|
|
377
|
+
// }
|
|
378
|
+
// let load = new HttpResetClass()
|
|
379
|
+
// load.load('POST', '/manage/rs/sql/getExceptionType', {
|
|
380
|
+
// data: {
|
|
381
|
+
// items:items+' f_type',
|
|
382
|
+
// condition:items=='f_error_level'?'1=1 group by '+items:`f_error_level='${f_error_level}' group by `+items
|
|
383
|
+
// }
|
|
384
|
+
// },{warnMsg:null,resolveMsg:null}).then((res) => {
|
|
385
|
+
// let i = 0
|
|
386
|
+
// let rows=res.data
|
|
387
|
+
// let array1=[]
|
|
388
|
+
// array1.push({label: '全部', value: ''})
|
|
389
|
+
// console.log("rows========",rows)
|
|
390
|
+
// for (i = 0; i < rows.length; i++) {
|
|
391
|
+
// let dr = {label: '全部', value: ''}
|
|
392
|
+
// dr.label=rows[i].f_type
|
|
393
|
+
// dr.value=rows[i].f_type
|
|
394
|
+
// array1.push(dr)
|
|
395
|
+
// console.log("rows[i]========",rows[i],dr)
|
|
396
|
+
// }
|
|
397
|
+
// console.log("array1========",array1)
|
|
398
|
+
// if (items=='f_error_level'){
|
|
399
|
+
// self.GetErrorLevel=array1
|
|
400
|
+
// }else {
|
|
401
|
+
// self.GetErrorType=array1
|
|
402
|
+
// }
|
|
403
|
+
// })
|
|
404
|
+
//
|
|
405
|
+
// },
|
|
408
406
|
search(args) {
|
|
409
407
|
this.startDate = this.$refs.paged.$refs.cri.model.startDate
|
|
410
408
|
this.endDate = this.$refs.paged.$refs.cri.model.endDate
|
|
@@ -482,8 +480,17 @@ export default {
|
|
|
482
480
|
}
|
|
483
481
|
|
|
484
482
|
},
|
|
485
|
-
|
|
486
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('
|
|
483
|
+
GetErrorLevel() {
|
|
484
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('异常级别')]
|
|
485
|
+
},
|
|
486
|
+
GetErrorType() {
|
|
487
|
+
let type = this.$refs.paged.$refs.cri.model.f_error_level
|
|
488
|
+
if(type) {
|
|
489
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam(type)]
|
|
490
|
+
} else {
|
|
491
|
+
return [{label: '全部', value: ''}]
|
|
492
|
+
}
|
|
493
|
+
|
|
487
494
|
},
|
|
488
495
|
Gasproperties() {
|
|
489
496
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
@@ -193,8 +193,7 @@ export default {
|
|
|
193
193
|
endDate: '',
|
|
194
194
|
sumsmodel:{},
|
|
195
195
|
orgid:[this.$login.f.orgid],
|
|
196
|
-
getfield:{"f_insert_date":"上报日期",
|
|
197
|
-
"c0":"停用户数",
|
|
196
|
+
getfield:{"f_insert_date":"上报日期",
|
|
198
197
|
"c":"在用户数","user_bv":"用户使用率",
|
|
199
198
|
"c1":"抄表成功户数",
|
|
200
199
|
"f_gas_all":"总用气量","f_gas":"日均户均用气量(成功)",
|