manage-client 3.2.38 → 3.2.42

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 (55) hide show
  1. package/.gradle/{5.2.1 → 5.4.1}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/{5.2.1 → 5.4.1}/gc.properties +0 -0
  4. package/build/dev-server.js +26 -6
  5. package/package.json +1 -1
  6. package/src/.idea/misc.xml +9 -0
  7. package/src/.idea/modules.xml +8 -0
  8. package/src/.idea/src.iml +9 -0
  9. package/src/.idea/vcs.xml +6 -0
  10. package/src/.idea/workspace.xml +93 -0
  11. package/src/components/sale/businessquery/BusinesQuery.vue +358 -358
  12. package/src/components/sale/businessquery/ChangeMeterQuery.vue +632 -632
  13. package/src/components/sale/businessquery/ChangeUserQuery.vue +357 -357
  14. package/src/components/sale/businessquery/DisableQuery.vue +451 -451
  15. package/src/components/sale/businessquery/EnableQuery.vue +408 -408
  16. package/src/components/sale/businessquery/FillCardQuery.vue +486 -486
  17. package/src/components/sale/businessquery/FillGasQuery.vue +511 -511
  18. package/src/components/sale/businessquery/InspectListUser.vue +1 -1
  19. package/src/components/sale/businessquery/OtherChargeQuery.vue +634 -634
  20. package/src/components/sale/businessquery/ReverseQuery.vue +402 -402
  21. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  22. package/src/components/sale/businessquery/TransferQuery.vue +418 -418
  23. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  24. package/src/components/sale/filesquery/DeviceQuery.vue +534 -534
  25. package/src/components/sale/filesquery/RecordInfoQuery.vue +1260 -1260
  26. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  27. package/src/components/statistical/DendrogramManage.vue +239 -239
  28. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  29. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  30. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  31. package/src/filiale/pingxiang/sale.js +9 -9
  32. package/src/filiale/qingtongxia/sale.js +13 -13
  33. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  34. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  35. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  36. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  37. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  38. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  39. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  40. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  41. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  42. package/src/filiale/tongchuan/ChargeQuery.vue +1283 -1277
  43. package/src/filiale/tongchuan/FillGasQuery.vue +523 -523
  44. package/src/filiale/tongchuan/ReportList.vue +472 -472
  45. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  46. package/src/filiale/tongchuan/sale.js +16 -16
  47. package/src/filiale/zhongsheng/ChargeQuery.vue +1255 -0
  48. package/src/filiale/zhongsheng/config/exportConfig.js +899 -0
  49. package/src/filiale/zhongsheng/sale.js +10 -0
  50. package/src/main.js +66 -66
  51. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  52. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  53. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  54. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  55. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -1,472 +1,472 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row" >
9
- <div class="col-sm-2">
10
- <label class="font_normal_body">组织机构</label>
11
- <res-select :initresid="$parent.$parent.org"
12
- style="width:60%"
13
- @res-select="$parent.$parent.getorg"
14
- :is-mul=false
15
- restype='organization'>
16
- </res-select>
17
-
18
- </div>
19
- <div class="col-sm-2">
20
- <label class="font_normal_body">表&nbsp;&nbsp;号&nbsp;</label>
21
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
22
- condition="m.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
23
- >
24
- </div>
25
- <!-- <div class="col-sm-2">-->
26
- <!-- <label class="font_normal_body">组织机构</label>-->
27
- <!-- <res-select :initresid="$parent.$parent.orgid"-->
28
- <!-- style="width:60%"-->
29
- <!-- @res-select="$parent.$parent.getRes"-->
30
- <!-- restype='organization'>-->
31
- <!-- </res-select>-->
32
- <!-- </div>-->
33
- <div class="col-sm-2">
34
- <label class="font_normal_body">客户编号</label>
35
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
36
- condition="ui.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
37
- >
38
- </div>
39
- <div class="col-sm-2">
40
- <label class="font_normal_body">客户名称</label>
41
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
42
- condition="ui.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
43
- </div>
44
- <div class="col-sm-2">
45
- <label class="font_normal_body">客户地址</label>
46
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
47
- condition="ua.f_address like '%{}%'" v-next-el='userid' v-el:username>
48
- </div>
49
- <div class="col-sm-2 form-group">
50
- <label class="font_normal_body">客户类型</label>
51
- <v-select :value.sync="model.f_user_type"
52
- @change="$parent.$parent.userTypeChange()"
53
- :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
54
- condition="uf.f_user_type = '{}'"
55
- close-on-select></v-select>
56
- </div>
57
- <div class="col-sm-2 form-group">
58
- <label class="font_normal_body">用气性质</label>
59
- <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
60
- :options='$parent.$parent.gasproperties' placeholder='请选择'
61
- condition="uf.f_gasproperties = '{}'"
62
- closfe-on-select></v-select>
63
- </div>
64
- <div class="col-sm-2 form-group">
65
- <label class="font_normal_body">气价类型</label>
66
- <v-select :value.sync="model.pricetype" v-model="model.pricetype"
67
- placeholder='气价类型' :options="$parent.$parent.pricetypes"
68
- close-on-select>
69
- </v-select>
70
- </div>
71
- <div class="col-sm-2 form-group">
72
- <label class="font_normal_body">气价名称</label>
73
- <v-select :value.sync="model.f_price_name"
74
- v-model="model.f_price_name"
75
- :options="$parent.$parent.getPricenames"
76
- condition="ts.f_price_name = '{}'"
77
- close-on-select></v-select>
78
- </div>
79
-
80
- <div class="col-sm-2 form-group">
81
- <label class="font_normal_body">气表品牌</label>
82
- <v-select :value.sync="model.f_gasbrand"
83
- v-model="model.f_gasbrand"
84
- :options='$parent.$parent.meterbrands'
85
- condition="br.f_meter_brand = '{}'"
86
- placeholder='气表品牌'
87
- close-on-select></v-select>
88
- </div>
89
-
90
- <div class="span" style="float:right;margin-top:10px">
91
- <button class="button_search button_spacing" @click="search()">查询</button>
92
- <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
93
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
94
- :field="$parent.$parent.getfield"
95
- sqlurl="rs/logic/exportfile" sql-name="manage_getReportList" template-name='上报查询'
96
- :choose-col="true"></export-excel>
97
- <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>
98
- </div>
99
- </div>
100
- <div class="row" v-show="$parent.$parent.criteriaShow">
101
- <div class="col-sm-2 " >
102
- <label class="font_normal_body" >开始时间</label>
103
- <datepicker style="width: 60%" placeholder="大于等于"
104
- :value.sync="model.f_start_date"
105
- v-model="model.f_start_date"
106
- :format="'yyyy-MM-dd HH:mm:ss'"
107
- condition="m.f_hand_date >= '{}'"
108
- ></datepicker>
109
- </div>
110
- <div class="col-sm-2 " >
111
- <label class="font_normal_body">结束时间</label>
112
- <datepicker style="width: 60%" placeholder="小于等于"
113
- :value.sync="model.f_end_date"
114
- v-model="model.f_end_date"
115
- :format="'yyyy-MM-dd HH:mm:ss'"
116
- condition="m.f_hand_date <= '{}'"
117
- ></datepicker>
118
- </div>
119
- </div>
120
- </div>
121
- </criteria>
122
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
123
- <template partial='head'>
124
- <tr>
125
- <th><nobr>客户编号</nobr></th>
126
- <th><nobr>表号</nobr></th>
127
- <th><nobr>气表品牌</nobr></th>
128
- <th><nobr>客户姓名</nobr></th>
129
- <th><nobr>客户电话</nobr></th>
130
- <th><nobr>客户地址</nobr></th>
131
-
132
- <th><nobr>上报日期</nobr></th>
133
- <th><nobr>系统接收时间</nobr></th>
134
- <th><nobr>表内剩余金额</nobr></th>
135
- <th><nobr>表内单价</nobr></th>
136
- <th><nobr>本次抄表底数</nobr></th>
137
- <th><nobr>阀门状态</nobr></th>
138
-
139
- <th><nobr>上报类型</nobr></th>
140
- <th><nobr>表内累计充值金额</nobr></th>
141
- <th><nobr>噪音强度</nobr></th>
142
- <th><nobr>信噪比</nobr></th>
143
- <th><nobr>电压</nobr></th>
144
-
145
- <th><nobr>表状态</nobr></th>
146
- <th><nobr>金额状态</nobr></th>
147
- <th><nobr>外电低电</nobr></th>
148
- <th><nobr>内电低电</nobr></th>
149
- <th><nobr>流量计温度</nobr></th>
150
- <th><nobr>流量计压力</nobr></th>
151
- <th><nobr>流量计电压</nobr></th>
152
- <th><nobr>流量计工况累计</nobr></th>
153
- <th><nobr>流量计标况累计</nobr></th>
154
- <th><nobr>流量计工况流速</nobr></th>
155
- <th><nobr>流量计标况流速</nobr></th>
156
- <th><nobr>流量计计量状态</nobr></th>
157
- <th><nobr>流量计温度状态</nobr></th>
158
- <th><nobr>流量计压力状态</nobr></th>
159
- <th><nobr>流量计电压状态</nobr></th>
160
- <th><nobr>流量计活动状态</nobr></th>
161
- <th><nobr>流量计命令响应状态</nobr></th>
162
- <th><nobr>流量计数据状态</nobr></th>
163
- <th><nobr>流量计EEPROM状态</nobr></th>
164
- <th><nobr>流量计时钟电路状态</nobr></th>
165
- <th><nobr>每小时上报量</nobr></th>
166
- </tr>
167
- </template>
168
- <template partial='body' partial='list'>
169
- <tr >
170
- <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
171
- <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
172
- <td style="text-align: left;"><nobr>{{row.f_meter_brand}}</nobr></td>
173
- <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
174
- <td style="text-align: left;"><nobr>{{row.f_user_phone}}</nobr></td>
175
- <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
176
-
177
- <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
178
- <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
179
- <th style="text-align:center"><nobr>{{row.f_meterbalanceamt}}</nobr></th>
180
- <th style="text-align:center"><nobr>{{row.f_price}}</nobr></th>
181
- <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
182
- <th style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></th>
183
-
184
-
185
- <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
186
- <th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
187
- <th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
188
- <th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
189
- <th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
190
-
191
- <th style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></th>
192
- <th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
193
- <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery}}</nobr></th>
194
- <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery2}}</nobr></th>
195
- <th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
196
- <th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
197
- <th style="text-align:center"><nobr>{{row.flowmeterbatterylevel}}</nobr></th>
198
- <th style="text-align:center"><nobr>{{row.operatingmodetotal}}</nobr></th>
199
- <th style="text-align:center"><nobr>{{row.standardconditiontotal}}</nobr></th>
200
- <th style="text-align:center"><nobr>{{row.factorycurrentspeed}}</nobr></th>
201
- <th style="text-align:center"><nobr>{{row.standardcurrentspeed}}</nobr></th>
202
- <th style="text-align:center"><nobr>{{row.flowmeterwmprepaystate}}</nobr></th>
203
- <th style="text-align:center"><nobr>{{row.flowmetertemperaturestate}}</nobr></th>
204
- <th style="text-align:center"><nobr>{{row.flowmeterpressurestate}}</nobr></th>
205
- <th style="text-align:center"><nobr>{{row.flowmeterbatterylevelstate}}</nobr></th>
206
- <th style="text-align:center"><nobr>{{row.flowmeterdostate}}</nobr></th>
207
- <th style="text-align:center"><nobr>{{row.flowmeterinstructresponsestate}}</nobr></th>
208
- <th style="text-align:center"><nobr>{{row.flowmeterdatastate}}</nobr></th>
209
- <th style="text-align:center"><nobr>{{row.flowmetereppromstate}}</nobr></th>
210
- <th style="text-align:center"><nobr>{{row.flowmeterclockstate}}</nobr></th>
211
- <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
212
- <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
213
- <th style="text-align:center">
214
- <button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>
215
- </th>
216
- </tr>
217
- </template>
218
- <template partial='foot'></template>
219
- </data-grid>
220
- </criteria-paged>
221
- <table class="table-hover">
222
- <!-- <tr style="position: relative" class="table-bordered">-->
223
- <!-- <td-->
224
- <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
225
- <!-- 汇总信息-->
226
- <!-- </td>-->
227
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
228
- <!-- 表内剩余金额合计:&emsp;{{sumsmodel.f_meterbalanceamt}}-->
229
- <!-- </td>-->
230
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
231
- <!-- 抄表底数合计:&emsp;{{sumsmodel.f_tablebase}}-->
232
- <!-- </td>-->
233
- <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
234
- <!-- 表累计充值金额合计:&emsp;{{sumsmodel.f_meterdebitamt}}-->
235
- <!-- </td>-->
236
- <!-- </tr>-->
237
- </table>
238
- <modal :show.sync="detail24" >
239
- <header slot="modal-header" class="modal-header">
240
- <h4 class="modal-title">24小时上报数据明细</h4>
241
- </header>
242
- <article slot="modal-body" class="modal-body">
243
- <table v-for="detail of detaillist">
244
- <tr><td>{{detail.frozenDate}}</td><td>&nbsp;&nbsp;--&nbsp;&nbsp;</td><td>{{detail.frozenValue}}</td></tr>
245
- </table>
246
- </article>
247
- <footer slot="modal-footer" class="modal-footer">
248
- <div class="form-group">
249
- <button class="btn btn-success" @click="close()">确认</button>
250
- <button type="button" class="btn btn-default" @click='close'>取消</button>
251
- </div>
252
- </footer>
253
- </modal>
254
- </div>
255
- <div class="flex" v-if="show">
256
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
257
- </div>
258
- </div>
259
-
260
- </div>
261
- </template>
262
-
263
- <script>
264
- import {HttpResetClass, PagedList} from 'vue-client'
265
- import exportConfig from './config/exportConfig'
266
- import plugins from '../../plugins/GetLoginInfoService'
267
-
268
- let readySomething = async function (self) {
269
- await self.$MagLoadParams.loadParam()
270
- self.initParams()
271
- self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
272
- }
273
- export default {
274
- title: '上报查询',
275
- data () {
276
- return {
277
- show:false,
278
- detail24: false,
279
- org:[this.$login.f.orgid],
280
- orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
281
- f_filialeid: this.$login.f.f_orgid,
282
- detaillist: [],
283
- prices: [],
284
- meterbrands:[],
285
- gasproperties:[],
286
- condition:'',
287
- rowdata:{},
288
- sumsmodel: {},
289
- orgid:[this.$login.f.orgid],
290
- criteriaShow:false,
291
- orgCondtionStr: '',
292
- model: new PagedList('rs/sql/manage_getReportList', 50,{},{f_meterbalanceamt: 0,f_tablebase: 0,f_meterdebitamt: 0})
293
- }
294
- },
295
- ready () {
296
- // this.$refs.paged.$refs.criteria.search()
297
- readySomething(this).then(() => {
298
- this.$emit('ready')
299
- }).catch((error) => {
300
- this.$emit('error', error)
301
- })
302
- },
303
- methods: {
304
- initParams() {
305
- // 初始化气表品牌
306
- let brandArr = []
307
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
308
- let temp = {}
309
- if(item.value.f_meter_type==='物联网表'){
310
- temp.label = item.label
311
- temp.value = item.value.f_meter_brand
312
- brandArr.push(temp)
313
- }
314
- })
315
-
316
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
317
- //初始化气表价格
318
- this.prices = this.$MagGetSaleParam.getPrices();
319
- },
320
- async updateParams() {
321
- await this.$MagLoadParams.loadParam(this.f_filialeid)
322
- this.initParams()
323
- },
324
- getorg(obj) {
325
- if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
326
- this.orgcondition = " and m.f_orgid in " + plugins.convertToIn(obj)
327
- }else{
328
- this.orgcondition = " and m.f_orgid = " + this.$login.f.orgid
329
- }
330
-
331
- },
332
- userTypeChange () {
333
- this.gasproperties=[]
334
- if(this.$refs.paged.$refs.criteria.model !==null) {
335
- this.$refs.paged.$refs.criteria.model.f_gasproperties=''
336
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
337
- }
338
- else{
339
- this.gasproperties =[{label: '全部', value: ''}]
340
- }
341
- },
342
- showdetail(val) {
343
- console.log('24detail==', val)
344
- if(val){
345
- let detail = eval("("+val+")")
346
- this.detaillist = detail
347
- this.detail24 = true
348
- }else{
349
- console.log('无数据')
350
- }
351
- },
352
- close() {
353
- this.detail24 = false
354
- },
355
- hidden(){
356
- this.criteriaShow = !this.criteriaShow
357
- },
358
- cancel() {
359
- this.show = false
360
- },
361
- clearmsg () {
362
- Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
363
- this.$refs.paged.$refs.criteria.model[key] = []
364
- })
365
- },
366
- getRes (obj) {
367
- this.orgCondtionStr = condition
368
- this.orgname = obj.orgnames[0]
369
- this.depname = obj.depnames[0]
370
- },
371
- showmsg(obj){
372
- this.rowdata=obj
373
- this.show=true
374
- },
375
-
376
- search (args) {
377
- args.condition = `${args.condition}`+this.orgcondition
378
- console.log(args.condition+"args.condition")
379
- this.condition = args.condition
380
- this.model.search(args.condition, args.model)
381
- console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
382
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
383
- // args.condition = `${args.condition}`
384
- // if (this.orgcondition)
385
- // args.condition = `${args.condition}` + this.orgcondition
386
- // else
387
- // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
388
- // this.model.search(args.condition, args.model)
389
- }
390
- },
391
- watch: {
392
- 'orgCondtionStr'(val) {
393
- let res = val.match(/'(.*?)'/)
394
- console.log('正则提取:',res && res[1])
395
- if (res) {
396
- this.f_filialeid = res[1]
397
- this.updateParams()
398
- }
399
- }
400
- },
401
- computed: {
402
- getPricenames() {
403
- let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
404
- let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
405
- let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
406
- console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
407
- console.log("查看f_orgid:",this.$login.f.f_orgid)
408
- if(this.$refs.paged.$refs.criteria.model !==null) {
409
- let rs = []
410
- let priceArr = []
411
- if ( pricetype.length >0) {
412
- let params = {
413
- f_price_type: pricetype[0],
414
- filter: this.org[0],
415
- prices: this.prices
416
- }
417
- console.log("打印一下params:",params)
418
- this.$MagGetSaleParam.getPrice(params).forEach((item) => {
419
- console.log("====================================》")
420
- let temp = {}
421
- temp.label = item.label
422
- temp.value = item.value.f_price_name
423
- priceArr.push(temp)
424
- console.log("打印一下temp:",temp)
425
- })
426
-
427
- rs = [{label: '全部', value: ''}, ...priceArr]
428
- }
429
- if (rs.length === 0) {
430
- console.log('rs读出来是空')
431
- this.$refs.paged.$refs.criteria.model.f_price_name = ''
432
- }
433
- return rs
434
- }
435
- },
436
- getfield () {
437
- return exportConfig.ReportListConfig
438
- },
439
- usertypes() {
440
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
441
- },
442
- pricetypes() {
443
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
444
- },
445
- getCondition () {
446
- var con = ""
447
- if (this.orgCondtionStr) {
448
- con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
449
- }
450
- else {
451
- con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
452
- }
453
- return {
454
- condition: con
455
- }
456
- }
457
- }
458
- }
459
- </script>
460
-
461
- <style>
462
- .mystyle{
463
- margin-left:80px;
464
- }
465
- .datapanel {
466
- color: #333;
467
- background-color: white;
468
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
469
- padding: 10px 10px 10px 10px;
470
- border-radius:15px;
471
- }
472
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row" >
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid="$parent.$parent.org"
12
+ style="width:60%"
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul=false
15
+ restype='organization'>
16
+ </res-select>
17
+
18
+ </div>
19
+ <div class="col-sm-2">
20
+ <label class="font_normal_body">表&nbsp;&nbsp;号&nbsp;</label>
21
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表号'
22
+ condition="m.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
23
+ >
24
+ </div>
25
+ <!-- <div class="col-sm-2">-->
26
+ <!-- <label class="font_normal_body">组织机构</label>-->
27
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
28
+ <!-- style="width:60%"-->
29
+ <!-- @res-select="$parent.$parent.getRes"-->
30
+ <!-- restype='organization'>-->
31
+ <!-- </res-select>-->
32
+ <!-- </div>-->
33
+ <div class="col-sm-2">
34
+ <label class="font_normal_body">客户编号</label>
35
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
36
+ condition="ui.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
37
+ >
38
+ </div>
39
+ <div class="col-sm-2">
40
+ <label class="font_normal_body">客户名称</label>
41
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
42
+ condition="ui.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
43
+ </div>
44
+ <div class="col-sm-2">
45
+ <label class="font_normal_body">客户地址</label>
46
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
47
+ condition="ua.f_address like '%{}%'" v-next-el='userid' v-el:username>
48
+ </div>
49
+ <div class="col-sm-2 form-group">
50
+ <label class="font_normal_body">客户类型</label>
51
+ <v-select :value.sync="model.f_user_type"
52
+ @change="$parent.$parent.userTypeChange()"
53
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
54
+ condition="uf.f_user_type = '{}'"
55
+ close-on-select></v-select>
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">用气性质</label>
59
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
60
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
61
+ condition="uf.f_gasproperties = '{}'"
62
+ closfe-on-select></v-select>
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">气价类型</label>
66
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
67
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
68
+ close-on-select>
69
+ </v-select>
70
+ </div>
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">气价名称</label>
73
+ <v-select :value.sync="model.f_price_name"
74
+ v-model="model.f_price_name"
75
+ :options="$parent.$parent.getPricenames"
76
+ condition="ts.f_price_name = '{}'"
77
+ close-on-select></v-select>
78
+ </div>
79
+
80
+ <div class="col-sm-2 form-group">
81
+ <label class="font_normal_body">气表品牌</label>
82
+ <v-select :value.sync="model.f_gasbrand"
83
+ v-model="model.f_gasbrand"
84
+ :options='$parent.$parent.meterbrands'
85
+ condition="br.f_meter_brand = '{}'"
86
+ placeholder='气表品牌'
87
+ close-on-select></v-select>
88
+ </div>
89
+
90
+ <div class="span" style="float:right;margin-top:10px">
91
+ <button class="button_search button_spacing" @click="search()">查询</button>
92
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
93
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
94
+ :field="$parent.$parent.getfield"
95
+ sqlurl="rs/logic/exportfile" sql-name="manage_getReportList" template-name='上报查询'
96
+ :choose-col="true"></export-excel>
97
+ <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>
98
+ </div>
99
+ </div>
100
+ <div class="row" v-show="$parent.$parent.criteriaShow">
101
+ <div class="col-sm-2 " >
102
+ <label class="font_normal_body" >开始时间</label>
103
+ <datepicker style="width: 60%" placeholder="大于等于"
104
+ :value.sync="model.f_start_date"
105
+ v-model="model.f_start_date"
106
+ :format="'yyyy-MM-dd HH:mm:ss'"
107
+ condition="m.f_hand_date >= '{}'"
108
+ ></datepicker>
109
+ </div>
110
+ <div class="col-sm-2 " >
111
+ <label class="font_normal_body">结束时间</label>
112
+ <datepicker style="width: 60%" placeholder="小于等于"
113
+ :value.sync="model.f_end_date"
114
+ v-model="model.f_end_date"
115
+ :format="'yyyy-MM-dd HH:mm:ss'"
116
+ condition="m.f_hand_date <= '{}'"
117
+ ></datepicker>
118
+ </div>
119
+ </div>
120
+ </div>
121
+ </criteria>
122
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
123
+ <template partial='head'>
124
+ <tr>
125
+ <th><nobr>客户编号</nobr></th>
126
+ <th><nobr>表号</nobr></th>
127
+ <th><nobr>气表品牌</nobr></th>
128
+ <th><nobr>客户姓名</nobr></th>
129
+ <th><nobr>客户电话</nobr></th>
130
+ <th><nobr>客户地址</nobr></th>
131
+
132
+ <th><nobr>上报日期</nobr></th>
133
+ <th><nobr>系统接收时间</nobr></th>
134
+ <th><nobr>表内剩余金额</nobr></th>
135
+ <th><nobr>表内单价</nobr></th>
136
+ <th><nobr>本次抄表底数</nobr></th>
137
+ <th><nobr>阀门状态</nobr></th>
138
+
139
+ <th><nobr>上报类型</nobr></th>
140
+ <th><nobr>表内累计充值金额</nobr></th>
141
+ <th><nobr>噪音强度</nobr></th>
142
+ <th><nobr>信噪比</nobr></th>
143
+ <th><nobr>电压</nobr></th>
144
+
145
+ <th><nobr>表状态</nobr></th>
146
+ <th><nobr>金额状态</nobr></th>
147
+ <th><nobr>外电低电</nobr></th>
148
+ <th><nobr>内电低电</nobr></th>
149
+ <th><nobr>流量计温度</nobr></th>
150
+ <th><nobr>流量计压力</nobr></th>
151
+ <th><nobr>流量计电压</nobr></th>
152
+ <th><nobr>流量计工况累计</nobr></th>
153
+ <th><nobr>流量计标况累计</nobr></th>
154
+ <th><nobr>流量计工况流速</nobr></th>
155
+ <th><nobr>流量计标况流速</nobr></th>
156
+ <th><nobr>流量计计量状态</nobr></th>
157
+ <th><nobr>流量计温度状态</nobr></th>
158
+ <th><nobr>流量计压力状态</nobr></th>
159
+ <th><nobr>流量计电压状态</nobr></th>
160
+ <th><nobr>流量计活动状态</nobr></th>
161
+ <th><nobr>流量计命令响应状态</nobr></th>
162
+ <th><nobr>流量计数据状态</nobr></th>
163
+ <th><nobr>流量计EEPROM状态</nobr></th>
164
+ <th><nobr>流量计时钟电路状态</nobr></th>
165
+ <th><nobr>每小时上报量</nobr></th>
166
+ </tr>
167
+ </template>
168
+ <template partial='body' partial='list'>
169
+ <tr >
170
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
171
+ <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
172
+ <td style="text-align: left;"><nobr>{{row.f_meter_brand}}</nobr></td>
173
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
174
+ <td style="text-align: left;"><nobr>{{row.f_user_phone}}</nobr></td>
175
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
176
+
177
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
178
+ <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
179
+ <th style="text-align:center"><nobr>{{row.f_meterbalanceamt}}</nobr></th>
180
+ <th style="text-align:center"><nobr>{{row.f_price}}</nobr></th>
181
+ <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
182
+ <th style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></th>
183
+
184
+
185
+ <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
186
+ <th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
187
+ <th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
188
+ <th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
189
+ <th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
190
+
191
+ <th style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></th>
192
+ <th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
193
+ <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery}}</nobr></th>
194
+ <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery2}}</nobr></th>
195
+ <th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
196
+ <th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
197
+ <th style="text-align:center"><nobr>{{row.flowmeterbatterylevel}}</nobr></th>
198
+ <th style="text-align:center"><nobr>{{row.operatingmodetotal}}</nobr></th>
199
+ <th style="text-align:center"><nobr>{{row.standardconditiontotal}}</nobr></th>
200
+ <th style="text-align:center"><nobr>{{row.factorycurrentspeed}}</nobr></th>
201
+ <th style="text-align:center"><nobr>{{row.standardcurrentspeed}}</nobr></th>
202
+ <th style="text-align:center"><nobr>{{row.flowmeterwmprepaystate}}</nobr></th>
203
+ <th style="text-align:center"><nobr>{{row.flowmetertemperaturestate}}</nobr></th>
204
+ <th style="text-align:center"><nobr>{{row.flowmeterpressurestate}}</nobr></th>
205
+ <th style="text-align:center"><nobr>{{row.flowmeterbatterylevelstate}}</nobr></th>
206
+ <th style="text-align:center"><nobr>{{row.flowmeterdostate}}</nobr></th>
207
+ <th style="text-align:center"><nobr>{{row.flowmeterinstructresponsestate}}</nobr></th>
208
+ <th style="text-align:center"><nobr>{{row.flowmeterdatastate}}</nobr></th>
209
+ <th style="text-align:center"><nobr>{{row.flowmetereppromstate}}</nobr></th>
210
+ <th style="text-align:center"><nobr>{{row.flowmeterclockstate}}</nobr></th>
211
+ <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
212
+ <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
213
+ <th style="text-align:center">
214
+ <button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>
215
+ </th>
216
+ </tr>
217
+ </template>
218
+ <template partial='foot'></template>
219
+ </data-grid>
220
+ </criteria-paged>
221
+ <table class="table-hover">
222
+ <!-- <tr style="position: relative" class="table-bordered">-->
223
+ <!-- <td-->
224
+ <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
225
+ <!-- 汇总信息-->
226
+ <!-- </td>-->
227
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
228
+ <!-- 表内剩余金额合计:&emsp;{{sumsmodel.f_meterbalanceamt}}-->
229
+ <!-- </td>-->
230
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
231
+ <!-- 抄表底数合计:&emsp;{{sumsmodel.f_tablebase}}-->
232
+ <!-- </td>-->
233
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
234
+ <!-- 表累计充值金额合计:&emsp;{{sumsmodel.f_meterdebitamt}}-->
235
+ <!-- </td>-->
236
+ <!-- </tr>-->
237
+ </table>
238
+ <modal :show.sync="detail24" >
239
+ <header slot="modal-header" class="modal-header">
240
+ <h4 class="modal-title">24小时上报数据明细</h4>
241
+ </header>
242
+ <article slot="modal-body" class="modal-body">
243
+ <table v-for="detail of detaillist">
244
+ <tr><td>{{detail.frozenDate}}</td><td>&nbsp;&nbsp;--&nbsp;&nbsp;</td><td>{{detail.frozenValue}}</td></tr>
245
+ </table>
246
+ </article>
247
+ <footer slot="modal-footer" class="modal-footer">
248
+ <div class="form-group">
249
+ <button class="btn btn-success" @click="close()">确认</button>
250
+ <button type="button" class="btn btn-default" @click='close'>取消</button>
251
+ </div>
252
+ </footer>
253
+ </modal>
254
+ </div>
255
+ <div class="flex" v-if="show">
256
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
257
+ </div>
258
+ </div>
259
+
260
+ </div>
261
+ </template>
262
+
263
+ <script>
264
+ import {HttpResetClass, PagedList} from 'vue-client'
265
+ import exportConfig from './config/exportConfig'
266
+ import plugins from '../../plugins/GetLoginInfoService'
267
+
268
+ let readySomething = async function (self) {
269
+ await self.$MagLoadParams.loadParam()
270
+ self.initParams()
271
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
272
+ }
273
+ export default {
274
+ title: '上报查询',
275
+ data () {
276
+ return {
277
+ show:false,
278
+ detail24: false,
279
+ org:[this.$login.f.orgid],
280
+ orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
281
+ f_filialeid: this.$login.f.f_orgid,
282
+ detaillist: [],
283
+ prices: [],
284
+ meterbrands:[],
285
+ gasproperties:[],
286
+ condition:'',
287
+ rowdata:{},
288
+ sumsmodel: {},
289
+ orgid:[this.$login.f.orgid],
290
+ criteriaShow:false,
291
+ orgCondtionStr: '',
292
+ model: new PagedList('rs/sql/manage_getReportList', 50,{},{f_meterbalanceamt: 0,f_tablebase: 0,f_meterdebitamt: 0})
293
+ }
294
+ },
295
+ ready () {
296
+ // this.$refs.paged.$refs.criteria.search()
297
+ readySomething(this).then(() => {
298
+ this.$emit('ready')
299
+ }).catch((error) => {
300
+ this.$emit('error', error)
301
+ })
302
+ },
303
+ methods: {
304
+ initParams() {
305
+ // 初始化气表品牌
306
+ let brandArr = []
307
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
308
+ let temp = {}
309
+ if(item.value.f_meter_type==='物联网表'){
310
+ temp.label = item.label
311
+ temp.value = item.value.f_meter_brand
312
+ brandArr.push(temp)
313
+ }
314
+ })
315
+
316
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
317
+ //初始化气表价格
318
+ this.prices = this.$MagGetSaleParam.getPrices();
319
+ },
320
+ async updateParams() {
321
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
322
+ this.initParams()
323
+ },
324
+ getorg(obj) {
325
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
326
+ this.orgcondition = " and m.f_orgid in " + plugins.convertToIn(obj)
327
+ }else{
328
+ this.orgcondition = " and m.f_orgid = " + this.$login.f.orgid
329
+ }
330
+
331
+ },
332
+ userTypeChange () {
333
+ this.gasproperties=[]
334
+ if(this.$refs.paged.$refs.criteria.model !==null) {
335
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
336
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
337
+ }
338
+ else{
339
+ this.gasproperties =[{label: '全部', value: ''}]
340
+ }
341
+ },
342
+ showdetail(val) {
343
+ console.log('24detail==', val)
344
+ if(val){
345
+ let detail = eval("("+val+")")
346
+ this.detaillist = detail
347
+ this.detail24 = true
348
+ }else{
349
+ console.log('无数据')
350
+ }
351
+ },
352
+ close() {
353
+ this.detail24 = false
354
+ },
355
+ hidden(){
356
+ this.criteriaShow = !this.criteriaShow
357
+ },
358
+ cancel() {
359
+ this.show = false
360
+ },
361
+ clearmsg () {
362
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
363
+ this.$refs.paged.$refs.criteria.model[key] = []
364
+ })
365
+ },
366
+ getRes (obj) {
367
+ this.orgCondtionStr = condition
368
+ this.orgname = obj.orgnames[0]
369
+ this.depname = obj.depnames[0]
370
+ },
371
+ showmsg(obj){
372
+ this.rowdata=obj
373
+ this.show=true
374
+ },
375
+
376
+ search (args) {
377
+ args.condition = `${args.condition}`+this.orgcondition
378
+ console.log(args.condition+"args.condition")
379
+ this.condition = args.condition
380
+ this.model.search(args.condition, args.model)
381
+ console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
382
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
383
+ // args.condition = `${args.condition}`
384
+ // if (this.orgcondition)
385
+ // args.condition = `${args.condition}` + this.orgcondition
386
+ // else
387
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
388
+ // this.model.search(args.condition, args.model)
389
+ }
390
+ },
391
+ watch: {
392
+ 'orgCondtionStr'(val) {
393
+ let res = val.match(/'(.*?)'/)
394
+ console.log('正则提取:',res && res[1])
395
+ if (res) {
396
+ this.f_filialeid = res[1]
397
+ this.updateParams()
398
+ }
399
+ }
400
+ },
401
+ computed: {
402
+ getPricenames() {
403
+ let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
404
+ let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
405
+ let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
406
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
407
+ console.log("查看f_orgid:",this.$login.f.f_orgid)
408
+ if(this.$refs.paged.$refs.criteria.model !==null) {
409
+ let rs = []
410
+ let priceArr = []
411
+ if ( pricetype.length >0) {
412
+ let params = {
413
+ f_price_type: pricetype[0],
414
+ filter: this.org[0],
415
+ prices: this.prices
416
+ }
417
+ console.log("打印一下params:",params)
418
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
419
+ console.log("====================================》")
420
+ let temp = {}
421
+ temp.label = item.label
422
+ temp.value = item.value.f_price_name
423
+ priceArr.push(temp)
424
+ console.log("打印一下temp:",temp)
425
+ })
426
+
427
+ rs = [{label: '全部', value: ''}, ...priceArr]
428
+ }
429
+ if (rs.length === 0) {
430
+ console.log('rs读出来是空')
431
+ this.$refs.paged.$refs.criteria.model.f_price_name = ''
432
+ }
433
+ return rs
434
+ }
435
+ },
436
+ getfield () {
437
+ return exportConfig.ReportListConfig
438
+ },
439
+ usertypes() {
440
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
441
+ },
442
+ pricetypes() {
443
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
444
+ },
445
+ getCondition () {
446
+ var con = ""
447
+ if (this.orgCondtionStr) {
448
+ con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
449
+ }
450
+ else {
451
+ con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
452
+ }
453
+ return {
454
+ condition: con
455
+ }
456
+ }
457
+ }
458
+ }
459
+ </script>
460
+
461
+ <style>
462
+ .mystyle{
463
+ margin-left:80px;
464
+ }
465
+ .datapanel {
466
+ color: #333;
467
+ background-color: white;
468
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
469
+ padding: 10px 10px 10px 10px;
470
+ border-radius:15px;
471
+ }
472
+ </style>