manage-client 3.2.263 → 3.2.265

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 (33) hide show
  1. package/build/dev-server.js +180 -180
  2. package/package.json +111 -111
  3. package/src/filiale/kelai/ChargeQuery.vue +1341 -0
  4. package/src/filiale/kelai/sale.js +2 -1
  5. package/src/filiale/ningjin/CallReport/CallReportMainPage.vue +146 -0
  6. package/src/filiale/ningjin/CallReport/DropDownBox.vue +64 -0
  7. package/src/filiale/ningjin/CallReport/IncomingTelegram.vue +187 -0
  8. package/src/filiale/ningjin/CallReport/PercentageComplete.vue +413 -0
  9. package/src/filiale/ningjin/CallReport/PercentageCompleteEchart.vue +150 -0
  10. package/src/filiale/ningjin/CallReport/RateBottom.vue +143 -0
  11. package/src/filiale/ningjin/CallReport/RateTop.vue +144 -0
  12. package/src/filiale/ningjin/CallReport/ScrollContent.vue +143 -0
  13. package/src/filiale/ningjin/CallReport/ServiceStatus.vue +371 -0
  14. package/src/filiale/ningjin/CallReport/SwiperTools.vue +145 -0
  15. package/src/filiale/ningjin/CallReport/SwiperTools2.vue +176 -0
  16. package/src/filiale/ningjin/CallReport/Time.vue +100 -0
  17. package/src/filiale/ningjin/CallReport/Userinfo.vue +69 -0
  18. package/src/filiale/ningjin/CallReport/WeatherData.vue +108 -0
  19. package/src/filiale/ningjin/CallReport/WorkOrderPage.vue +260 -0
  20. package/src/filiale/ningjin/FillCardQuery.vue +581 -0
  21. package/src/filiale/ningjin/GasStatistics.vue +39 -20
  22. package/src/filiale/ningjin/LostContactAnalysisList.vue +676 -0
  23. package/src/filiale/ningjin/ManageBusSummaryPeng.vue +241 -0
  24. package/src/filiale/ningjin/ManageHandSellMoney.vue +247 -0
  25. package/src/filiale/ningjin/ManageSellType.vue +284 -0
  26. package/src/filiale/ningjin/MeterExceptionList.vue +54 -9
  27. package/src/filiale/ningjin/UserLostContactAnalysis.vue +592 -0
  28. package/src/filiale/ningjin/config/exportConfig.js +35 -34
  29. package/src/filiale/ningjin/reportManage.js +6 -1
  30. package/src/filiale/ningjin/sale.js +26 -0
  31. package/src/filiale/ningjin/webmeterManage.js +5 -1
  32. package/src/filiale/wenxi/GasDeviceQuery.vue +975 -0
  33. package/src/filiale/wenxi/sale.js +2 -0
@@ -0,0 +1,592 @@
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" novalidate partial>
7
+ <div class="row">
8
+ <!--<div class="form-group">-->
9
+ <!--<input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'-->
10
+ <!--condition="f_user_name = '{}'" v-next-el='userid' v-el:username-->
11
+ <!--:size="model.f_user_name ? model.f_user_name.length * 2 : 8">-->
12
+ <!--</div>-->
13
+
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body">客户编号</label>
16
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
17
+ v-model="model.f_userinfo_code" placeholder='客户编号'
18
+ condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
19
+ >
20
+ </div>
21
+ <div class="col-sm-2 form-group">
22
+ <label class="font_normal_body">客户名称</label>
23
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
24
+ v-model="model.f_user_name" placeholder='客户名称'
25
+ condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
26
+ >
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">客户地址</label>
30
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
31
+ placeholder='地址'
32
+ condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
33
+ >
34
+ </div>
35
+ <div class="col-sm-2 form-group">
36
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
37
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
38
+ v-model="model.f_meternumber" placeholder='表号'
39
+ condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
40
+ >
41
+ </div>
42
+
43
+ <div style="float:right">
44
+ <button class="button_search button_spacing" @click="search()">查询</button>
45
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
46
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
47
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
48
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_getUserLoseQuery" template-name='用户失联查询'
49
+ :choose-col="true"></export-excel>
50
+ <!-- <button class="button_export button_spacing" @click="$parent.$parent.SaveAsFile('lostuserlist')">导出</button>-->
51
+ <!-- <button class="button_export button_spacing" style="width: max-content" @click="$parent.$parent.showTotalForm()">显示汇总</button>-->
52
+ <!-- <button class="button_search button_spacing" @click="$parent.$parent.showEcharts()">显示图表</button>-->
53
+ <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>
54
+ </div>
55
+ </div>
56
+ <div class="row" v-show="$parent.$parent.criteriaShow">
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
59
+ <right-tree @re-res="$parent.$parent.getorg"
60
+ :initresid='$parent.$parent.org'></right-tree>
61
+ </div>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">客户类型</label>
64
+ <v-select style="width:60%" id="f_user_type"
65
+ v-model="model.f_user_type"
66
+ placeholder='客户类型'
67
+ :value.sync="model.f_user_type"
68
+ :options='$parent.$parent.usertypes'
69
+ condition="f_user_type = '{}'"
70
+ close-on-select>
71
+ </v-select>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">用气性质</label>
75
+ <v-select style="width:60%" id="f_gasproperties"
76
+ v-model="model.f_gasproperties"
77
+ placeholder='用气性质'
78
+ :value.sync="model.f_gasproperties"
79
+ :options='$parent.$parent.Gasproperties'
80
+ condition="f_gasproperties = '{}'"
81
+ close-on-select>
82
+ </v-select>
83
+ </div>
84
+ <div class="col-sm-2 form-group">
85
+ <label class="font_normal_body">气表品牌</label>
86
+ <v-select
87
+ placeholder='气表品牌'
88
+ :value.sync="model.f_meter_brand"
89
+ v-model="model.f_meter_brand"
90
+ :options='$parent.$parent.WarningType'
91
+ @change="$parent.$parent.getMeterType"
92
+ close-on-select
93
+ condition="f_meter_brand='{}'">
94
+ </v-select>
95
+ </div>
96
+ <div class="col-sm-2 form-group" >
97
+ <label class="font_normal_body">气表型号</label>
98
+ <v-select v-if="$parent.$parent.styles"
99
+ placeholder='气表型号'
100
+ :value.sync="model.f_meter_style"
101
+ v-model="model.f_meter_style"
102
+ :options='$parent.$parent.Warningstyle'
103
+ close-on-select
104
+ condition="f_meter_style='{}'">
105
+ </v-select>
106
+ <v-select v-if="!$parent.$parent.styles"
107
+ placeholder='气表型号'
108
+ :value.sync="model.f_meter_style"
109
+ v-model="model.f_meter_style"
110
+ :options='$parent.$parent.Warningstyles'
111
+ close-on-select
112
+ condition="f_meter_style='{}'">
113
+ </v-select>
114
+ </div>
115
+ <div class="col-sm-2 form-group">
116
+ <label class="font_normal_body">用户状态</label>
117
+ <v-select
118
+ placeholder='用户状态'
119
+ value-single
120
+ style="width:60%"
121
+ :value.sync="model.f_user_state"
122
+ v-model="model.f_user_state"
123
+ :options='$parent.$parent.userstate'
124
+ close-on-select condition="f_user_state ='{}'">
125
+ </v-select>
126
+ </div>
127
+ <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
128
+ <label class="font_normal_body">失联天数&nbsp;</label>
129
+ <div class="row">
130
+ <input type="text" style="width:27%" class="input_search" v-model="model.SLday1"
131
+ condition="SLday >= {} " placeholder="">
132
+ <label class="font_normal_body"> ≤ x ≤ </label>
133
+ <input type="text" style="width:27%" class="input_search" v-model="model.SLday2"
134
+ condition="SLday <= {} " placeholder="">
135
+ </div>
136
+ </div>
137
+ <div class="col-sm-2 form-group ">
138
+ <label for="contain_newfile" class="font_normal_body">开户未上报</label>
139
+ <v-select id="contain_newfile"
140
+ v-model="model.notappear"
141
+ style="width:60%"
142
+ :value.sync="model.notappear"
143
+ :options='$parent.$parent.not_appear'
144
+ :value-single="true"
145
+ close-on-select>
146
+ </v-select>
147
+ </div>
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">小区</label>
150
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_residential_area"
151
+ placeholder='请输入小区'
152
+ condition="f_residential_area like '%{}%'"
153
+ >
154
+ </div>
155
+
156
+ </div>
157
+
158
+
159
+
160
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
161
+ <!--:thead='"<th>序号</th>\n"+-->
162
+ <!--"<th>档案编号</th>" +-->
163
+ <!--" <th>档案标识</th>"+-->
164
+ <!--"<th>客户名称</th>"+-->
165
+ <!--"<th>表号</th"+-->
166
+ <!--"<th>表具类型</th>"+-->
167
+ <!--"<th>客户类型</th>"+-->
168
+ <!--"<th>区域</th>"+-->
169
+ <!--"<th>小区</th>"+-->
170
+ <!--"<th>地址</th>"+-->
171
+ <!--"<th>用气气量</th>"+-->
172
+ <!--"<th>用气金额</th>"-->
173
+ <!--+"<th>用气价格</th>"-->
174
+ <!--+"<th>时间</th>"-->
175
+ <!--+"<th>所属机构</th>"'-->
176
+ <!--:fields='["$index+1","f_username","f_meternumber","f_usertype","f_save_money","f_operate_status","f_close_reason","f_area","f_districtname","f_address","id","yytdepa"]'>-->
177
+ <!--</print-table>-->
178
+ <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
179
+ <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
180
+ <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
181
+ <!--sqlurl="rs/sql/getUserGas"></export-excel>-->
182
+
183
+ </div>
184
+ </criteria>
185
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
186
+ <template partial='head'>
187
+ <tr>
188
+ <th style="text-align:center">
189
+ <nobr>序号</nobr>
190
+ </th>
191
+
192
+ <!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>-->
193
+
194
+ <th style="text-align:center">
195
+ <nobr>客户编号</nobr>
196
+ </th>
197
+ <th style="text-align:center">
198
+ <nobr>客户名称</nobr>
199
+ </th>
200
+ <th style="text-align:center">
201
+ <nobr>客户地址</nobr>
202
+ </th>
203
+ <th style="text-align:center">
204
+ <nobr>客户类型</nobr>
205
+ </th>
206
+ <th style="text-align:center">
207
+ <nobr>用气性质</nobr>
208
+ </th>
209
+ <th style="text-align:center">
210
+ <nobr>联系电话</nobr>
211
+ </th>
212
+ <th style="text-align:center">
213
+ <nobr>系统金额</nobr>
214
+ </th>
215
+ <th style="text-align:center">
216
+ <nobr>表号</nobr>
217
+ </th>
218
+ <th style="text-align:center">
219
+ <nobr>启用日期</nobr>
220
+ </th>
221
+
222
+ <th style="text-align:center" >
223
+ <nobr>初次上报日期</nobr>
224
+ </th>
225
+ <th style="text-align:center" >
226
+ <nobr>最后上报日期</nobr>
227
+ </th>
228
+ <th style="text-align:center">
229
+ <nobr>最后表读数</nobr>
230
+ </th>
231
+
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
+ </tr>
248
+
249
+ </template>
250
+ <template partial='body'>
251
+ <td style="text-align:center">{{$index+1}}</td>
252
+ <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
253
+
254
+
255
+ <td style="text-align: center;"><nobr>
256
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
257
+ </nobr> </td>
258
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
259
+ <td>
260
+ <nobr>{{row.f_address}}</nobr>
261
+ </td>
262
+ <td style="text-align:center">{{row.f_user_type}}</td>
263
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
264
+ <td style="text-align:center">{{row.f_user_phone}}</td>
265
+ <td style="text-align:center">{{row.f_balance_amount}}</td>
266
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
267
+ <td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
268
+ <td style="text-align:center">
269
+ <nobr>{{row.initinsertdate}}</nobr>
270
+ </td> <td style="text-align:center">
271
+ <nobr>{{row.lastinsertdate}}</nobr>
272
+ </td>
273
+ <td style="text-align:center">{{row.f_meter_base}}</td>
274
+
275
+ <td style="text-align:center">
276
+ <nobr>{{row.slday}}</nobr>
277
+ </td>
278
+ <td style="text-align:center">{{row.f_meter_brand}}</td>
279
+ <td style="text-align:center">
280
+ <nobr>{{row.f_meter_style}}</nobr>
281
+ </td>
282
+ <td style="text-align:center">
283
+ <nobr>{{row.f_user_state}}</nobr>
284
+ </td>
285
+ <td style="text-align:center">
286
+ <nobr>{{row.f_orgname}}</nobr>
287
+ </td>
288
+ <!--<td style="text-align:center">{{row.new_days}}</td>-->
289
+ <!--<td style="text-align:center">{{row.f_state}}</td>-->
290
+
291
+ </template>
292
+ </data-grid>
293
+ </criteria-paged>
294
+
295
+ </div>
296
+ <!-- <div class="flex-row" v-show="echarts" style="width: 100%;height: 90%;">-->
297
+ <!-- <lost-contact-echarts :groupname="groupname[0]" :condition="condition"-->
298
+ <!-- :echarts="echarts"></lost-contact-echarts>-->
299
+ <!-- </div>-->
300
+ <!--&lt;!&ndash; <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">&ndash;&gt;-->
301
+ <!--&lt;!&ndash; <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>&ndash;&gt;-->
302
+ <!--&lt;!&ndash; </div>&ndash;&gt;-->
303
+ <!-- <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">-->
304
+ <!-- <lost-contact-eform :condition="condition"-->
305
+ <!-- ></lost-contact-eform>-->
306
+ <!-- </div>-->
307
+ </div>
308
+ <div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
309
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
310
+ </div>
311
+ </template>
312
+
313
+ <script>
314
+ import {PagedList} from 'vue-client'
315
+ import UserGasEcharts from '../../components/webmeter/DrillData/UserGasEcharts'
316
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
317
+ import {HttpResetClass} from 'vue-client'
318
+ let readySomething = async function (self) {
319
+
320
+ await self.$MagLoadParams.loadParam()
321
+ self.initParams()
322
+ self.$refs.paged.$refs.cri.model.notappear='不包含'
323
+ self.$refs.paged.$refs.cri.model.SLday1=10
324
+ self.$refs.paged.$refs.cri.model.f_user_state='正常'
325
+ self.$refs.paged.$refs.cri.search()
326
+ }
327
+ export default {
328
+ title: '失联分析',
329
+ props: ['data'],
330
+ components: {UserGasEcharts},
331
+
332
+ data() {
333
+ return {
334
+ model: new PagedList('rs/sql/webmeter_getUserLoseQuery', 20),
335
+ getfield:{
336
+ "f_userinfo_code":"客户编号","f_user_name":"客户名称","f_residential_area":"小区",
337
+ "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
338
+ "f_meternumber":"表号",
339
+ "f_user_phone":"联系电话",
340
+ "f_balance_amount":"系统余额",
341
+
342
+ "f_startuse_date":"启用日期",
343
+ "initinsertdate":"初次上报日期",
344
+ "lastinsertdate":"最后上报日期",
345
+ "f_meter_base":"最后表读数",
346
+ "slday":"失联天数",
347
+ "f_meter_brand":"气表厂家","f_orgname":"组织机构"},
348
+ reportStr: null,
349
+ show: false,
350
+ showdetail:false,
351
+ rowdata:{},
352
+ criteriaShow:false,
353
+ outlets: [],
354
+ operator: [],
355
+ filename: '',
356
+ WarningType: [
357
+ {label: '全部', value: ''}
358
+ ],
359
+ Warningstyles: [
360
+ {label: '全部', value: ''}
361
+ ],
362
+ styles:false,
363
+ org:[this.$login.f.orgid],
364
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
365
+ echarts: false,
366
+ searchshow: false,
367
+ isActiveTotalForm: false,
368
+ condition: '1=1',
369
+ groupname: ['max_days_type'],
370
+ getgroupname: [
371
+ {label: '客户类型', value: 'f_user_type'},
372
+ {label: '用气性质', value: 'f_gasproperties'},
373
+ {label: '分公司', value: 'f_orgname'},
374
+ {label: '最长失联天数', value: 'max_days_type'},
375
+ ]
376
+ }
377
+ },
378
+ ready() {
379
+ readySomething(this)
380
+ this.getMeterTypeAndBrand('f_meter_brand', '1=1')
381
+ },
382
+
383
+ methods: {
384
+ getMeterType() {
385
+ this.Warningstyle = [{label: '全部', value: ''}]
386
+ this.styles = false
387
+ let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
388
+ this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
389
+ },
390
+ getMeterTypeAndBrand(groupname, condition) {
391
+ condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
392
+ let self = this
393
+ let load = new HttpResetClass()
394
+ load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
395
+ data: {
396
+ condition: condition,
397
+ groupname: groupname
398
+ }
399
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
400
+ for (let i = 0; i < res.data.length; i++) {
401
+ if (groupname == 'f_meter_brand') {
402
+ let dr = {}
403
+ dr.label = res.data[i].f_meter_brand
404
+ dr.value = res.data[i].f_meter_brand
405
+ //气表品牌
406
+ self.WarningType.push(dr)
407
+ } else if (groupname == 'f_meter_style') {
408
+ self.Warningstyle= [
409
+ {label: '全部', value: ''}
410
+ ],
411
+ self.$refs.paged.$refs.cri.model.f_meter_style=''
412
+ let dr = {}
413
+ dr.label = res.data[i].f_meter_style
414
+ dr.value = res.data[i].f_meter_style
415
+ //气表类型
416
+ self.Warningstyle.push(dr)
417
+ }
418
+ }
419
+ if (self.Warningstyle.length > 1) {
420
+ self.showMeterStyle()
421
+ }
422
+ })
423
+
424
+ },
425
+ showMeterStyle() {
426
+ this.styles = true
427
+ },
428
+ hidden(){
429
+ this.criteriaShow = !this.criteriaShow
430
+ },
431
+ showmsg(obj){
432
+ this.rowdata=obj
433
+ this.showdetail=true
434
+ },
435
+ cancel() {
436
+ this.showdetail = false
437
+ },
438
+ clickshow() {
439
+ this.searchshow = !this.searchshow
440
+ },
441
+ search(args) {
442
+ this.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
443
+ args.condition = this.condition
444
+ if(this.$refs.paged.$refs.cri.model.notappear) {
445
+ if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
446
+ args.condition = args.condition + " and initinsertdate <> '开户未上报'"
447
+ }
448
+ }
449
+ this.model.search(args.condition, args.model)
450
+ },
451
+ getorg(obj) {
452
+ if (obj.resids.length>0) {
453
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
454
+ }else
455
+ {
456
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
457
+ }
458
+ },
459
+ // SaveAsFile(str) {
460
+ // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
461
+ // if (res === 'confirm') {
462
+ // let style = '<style>' +
463
+ // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
464
+ // let strHtml = style + document.getElementById(str).innerHTML;
465
+ // console.log(strHtml);
466
+ // let LODOP = getLodop();
467
+ // LODOP.PRINT_INIT('');
468
+ // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
469
+ // LODOP.SAVE_TO_FILE('失联分析.xls')
470
+ // }
471
+ // })
472
+ // },
473
+ clearmsg() {
474
+ this.$refs.paged.$refs.cri.model = {}
475
+ },
476
+ close() {
477
+ this.show = false
478
+ },
479
+ initParams () {
480
+ let arr = []
481
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
482
+ let temp = {}
483
+ if(item.value.f_meter_type==='物联网表'){
484
+ temp.label = item.label
485
+ temp.value = item.value.f_meter_brand
486
+ arr.push(temp )
487
+ }
488
+
489
+ })
490
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
491
+ },
492
+ // 显示柱状图
493
+ showEcharts() {
494
+ this.echarts = true
495
+ this.isActiveTotalForm = false
496
+ },
497
+ notShowTotalForm() {
498
+ this.echarts = false
499
+ this.isActiveTotalForm = false
500
+ },
501
+ // 不显示柱状图
502
+ notShowEcharts() {
503
+ this.echarts = false
504
+ this.isActiveTotalForm = false
505
+ },
506
+ // 显示汇总数据表格
507
+ showTotalForm() {
508
+ this.echarts = false
509
+ this.isActiveTotalForm = true
510
+ }
511
+ },
512
+ watch: {
513
+ 'data'(val) {
514
+ if (val.f_files_path) {
515
+ this.getFileContent(val.f_files_path)
516
+ } else {
517
+ this.reportStr = null
518
+ }
519
+ }
520
+ },
521
+ computed: {
522
+ // usertypes () {
523
+ // return this.$appdate.getParams("客户类型")
524
+ // },
525
+ getCondition() {
526
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
527
+ if(this.$refs.paged.$refs.cri.model.notappear) {
528
+ if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
529
+ condition = condition + " and initinsertdate <> '开户未上报'"
530
+ }
531
+ }
532
+ return {
533
+
534
+ condition: condition
535
+ }
536
+ },
537
+ usertypes() {
538
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
539
+ },
540
+ Gasproperties() {
541
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
542
+ },
543
+ f_outlets() {
544
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
545
+ },
546
+ valveStatus() {
547
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
548
+ },
549
+ not_appear(){
550
+ return [{label: '包含', value: '包含'},{label: '不包含', value: '不包含'} ]
551
+ },
552
+ getstate() {
553
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
554
+ },
555
+ userstate() {
556
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
557
+ }
558
+ }
559
+ }
560
+ </script>
561
+ <style>
562
+ .form-input-group label {
563
+ text-align: right;
564
+ width: auto;
565
+ }
566
+
567
+ .mystyle {
568
+ float: right;
569
+ padding-right: 10%;
570
+ }
571
+
572
+ .mystyle1 {
573
+ padding-top: 10px;
574
+
575
+ }
576
+
577
+ .mystyle2 {
578
+ width: 100%;
579
+ height: 35px;
580
+ /*background: #00A3F0;*/
581
+ padding-left: 15px;
582
+ float: left;
583
+ }
584
+
585
+ .datapanel {
586
+ color: #333;
587
+ background-color: white;
588
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
589
+ padding: 10px 30px 10px 30px;
590
+ border-radius: 15px;
591
+ }
592
+ </style>