manage-client 4.0.29 → 4.0.30

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