manage-client 3.2.53-aode → 3.2.54-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 +634 -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 -515
  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,303 +1,303 @@
1
- <template>
2
- <div id='app' class="flex bg-white p-10 datapanel" >
3
- <criteria-paged :model="model" :pager='true' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <p class="bg-info text-center" style="padding: 8px;">用户用气明细</p>
7
- <div class="row">
8
- <div class="col-sm-2">
9
- <label class="control-label">时间区间</label>
10
- <datepicker id="startDate" placeholder="开始时间"
11
- v-model="model.startDate"
12
- :value.sync="model.startDate"
13
- :disabled-days-of-Week="[]"
14
- :format="'yyyy-MM-dd 00:00:00'"
15
- :show-reset-button="reset">
16
- </datepicker>
17
- </div>
18
- <div class="col-sm-2">
19
- <label class="control-label" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
20
- <datepicker id="endDate" placeholder="结束日期"
21
- v-model="model.endDate"
22
- :value.sync="model.endDate"
23
- :disabled-days-of-Week="[]"
24
- :format="'yyyy-MM-dd 23:59:59'"
25
- :show-reset-button="reset">
26
- </datepicker>
27
- </div>
28
- <div class="col-sm-2">
29
- <label class="control-label">客户编号</label>
30
- <input type="text" class="form-control" v-model="model.f_userinfo_code" placeholder='客户编号'
31
- condition="f_userinfo_code = '{}'" v-next-el='username'>
32
- </div>
33
- <div class="col-sm-2">
34
- <label class="control-label">客户名称</label>
35
- <input type="text" class="form-control" v-model="model.f_username" placeholder='客户名称'
36
- condition="f_user_name like '%{}%'" v-next-el='userid' v-el:username>
37
- </div>
38
- <div class="col-sm-2">
39
- <label class="control-label">客户地址</label>
40
- <input type="text" class="form-control" v-model="model.f_address" placeholder='地址'
41
- condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
42
- >
43
- </div>
44
- <res-select-group @re-res="$parent.$parent.getRes" style="col-sm-2"></res-select-group>
45
- <div class="col-sm-2">
46
- <label class="control-label">是否欠费</label>
47
- <v-select id="f_meter_brand"
48
- v-model="model.f_curbalance"
49
- placeholder='是否欠费'
50
- :value.sync="model.f_curbalance"
51
- :options='$parent.$parent.isArrear'
52
- condition="{}"
53
- close-on-select >
54
- </v-select>
55
- </div>
56
- <div class="row" style="float: right">
57
- <button class="btn btn-success " @click="search()">查询</button>
58
- <button class="btn btn-default width-100" @click="$parent.$parent.clearmsg">清空</button>
59
- <export-excel :data="$parent.$parent.getCondition"
60
- :field="$parent.$parent.getfield"
61
- sqlurl="rs/logic/exportfile" sql-name="gasAnalysisQuery" template-name='用气分析导出' :choose-col="true"></export-excel>
62
- <button class="btn btn-success" v-if="$parent.$parent.eformsShowButton" @click="$parent.$parent.showTotalForm()" >显示汇总</button>
63
- <button class="btn btn-success" v-if="!$parent.$parent.eformsShowButton" @click="$parent.$parent.notShowTotalForm()" >隐藏汇总</button>
64
- </div>
65
- </div>
66
- </div>
67
- </criteria>
68
- <data-grid id="usergasall" :model="model" partial='list' v-ref:grid>
69
- <template partial='head'>
70
- <tr>
71
- <th rowspan="2" style="text-align:center" ><nobr>序号</nobr></th>
72
- <th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>
73
- <th rowspan="2" style="text-align:center"><nobr>客户名称</nobr></th>
74
- <th rowspan="2" style="text-align:center"><nobr>期初余额(元)</nobr></th>
75
- <th rowspan="2" style="text-align:center"><nobr>用气气量(m³)</nobr></th>
76
- <th rowspan="2" style="text-align:center"><nobr>用气金额(元)</nobr></th>
77
- <th rowspan="2" style="text-align:center"><nobr>收款</nobr></th>
78
- <th rowspan="2" style="text-align:center"><nobr>期末结余(元)</nobr></th>
79
- <th rowspan="2" style="text-align:center"><nobr>地址</nobr></th>
80
- </tr>
81
- </template>
82
- <template partial='body'>
83
- <td style="text-align:center">{{$index+1}}</td>
84
- <td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
85
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
86
- <!--<td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>-->
87
- <!--<td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>-->
88
- <td style="text-align:center"><nobr>{{row.f_balance}}</nobr></td>
89
- <!--<td style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></td>-->
90
- <!--<td style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></td>-->
91
- <!--<td style="text-align:center"><nobr>{{row.f_avg_price}}</nobr></td>-->
92
- <td style="text-align:center"><nobr>{{row.f_pregas}}</nobr></td>
93
- <td style="text-align:center"><nobr>{{row.f_preamount}}</nobr></td>
94
- <td style="text-align:center"><nobr>{{row.f_charge_money}}</nobr></td>
95
- <td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>
96
- <!--<td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>-->
97
- <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
98
- <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
99
- </template>
100
- </data-grid>
101
- </criteria-paged>
102
- <!-- &lt;!&ndash; 图显示模板&ndash;&gt;-->
103
- <!-- <div class="mystyle" v-show="echarts">-->
104
- <!-- <label class="control-label">图表统计项</label>-->
105
- <!-- <v-select id="groupname" v-model="groupname"-->
106
- <!-- placeholder='分组项'-->
107
- <!-- value-single="true"-->
108
- <!-- :value.sync="groupname"-->
109
- <!-- :options='getgroupname'-->
110
- <!-- close-on-select></v-select>-->
111
- <!-- </div>-->
112
- <!-- <div class="span " v-show="echarts">-->
113
- <!-- <gas-analysis-echarts :groupname="groupname[0]" :condition="condition" :startdate="startDate" :enddate="endDate"></gas-analysis-echarts>-->
114
- <!-- </div>-->
115
-
116
- <!--汇总表显示模板-->
117
- <div class="span" v-show="isActiveTotalForm">
118
- <gas-analysis-summary ></gas-analysis-summary>
119
- </div>
120
-
121
- </div>
122
- </template>
123
-
124
- <script>
125
- import Vue from 'vue'
126
- import { PagedList } from 'vue-client'
127
- import GasAnalysisEcharts from './GasAnalysisEcharts'
128
- import GasAnalysisSummary from './GasAnalysisSummary'
129
- import defaultPrint from '../../sale/config/DefaultPrint'
130
- import exportConfig from '../../sale/config/exportConfig'
131
-
132
- let readySomething = async function (self) {
133
- await self.$getConfig(self, 'GasAnalysisManageConfig')
134
- console.log('获取默认配置', self.config)
135
- self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
136
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardYearMonth() + '-01 00:00:00'
137
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
138
- self.$refs.paged.$refs.cri.search()
139
- }
140
- // let loadmeter = async function (self) {
141
- // console.log('开始加载参数,。。')
142
- // await self.$resetpost('rs/logic/getSaleInitData', {data: {f_filialeids: Vue.$login.f.f_orgids}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'}).then((res) => {
143
- // console.log(res.data)
144
- // let arr = []
145
- // res.data.gasbrands.forEach((item) => {
146
- // let temp = {}
147
- // temp.label = item.f_meter_brand
148
- // temp.value = item.f_meter_brand
149
- // arr.push(temp)
150
- // })
151
- // self.meterbrand = arr
152
- // })
153
- // }
154
-
155
- export default {
156
- title: '用气分析',
157
- props: ['data'],
158
- components: {GasAnalysisEcharts, GasAnalysisSummary},
159
- data () {
160
- return {
161
- model: new PagedList('rs/sql/gasAnalysisQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
162
- groupNameByDate: [],
163
- getGroupNameByDate: [
164
- {label: '年份', value: 'year'},
165
- {label: '月份', value: 'month'},
166
- {label: '周', value: 'week'}
167
- ],
168
- reportStr: null,
169
- show: false,
170
- outlets: [],
171
- operator: [],
172
- filename: '',
173
- // echarts: true,
174
- searchshow: false,
175
- startDate: '',
176
- endDate: '',
177
- // echartsShowButton: false,
178
- eformsShowButton: true,
179
- isActiveTotalForm: false,
180
- condition: '1=1',
181
- groupname: 'year',
182
- getgroupname: [
183
- {label: '年份', value: 'year'},
184
- {label: '月份', value: 'month'},
185
- {label: '周', value: 'week'},
186
- {label: '日', value: 'day'}
187
- ],
188
- orgCondtionStr:'',
189
- defaultfield: [],
190
- config: {
191
- defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
192
- },
193
- }
194
- },
195
- ready () {
196
- readySomething(this).then(() => {
197
- this.$emit('ready')
198
- }).catch((error) => {
199
- this.$emit('error', error)
200
- })
201
-
202
- },
203
- methods: {
204
- selfSearch (args) {
205
- args.condition = `${args.condition} ` + this.orgCondtionStr
206
- this.model.search(args.condition, args.model)
207
- this.startDate = this.$refs.paged.$refs.cri.model.startDate
208
- this.endDate = this.$refs.paged.$refs.cri.model.endDate
209
- this.condition = args.condition
210
- },
211
- // 查询开关
212
- seachchange () {
213
- this.searchshow = !this.searchshow
214
- },
215
- clearmsg () {
216
- this.$refs.paged.$refs.cri.model = {}
217
- },
218
- /*getdata () {
219
- this.startDate = this.$refs.paged.$refs.cri.model.startDate
220
- this.endDate = this.$refs.paged.$refs.cri.model.endDate
221
- this.$refs.paged.$refs.cri.search()
222
- this.condition = this.$refs.paged.$refs.cri.condition
223
- },*/
224
- // 显示柱状图
225
- // showEcharts () {
226
- // this.echarts = true
227
- // this.echartsShowButton = false
228
- // this.isActiveTotalForm = false
229
- // },
230
- notShowTotalForm () {
231
- // this.echarts = false
232
- // this.echartsShowButton = true
233
- this.eformsShowButton = true
234
- this.isActiveTotalForm = false
235
- },
236
- // 不显示柱状图
237
- notShowEcharts () {
238
- // this.echarts = false
239
- // this.echartsShowButton = true
240
- this.eformsShowButton = true
241
- this.isActiveTotalForm = false
242
- },
243
- // 显示汇总数据表格
244
- showTotalForm () {
245
- // this.echarts = false
246
- // this.echartsShowButton = true
247
- this.eformsShowButton = false
248
- this.isActiveTotalForm = true
249
- },
250
- close () {
251
- this.show = false
252
- },
253
- getMeterBrand () {
254
- loadmeter (this)
255
- },
256
- getRes(obj) {
257
- this.orgCondtionStr = obj
258
- },
259
- },
260
- watch: {
261
- 'data' (val) {
262
- if (val.f_files_path) {
263
- this.getFileContent(val.f_files_path)
264
- } else {
265
- this.reportStr = null
266
- }
267
- }
268
- },
269
- computed: {
270
- getCondition(){
271
- return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,startDate:this.startDate,endDate:this.endDate}
272
- },
273
- getfield(){
274
- return exportConfig.GasAnalysisManageConfig
275
- },
276
- usertypes () {
277
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
278
- },
279
- isArrear () {
280
- return [{label: '全部', value: ''}, {label: '是', value: 'f_curbalance<0'}, {label: '否', value: 'f_curbalance>=0'},]
281
- },
282
- Gasproperties () {
283
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
284
- }
285
- }
286
- }
287
- </script>
288
- <style>
289
- .mystyle {
290
- width: 100%;
291
- height: 35px;
292
- /*background: #00A3F0;*/
293
- padding-left: 85%;
294
- float: left;
295
- }
296
- .datapanel {
297
- color: #333;
298
- background-color: white;
299
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
300
- padding: 10px 10px 10px 10px;
301
- border-radius:15px;
302
- }
303
- </style>
1
+ <template>
2
+ <div id='app' class="flex bg-white p-10 datapanel" >
3
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <p class="bg-info text-center" style="padding: 8px;">用户用气明细</p>
7
+ <div class="row">
8
+ <div class="col-sm-2">
9
+ <label class="control-label">时间区间</label>
10
+ <datepicker id="startDate" placeholder="开始时间"
11
+ v-model="model.startDate"
12
+ :value.sync="model.startDate"
13
+ :disabled-days-of-Week="[]"
14
+ :format="'yyyy-MM-dd 00:00:00'"
15
+ :show-reset-button="reset">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2">
19
+ <label class="control-label" style="word-break:keep-all;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;</label>
20
+ <datepicker id="endDate" placeholder="结束日期"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ :disabled-days-of-Week="[]"
24
+ :format="'yyyy-MM-dd 23:59:59'"
25
+ :show-reset-button="reset">
26
+ </datepicker>
27
+ </div>
28
+ <div class="col-sm-2">
29
+ <label class="control-label">客户编号</label>
30
+ <input type="text" class="form-control" v-model="model.f_userinfo_code" placeholder='客户编号'
31
+ condition="f_userinfo_code = '{}'" v-next-el='username'>
32
+ </div>
33
+ <div class="col-sm-2">
34
+ <label class="control-label">客户名称</label>
35
+ <input type="text" class="form-control" v-model="model.f_username" placeholder='客户名称'
36
+ condition="f_user_name like '%{}%'" v-next-el='userid' v-el:username>
37
+ </div>
38
+ <div class="col-sm-2">
39
+ <label class="control-label">客户地址</label>
40
+ <input type="text" class="form-control" v-model="model.f_address" placeholder='地址'
41
+ condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
42
+ >
43
+ </div>
44
+ <res-select-group @re-res="$parent.$parent.getRes" style="col-sm-2"></res-select-group>
45
+ <div class="col-sm-2">
46
+ <label class="control-label">是否欠费</label>
47
+ <v-select id="f_meter_brand"
48
+ v-model="model.f_curbalance"
49
+ placeholder='是否欠费'
50
+ :value.sync="model.f_curbalance"
51
+ :options='$parent.$parent.isArrear'
52
+ condition="{}"
53
+ close-on-select >
54
+ </v-select>
55
+ </div>
56
+ <div class="row" style="float: right">
57
+ <button class="btn btn-success " @click="search()">查询</button>
58
+ <button class="btn btn-default width-100" @click="$parent.$parent.clearmsg">清空</button>
59
+ <export-excel :data="$parent.$parent.getCondition"
60
+ :field="$parent.$parent.getfield"
61
+ sqlurl="rs/logic/exportfile" sql-name="gasAnalysisQuery" template-name='用气分析导出' :choose-col="true"></export-excel>
62
+ <button class="btn btn-success" v-if="$parent.$parent.eformsShowButton" @click="$parent.$parent.showTotalForm()" >显示汇总</button>
63
+ <button class="btn btn-success" v-if="!$parent.$parent.eformsShowButton" @click="$parent.$parent.notShowTotalForm()" >隐藏汇总</button>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </criteria>
68
+ <data-grid id="usergasall" :model="model" partial='list' v-ref:grid>
69
+ <template partial='head'>
70
+ <tr>
71
+ <th rowspan="2" style="text-align:center" ><nobr>序号</nobr></th>
72
+ <th rowspan="2" style="text-align:center"><nobr>客户编号</nobr></th>
73
+ <th rowspan="2" style="text-align:center"><nobr>客户名称</nobr></th>
74
+ <th rowspan="2" style="text-align:center"><nobr>期初余额(元)</nobr></th>
75
+ <th rowspan="2" style="text-align:center"><nobr>用气气量(m³)</nobr></th>
76
+ <th rowspan="2" style="text-align:center"><nobr>用气金额(元)</nobr></th>
77
+ <th rowspan="2" style="text-align:center"><nobr>收款</nobr></th>
78
+ <th rowspan="2" style="text-align:center"><nobr>期末结余(元)</nobr></th>
79
+ <th rowspan="2" style="text-align:center"><nobr>地址</nobr></th>
80
+ </tr>
81
+ </template>
82
+ <template partial='body'>
83
+ <td style="text-align:center">{{$index+1}}</td>
84
+ <td style="text-align:center"><nobr>{{row.f_userinfo_code}}</nobr></td>
85
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
86
+ <!--<td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>-->
87
+ <!--<td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>-->
88
+ <td style="text-align:center"><nobr>{{row.f_balance}}</nobr></td>
89
+ <!--<td style="text-align:center"><nobr>{{row.f_last_tablebase}}</nobr></td>-->
90
+ <!--<td style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></td>-->
91
+ <!--<td style="text-align:center"><nobr>{{row.f_avg_price}}</nobr></td>-->
92
+ <td style="text-align:center"><nobr>{{row.f_pregas}}</nobr></td>
93
+ <td style="text-align:center"><nobr>{{row.f_preamount}}</nobr></td>
94
+ <td style="text-align:center"><nobr>{{row.f_charge_money}}</nobr></td>
95
+ <td style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></td>
96
+ <!--<td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>-->
97
+ <!--<td style="text-align:center">{{row.f_userfiles_id}}</td>-->
98
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
99
+ </template>
100
+ </data-grid>
101
+ </criteria-paged>
102
+ <!-- &lt;!&ndash; 图显示模板&ndash;&gt;-->
103
+ <!-- <div class="mystyle" v-show="echarts">-->
104
+ <!-- <label class="control-label">图表统计项</label>-->
105
+ <!-- <v-select id="groupname" v-model="groupname"-->
106
+ <!-- placeholder='分组项'-->
107
+ <!-- value-single="true"-->
108
+ <!-- :value.sync="groupname"-->
109
+ <!-- :options='getgroupname'-->
110
+ <!-- close-on-select></v-select>-->
111
+ <!-- </div>-->
112
+ <!-- <div class="span " v-show="echarts">-->
113
+ <!-- <gas-analysis-echarts :groupname="groupname[0]" :condition="condition" :startdate="startDate" :enddate="endDate"></gas-analysis-echarts>-->
114
+ <!-- </div>-->
115
+
116
+ <!--汇总表显示模板-->
117
+ <div class="span" v-show="isActiveTotalForm">
118
+ <gas-analysis-summary ></gas-analysis-summary>
119
+ </div>
120
+
121
+ </div>
122
+ </template>
123
+
124
+ <script>
125
+ import Vue from 'vue'
126
+ import { PagedList } from 'vue-client'
127
+ import GasAnalysisEcharts from './GasAnalysisEcharts'
128
+ import GasAnalysisSummary from './GasAnalysisSummary'
129
+ import defaultPrint from '../../sale/config/DefaultPrint'
130
+ import exportConfig from '../../sale/config/exportConfig'
131
+
132
+ let readySomething = async function (self) {
133
+ await self.$getConfig(self, 'GasAnalysisManageConfig')
134
+ console.log('获取默认配置', self.config)
135
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
136
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardYearMonth() + '-01 00:00:00'
137
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
138
+ self.$refs.paged.$refs.cri.search()
139
+ }
140
+ // let loadmeter = async function (self) {
141
+ // console.log('开始加载参数,。。')
142
+ // await self.$resetpost('rs/logic/getSaleInitData', {data: {f_filialeids: Vue.$login.f.f_orgids}}, {resolveMsg: null, rejectMsg: '获取营收参数出错!!!'}).then((res) => {
143
+ // console.log(res.data)
144
+ // let arr = []
145
+ // res.data.gasbrands.forEach((item) => {
146
+ // let temp = {}
147
+ // temp.label = item.f_meter_brand
148
+ // temp.value = item.f_meter_brand
149
+ // arr.push(temp)
150
+ // })
151
+ // self.meterbrand = arr
152
+ // })
153
+ // }
154
+
155
+ export default {
156
+ title: '用气分析',
157
+ props: ['data'],
158
+ components: {GasAnalysisEcharts, GasAnalysisSummary},
159
+ data () {
160
+ return {
161
+ model: new PagedList('rs/sql/gasAnalysisQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
162
+ groupNameByDate: [],
163
+ getGroupNameByDate: [
164
+ {label: '年份', value: 'year'},
165
+ {label: '月份', value: 'month'},
166
+ {label: '周', value: 'week'}
167
+ ],
168
+ reportStr: null,
169
+ show: false,
170
+ outlets: [],
171
+ operator: [],
172
+ filename: '',
173
+ // echarts: true,
174
+ searchshow: false,
175
+ startDate: '',
176
+ endDate: '',
177
+ // echartsShowButton: false,
178
+ eformsShowButton: true,
179
+ isActiveTotalForm: false,
180
+ condition: '1=1',
181
+ groupname: 'year',
182
+ getgroupname: [
183
+ {label: '年份', value: 'year'},
184
+ {label: '月份', value: 'month'},
185
+ {label: '周', value: 'week'},
186
+ {label: '日', value: 'day'}
187
+ ],
188
+ orgCondtionStr:'',
189
+ defaultfield: [],
190
+ config: {
191
+ defaultPrint: ['f_userinfo_code', 'f_address', 'f_user_name', 'f_meternumber']
192
+ },
193
+ }
194
+ },
195
+ ready () {
196
+ readySomething(this).then(() => {
197
+ this.$emit('ready')
198
+ }).catch((error) => {
199
+ this.$emit('error', error)
200
+ })
201
+
202
+ },
203
+ methods: {
204
+ selfSearch (args) {
205
+ args.condition = `${args.condition} ` + this.orgCondtionStr
206
+ this.model.search(args.condition, args.model)
207
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
208
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
209
+ this.condition = args.condition
210
+ },
211
+ // 查询开关
212
+ seachchange () {
213
+ this.searchshow = !this.searchshow
214
+ },
215
+ clearmsg () {
216
+ this.$refs.paged.$refs.cri.model = {}
217
+ },
218
+ /*getdata () {
219
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
220
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
221
+ this.$refs.paged.$refs.cri.search()
222
+ this.condition = this.$refs.paged.$refs.cri.condition
223
+ },*/
224
+ // 显示柱状图
225
+ // showEcharts () {
226
+ // this.echarts = true
227
+ // this.echartsShowButton = false
228
+ // this.isActiveTotalForm = false
229
+ // },
230
+ notShowTotalForm () {
231
+ // this.echarts = false
232
+ // this.echartsShowButton = true
233
+ this.eformsShowButton = true
234
+ this.isActiveTotalForm = false
235
+ },
236
+ // 不显示柱状图
237
+ notShowEcharts () {
238
+ // this.echarts = false
239
+ // this.echartsShowButton = true
240
+ this.eformsShowButton = true
241
+ this.isActiveTotalForm = false
242
+ },
243
+ // 显示汇总数据表格
244
+ showTotalForm () {
245
+ // this.echarts = false
246
+ // this.echartsShowButton = true
247
+ this.eformsShowButton = false
248
+ this.isActiveTotalForm = true
249
+ },
250
+ close () {
251
+ this.show = false
252
+ },
253
+ getMeterBrand () {
254
+ loadmeter (this)
255
+ },
256
+ getRes(obj) {
257
+ this.orgCondtionStr = obj
258
+ },
259
+ },
260
+ watch: {
261
+ 'data' (val) {
262
+ if (val.f_files_path) {
263
+ this.getFileContent(val.f_files_path)
264
+ } else {
265
+ this.reportStr = null
266
+ }
267
+ }
268
+ },
269
+ computed: {
270
+ getCondition(){
271
+ return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,startDate:this.startDate,endDate:this.endDate}
272
+ },
273
+ getfield(){
274
+ return exportConfig.GasAnalysisManageConfig
275
+ },
276
+ usertypes () {
277
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
278
+ },
279
+ isArrear () {
280
+ return [{label: '全部', value: ''}, {label: '是', value: 'f_curbalance<0'}, {label: '否', value: 'f_curbalance>=0'},]
281
+ },
282
+ Gasproperties () {
283
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
284
+ }
285
+ }
286
+ }
287
+ </script>
288
+ <style>
289
+ .mystyle {
290
+ width: 100%;
291
+ height: 35px;
292
+ /*background: #00A3F0;*/
293
+ padding-left: 85%;
294
+ float: left;
295
+ }
296
+ .datapanel {
297
+ color: #333;
298
+ background-color: white;
299
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
300
+ padding: 10px 10px 10px 10px;
301
+ border-radius:15px;
302
+ }
303
+ </style>