manage-client 3.2.70-aode → 3.2.71-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 (65) hide show
  1. package/build/dev-server.js +193 -193
  2. package/build/webpack.base.conf.js +79 -79
  3. package/client.iml +14 -14
  4. package/package.json +1 -1
  5. package/src/Util.js +383 -383
  6. package/src/components/MeterManage/MeterList.vue +336 -336
  7. package/src/components/WebReport/UserGasAll.vue +214 -214
  8. package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
  9. package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
  10. package/src/components/sale/businessquery/DeductionGas.vue +149 -149
  11. package/src/components/sale/businessquery/DisableQuery.vue +315 -315
  12. package/src/components/sale/businessquery/EnableQuery.vue +315 -315
  13. package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
  14. package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
  15. package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
  16. package/src/components/sale/businessquery/InspectListGas.vue +456 -456
  17. package/src/components/sale/businessquery/NewAccountQuery.vue +506 -506
  18. package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
  19. package/src/components/sale/businessquery/QueryUserState.vue +313 -313
  20. package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
  21. package/src/components/sale/businessquery/TransferQuery.vue +363 -363
  22. package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
  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/MonthByChargeType.vue +526 -526
  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 +387 -387
  40. package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
  41. package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
  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 +404 -404
  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 +548 -548
  48. package/src/components/webmeter/DrillData/NewUserGasAll.vue +568 -568
  49. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +507 -507
  50. package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
  51. package/src/components/webmeter/IOTArrears/arrears.vue +324 -324
  52. package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +377 -377
  53. package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
  54. package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
  55. package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
  56. package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
  57. package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
  58. package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
  59. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
  60. package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
  61. package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
  62. package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
  63. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
  64. package/src/components/webmeter/report/ReportList.vue +211 -211
  65. package/src/main.js +56 -56
@@ -1,377 +1,377 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex" v-if="!listpage">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <!-- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>-->
8
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
- <div class="row">
10
- <div class="col-sm-2 form-group">
11
- <label class="font_normal_body" >组织机构</label>
12
- <res-select
13
- :initresid='$parent.$parent.curorgid'
14
- @res-select="$parent.$parent.getorg"
15
- is-mul="false"
16
- restype='organization'>
17
- </res-select>
18
- </div>
19
- <div class="col-sm-2 form-group">
20
- <label class="font_normal_body">客户编号</label>
21
- <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" style="width:60%"
22
- condition="f_userinfo_code like '{}%'" placeholder="客户编号"
23
- />
24
- </div>
25
-
26
-
27
- <div class="col-sm-4 form-group">
28
- <label class="font_normal_body">客户地址</label>
29
- <input type="text" class="input_search"
30
- v-model="model.f_name" style="width:80%"
31
- condition="f_address like '%{}%'" placeholder="客户地址"
32
- />
33
- </div>
34
-
35
- <div style="float:right">
36
- <button class="button_search button_spacing" @click="search()" >查询</button>
37
- <button class="button_search button_spacing" @click="clear()" >清空</button>
38
- <!-- <button class="button_search button_spacing" @click="$parent.$parent.SaveAsFileAll('daochu')" >导出</button>-->
39
- <!-- <export-excel :data="$parent.$parent.getcondition" :defaultselect="$parent.$parent.defaultfield"-->
40
- <!-- :field="$parent.$parent.getfield"-->
41
- <!-- sqlurl="rs/logic/exportfile" sql-name="iotArrearsInfo" template-name='物联网表欠费用户信息'-->
42
- <!-- :choose-col="true"></export-excel>-->
43
- <export-excel-plus :data="$parent.$parent.getcondition"
44
- :defaultselect="$parent.$parent.defaultfield"
45
- :field="$parent.$parent.getfield"
46
- :exportprogress="true" v-ref:exports
47
- sqlurl="rs/logic/exportfileplus" sql-name="iotrechargeaudit_manage" template-name='物联网表金额监控'
48
- :choose-col="true"></export-excel-plus>
49
- <!-- <button class="button_export" @click="$parent.$parent.importFile()">导入</button>-->
50
- <div
51
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
52
- @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
53
- </div>
54
- </div>
55
- <div class="row" v-show="$parent.$parent.criteriaShow">
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">客户名称</label>
58
- <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" style="width:60%"
59
- condition="f_user_name like '%{}%'" placeholder="客户名称"
60
- />
61
- </div>
62
- <div class="col-sm-2 form-group">
63
- <label class="font_normal_body">气表品牌</label>
64
- <v-select :value.sync="model.f_meter_brand"
65
- v-model="model.f_meter_brand"
66
- :options='$parent.$parent.meterbrands' placeholder='请选择'
67
- condition="f_meter_brand = '{}'"
68
- close-on-select></v-select>
69
- </div>
70
- <div class="col-sm-2 form-group">
71
- <label class="font_normal_body">客户类型</label>
72
- <v-select :options='$parent.$parent.usertypes'
73
- @change="$parent.$parent.userTypeChange"
74
- :value.sync="model.f_user_type"
75
- close-on-select condition="f_user_type = '{}'"
76
- placeholder='用户类型'
77
- style="width: 60%" v-model="model.f_user_type"></v-select>
78
- </div>
79
- <div class="col-sm-2 form-group">
80
- <label class="font_normal_body">用气性质</label>
81
- <v-select :options='$parent.$parent.gasproperties'
82
- :value.sync="model.f_gasproperties"
83
- close-on-select
84
- condition="f_gasproperties = '{}'"
85
- placeholder='用气性质'
86
- style="width: 60%"
87
- v-model="model.f_gasproperties">
88
- </v-select>
89
- </div>
90
- <div class="col-sm-3 form-group">
91
- <label class="font_normal_body">表累购金额</label>
92
- <v-select :options='$parent.$parent.totalmoneystate'
93
- :value.sync="model.f_total_state"
94
- close-on-select condition="f_total_fee {} allmoney"
95
- placeholder='全部' :width="'20%'"
96
- @change="$parent.$parent.changecolor(1,model.f_total_state)"
97
- style="margin-right: 8px;" v-model="model.f_total_state"></v-select>
98
- <label class="font_normal_body">表累购金额(记录合计)</label>
99
- </div>
100
- <div class="col-sm-3 form-group">
101
- <label class="font_normal_body">表累购金额</label>
102
- <v-select :options='$parent.$parent.totalmoneystate'
103
- :value.sync="model.f_totaluse_state"
104
- close-on-select condition="f_total_fee {} f_balance_amount+f_total_usegas_amount"
105
- placeholder='全部'
106
- :width="'20%'"
107
- @change="$parent.$parent.changecolor(2,model.f_totaluse_state)"
108
- style="margin-right: 8px;" v-model="model.f_totaluse_state"></v-select>
109
- <label class="font_normal_body">剩余金额+累用金额</label>
110
- </div>
111
- <div class="col-sm-4 form-group">
112
- <label class="font_normal_body">表累购金额</label>
113
- <v-select :options='$parent.$parent.totalmoneystate'
114
- :value.sync="model.f_totalsy_state"
115
- close-on-select condition="f_total_fee {} fillmoney+allmoney"
116
- placeholder='全部'
117
- :width="'20%'"
118
- @change="$parent.$parent.changecolor(3,model.f_totalsy_state)"
119
- style="margin-right: 8px;" v-model="model.f_totalsy_state"></v-select>
120
- <label class="font_normal_body">补气金额(旧表)+表累购金额(记录合计)</label>
121
- </div>
122
- <div class="col-sm-5 form-group">
123
- <p style="font-weight:bold;font-size: 14px; color:darkred;margin-top: 19px;">说明:由于旧表存在老系统换表补费,补气金额(旧表)需要和表累购金额(记录合计)的和才能等于表累购金额</p>
124
- </div>
125
-
126
- </div>
127
- </div>
128
- </criteria>
129
- <data-grid id="daochu" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
130
- <template partial='head'>
131
- <tr>
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
- <th><nobr>气表品牌</nobr></th>
139
- <th><nobr>客户地址</nobr></th>
140
- <th><nobr>气表类型</nobr></th>
141
- <th><nobr>气表状态</nobr></th>
142
- <th><nobr>气表读数</nobr></th>
143
- <th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}">
144
- <nobr>当前表累购金额</nobr></th>
145
- <th :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
146
- <nobr>补气金额(旧表)</nobr>
147
- </th>
148
- <th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
149
- <nobr>当前表累购金额(记录合计)</nobr></th>
150
- <th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
151
- <nobr>累用金额</nobr></th>
152
- <th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
153
- <nobr>剩余金额</nobr></th>
154
- <th><nobr>最后上报时间</nobr></th>
155
- <th><nobr>最后结算时间</nobr></th>
156
- <th><nobr>所属组织</nobr></th>
157
- </tr>
158
- </template>
159
- <template partial='body'>
160
- <tr>
161
- <td style="text-align:center">
162
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
163
- </td>
164
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
165
- <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr>
166
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
167
- <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
168
- <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
169
- <td style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></td>
170
- <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
171
- <td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
172
- <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
173
- <td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
174
- <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}" >
175
- <nobr>{{row.f_total_fee}}</nobr></td>
176
- <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
177
- <nobr>{{row.fillmoney}}</nobr></td>
178
- <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
179
- <nobr>{{row.allmoney}}</nobr></td>
180
- <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
181
- <nobr>{{row.f_total_usegas_amount}}</nobr></td>
182
- <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
183
- <nobr>{{row.f_balance_amount}}</nobr></td>
184
- <td style="text-align:center"><nobr>{{row.f_meteread_date}}</nobr></td>
185
- <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
186
- <td style="text-align:center"><nobr>{{row.name}}</nobr></td>
187
- </tr>
188
- </template>
189
- <template partial='foot'></template>
190
- </data-grid>
191
- </criteria-paged>
192
- </div>
193
- <div v-if="listpage">
194
- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
195
- </div>
196
- </div>
197
- </div>
198
-
199
-
200
- <modal :show.sync="fileshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
201
- <article slot="modal-body" class="modal-body">
202
- <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
203
- action="rs/file/uploadFile" tagname="导入发票" v-ref:file :headers="headers"></file-upload>
204
- </article>
205
- <footer slot="modal-footer" class="modal-footer">
206
- </footer>
207
- </modal>
208
-
209
- </template>
210
-
211
- <script>
212
- import { PagedList } from 'vue-client'
213
- import {HttpResetClass} from 'vue-client'
214
- import Vue from "vue";
215
- import getLodop from "../../../plugins/LodopFuncs";
216
- import exportConfig from "./valueConfig"
217
- let getGasbrandGen = async function (self) {
218
- await self.$LoadParams.loadParam()
219
- self.initQueryParam()
220
- }
221
- // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
222
- export default {
223
- data () {
224
- return {
225
- defaultfield: [],
226
- config: {
227
- defaultPrint: ['f_user_name','f_meter_brand','f_user_type']
228
- },
229
- model: new PagedList('rs/sql/iotrechargeaudit',20),
230
- fileshow: false,
231
- condition: '1=1',
232
- moneystate: [{label: '欠费', value: '<'}, {label: '正常', value: '>='}],
233
- totalmoneystate: [{label:'全部',value:''},{label: '相等', value: '='}, {label: '不等', value: '!='}],
234
- // f_usertype:[{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
235
- // gasproperties:[],
236
- meterBrand:[],
237
- meterbrands: [],
238
- curorgid: [this.$login.f.orgid],
239
- radio: [],
240
- //选中的页
241
- all: [],
242
- //row数据
243
- rowsdata: [],
244
- printModel: {
245
- rows: []
246
- },
247
- listpage:false,
248
- criteriaShow:false,
249
- iscomplanAllInfo:false,
250
- rowdata:[],
251
- gasproperties: this.$appdata.getParam('用气性质') ? [{
252
- label: '全部',
253
- value: ''
254
- }, ...this.$appdata.getParam('用气性质')] : [],
255
- showcolorstate:0,
256
- f_filialeid:this.$login.f.orgid,
257
- f_orgid:this.$login.f.orgid,
258
- }
259
- },
260
- title: '物联网金额监控',
261
- ready(){
262
- this.search()
263
- for(var item in exportConfig.iotrechargeaudit){
264
- this.defaultfield.push(item)
265
- }
266
- getGasbrandGen(this)
267
- },
268
- computed : {
269
- getcondition(){
270
- return {
271
- condition: `${this.$refs.paged.$refs.cri.condition} and f_filialeid in ${this.f_orgid}`
272
- }
273
- },
274
- getfield() {
275
- return exportConfig.iotrechargeaudit
276
- },
277
- usertypes() {
278
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户类型')]
279
- },
280
- metertypes() {
281
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
282
- },
283
- tableState () {
284
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
285
- }
286
- },
287
- events : {
288
-
289
- },
290
- methods: {
291
- changecolor(number,val){
292
- if(number != this.showcolorstate && (val == null || val == '')){
293
- return;
294
- }
295
- if(number == 3){
296
- this.$refs.paged.$refs.cri.model.f_total_state = ''
297
- this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
298
- }
299
- if(number == 2){
300
- this.$refs.paged.$refs.cri.model.f_totalsy_state=''
301
- this.$refs.paged.$refs.cri.model.f_total_state = ''
302
- }
303
- if(number == 1){
304
- this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
305
- this.$refs.paged.$refs.cri.model.f_totalsy_state = ''
306
- }
307
-
308
- this.showcolorstate = 0;
309
- if(val == null || val =='' ){
310
- this.showcolorstate = 0
311
- }else{
312
- this.showcolorstate = number
313
- }
314
- },
315
- hidden(){
316
- this.criteriaShow = !this.criteriaShow
317
- },
318
- cancel(){
319
- this.listpage=false
320
- },
321
- dealmsg(val) {
322
- console.log("=---------------dealmsg--------------")
323
- this.listpage=true
324
- this.rowdata=val
325
- console.log(this.rowdata.f_userinfo_id)
326
- val.model = this.model.model
327
- // this('deal-msg', val)
328
- },
329
- search () {
330
- this.$refs.paged.$refs.cri.search()
331
- },
332
- userTypeChange () {
333
- this.gasproperties=[]
334
- if(this.$refs.paged.$refs.cri.model !== null ) {
335
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
336
-
337
- console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
338
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
339
- // this.gasproperties.push({label: '全部', value: ''})
340
- }
341
- else{
342
- this.gasproperties =[{label: '全部', value: ''}]
343
- }
344
- },
345
- async selfSearch (args) {
346
- if (!this.f_orgid) {
347
- this.getorg([this.$login.f.orgid])
348
- }
349
- console.log('查询。。。', this.f_orgid)
350
- args.condition = `${args.condition} and f_filialeid in ${this.f_orgid}`
351
- this.model.search(args.condition, args.model)
352
- },
353
- //清空
354
- clear(){
355
- this.$refs.paged.$refs.cri.model = {}
356
- },
357
- getorg (val) {
358
- this.f_orgid = this.$login.convertToIn(val)
359
- this.f_filialeids = val[0]
360
- },
361
- initQueryParam () {
362
- let arr = []
363
- this.$GetSaleParam.getGasbrand().forEach((item) => {
364
- let temp = {}
365
- if(item.value.f_meter_type==='物联网表'){
366
- temp.label = item.label
367
- temp.value = item.value.f_meter_brand
368
- arr.push(temp )
369
- }
370
-
371
- })
372
- this.meterbrands = [{label: '全部', value: ''}, ...arr]
373
- }
374
- }
375
-
376
- }
377
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!listpage">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <!-- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>-->
8
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body" >组织机构</label>
12
+ <res-select
13
+ :initresid='$parent.$parent.curorgid'
14
+ @res-select="$parent.$parent.getorg"
15
+ is-mul="false"
16
+ restype='organization'>
17
+ </res-select>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">客户编号</label>
21
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" style="width:60%"
22
+ condition="f_userinfo_code like '{}%'" placeholder="客户编号"
23
+ />
24
+ </div>
25
+
26
+
27
+ <div class="col-sm-4 form-group">
28
+ <label class="font_normal_body">客户地址</label>
29
+ <input type="text" class="input_search"
30
+ v-model="model.f_name" style="width:80%"
31
+ condition="f_address like '%{}%'" placeholder="客户地址"
32
+ />
33
+ </div>
34
+
35
+ <div style="float:right">
36
+ <button class="button_search button_spacing" @click="search()" >查询</button>
37
+ <button class="button_search button_spacing" @click="clear()" >清空</button>
38
+ <!-- <button class="button_search button_spacing" @click="$parent.$parent.SaveAsFileAll('daochu')" >导出</button>-->
39
+ <!-- <export-excel :data="$parent.$parent.getcondition" :defaultselect="$parent.$parent.defaultfield"-->
40
+ <!-- :field="$parent.$parent.getfield"-->
41
+ <!-- sqlurl="rs/logic/exportfile" sql-name="iotArrearsInfo" template-name='物联网表欠费用户信息'-->
42
+ <!-- :choose-col="true"></export-excel>-->
43
+ <export-excel-plus :data="$parent.$parent.getcondition"
44
+ :defaultselect="$parent.$parent.defaultfield"
45
+ :field="$parent.$parent.getfield"
46
+ :exportprogress="true" v-ref:exports
47
+ sqlurl="rs/logic/exportfileplus" sql-name="iotrechargeaudit_manage" template-name='物联网表金额监控'
48
+ :choose-col="true"></export-excel-plus>
49
+ <!-- <button class="button_export" @click="$parent.$parent.importFile()">导入</button>-->
50
+ <div
51
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
52
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
53
+ </div>
54
+ </div>
55
+ <div class="row" v-show="$parent.$parent.criteriaShow">
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">客户名称</label>
58
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" style="width:60%"
59
+ condition="f_user_name like '%{}%'" placeholder="客户名称"
60
+ />
61
+ </div>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">气表品牌</label>
64
+ <v-select :value.sync="model.f_meter_brand"
65
+ v-model="model.f_meter_brand"
66
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
67
+ condition="f_meter_brand = '{}'"
68
+ close-on-select></v-select>
69
+ </div>
70
+ <div class="col-sm-2 form-group">
71
+ <label class="font_normal_body">客户类型</label>
72
+ <v-select :options='$parent.$parent.usertypes'
73
+ @change="$parent.$parent.userTypeChange"
74
+ :value.sync="model.f_user_type"
75
+ close-on-select condition="f_user_type = '{}'"
76
+ placeholder='用户类型'
77
+ style="width: 60%" v-model="model.f_user_type"></v-select>
78
+ </div>
79
+ <div class="col-sm-2 form-group">
80
+ <label class="font_normal_body">用气性质</label>
81
+ <v-select :options='$parent.$parent.gasproperties'
82
+ :value.sync="model.f_gasproperties"
83
+ close-on-select
84
+ condition="f_gasproperties = '{}'"
85
+ placeholder='用气性质'
86
+ style="width: 60%"
87
+ v-model="model.f_gasproperties">
88
+ </v-select>
89
+ </div>
90
+ <div class="col-sm-3 form-group">
91
+ <label class="font_normal_body">表累购金额</label>
92
+ <v-select :options='$parent.$parent.totalmoneystate'
93
+ :value.sync="model.f_total_state"
94
+ close-on-select condition="f_total_fee {} allmoney"
95
+ placeholder='全部' :width="'20%'"
96
+ @change="$parent.$parent.changecolor(1,model.f_total_state)"
97
+ style="margin-right: 8px;" v-model="model.f_total_state"></v-select>
98
+ <label class="font_normal_body">表累购金额(记录合计)</label>
99
+ </div>
100
+ <div class="col-sm-3 form-group">
101
+ <label class="font_normal_body">表累购金额</label>
102
+ <v-select :options='$parent.$parent.totalmoneystate'
103
+ :value.sync="model.f_totaluse_state"
104
+ close-on-select condition="f_total_fee {} f_balance_amount+f_total_usegas_amount"
105
+ placeholder='全部'
106
+ :width="'20%'"
107
+ @change="$parent.$parent.changecolor(2,model.f_totaluse_state)"
108
+ style="margin-right: 8px;" v-model="model.f_totaluse_state"></v-select>
109
+ <label class="font_normal_body">剩余金额+累用金额</label>
110
+ </div>
111
+ <div class="col-sm-4 form-group">
112
+ <label class="font_normal_body">表累购金额</label>
113
+ <v-select :options='$parent.$parent.totalmoneystate'
114
+ :value.sync="model.f_totalsy_state"
115
+ close-on-select condition="f_total_fee {} fillmoney+allmoney"
116
+ placeholder='全部'
117
+ :width="'20%'"
118
+ @change="$parent.$parent.changecolor(3,model.f_totalsy_state)"
119
+ style="margin-right: 8px;" v-model="model.f_totalsy_state"></v-select>
120
+ <label class="font_normal_body">补气金额(旧表)+表累购金额(记录合计)</label>
121
+ </div>
122
+ <div class="col-sm-5 form-group">
123
+ <p style="font-weight:bold;font-size: 14px; color:darkred;margin-top: 19px;">说明:由于旧表存在老系统换表补费,补气金额(旧表)需要和表累购金额(记录合计)的和才能等于表累购金额</p>
124
+ </div>
125
+
126
+ </div>
127
+ </div>
128
+ </criteria>
129
+ <data-grid id="daochu" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
130
+ <template partial='head'>
131
+ <tr>
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
+ <th><nobr>气表品牌</nobr></th>
139
+ <th><nobr>客户地址</nobr></th>
140
+ <th><nobr>气表类型</nobr></th>
141
+ <th><nobr>气表状态</nobr></th>
142
+ <th><nobr>气表读数</nobr></th>
143
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}">
144
+ <nobr>当前表累购金额</nobr></th>
145
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
146
+ <nobr>补气金额(旧表)</nobr>
147
+ </th>
148
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
149
+ <nobr>当前表累购金额(记录合计)</nobr></th>
150
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
151
+ <nobr>累用金额</nobr></th>
152
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
153
+ <nobr>剩余金额</nobr></th>
154
+ <th><nobr>最后上报时间</nobr></th>
155
+ <th><nobr>最后结算时间</nobr></th>
156
+ <th><nobr>所属组织</nobr></th>
157
+ </tr>
158
+ </template>
159
+ <template partial='body'>
160
+ <tr>
161
+ <td style="text-align:center">
162
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
163
+ </td>
164
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
165
+ <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr>
166
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
167
+ <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
168
+ <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
169
+ <td style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></td>
170
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
171
+ <td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
172
+ <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
173
+ <td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
174
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}" >
175
+ <nobr>{{row.f_total_fee}}</nobr></td>
176
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
177
+ <nobr>{{row.fillmoney}}</nobr></td>
178
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
179
+ <nobr>{{row.allmoney}}</nobr></td>
180
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
181
+ <nobr>{{row.f_total_usegas_amount}}</nobr></td>
182
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
183
+ <nobr>{{row.f_balance_amount}}</nobr></td>
184
+ <td style="text-align:center"><nobr>{{row.f_meteread_date}}</nobr></td>
185
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
186
+ <td style="text-align:center"><nobr>{{row.name}}</nobr></td>
187
+ </tr>
188
+ </template>
189
+ <template partial='foot'></template>
190
+ </data-grid>
191
+ </criteria-paged>
192
+ </div>
193
+ <div v-if="listpage">
194
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
195
+ </div>
196
+ </div>
197
+ </div>
198
+
199
+
200
+ <modal :show.sync="fileshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
201
+ <article slot="modal-body" class="modal-body">
202
+ <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
203
+ action="rs/file/uploadFile" tagname="导入发票" v-ref:file :headers="headers"></file-upload>
204
+ </article>
205
+ <footer slot="modal-footer" class="modal-footer">
206
+ </footer>
207
+ </modal>
208
+
209
+ </template>
210
+
211
+ <script>
212
+ import { PagedList } from 'vue-client'
213
+ import {HttpResetClass} from 'vue-client'
214
+ import Vue from "vue";
215
+ import getLodop from "../../../plugins/LodopFuncs";
216
+ import exportConfig from "./valueConfig"
217
+ let getGasbrandGen = async function (self) {
218
+ await self.$LoadParams.loadParam()
219
+ self.initQueryParam()
220
+ }
221
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
222
+ export default {
223
+ data () {
224
+ return {
225
+ defaultfield: [],
226
+ config: {
227
+ defaultPrint: ['f_user_name','f_meter_brand','f_user_type']
228
+ },
229
+ model: new PagedList('rs/sql/iotrechargeaudit',20),
230
+ fileshow: false,
231
+ condition: '1=1',
232
+ moneystate: [{label: '欠费', value: '<'}, {label: '正常', value: '>='}],
233
+ totalmoneystate: [{label:'全部',value:''},{label: '相等', value: '='}, {label: '不等', value: '!='}],
234
+ // f_usertype:[{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
235
+ // gasproperties:[],
236
+ meterBrand:[],
237
+ meterbrands: [],
238
+ curorgid: [this.$login.f.orgid],
239
+ radio: [],
240
+ //选中的页
241
+ all: [],
242
+ //row数据
243
+ rowsdata: [],
244
+ printModel: {
245
+ rows: []
246
+ },
247
+ listpage:false,
248
+ criteriaShow:false,
249
+ iscomplanAllInfo:false,
250
+ rowdata:[],
251
+ gasproperties: this.$appdata.getParam('用气性质') ? [{
252
+ label: '全部',
253
+ value: ''
254
+ }, ...this.$appdata.getParam('用气性质')] : [],
255
+ showcolorstate:0,
256
+ f_filialeid:this.$login.f.orgid,
257
+ f_orgid:this.$login.f.orgid,
258
+ }
259
+ },
260
+ title: '物联网金额监控',
261
+ ready(){
262
+ this.search()
263
+ for(var item in exportConfig.iotrechargeaudit){
264
+ this.defaultfield.push(item)
265
+ }
266
+ getGasbrandGen(this)
267
+ },
268
+ computed : {
269
+ getcondition(){
270
+ return {
271
+ condition: `${this.$refs.paged.$refs.cri.condition} and f_filialeid in ${this.f_orgid}`
272
+ }
273
+ },
274
+ getfield() {
275
+ return exportConfig.iotrechargeaudit
276
+ },
277
+ usertypes() {
278
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户类型')]
279
+ },
280
+ metertypes() {
281
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
282
+ },
283
+ tableState () {
284
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
285
+ }
286
+ },
287
+ events : {
288
+
289
+ },
290
+ methods: {
291
+ changecolor(number,val){
292
+ if(number != this.showcolorstate && (val == null || val == '')){
293
+ return;
294
+ }
295
+ if(number == 3){
296
+ this.$refs.paged.$refs.cri.model.f_total_state = ''
297
+ this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
298
+ }
299
+ if(number == 2){
300
+ this.$refs.paged.$refs.cri.model.f_totalsy_state=''
301
+ this.$refs.paged.$refs.cri.model.f_total_state = ''
302
+ }
303
+ if(number == 1){
304
+ this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
305
+ this.$refs.paged.$refs.cri.model.f_totalsy_state = ''
306
+ }
307
+
308
+ this.showcolorstate = 0;
309
+ if(val == null || val =='' ){
310
+ this.showcolorstate = 0
311
+ }else{
312
+ this.showcolorstate = number
313
+ }
314
+ },
315
+ hidden(){
316
+ this.criteriaShow = !this.criteriaShow
317
+ },
318
+ cancel(){
319
+ this.listpage=false
320
+ },
321
+ dealmsg(val) {
322
+ console.log("=---------------dealmsg--------------")
323
+ this.listpage=true
324
+ this.rowdata=val
325
+ console.log(this.rowdata.f_userinfo_id)
326
+ val.model = this.model.model
327
+ // this('deal-msg', val)
328
+ },
329
+ search () {
330
+ this.$refs.paged.$refs.cri.search()
331
+ },
332
+ userTypeChange () {
333
+ this.gasproperties=[]
334
+ if(this.$refs.paged.$refs.cri.model !== null ) {
335
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
336
+
337
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
338
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
339
+ // this.gasproperties.push({label: '全部', value: ''})
340
+ }
341
+ else{
342
+ this.gasproperties =[{label: '全部', value: ''}]
343
+ }
344
+ },
345
+ async selfSearch (args) {
346
+ if (!this.f_orgid) {
347
+ this.getorg([this.$login.f.orgid])
348
+ }
349
+ console.log('查询。。。', this.f_orgid)
350
+ args.condition = `${args.condition} and f_filialeid in ${this.f_orgid}`
351
+ this.model.search(args.condition, args.model)
352
+ },
353
+ //清空
354
+ clear(){
355
+ this.$refs.paged.$refs.cri.model = {}
356
+ },
357
+ getorg (val) {
358
+ this.f_orgid = this.$login.convertToIn(val)
359
+ this.f_filialeids = val[0]
360
+ },
361
+ initQueryParam () {
362
+ let arr = []
363
+ this.$GetSaleParam.getGasbrand().forEach((item) => {
364
+ let temp = {}
365
+ if(item.value.f_meter_type==='物联网表'){
366
+ temp.label = item.label
367
+ temp.value = item.value.f_meter_brand
368
+ arr.push(temp )
369
+ }
370
+
371
+ })
372
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
373
+ }
374
+ }
375
+
376
+ }
377
+ </script>