manage-client 3.2.299-1 → 3.2.299

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.
@@ -1,585 +1,585 @@
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
-
149
- </div>
150
-
151
-
152
-
153
- <!--:top='40' :left='60' :right='40' :bottom='60'-->
154
- <!--:thead='"<th>序号</th>\n"+-->
155
- <!--"<th>档案编号</th>" +-->
156
- <!--" <th>档案标识</th>"+-->
157
- <!--"<th>客户名称</th>"+-->
158
- <!--"<th>表号</th"+-->
159
- <!--"<th>表具类型</th>"+-->
160
- <!--"<th>客户类型</th>"+-->
161
- <!--"<th>区域</th>"+-->
162
- <!--"<th>小区</th>"+-->
163
- <!--"<th>地址</th>"+-->
164
- <!--"<th>用气气量</th>"+-->
165
- <!--"<th>用气金额</th>"-->
166
- <!--+"<th>用气价格</th>"-->
167
- <!--+"<th>时间</th>"-->
168
- <!--+"<th>所属机构</th>"'-->
169
- <!--: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"]'>-->
170
- <!--</print-table>-->
171
- <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
172
- <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
173
- <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
174
- <!--sqlurl="rs/sql/getUserGas"></export-excel>-->
175
-
176
- </div>
177
- </criteria>
178
- <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
179
- <template partial='head'>
180
- <tr>
181
- <th style="text-align:center">
182
- <nobr>序号</nobr>
183
- </th>
184
-
185
- <!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>-->
186
-
187
- <th style="text-align:center">
188
- <nobr>客户编号</nobr>
189
- </th>
190
- <th style="text-align:center">
191
- <nobr>客户名称</nobr>
192
- </th>
193
- <th style="text-align:center">
194
- <nobr>客户地址</nobr>
195
- </th>
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
-
215
- <th style="text-align:center" >
216
- <nobr>初次上报日期</nobr>
217
- </th>
218
- <th style="text-align:center" >
219
- <nobr>最后上报日期</nobr>
220
- </th>
221
- <th style="text-align:center">
222
- <nobr>最后表读数</nobr>
223
- </th>
224
-
225
- <th style="text-align:center" >
226
- <nobr>失联天数</nobr>
227
- </th>
228
- <th style="text-align:center" >
229
- <nobr>气表厂家</nobr>
230
- </th>
231
- <th style="text-align:center" >
232
- <nobr>气表型号</nobr>
233
- </th>
234
- <th style="text-align:center" >
235
- <nobr>用户状态</nobr>
236
- </th>
237
- <th style="text-align:center" >
238
- <nobr>组织机构</nobr>
239
- </th>
240
- </tr>
241
-
242
- </template>
243
- <template partial='body'>
244
- <td style="text-align:center">{{$index+1}}</td>
245
- <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
246
-
247
-
248
- <td style="text-align: center;"><nobr>
249
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
250
- </nobr> </td>
251
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
252
- <td>
253
- <nobr>{{row.f_address}}</nobr>
254
- </td>
255
- <td style="text-align:center">{{row.f_user_type}}</td>
256
- <td style="text-align:center">{{row.f_gasproperties}}</td>
257
- <td style="text-align:center">{{row.f_user_phone}}</td>
258
- <td style="text-align:center">{{row.f_balance_amount}}</td>
259
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
260
- <td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
261
- <td style="text-align:center">
262
- <nobr>{{row.initinsertdate}}</nobr>
263
- </td> <td style="text-align:center">
264
- <nobr>{{row.lastinsertdate}}</nobr>
265
- </td>
266
- <td style="text-align:center">{{row.f_meter_base}}</td>
267
-
268
- <td style="text-align:center">
269
- <nobr>{{row.slday}}</nobr>
270
- </td>
271
- <td style="text-align:center">{{row.f_meter_brand}}</td>
272
- <td style="text-align:center">
273
- <nobr>{{row.f_meter_style}}</nobr>
274
- </td>
275
- <td style="text-align:center">
276
- <nobr>{{row.f_user_state}}</nobr>
277
- </td>
278
- <td style="text-align:center">
279
- <nobr>{{row.f_orgname}}</nobr>
280
- </td>
281
- <!--<td style="text-align:center">{{row.new_days}}</td>-->
282
- <!--<td style="text-align:center">{{row.f_state}}</td>-->
283
-
284
- </template>
285
- </data-grid>
286
- </criteria-paged>
287
-
288
- </div>
289
- <!-- <div class="flex-row" v-show="echarts" style="width: 100%;height: 90%;">-->
290
- <!-- <lost-contact-echarts :groupname="groupname[0]" :condition="condition"-->
291
- <!-- :echarts="echarts"></lost-contact-echarts>-->
292
- <!-- </div>-->
293
- <!--&lt;!&ndash; <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">&ndash;&gt;-->
294
- <!--&lt;!&ndash; <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>&ndash;&gt;-->
295
- <!--&lt;!&ndash; </div>&ndash;&gt;-->
296
- <!-- <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">-->
297
- <!-- <lost-contact-eform :condition="condition"-->
298
- <!-- ></lost-contact-eform>-->
299
- <!-- </div>-->
300
- </div>
301
- <div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
302
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
303
- </div>
304
- </template>
305
-
306
- <script>
307
- import {PagedList} from 'vue-client'
308
- import UserGasEcharts from './UserGasEcharts'
309
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
310
- import {HttpResetClass} from 'vue-client'
311
- let readySomething = async function (self) {
312
-
313
- await self.$MagLoadParams.loadParam()
314
- self.initParams()
315
- self.$refs.paged.$refs.cri.model.notappear='不包含'
316
- self.$refs.paged.$refs.cri.model.SLday1=10
317
- self.$refs.paged.$refs.cri.model.f_user_state='正常'
318
- self.$refs.paged.$refs.cri.search()
319
- }
320
- export default {
321
- title: '失联分析',
322
- props: ['data'],
323
- components: {UserGasEcharts},
324
-
325
- data() {
326
- return {
327
- model: new PagedList('rs/sql/webmeter_getUserLoseQuery', 20),
328
- getfield:{
329
- "f_userinfo_code":"客户编号","f_user_name":"客户名称",
330
- "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
331
- "f_meternumber":"表号",
332
- "f_user_phone":"联系电话",
333
- "f_balance_amount":"系统余额",
334
- "f_user_state":"用户状态",
335
- "f_startuse_date":"启用日期",
336
- "initinsertdate":"初次上报日期",
337
- "lastinsertdate":"最后上报日期",
338
- "f_meter_base":"最后表读数",
339
- "slday":"失联天数",
340
- "f_meter_brand":"气表厂家","f_orgname":"组织机构"},
341
- reportStr: null,
342
- show: false,
343
- showdetail:false,
344
- rowdata:{},
345
- criteriaShow:false,
346
- outlets: [],
347
- operator: [],
348
- filename: '',
349
- WarningType: [
350
- {label: '全部', value: ''}
351
- ],
352
- Warningstyles: [
353
- {label: '全部', value: ''}
354
- ],
355
- styles:false,
356
- org:[this.$login.f.orgid],
357
- orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
358
- echarts: false,
359
- searchshow: false,
360
- isActiveTotalForm: false,
361
- condition: '1=1',
362
- groupname: ['max_days_type'],
363
- getgroupname: [
364
- {label: '客户类型', value: 'f_user_type'},
365
- {label: '用气性质', value: 'f_gasproperties'},
366
- {label: '分公司', value: 'f_orgname'},
367
- {label: '最长失联天数', value: 'max_days_type'},
368
- ]
369
- }
370
- },
371
- ready() {
372
- readySomething(this)
373
- this.getMeterTypeAndBrand('f_meter_brand', '1=1')
374
- },
375
-
376
- methods: {
377
- getMeterType() {
378
- this.Warningstyle = [{label: '全部', value: ''}]
379
- this.styles = false
380
- let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
381
- this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
382
- },
383
- getMeterTypeAndBrand(groupname, condition) {
384
- condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
385
- let self = this
386
- let load = new HttpResetClass()
387
- load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
388
- data: {
389
- condition: condition,
390
- groupname: groupname
391
- }
392
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
393
- for (let i = 0; i < res.data.length; i++) {
394
- if (groupname == 'f_meter_brand') {
395
- let dr = {}
396
- dr.label = res.data[i].f_meter_brand
397
- dr.value = res.data[i].f_meter_brand
398
- //气表品牌
399
- self.WarningType.push(dr)
400
- } else if (groupname == 'f_meter_style') {
401
- self.Warningstyle= [
402
- {label: '全部', value: ''}
403
- ],
404
- self.$refs.paged.$refs.cri.model.f_meter_style=''
405
- let dr = {}
406
- dr.label = res.data[i].f_meter_style
407
- dr.value = res.data[i].f_meter_style
408
- //气表类型
409
- self.Warningstyle.push(dr)
410
- }
411
- }
412
- if (self.Warningstyle.length > 1) {
413
- self.showMeterStyle()
414
- }
415
- })
416
-
417
- },
418
- showMeterStyle() {
419
- this.styles = true
420
- },
421
- hidden(){
422
- this.criteriaShow = !this.criteriaShow
423
- },
424
- showmsg(obj){
425
- this.rowdata=obj
426
- this.showdetail=true
427
- },
428
- cancel() {
429
- this.showdetail = false
430
- },
431
- clickshow() {
432
- this.searchshow = !this.searchshow
433
- },
434
- search(args) {
435
- this.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
436
- args.condition = this.condition
437
- if(this.$refs.paged.$refs.cri.model.notappear) {
438
- if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
439
- args.condition = args.condition + " and initinsertdate <> '开户未上报'"
440
- }
441
- }
442
- this.model.search(args.condition, args.model)
443
- },
444
- getorg(obj) {
445
- if (obj.resids.length>0) {
446
- this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
447
- }else
448
- {
449
- this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
450
- }
451
- },
452
- // SaveAsFile(str) {
453
- // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
454
- // if (res === 'confirm') {
455
- // let style = '<style>' +
456
- // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
457
- // let strHtml = style + document.getElementById(str).innerHTML;
458
- // console.log(strHtml);
459
- // let LODOP = getLodop();
460
- // LODOP.PRINT_INIT('');
461
- // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
462
- // LODOP.SAVE_TO_FILE('失联分析.xls')
463
- // }
464
- // })
465
- // },
466
- clearmsg() {
467
- this.$refs.paged.$refs.cri.model = {}
468
- },
469
- close() {
470
- this.show = false
471
- },
472
- initParams () {
473
- let arr = []
474
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
475
- let temp = {}
476
- if(item.value.f_meter_type==='物联网表'){
477
- temp.label = item.label
478
- temp.value = item.value.f_meter_brand
479
- arr.push(temp )
480
- }
481
-
482
- })
483
- this.meterbrands = [{label: '全部', value: ''}, ...arr]
484
- },
485
- // 显示柱状图
486
- showEcharts() {
487
- this.echarts = true
488
- this.isActiveTotalForm = false
489
- },
490
- notShowTotalForm() {
491
- this.echarts = false
492
- this.isActiveTotalForm = false
493
- },
494
- // 不显示柱状图
495
- notShowEcharts() {
496
- this.echarts = false
497
- this.isActiveTotalForm = false
498
- },
499
- // 显示汇总数据表格
500
- showTotalForm() {
501
- this.echarts = false
502
- this.isActiveTotalForm = true
503
- }
504
- },
505
- watch: {
506
- 'data'(val) {
507
- if (val.f_files_path) {
508
- this.getFileContent(val.f_files_path)
509
- } else {
510
- this.reportStr = null
511
- }
512
- }
513
- },
514
- computed: {
515
- // usertypes () {
516
- // return this.$appdate.getParams("客户类型")
517
- // },
518
- getCondition() {
519
- let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
520
- if(this.$refs.paged.$refs.cri.model.notappear) {
521
- if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
522
- condition = condition + " and initinsertdate <> '开户未上报'"
523
- }
524
- }
525
- return {
526
-
527
- condition: condition
528
- }
529
- },
530
- usertypes() {
531
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
532
- },
533
- Gasproperties() {
534
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
535
- },
536
- f_outlets() {
537
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
538
- },
539
- valveStatus() {
540
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
541
- },
542
- not_appear(){
543
- return [{label: '包含', value: '包含'},{label: '不包含', value: '不包含'} ]
544
- },
545
- getstate() {
546
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
547
- },
548
- userstate() {
549
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
550
- }
551
- }
552
- }
553
- </script>
554
- <style>
555
- .form-input-group label {
556
- text-align: right;
557
- width: auto;
558
- }
559
-
560
- .mystyle {
561
- float: right;
562
- padding-right: 10%;
563
- }
564
-
565
- .mystyle1 {
566
- padding-top: 10px;
567
-
568
- }
569
-
570
- .mystyle2 {
571
- width: 100%;
572
- height: 35px;
573
- /*background: #00A3F0;*/
574
- padding-left: 15px;
575
- float: left;
576
- }
577
-
578
- .datapanel {
579
- color: #333;
580
- background-color: white;
581
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
582
- padding: 10px 30px 10px 30px;
583
- border-radius: 15px;
584
- }
585
- </style>
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
+
149
+ </div>
150
+
151
+
152
+
153
+ <!--:top='40' :left='60' :right='40' :bottom='60'-->
154
+ <!--:thead='"<th>序号</th>\n"+-->
155
+ <!--"<th>档案编号</th>" +-->
156
+ <!--" <th>档案标识</th>"+-->
157
+ <!--"<th>客户名称</th>"+-->
158
+ <!--"<th>表号</th"+-->
159
+ <!--"<th>表具类型</th>"+-->
160
+ <!--"<th>客户类型</th>"+-->
161
+ <!--"<th>区域</th>"+-->
162
+ <!--"<th>小区</th>"+-->
163
+ <!--"<th>地址</th>"+-->
164
+ <!--"<th>用气气量</th>"+-->
165
+ <!--"<th>用气金额</th>"-->
166
+ <!--+"<th>用气价格</th>"-->
167
+ <!--+"<th>时间</th>"-->
168
+ <!--+"<th>所属机构</th>"'-->
169
+ <!--: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"]'>-->
170
+ <!--</print-table>-->
171
+ <!--<export-excel :data="{orderitem: 'lastinputdate desc', condition: '1=1'}"-->
172
+ <!--:field="{f_username: '客户名称', f_meternumber: '表号',f_usertype:'客户类型',f_save_money:'剩余金额',-->
173
+ <!--f_operate_status:'状态',f_close_reason:'关阀原因',f_area:'区域',f_districtname:'小区', f_address: '地址',id:'档案编号',yytdepa:'所属机构'}"-->
174
+ <!--sqlurl="rs/sql/getUserGas"></export-excel>-->
175
+
176
+ </div>
177
+ </criteria>
178
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
179
+ <template partial='head'>
180
+ <tr>
181
+ <th style="text-align:center">
182
+ <nobr>序号</nobr>
183
+ </th>
184
+
185
+ <!--<th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>-->
186
+
187
+ <th style="text-align:center">
188
+ <nobr>客户编号</nobr>
189
+ </th>
190
+ <th style="text-align:center">
191
+ <nobr>客户名称</nobr>
192
+ </th>
193
+ <th style="text-align:center">
194
+ <nobr>客户地址</nobr>
195
+ </th>
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
+
215
+ <th style="text-align:center" >
216
+ <nobr>初次上报日期</nobr>
217
+ </th>
218
+ <th style="text-align:center" >
219
+ <nobr>最后上报日期</nobr>
220
+ </th>
221
+ <th style="text-align:center">
222
+ <nobr>最后表读数</nobr>
223
+ </th>
224
+
225
+ <th style="text-align:center" >
226
+ <nobr>失联天数</nobr>
227
+ </th>
228
+ <th style="text-align:center" >
229
+ <nobr>气表厂家</nobr>
230
+ </th>
231
+ <th style="text-align:center" >
232
+ <nobr>气表型号</nobr>
233
+ </th>
234
+ <th style="text-align:center" >
235
+ <nobr>用户状态</nobr>
236
+ </th>
237
+ <th style="text-align:center" >
238
+ <nobr>组织机构</nobr>
239
+ </th>
240
+ </tr>
241
+
242
+ </template>
243
+ <template partial='body'>
244
+ <td style="text-align:center">{{$index+1}}</td>
245
+ <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
246
+
247
+
248
+ <td style="text-align: center;"><nobr>
249
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
250
+ </nobr> </td>
251
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
252
+ <td>
253
+ <nobr>{{row.f_address}}</nobr>
254
+ </td>
255
+ <td style="text-align:center">{{row.f_user_type}}</td>
256
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
257
+ <td style="text-align:center">{{row.f_user_phone}}</td>
258
+ <td style="text-align:center">{{row.f_balance_amount}}</td>
259
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
260
+ <td style="text-align:center"><nobr>{{row.f_startuse_date}}</nobr></td>
261
+ <td style="text-align:center">
262
+ <nobr>{{row.initinsertdate}}</nobr>
263
+ </td> <td style="text-align:center">
264
+ <nobr>{{row.lastinsertdate}}</nobr>
265
+ </td>
266
+ <td style="text-align:center">{{row.f_meter_base}}</td>
267
+
268
+ <td style="text-align:center">
269
+ <nobr>{{row.slday}}</nobr>
270
+ </td>
271
+ <td style="text-align:center">{{row.f_meter_brand}}</td>
272
+ <td style="text-align:center">
273
+ <nobr>{{row.f_meter_style}}</nobr>
274
+ </td>
275
+ <td style="text-align:center">
276
+ <nobr>{{row.f_user_state}}</nobr>
277
+ </td>
278
+ <td style="text-align:center">
279
+ <nobr>{{row.f_orgname}}</nobr>
280
+ </td>
281
+ <!--<td style="text-align:center">{{row.new_days}}</td>-->
282
+ <!--<td style="text-align:center">{{row.f_state}}</td>-->
283
+
284
+ </template>
285
+ </data-grid>
286
+ </criteria-paged>
287
+
288
+ </div>
289
+ <!-- <div class="flex-row" v-show="echarts" style="width: 100%;height: 90%;">-->
290
+ <!-- <lost-contact-echarts :groupname="groupname[0]" :condition="condition"-->
291
+ <!-- :echarts="echarts"></lost-contact-echarts>-->
292
+ <!-- </div>-->
293
+ <!--&lt;!&ndash; <div v-show="isActiveTotalForm" style="height: 40px;width: 100%;">&ndash;&gt;-->
294
+ <!--&lt;!&ndash; <button class="button_search button_spacing" @click="notShowTotalForm()">隐藏汇总</button>&ndash;&gt;-->
295
+ <!--&lt;!&ndash; </div>&ndash;&gt;-->
296
+ <!-- <div class="span" v-show="isActiveTotalForm" style="width: 100%;height: 90%;">-->
297
+ <!-- <lost-contact-eform :condition="condition"-->
298
+ <!-- ></lost-contact-eform>-->
299
+ <!-- </div>-->
300
+ </div>
301
+ <div class="flex-row" style="width:99%;height:98%;margin-bottom:0px" v-if="showdetail">
302
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
303
+ </div>
304
+ </template>
305
+
306
+ <script>
307
+ import {PagedList} from 'vue-client'
308
+ import UserGasEcharts from './UserGasEcharts'
309
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
310
+ import {HttpResetClass} from 'vue-client'
311
+ let readySomething = async function (self) {
312
+
313
+ await self.$MagLoadParams.loadParam()
314
+ self.initParams()
315
+ self.$refs.paged.$refs.cri.model.notappear='不包含'
316
+ self.$refs.paged.$refs.cri.model.SLday1=10
317
+ self.$refs.paged.$refs.cri.model.f_user_state='正常'
318
+ self.$refs.paged.$refs.cri.search()
319
+ }
320
+ export default {
321
+ title: '失联分析',
322
+ props: ['data'],
323
+ components: {UserGasEcharts},
324
+
325
+ data() {
326
+ return {
327
+ model: new PagedList('rs/sql/webmeter_getUserLoseQuery', 20),
328
+ getfield:{
329
+ "f_userinfo_code":"客户编号","f_user_name":"客户名称",
330
+ "f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
331
+ "f_meternumber":"表号",
332
+ "f_user_phone":"联系电话",
333
+ "f_balance_amount":"系统余额",
334
+ "f_user_state":"用户状态",
335
+ "f_startuse_date":"启用日期",
336
+ "initinsertdate":"初次上报日期",
337
+ "lastinsertdate":"最后上报日期",
338
+ "f_meter_base":"最后表读数",
339
+ "slday":"失联天数",
340
+ "f_meter_brand":"气表厂家","f_orgname":"组织机构"},
341
+ reportStr: null,
342
+ show: false,
343
+ showdetail:false,
344
+ rowdata:{},
345
+ criteriaShow:false,
346
+ outlets: [],
347
+ operator: [],
348
+ filename: '',
349
+ WarningType: [
350
+ {label: '全部', value: ''}
351
+ ],
352
+ Warningstyles: [
353
+ {label: '全部', value: ''}
354
+ ],
355
+ styles:false,
356
+ org:[this.$login.f.orgid],
357
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
358
+ echarts: false,
359
+ searchshow: false,
360
+ isActiveTotalForm: false,
361
+ condition: '1=1',
362
+ groupname: ['max_days_type'],
363
+ getgroupname: [
364
+ {label: '客户类型', value: 'f_user_type'},
365
+ {label: '用气性质', value: 'f_gasproperties'},
366
+ {label: '分公司', value: 'f_orgname'},
367
+ {label: '最长失联天数', value: 'max_days_type'},
368
+ ]
369
+ }
370
+ },
371
+ ready() {
372
+ readySomething(this)
373
+ this.getMeterTypeAndBrand('f_meter_brand', '1=1')
374
+ },
375
+
376
+ methods: {
377
+ getMeterType() {
378
+ this.Warningstyle = [{label: '全部', value: ''}]
379
+ this.styles = false
380
+ let f_meter_brand = this.$refs.paged.$refs.cri.model.f_meter_brand
381
+ this.getMeterTypeAndBrand('f_meter_style', `f_meter_brand='${f_meter_brand}'`)
382
+ },
383
+ getMeterTypeAndBrand(groupname, condition) {
384
+ condition = `${condition} and ui.f_orgid like '${this.$login.f.orgid}%'`
385
+ let self = this
386
+ let load = new HttpResetClass()
387
+ load.load('POST', 'rs/sql/getMeterStyleAndBrand1', {
388
+ data: {
389
+ condition: condition,
390
+ groupname: groupname
391
+ }
392
+ }, {warnMsg: null, resolveMsg: null}).then((res) => {
393
+ for (let i = 0; i < res.data.length; i++) {
394
+ if (groupname == 'f_meter_brand') {
395
+ let dr = {}
396
+ dr.label = res.data[i].f_meter_brand
397
+ dr.value = res.data[i].f_meter_brand
398
+ //气表品牌
399
+ self.WarningType.push(dr)
400
+ } else if (groupname == 'f_meter_style') {
401
+ self.Warningstyle= [
402
+ {label: '全部', value: ''}
403
+ ],
404
+ self.$refs.paged.$refs.cri.model.f_meter_style=''
405
+ let dr = {}
406
+ dr.label = res.data[i].f_meter_style
407
+ dr.value = res.data[i].f_meter_style
408
+ //气表类型
409
+ self.Warningstyle.push(dr)
410
+ }
411
+ }
412
+ if (self.Warningstyle.length > 1) {
413
+ self.showMeterStyle()
414
+ }
415
+ })
416
+
417
+ },
418
+ showMeterStyle() {
419
+ this.styles = true
420
+ },
421
+ hidden(){
422
+ this.criteriaShow = !this.criteriaShow
423
+ },
424
+ showmsg(obj){
425
+ this.rowdata=obj
426
+ this.showdetail=true
427
+ },
428
+ cancel() {
429
+ this.showdetail = false
430
+ },
431
+ clickshow() {
432
+ this.searchshow = !this.searchshow
433
+ },
434
+ search(args) {
435
+ this.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
436
+ args.condition = this.condition
437
+ if(this.$refs.paged.$refs.cri.model.notappear) {
438
+ if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
439
+ args.condition = args.condition + " and initinsertdate <> '开户未上报'"
440
+ }
441
+ }
442
+ this.model.search(args.condition, args.model)
443
+ },
444
+ getorg(obj) {
445
+ if (obj.resids.length>0) {
446
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
447
+ }else
448
+ {
449
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
450
+ }
451
+ },
452
+ // SaveAsFile(str) {
453
+ // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
454
+ // if (res === 'confirm') {
455
+ // let style = '<style>' +
456
+ // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
457
+ // let strHtml = style + document.getElementById(str).innerHTML;
458
+ // console.log(strHtml);
459
+ // let LODOP = getLodop();
460
+ // LODOP.PRINT_INIT('');
461
+ // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
462
+ // LODOP.SAVE_TO_FILE('失联分析.xls')
463
+ // }
464
+ // })
465
+ // },
466
+ clearmsg() {
467
+ this.$refs.paged.$refs.cri.model = {}
468
+ },
469
+ close() {
470
+ this.show = false
471
+ },
472
+ initParams () {
473
+ let arr = []
474
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
475
+ let temp = {}
476
+ if(item.value.f_meter_type==='物联网表'){
477
+ temp.label = item.label
478
+ temp.value = item.value.f_meter_brand
479
+ arr.push(temp )
480
+ }
481
+
482
+ })
483
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
484
+ },
485
+ // 显示柱状图
486
+ showEcharts() {
487
+ this.echarts = true
488
+ this.isActiveTotalForm = false
489
+ },
490
+ notShowTotalForm() {
491
+ this.echarts = false
492
+ this.isActiveTotalForm = false
493
+ },
494
+ // 不显示柱状图
495
+ notShowEcharts() {
496
+ this.echarts = false
497
+ this.isActiveTotalForm = false
498
+ },
499
+ // 显示汇总数据表格
500
+ showTotalForm() {
501
+ this.echarts = false
502
+ this.isActiveTotalForm = true
503
+ }
504
+ },
505
+ watch: {
506
+ 'data'(val) {
507
+ if (val.f_files_path) {
508
+ this.getFileContent(val.f_files_path)
509
+ } else {
510
+ this.reportStr = null
511
+ }
512
+ }
513
+ },
514
+ computed: {
515
+ // usertypes () {
516
+ // return this.$appdate.getParams("客户类型")
517
+ // },
518
+ getCondition() {
519
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
520
+ if(this.$refs.paged.$refs.cri.model.notappear) {
521
+ if (this.$refs.paged.$refs.cri.model.notappear === '不包含') {
522
+ condition = condition + " and initinsertdate <> '开户未上报'"
523
+ }
524
+ }
525
+ return {
526
+
527
+ condition: condition
528
+ }
529
+ },
530
+ usertypes() {
531
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
532
+ },
533
+ Gasproperties() {
534
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
535
+ },
536
+ f_outlets() {
537
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('网点查询用')]
538
+ },
539
+ valveStatus() {
540
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
541
+ },
542
+ not_appear(){
543
+ return [{label: '包含', value: '包含'},{label: '不包含', value: '不包含'} ]
544
+ },
545
+ getstate() {
546
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('最新状态')]
547
+ },
548
+ userstate() {
549
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
550
+ }
551
+ }
552
+ }
553
+ </script>
554
+ <style>
555
+ .form-input-group label {
556
+ text-align: right;
557
+ width: auto;
558
+ }
559
+
560
+ .mystyle {
561
+ float: right;
562
+ padding-right: 10%;
563
+ }
564
+
565
+ .mystyle1 {
566
+ padding-top: 10px;
567
+
568
+ }
569
+
570
+ .mystyle2 {
571
+ width: 100%;
572
+ height: 35px;
573
+ /*background: #00A3F0;*/
574
+ padding-left: 15px;
575
+ float: left;
576
+ }
577
+
578
+ .datapanel {
579
+ color: #333;
580
+ background-color: white;
581
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
582
+ padding: 10px 30px 10px 30px;
583
+ border-radius: 15px;
584
+ }
585
+ </style>