manage-client 3.2.52-aode → 3.2.53-aode

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 (68) hide show
  1. package/build/dev-server.js +6 -6
  2. package/client.iml +14 -14
  3. package/package.json +1 -1
  4. package/src/Util.js +383 -383
  5. package/src/components/MeterManage/MeterList.vue +336 -336
  6. package/src/components/WebReport/UserGasAll.vue +214 -214
  7. package/src/components/sale/businessquery/ChangeMeterQuery.vue +627 -627
  8. package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
  9. package/src/components/sale/businessquery/DeductionGas.vue +149 -149
  10. package/src/components/sale/businessquery/DisableQuery.vue +315 -315
  11. package/src/components/sale/businessquery/EnableQuery.vue +315 -315
  12. package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
  13. package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
  14. package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
  15. package/src/components/sale/businessquery/InspectListGas.vue +453 -453
  16. package/src/components/sale/businessquery/NewAccountQuery.vue +506 -506
  17. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
  18. package/src/components/sale/businessquery/QueryUserState.vue +313 -313
  19. package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
  20. package/src/components/sale/businessquery/TransferQuery.vue +363 -363
  21. package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
  22. package/src/components/sale/config/exportConfig.js +1 -1
  23. package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
  24. package/src/components/sale/filesquery/MeterQuery.vue +593 -593
  25. package/src/components/sale/filesquery/UserQuery.vue +556 -556
  26. package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
  27. package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
  28. package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
  29. package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
  30. package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
  31. package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
  32. package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
  33. package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
  34. package/src/components/sale/report/aode/DayReportList.vue +516 -516
  35. package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
  36. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
  37. package/src/components/sale/report/aode/YearByUserType.vue +342 -342
  38. package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
  39. package/src/components/sale/report/aode/iot/ReportQuery.vue +344 -344
  40. package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
  41. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +408 -408
  42. package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
  43. package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
  44. package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -392
  45. package/src/components/webmeter/ArreasuserQuery.vue +193 -193
  46. package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
  47. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +530 -530
  48. package/src/components/webmeter/DrillData/NewUserGasAll.vue +560 -560
  49. package/src/components/webmeter/DrillData/UserGasAll.vue +515 -507
  50. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +488 -488
  51. package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
  52. package/src/components/webmeter/IOTArrears/arrears.vue +324 -324
  53. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +377 -377
  54. package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
  55. package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
  56. package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
  57. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
  58. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  59. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  60. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  61. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
  62. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
  63. package/src/components/webmeter/newwebmeter/UserGasList.vue +293 -293
  64. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
  65. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
  66. package/src/components/webmeter/report/ReportList.vue +211 -211
  67. package/src/main.js +56 -56
  68. package/src/saleManage.js +256 -256
@@ -1,507 +1,515 @@
1
- <template>
2
- <div class="flex-row" id="unit" v-show="(!echarts)&&(!isActiveTotalForm)">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex">
5
- <div class="flex" style="flex:1;">
6
- <criteria-paged :model="model" :pager='true' v-ref:paged>
7
- <criteria @condition-changed='$parent.search' partial='criteria' v-ref:cri>
8
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
- <div class="row" width="100%">
10
- <div class="col-sm-2 form-group">
11
- <label class="font_normal_body">组织机构</label>
12
- <res-select :initresid="$parent.$parent.orgid"
13
- style="width:60%"
14
- @res-select="$parent.$parent.getRes"
15
- restype='organization'>
16
- </res-select>
17
- </div>
18
- <div class="col-sm-2 form-group">
19
- <label class="font_normal_body">客户编号</label>
20
- <input style="width:60%" class="input_search" condition="f_userinfo_code like '{}%'" placeholder='客户编号' type="text"
21
- v-el:meternumber v-model="model.f_userinfo_code" v-next-el='f_userinfo_code'
22
- >
23
- </div>
24
- <div class="col-sm-2 form-group">
25
- <label class="font_normal_body">客户名称</label>
26
- <input style="width:60%" class="input_search" condition="f_user_name like '%{}%'" placeholder='客户名称' type="text"
27
- v-el:username v-model="model.f_username" v-next-el='userid'>
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label class="font_normal_body">表&emsp;&emsp;号</label>
31
- <input style="width:60%" class="input_search" condition="f_meternumber = '{}'" placeholder='表号' type="text"
32
- v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
33
- >
34
- </div>
35
-
36
- <div class="col-sm-4 form-group button-range">
37
- <button @click="search()" class="button_search button_spacing">查询</button>
38
- <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
39
-
40
- <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>
41
- <easy-excel-export :data="$parent.$parent.getCondition"
42
- :defaultselect="$parent.$parent.selectfields"
43
- :field="$parent.$parent.getfield"
44
- :exportprogress="true" v-ref:exports
45
- sqlurl="rs/easyexcel/export" sql-name="webmeter_getUserGasList" :template-name="$parent.$parent.getName"
46
- :choose-col="true">
47
- </easy-excel-export>
48
- </div>
49
- </div>
50
- <div class="row" >
51
-
52
- <div class="col-sm-2 form-group">
53
- <label class="font_normal_body">用气地址</label>
54
- <input style="width:60%" class="input_search" condition="f_address like '%{}%'" placeholder='用气地址' type="text"
55
- v-el:area v-el:xq v-model="model.f_address" v-next-el='address'
56
- >
57
- </div>
58
- <div class="col-sm-2 form-group">
59
- <label class="font_normal_body">小区名称</label>
60
- <input style="width:60%" class="input_search" placeholder='小区名称' type="text"
61
- v-el:area v-el:xq v-model="model.f_residential_area" v-next-el='f_residential_area'
62
- >
63
- </div>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">客户类型</label>
66
- <v-select :options='$parent.$parent.Gasusertype'
67
- :value.sync="model.f_user_type"
68
- close-on-select
69
- style="width:60%"
70
- condition="f_user_type = '{}'"
71
- id="f_user_type"
72
- placeholder='客户类型'
73
- v-model="model.f_user_type"
74
- value-single="true">
75
- </v-select>
76
- </div>
77
- <div class="col-sm-2 form-group">
78
- <label class="font_normal_body">用气性质</label>
79
- <v-select :options='$parent.$parent.Gasproperties'
80
- :value.sync="model.f_gasproperties"
81
- close-on-select
82
- condition="f_gasproperties = '{}'"
83
- id="f_gasproperties"
84
- placeholder='用气性质'
85
- style="width:60%"
86
- v-model="model.f_gasproperties"
87
- value-single="true">
88
- </v-select>
89
- </div>
90
- <div class="col-sm-2 form-group">
91
- <label class="font_normal_body">气表品牌</label>
92
- <v-select :value.sync="model.f_meter_brand"
93
- v-model="model.f_meter_brand"
94
- :options='$parent.$parent.meterbrands' placeholder='请选择'
95
- condition="f_meter_brand = '{}'"
96
- close-on-select></v-select>
97
- </div>
98
- <div class="col-sm-2 form-group">
99
- <label for="inputStartDate" class="font_normal_body">结算日期</label>
100
- <datepicker id="inputStartDate" placeholder="结算日期" style="width:60%"
101
- v-model="model.inputStartDate"
102
- :value.sync="model.inputStartDate"
103
- :format="'yyyy-MM-dd HH:mm:ss'"
104
- placeholder="结算起始日期"
105
- :show-reset-button="true"
106
- >
107
- </datepicker>
108
- </div>
109
- <div class="col-sm-2 form-group">
110
- <label for="inputEndDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
111
- <datepicker id="inputEndDate" placeholder="结算日期" style="width:60%"
112
- v-model="model.inputEndDate"
113
- :value.sync="model.inputEndDate"
114
- :format="'yyyy-MM-dd HH:mm:ss'"
115
- placeholder="结算结束日期"
116
- :show-reset-button="true"
117
- >
118
- </datepicker>
119
- </div>
120
- <div class="col-sm-2 form-group">
121
- <label class="font_normal_body">上报时间</label>
122
- <datepicker :disabled-days-of-Week="[]" :format="'yyyy-MM-dd HH:mm:ss'"
123
- :show-reset-button="reset"
124
- :value.sync="model.startHandDate"
125
- id="startDate"
126
- style="width:60%"
127
- placeholder="上报开始时间"
128
- v-model="model.startHandDate">
129
- </datepicker>
130
- </div>
131
- <div class="col-sm-2 form-group">
132
- <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
133
- <datepicker :disabled-days-of-Week="[]" :format="'yyyy-MM-dd HH:mm:ss'"
134
- :show-reset-button="reset"
135
- :value.sync="model.endHandDate"
136
- style="width:60%"
137
- id="endDate"
138
- placeholder="上报结束日期"
139
- v-model="model.endHandDate">
140
- </datepicker>
141
- </div>
142
- </div>
143
- </div>
144
-
145
- </criteria>
146
- <data-grid :model="model" id="usergasall" partial='list' class="list_area table_sy" v-ref:grid>
147
- <template partial='head'>
148
- <tr>
149
- <th style="text-align:center">
150
- <nobr>客户编号</nobr>
151
- </th>
152
- <th style="text-align:center">
153
- <nobr>客户类型</nobr>
154
- </th>
155
- <th style="text-align:center">
156
- <nobr>用气性质</nobr>
157
- </th>
158
- <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
159
- <th style="text-align:center">
160
- <nobr>客户名称</nobr>
161
- </th>
162
- <th style="text-align:center">
163
- <nobr>用气地址</nobr>
164
- </th>
165
- <th style="text-align:center">
166
- <nobr>气表品牌</nobr>
167
- </th>
168
- <th style="text-align:center">
169
- <nobr>起始时间~终止时间</nobr>
170
- </th>
171
- <!-- <th style="text-align:center">-->
172
- <!-- <nobr>终止时间</nobr>-->
173
- <!-- </th>-->
174
- <th style="text-align:center">
175
- <nobr>表号</nobr>
176
- </th>
177
- <th style="text-align:center">
178
- <nobr>期初余额(元)</nobr>
179
- </th>
180
- <th style="text-align:center">
181
- <nobr>上期底数</nobr>
182
- </th>
183
- <th style="text-align:center">
184
- <nobr>本期底数</nobr>
185
- </th>
186
- <!-- <th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
187
- <th style="text-align:center">
188
- <nobr>用气量(m³)</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
- </tr>
203
-
204
-
205
- </template>
206
- <template partial='body'>
207
- <td>{{row.f_userinfo_code}}</td>
208
- <td style="text-align:center">{{row.f_user_type}}</td>
209
- <td style="text-align:center">{{row.f_gasproperties}}</td>
210
- <!--<td style="text-align:center">{{row.f_gasproperties2}}</td>-->
211
- <td style="text-align:center">
212
- <nobr>{{row.f_user_name}}</nobr>
213
- </td>
214
- <td>
215
- <nobr>{{row.f_address}}</nobr>
216
- </td>
217
- <td>
218
- <nobr>{{row.f_meter_brand}}</nobr>
219
- </td>
220
- <td>
221
- <nobr>{{row.f_hand_date}}</nobr>
222
- </td>
223
- <!-- <td>-->
224
- <!-- <nobr>{{row.f_end_hand_date}}</nobr>-->
225
- <!-- </td>-->
226
- <td>{{row.f_meternumber}}</td>
227
- <td style="text-align:center">{{row.f_balance}}</td>
228
- <td style="text-align:center">{{row.f_last_tablebase}}</td>
229
- <td style="text-align:center">{{row.f_tablebase}}</td>
230
- <!--<td style="text-align:center">{{row.f_avg_price}}</td>-->
231
- <td style="text-align:center">{{row.f_oughtamount}}</td>
232
- <td style="text-align:center">{{row.f_oughtfee}}</td>
233
- <!-- <td style="text-align:center">{{row.f_collection}}</td>-->
234
- <td style="text-align:center">{{row.f_curbalance}}</td>
235
- <td style="text-align:center">{{row.f_organization_name}}</td>
236
- </template>
237
- <template partial='foot'>
238
- <td style="text-align: center;background-color: mistyrose"><nobr>合计:</nobr></td>
239
- <td style="text-align: center;background-color: mistyrose"><nobr>总户数:</nobr></td>
240
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.count}}</nobr></td>
241
- <td style="text-align: center;background-color: mistyrose"><nobr>总用气量:</nobr></td>
242
- <td style="text-align: center;background-color: mistyrose"><nobr> {{model.sums.f_oughtamount}}</nobr></td>
243
- <td style="text-align: center;background-color: mistyrose"><nobr>总用气金额</nobr></td>
244
- <td style="text-align: center;background-color: mistyrose"><nobr> {{model.sums.f_oughtfee}}</nobr></td>
245
- </template>
246
- </data-grid>
247
- </criteria-paged>
248
- </div>
249
- </div>
250
- </div>
251
- <!-- <div v-show="echarts">-->
252
- <!-- <user-gas-echarts :condition="condition" :echarts="echarts" :enddate="endDate"-->
253
- <!-- :groupname="groupname[0]" :startdate="startDate"></user-gas-echarts>-->
254
- <!-- </div>-->
255
- <!--汇总表显示模板-->
256
- <div v-show="isActiveTotalForm" style="height:100%">
257
- <!-- <user-gas-eform :condition="condition"></user-gas-eform>-->
258
- </div>
259
- </template>
260
-
261
- <script>
262
- import {PagedList} from 'vue-client'
263
- import UserGasEcharts from './UserGasEcharts'
264
- import * as Util from '../../../Util'
265
- import getLodop from '../../../plugins/LodopFuncs'
266
- import plugins from '../../../plugins/GetLoginInfoService'
267
- import exportConfig from "../../sale/config/exportConfig";
268
- let readySomething = async function (self) {
269
- await self.$MagLoadParams.loadParam()
270
- self.initParams()
271
- }
272
- export default {
273
- title: '用气分析',
274
- props: ['data'],
275
- components: {UserGasEcharts},
276
- data() {
277
- return {
278
- other:[],
279
- footer:[],
280
- sumName: [],
281
- model: new PagedList('rs/sql/webmeter_getUserGasList', 20,{startHandDate: 'this.model.startHandDate', endHandDate: 'this.model.endHandDate',startDate: 'this.model.inputStartDate', endDate: 'this.model.inputEndDate'},{f_oughtfee:0,f_oughtamount:0}),
282
- getGroupNameByDate: [
283
- {label: '年份', value: 'year'},
284
- {label: '月份', value: 'month'},
285
- {label: '周', value: 'week'}
286
- ],
287
- meterbrands: [],
288
- criteriaShow: false,
289
- reportStr: null,
290
- show: false,
291
- outlets: [],
292
- operator: [],
293
- filename: '',
294
- searchshow: true,
295
- startDate: '',
296
- endDate: '',
297
- startHandDate:'',
298
- endHandDate:'',
299
- echarts: false,
300
- isActiveTotalForm: false,
301
- condition: '1=1',
302
- groupname: ['year'],
303
- getgroupname: [
304
- {label: '年份', value: 'year'},
305
- {label: '月份', value: 'month'},
306
- {label: '周', value: 'week'},
307
- {label: '日', value: 'day'}
308
- ],
309
- orgCondtionStr: '(' + this.$login.f.orgid + ')',
310
- orgid:[this.$login.f.orgid],
311
- selectfields:[],
312
- }
313
- },
314
- ready() {
315
- console.log(1223)
316
- this.$refs.paged.$refs.cri.model.inputStartDate = Util.toStandardDateString() + ' 00:00:00'
317
- this.$refs.paged.$refs.cri.model.inputEndDate = Util.toStandardDateString() + ' 23:59:59'
318
- this.$refs.paged.$refs.cri.model.startHandDate = ''
319
- this.$refs.paged.$refs.cri.model.endHandDate = ''
320
- //this.$refs.paged.$refs.cri.search();
321
- for(var item in exportConfig.webmeterusergasConfig){
322
- this.selectfields.push(item)
323
- }
324
- readySomething(this);
325
- },
326
- methods: {
327
- getotherfooter(){
328
- this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
329
- this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
330
- this.other=[];
331
- this.footer=[];
332
- let exportdata = this.getCondition;
333
- let otherInData=[];
334
- otherInData.push(`导出时间: ${this.$login.toStandardDateString()}`);
335
- otherInData.push(`导出人:${this.$login.f.name}`)
336
- let footerData=[],exportfield=this.getfield;
337
- footerData.push("合计");
338
- let self = this;
339
- for(var field in self.sumsmodel){
340
- footerData.push(`${self.sumsmodel[field]}`);
341
- }
342
- this.footer.push(footerData);
343
- this.other.push(otherInData);
344
- },
345
- // 查询开关
346
- hidden() {
347
- console.log('show'+ this.criteriaShow)
348
- this.criteriaShow = !this.criteriaShow
349
- },
350
- SaveAsFile(str) {
351
- this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
352
- if (res === 'confirm') {
353
- let style = '<style>' +
354
- 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
355
- let strHtml = style + document.getElementById(str).innerHTML;
356
- console.log(strHtml);
357
- let LODOP = getLodop();
358
- LODOP.PRINT_INIT('');
359
- LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
360
- LODOP.SAVE_TO_FILE('用气分析.xls')
361
- }
362
- })
363
- },
364
- clearmsg() {
365
- this.$refs.paged.$refs.cri.model = {
366
- f_userinfo_code:"",
367
- f_username:"",
368
- f_meternumber:"",
369
- f_address:"",
370
- f_residential_area:"",
371
- f_user_type:[],
372
- f_gasproperties:[],
373
- f_meter_brand:[],
374
- inputStartDate:"",
375
- inputEndDate:"",
376
- startHandDate:"",
377
- endHandDate:""}
378
- },
379
- initParams() {
380
- // 初始化气表品牌
381
- let brandArr = []
382
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
383
- let temp = {}
384
- temp.label = item.label
385
- temp.value = item.value.f_meter_brand
386
- brandArr.push(temp)
387
- })
388
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
389
-
390
- },
391
- search(args) {
392
- this.startDate = this.$refs.paged.$refs.cri.model.inputStartDate
393
- this.endDate = this.$refs.paged.$refs.cri.model.inputEndDate
394
- this.startHandDate = this.$refs.paged.$refs.cri.model.startHandDate
395
- this.endHandDate = this.$refs.paged.$refs.cri.model.endHandDate
396
- if (!this.endDate || !this.startDate ) {
397
- if (!this.startHandDate||!this.endHandDate) {
398
- return this.$showMessage("请选择完整的上报时间区间或结算时间区间")
399
- }
400
- }
401
- if(this.startDate.length!==this.endDate.length||this.startHandDate.length!==this.endHandDate.length){
402
- return this.$showMessage("请选择完整的时间区间")
403
- }
404
- if (!this.orgCondtionStr){
405
- return this.$showMessage("请选择分公司!")
406
- }
407
- if (this.orgCondtionStr)
408
- this.condition = this.$refs.paged.$refs.cri.condition + `and h.f_orgid in ${this.orgCondtionStr}`
409
- else
410
- this.condition = this.$refs.paged.$refs.cri.condition
411
- this.model.params.f_orgid = this.orgCondtionStr
412
- this.model.params.f_residential_area = this.$refs.paged.$refs.cri.model.f_residential_area ==null|| this.$refs.paged.$refs.cri.model.f_residential_area==''?'':` and a.f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}'`
413
- args.condition = this.condition
414
- this.model.search(args.condition, args.model)
415
- },
416
- // 显示柱状图
417
- showEcharts() {
418
- this.echarts = true
419
- this.isActiveTotalForm = false
420
- },
421
- notShowTotalForm() {
422
- this.echarts = false
423
- this.isActiveTotalForm = false
424
- },
425
- // 不显示柱状图
426
- notShowEcharts() {
427
- this.echarts = false
428
- this.isActiveTotalForm = false
429
- },
430
- // 显示汇总数据表格
431
- showTotalForm() {
432
- this.echarts = false
433
- this.isActiveTotalForm = true
434
- },
435
- close() {
436
- this.show = false
437
- },
438
- getRes(obj) {
439
- this.orgCondtionStr = plugins.convertToIn(obj)
440
- },
441
- },
442
- watch: {
443
- 'data'(val) {
444
- if (val.f_files_path) {
445
- this.getFileContent(val.f_files_path)
446
- } else {
447
- this.reportStr = null
448
- }
449
- },
450
- sumsmodel: {
451
- handler: function(val) {
452
- this.getotherfooter();
453
- },
454
- deep: true
455
- }
456
- },
457
- computed: {
458
- getCondition() {
459
- let f_residential_area = this.$refs.paged.$refs.cri.model.f_residential_area ==null|| this.$refs.paged.$refs.cri.model.f_residential_area==''?'':` and a.f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}'`
460
- return {condition: `${this.$refs.paged.$refs.cri.condition} and h.f_orgid in ` + this.orgCondtionStr, f_residential_area:f_residential_area,startDate: this.$refs.paged.$refs.cri.model.inputStartDate,endDate:this.$refs.paged.$refs.cri.model.inputEndDate,
461
- startHandDate: this.$refs.paged.$refs.cri.model.startHandDate, endHandDate: this.$refs.paged.$refs.cri.model.endHandDate,f_orgid:this.orgCondtionStr}
462
- },
463
- getfield() {
464
- return exportConfig.webmeterusergasConfig
465
- },
466
- getName() {
467
- return '用气分析导出'+ Util.guid()
468
- },
469
- Gasusertype() {
470
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
471
- },
472
- valveStatus() {
473
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
474
- },
475
- Gasproperties() {
476
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
477
- }
478
- }
479
- }
480
- </script>
481
- <style>
482
- .mystyle {
483
- float: right;
484
- padding-right: 10%;
485
- }
486
-
487
- .mystyle1 {
488
- padding-top: 10px;
489
-
490
- }
491
-
492
- .mystyle2 {
493
- width: 100%;
494
- height: 35px;
495
- /*background: #00A3F0;*/
496
- padding-left: 15px;
497
- float: left;
498
- }
499
-
500
- .datapanel {
501
- color: #333;
502
- background-color: white;
503
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
504
- padding: 10px 10px 10px 10px;
505
- border-radius: 15px;
506
- }
507
- </style>
1
+ <template>
2
+ <div class="flex-row" id="unit" v-show="(!echarts)&&(!isActiveTotalForm)">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div class="flex" style="flex:1;">
6
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
7
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:cri>
8
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
+ <div class="row" width="100%">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">组织机构</label>
12
+ <res-select :initresid="$parent.$parent.orgid"
13
+ style="width:60%"
14
+ @res-select="$parent.$parent.getRes"
15
+ restype='organization'>
16
+ </res-select>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label class="font_normal_body">客户编号</label>
20
+ <input style="width:60%" class="input_search" condition="f_userinfo_code like '{}%'" placeholder='客户编号' type="text"
21
+ v-el:meternumber v-model="model.f_userinfo_code" v-next-el='f_userinfo_code'
22
+ >
23
+ </div>
24
+ <div class="col-sm-2 form-group">
25
+ <label class="font_normal_body">客户名称</label>
26
+ <input style="width:60%" class="input_search" condition="f_user_name like '%{}%'" placeholder='客户名称' type="text"
27
+ v-el:username v-model="model.f_username" v-next-el='userid'>
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
31
+ <input style="width:60%" class="input_search" condition="f_meternumber = '{}'" placeholder='表号' type="text"
32
+ v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
33
+ >
34
+ </div>
35
+
36
+ <div class="col-sm-4 form-group button-range">
37
+ <button @click="search()" class="button_search button_spacing">查询</button>
38
+ <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
39
+
40
+ <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>
41
+ <easy-excel-export :data="$parent.$parent.getCondition"
42
+ :defaultselect="$parent.$parent.selectfields"
43
+ :field="$parent.$parent.getfield"
44
+ :exportprogress="true" v-ref:exports
45
+ sqlurl="rs/easyexcel/export" sql-name="webmeter_getUserGasList" :template-name="$parent.$parent.getName"
46
+ :choose-col="true">
47
+ </easy-excel-export>
48
+ </div>
49
+ </div>
50
+ <div class="row" >
51
+
52
+ <div class="col-sm-2 form-group">
53
+ <label class="font_normal_body">用气地址</label>
54
+ <input style="width:60%" class="input_search" condition="f_address like '%{}%'" placeholder='用气地址' type="text"
55
+ v-el:area v-el:xq v-model="model.f_address" v-next-el='address'
56
+ >
57
+ </div>
58
+ <div class="col-sm-2 form-group">
59
+ <label class="font_normal_body">小区名称</label>
60
+ <input style="width:60%" class="input_search" placeholder='小区名称' type="text"
61
+ v-el:area v-el:xq v-model="model.f_residential_area" v-next-el='f_residential_area'
62
+ >
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">客户类型</label>
66
+ <v-select :options='$parent.$parent.Gasusertype'
67
+ :value.sync="model.f_user_type"
68
+ close-on-select
69
+ style="width:60%"
70
+ condition="f_user_type = '{}'"
71
+ id="f_user_type"
72
+ placeholder='客户类型'
73
+ v-model="model.f_user_type"
74
+ value-single="true">
75
+ </v-select>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">用气性质</label>
79
+ <v-select :options='$parent.$parent.Gasproperties'
80
+ :value.sync="model.f_gasproperties"
81
+ close-on-select
82
+ condition="f_gasproperties = '{}'"
83
+ id="f_gasproperties"
84
+ placeholder='用气性质'
85
+ style="width:60%"
86
+ v-model="model.f_gasproperties"
87
+ value-single="true">
88
+ </v-select>
89
+ </div>
90
+ <div class="col-sm-2 form-group">
91
+ <label class="font_normal_body">气表品牌</label>
92
+ <v-select :value.sync="model.f_meter_brand"
93
+ v-model="model.f_meter_brand"
94
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
95
+ condition="f_meter_brand = '{}'"
96
+ close-on-select></v-select>
97
+ </div>
98
+ <div class="col-sm-2 form-group">
99
+ <label for="inputStartDate" class="font_normal_body">结算日期</label>
100
+ <datepicker id="inputStartDate" placeholder="结算日期" style="width:60%"
101
+ v-model="model.inputStartDate"
102
+ :value.sync="model.inputStartDate"
103
+ :format="'yyyy-MM-dd HH:mm:ss'"
104
+ placeholder="结算起始日期"
105
+ :show-reset-button="true"
106
+ >
107
+ </datepicker>
108
+ </div>
109
+ <div class="col-sm-2 form-group">
110
+ <label for="inputEndDate" class="font_normal_body">&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;&nbsp;&ensp;</label>
111
+ <datepicker id="inputEndDate" placeholder="结算日期" style="width:60%"
112
+ v-model="model.inputEndDate"
113
+ :value.sync="model.inputEndDate"
114
+ :format="'yyyy-MM-dd HH:mm:ss'"
115
+ placeholder="结算结束日期"
116
+ :show-reset-button="true"
117
+ >
118
+ </datepicker>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">上报时间</label>
122
+ <datepicker :disabled-days-of-Week="[]" :format="'yyyy-MM-dd HH:mm:ss'"
123
+ :show-reset-button="reset"
124
+ :value.sync="model.startHandDate"
125
+ id="startDate"
126
+ style="width:60%"
127
+ placeholder="上报开始时间"
128
+ v-model="model.startHandDate">
129
+ </datepicker>
130
+ </div>
131
+ <div class="col-sm-2 form-group">
132
+ <label class="font_normal_body" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
133
+ <datepicker :disabled-days-of-Week="[]" :format="'yyyy-MM-dd HH:mm:ss'"
134
+ :show-reset-button="reset"
135
+ :value.sync="model.endHandDate"
136
+ style="width:60%"
137
+ id="endDate"
138
+ placeholder="上报结束日期"
139
+ v-model="model.endHandDate">
140
+ </datepicker>
141
+ </div>
142
+ </div>
143
+ </div>
144
+
145
+ </criteria>
146
+ <data-grid :model="model" id="usergasall" partial='list' class="list_area table_sy" v-ref:grid>
147
+ <template partial='head'>
148
+ <tr>
149
+ <th style="text-align:center">
150
+ <nobr>客户编号</nobr>
151
+ </th>
152
+ <th style="text-align:center">
153
+ <nobr>客户类型</nobr>
154
+ </th>
155
+ <th style="text-align:center">
156
+ <nobr>用气性质</nobr>
157
+ </th>
158
+ <th style="text-align:center">
159
+ <nobr>壁挂炉</nobr>
160
+ </th>
161
+ <th style="text-align:center">
162
+ <nobr>热水器</nobr>
163
+ </th>
164
+ <!--<th style="text-align:center"><nobr>用气属性</nobr></th>-->
165
+ <th style="text-align:center">
166
+ <nobr>客户名称</nobr>
167
+ </th>
168
+ <th style="text-align:center">
169
+ <nobr>用气地址</nobr>
170
+ </th>
171
+ <th style="text-align:center">
172
+ <nobr>气表品牌</nobr>
173
+ </th>
174
+ <th style="text-align:center">
175
+ <nobr>起始时间~终止时间</nobr>
176
+ </th>
177
+ <!-- <th style="text-align:center">-->
178
+ <!-- <nobr>终止时间</nobr>-->
179
+ <!-- </th>-->
180
+ <th style="text-align:center">
181
+ <nobr>表号</nobr>
182
+ </th>
183
+ <th style="text-align:center">
184
+ <nobr>期初余额(元)</nobr>
185
+ </th>
186
+ <th style="text-align:center">
187
+ <nobr>上期底数</nobr>
188
+ </th>
189
+ <th style="text-align:center">
190
+ <nobr>本期底数</nobr>
191
+ </th>
192
+ <!-- <th style="text-align:center"><nobr>气价(元/m³)</nobr></th>-->
193
+ <th style="text-align:center">
194
+ <nobr>用气量(m³)</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
+ </tr>
209
+
210
+
211
+ </template>
212
+ <template partial='body'>
213
+ <td>{{row.f_userinfo_code}}</td>
214
+ <td style="text-align:center">{{row.f_user_type}}</td>
215
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
216
+ <td style="text-align:center">{{row.f_has_stove}}</td>
217
+ <td style="text-align:center">{{row.f_has_heater}}</td>
218
+ <!--<td style="text-align:center">{{row.f_gasproperties2}}</td>-->
219
+ <td style="text-align:center">
220
+ <nobr>{{row.f_user_name}}</nobr>
221
+ </td>
222
+ <td>
223
+ <nobr>{{row.f_address}}</nobr>
224
+ </td>
225
+ <td>
226
+ <nobr>{{row.f_meter_brand}}</nobr>
227
+ </td>
228
+ <td>
229
+ <nobr>{{row.f_hand_date}}</nobr>
230
+ </td>
231
+ <!-- <td>-->
232
+ <!-- <nobr>{{row.f_end_hand_date}}</nobr>-->
233
+ <!-- </td>-->
234
+ <td>{{row.f_meternumber}}</td>
235
+ <td style="text-align:center">{{row.f_balance}}</td>
236
+ <td style="text-align:center">{{row.f_last_tablebase}}</td>
237
+ <td style="text-align:center">{{row.f_tablebase}}</td>
238
+ <!--<td style="text-align:center">{{row.f_avg_price}}</td>-->
239
+ <td style="text-align:center">{{row.f_oughtamount}}</td>
240
+ <td style="text-align:center">{{row.f_oughtfee}}</td>
241
+ <!-- <td style="text-align:center">{{row.f_collection}}</td>-->
242
+ <td style="text-align:center">{{row.f_curbalance}}</td>
243
+ <td style="text-align:center">{{row.f_organization_name}}</td>
244
+ </template>
245
+ <template partial='foot'>
246
+ <td style="text-align: center;background-color: mistyrose"><nobr>合计:</nobr></td>
247
+ <td style="text-align: center;background-color: mistyrose"><nobr>总户数:</nobr></td>
248
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.count}}</nobr></td>
249
+ <td style="text-align: center;background-color: mistyrose"><nobr>总用气量:</nobr></td>
250
+ <td style="text-align: center;background-color: mistyrose"><nobr> {{model.sums.f_oughtamount}}</nobr></td>
251
+ <td style="text-align: center;background-color: mistyrose"><nobr>总用气金额</nobr></td>
252
+ <td style="text-align: center;background-color: mistyrose"><nobr> {{model.sums.f_oughtfee}}</nobr></td>
253
+ </template>
254
+ </data-grid>
255
+ </criteria-paged>
256
+ </div>
257
+ </div>
258
+ </div>
259
+ <!-- <div v-show="echarts">-->
260
+ <!-- <user-gas-echarts :condition="condition" :echarts="echarts" :enddate="endDate"-->
261
+ <!-- :groupname="groupname[0]" :startdate="startDate"></user-gas-echarts>-->
262
+ <!-- </div>-->
263
+ <!--汇总表显示模板-->
264
+ <div v-show="isActiveTotalForm" style="height:100%">
265
+ <!-- <user-gas-eform :condition="condition"></user-gas-eform>-->
266
+ </div>
267
+ </template>
268
+
269
+ <script>
270
+ import {PagedList} from 'vue-client'
271
+ import UserGasEcharts from './UserGasEcharts'
272
+ import * as Util from '../../../Util'
273
+ import getLodop from '../../../plugins/LodopFuncs'
274
+ import plugins from '../../../plugins/GetLoginInfoService'
275
+ import exportConfig from "../../sale/config/exportConfig";
276
+ let readySomething = async function (self) {
277
+ await self.$MagLoadParams.loadParam()
278
+ self.initParams()
279
+ }
280
+ export default {
281
+ title: '用气分析',
282
+ props: ['data'],
283
+ components: {UserGasEcharts},
284
+ data() {
285
+ return {
286
+ other:[],
287
+ footer:[],
288
+ sumName: [],
289
+ model: new PagedList('rs/sql/webmeter_getUserGasList', 20,{startHandDate: 'this.model.startHandDate', endHandDate: 'this.model.endHandDate',startDate: 'this.model.inputStartDate', endDate: 'this.model.inputEndDate'},{f_oughtfee:0,f_oughtamount:0}),
290
+ getGroupNameByDate: [
291
+ {label: '年份', value: 'year'},
292
+ {label: '月份', value: 'month'},
293
+ {label: '周', value: 'week'}
294
+ ],
295
+ meterbrands: [],
296
+ criteriaShow: false,
297
+ reportStr: null,
298
+ show: false,
299
+ outlets: [],
300
+ operator: [],
301
+ filename: '',
302
+ searchshow: true,
303
+ startDate: '',
304
+ endDate: '',
305
+ startHandDate:'',
306
+ endHandDate:'',
307
+ echarts: false,
308
+ isActiveTotalForm: false,
309
+ condition: '1=1',
310
+ groupname: ['year'],
311
+ getgroupname: [
312
+ {label: '年份', value: 'year'},
313
+ {label: '月份', value: 'month'},
314
+ {label: '周', value: 'week'},
315
+ {label: '日', value: 'day'}
316
+ ],
317
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
318
+ orgid:[this.$login.f.orgid],
319
+ selectfields:[],
320
+ }
321
+ },
322
+ ready() {
323
+ console.log(1223)
324
+ this.$refs.paged.$refs.cri.model.inputStartDate = Util.toStandardDateString() + ' 00:00:00'
325
+ this.$refs.paged.$refs.cri.model.inputEndDate = Util.toStandardDateString() + ' 23:59:59'
326
+ this.$refs.paged.$refs.cri.model.startHandDate = ''
327
+ this.$refs.paged.$refs.cri.model.endHandDate = ''
328
+ //this.$refs.paged.$refs.cri.search();
329
+ for(var item in exportConfig.webmeterusergasConfig){
330
+ this.selectfields.push(item)
331
+ }
332
+ readySomething(this);
333
+ },
334
+ methods: {
335
+ getotherfooter(){
336
+ this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
337
+ this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
338
+ this.other=[];
339
+ this.footer=[];
340
+ let exportdata = this.getCondition;
341
+ let otherInData=[];
342
+ otherInData.push(`导出时间: ${this.$login.toStandardDateString()}`);
343
+ otherInData.push(`导出人:${this.$login.f.name}`)
344
+ let footerData=[],exportfield=this.getfield;
345
+ footerData.push("合计");
346
+ let self = this;
347
+ for(var field in self.sumsmodel){
348
+ footerData.push(`${self.sumsmodel[field]}`);
349
+ }
350
+ this.footer.push(footerData);
351
+ this.other.push(otherInData);
352
+ },
353
+ // 查询开关
354
+ hidden() {
355
+ console.log('show'+ this.criteriaShow)
356
+ this.criteriaShow = !this.criteriaShow
357
+ },
358
+ SaveAsFile(str) {
359
+ this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
360
+ if (res === 'confirm') {
361
+ let style = '<style>' +
362
+ 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
363
+ let strHtml = style + document.getElementById(str).innerHTML;
364
+ console.log(strHtml);
365
+ let LODOP = getLodop();
366
+ LODOP.PRINT_INIT('');
367
+ LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
368
+ LODOP.SAVE_TO_FILE('用气分析.xls')
369
+ }
370
+ })
371
+ },
372
+ clearmsg() {
373
+ this.$refs.paged.$refs.cri.model = {
374
+ f_userinfo_code:"",
375
+ f_username:"",
376
+ f_meternumber:"",
377
+ f_address:"",
378
+ f_residential_area:"",
379
+ f_user_type:[],
380
+ f_gasproperties:[],
381
+ f_meter_brand:[],
382
+ inputStartDate:"",
383
+ inputEndDate:"",
384
+ startHandDate:"",
385
+ endHandDate:""}
386
+ },
387
+ initParams() {
388
+ // 初始化气表品牌
389
+ let brandArr = []
390
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
391
+ let temp = {}
392
+ temp.label = item.label
393
+ temp.value = item.value.f_meter_brand
394
+ brandArr.push(temp)
395
+ })
396
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
397
+
398
+ },
399
+ search(args) {
400
+ this.startDate = this.$refs.paged.$refs.cri.model.inputStartDate
401
+ this.endDate = this.$refs.paged.$refs.cri.model.inputEndDate
402
+ this.startHandDate = this.$refs.paged.$refs.cri.model.startHandDate
403
+ this.endHandDate = this.$refs.paged.$refs.cri.model.endHandDate
404
+ if (!this.endDate || !this.startDate ) {
405
+ if (!this.startHandDate||!this.endHandDate) {
406
+ return this.$showMessage("请选择完整的上报时间区间或结算时间区间")
407
+ }
408
+ }
409
+ if(this.startDate.length!==this.endDate.length||this.startHandDate.length!==this.endHandDate.length){
410
+ return this.$showMessage("请选择完整的时间区间")
411
+ }
412
+ if (!this.orgCondtionStr){
413
+ return this.$showMessage("请选择分公司!")
414
+ }
415
+ if (this.orgCondtionStr)
416
+ this.condition = this.$refs.paged.$refs.cri.condition + `and h.f_orgid in ${this.orgCondtionStr}`
417
+ else
418
+ this.condition = this.$refs.paged.$refs.cri.condition
419
+ this.model.params.f_orgid = this.orgCondtionStr
420
+ this.model.params.f_residential_area = this.$refs.paged.$refs.cri.model.f_residential_area ==null|| this.$refs.paged.$refs.cri.model.f_residential_area==''?'':` and a.f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}'`
421
+ args.condition = this.condition
422
+ this.model.search(args.condition, args.model)
423
+ },
424
+ // 显示柱状图
425
+ showEcharts() {
426
+ this.echarts = true
427
+ this.isActiveTotalForm = false
428
+ },
429
+ notShowTotalForm() {
430
+ this.echarts = false
431
+ this.isActiveTotalForm = false
432
+ },
433
+ // 不显示柱状图
434
+ notShowEcharts() {
435
+ this.echarts = false
436
+ this.isActiveTotalForm = false
437
+ },
438
+ // 显示汇总数据表格
439
+ showTotalForm() {
440
+ this.echarts = false
441
+ this.isActiveTotalForm = true
442
+ },
443
+ close() {
444
+ this.show = false
445
+ },
446
+ getRes(obj) {
447
+ this.orgCondtionStr = plugins.convertToIn(obj)
448
+ },
449
+ },
450
+ watch: {
451
+ 'data'(val) {
452
+ if (val.f_files_path) {
453
+ this.getFileContent(val.f_files_path)
454
+ } else {
455
+ this.reportStr = null
456
+ }
457
+ },
458
+ sumsmodel: {
459
+ handler: function(val) {
460
+ this.getotherfooter();
461
+ },
462
+ deep: true
463
+ }
464
+ },
465
+ computed: {
466
+ getCondition() {
467
+ let f_residential_area = this.$refs.paged.$refs.cri.model.f_residential_area ==null|| this.$refs.paged.$refs.cri.model.f_residential_area==''?'':` and a.f_residential_area = '${this.$refs.paged.$refs.cri.model.f_residential_area}'`
468
+ return {condition: `${this.$refs.paged.$refs.cri.condition} and h.f_orgid in ` + this.orgCondtionStr, f_residential_area:f_residential_area,startDate: this.$refs.paged.$refs.cri.model.inputStartDate,endDate:this.$refs.paged.$refs.cri.model.inputEndDate,
469
+ startHandDate: this.$refs.paged.$refs.cri.model.startHandDate, endHandDate: this.$refs.paged.$refs.cri.model.endHandDate,f_orgid:this.orgCondtionStr}
470
+ },
471
+ getfield() {
472
+ return exportConfig.webmeterusergasConfig
473
+ },
474
+ getName() {
475
+ return '用气分析导出'+ Util.guid()
476
+ },
477
+ Gasusertype() {
478
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
479
+ },
480
+ valveStatus() {
481
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
482
+ },
483
+ Gasproperties() {
484
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
485
+ }
486
+ }
487
+ }
488
+ </script>
489
+ <style>
490
+ .mystyle {
491
+ float: right;
492
+ padding-right: 10%;
493
+ }
494
+
495
+ .mystyle1 {
496
+ padding-top: 10px;
497
+
498
+ }
499
+
500
+ .mystyle2 {
501
+ width: 100%;
502
+ height: 35px;
503
+ /*background: #00A3F0;*/
504
+ padding-left: 15px;
505
+ float: left;
506
+ }
507
+
508
+ .datapanel {
509
+ color: #333;
510
+ background-color: white;
511
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
512
+ padding: 10px 10px 10px 10px;
513
+ border-radius: 15px;
514
+ }
515
+ </style>