manage-client 3.2.67-aode → 3.2.68-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 +5 -2
  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/DayReportList.vue +41 -4
  35. package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
  36. package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
  37. package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
  38. package/src/components/sale/report/aode/YearByUserType.vue +342 -342
  39. package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
  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,324 +1,324 @@
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
- <div class="col-sm-2 form-group">
26
- <label class="font_normal_body">客户名称</label>
27
- <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" style="width:60%"
28
- condition="f_user_name like '%{}%'" placeholder="客户名称"
29
- />
30
- </div>
31
- <div class="col-sm-2 form-group">
32
- <label class="font_normal_body">费用状态</label>
33
- <v-select :options='$parent.$parent.moneystate'
34
- :value.sync="model.f_money_state"
35
- close-on-select condition="f_balance_amount {} 0"
36
- placeholder='费用状态'
37
- style="width: 60%" v-model="model.f_money_state"></v-select>
38
- </div>
39
- <div class="col-sm-2 form-group">
40
-
41
-
42
- <label class="font_normal_body">气表品牌</label>
43
- <v-select :value.sync="model.f_meter_brand"
44
- v-model="model.f_meter_brand"
45
- :options='$parent.$parent.meterbrands' placeholder='请选择'
46
- condition="f_meter_brand = '{}'"
47
- close-on-select></v-select>
48
- </div>
49
-
50
- <div style="float:right">
51
- <button class="button_search button_spacing" @click="search()" >查询</button>
52
- <button class="button_search button_spacing" @click="clear()" >清空</button>
53
- <!-- <button class="button_search button_spacing" @click="$parent.$parent.SaveAsFileAll('daochu')" >导出</button>-->
54
- <export-excel :data="$parent.$parent.getcondition" :defaultselect="$parent.$parent.defaultfield"
55
- :field="$parent.$parent.getfield"
56
- sqlurl="rs/logic/exportfile" sql-name="iotArrearsInfo" template-name='物联网表欠费用户信息'
57
- :choose-col="true"></export-excel>
58
- <!-- <button class="button_export" @click="$parent.$parent.importFile()">导入</button>-->
59
- <div
60
- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
61
- @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
62
- </div>
63
- </div>
64
- <div class="row" v-show="$parent.$parent.criteriaShow">
65
- <div class="col-sm-2 form-group">
66
- <label class="font_normal_body">客户类型</label>
67
- <v-select :options='$parent.$parent.usertypes'
68
- @change="$parent.$parent.userTypeChange"
69
- :value.sync="model.f_user_type"
70
- close-on-select condition="f_user_type = '{}'"
71
- placeholder='用户类型'
72
- style="width: 60%" v-model="model.f_user_type"></v-select>
73
- </div>
74
- <div class="col-sm-2 form-group">
75
- <label class="font_normal_body">用气性质</label>
76
- <v-select :options='$parent.$parent.gasproperties'
77
- :value.sync="model.f_gasproperties"
78
- close-on-select
79
- condition="f_gasproperties = '{}'"
80
- placeholder='用气性质'
81
- style="width: 60%"
82
- v-model="model.f_gasproperties">
83
- </v-select>
84
- </div>
85
- <div class="col-sm-2 form-group">
86
- <label class="font_normal_body">表具状态</label>
87
- <v-select :options='$parent.$parent.tableState'
88
- :value.sync="model.f_table_state"
89
- close-on-select
90
- condition="f_table_state = '{}'"
91
- placeholder='用气性质'
92
- style="width: 60%"
93
- v-model="model.f_table_state">
94
- </v-select>
95
- </div>
96
-
97
- <div class="col-sm-2 form-group">
98
- <label class="font_normal_body">地&emsp;&emsp;址</label>
99
- <input type="text" class="input_search"
100
- v-model="model.f_name" style="width:60%"
101
- condition="f_name like '%{}%'" placeholder="地址"
102
- />
103
- </div>
104
- </div>
105
- </div>
106
- </criteria>
107
- <data-grid id="daochu" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
108
- <template partial='head'>
109
- <tr>
110
- <th><nobr>用户编号</nobr></th>
111
- <th><nobr>用户姓名/单位名称</nobr></th>
112
- <th><nobr>用户状态</nobr></th>
113
- <th><nobr>表号</nobr></th>
114
- <th><nobr>用户类型</nobr></th>
115
- <th><nobr>用气性质</nobr></th>
116
- <th><nobr>气表分类</nobr></th>
117
- <th><nobr>气表底数</nobr></th>
118
- <th><nobr>表状态</nobr></th>
119
- <th><nobr>剩余金额</nobr></th>
120
- <th><nobr>费用状态</nobr></th>
121
- <th><nobr>气表品牌</nobr></th>
122
- <th><nobr>地址</nobr></th>
123
- </tr>
124
- </template>
125
- <template partial='body'>
126
- <tr>
127
- <td style="text-align:center">
128
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
129
- <!-- <button-link type="button" class="btn btn-link" @click="$parent.$parent.$parent.getUserInfo(row)">-->
130
- <!-- {{ row.f_userinfo_code}}</button-link>-->
131
- </td>
132
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
133
- <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr>
134
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
135
- <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
136
- <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
137
- <td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
138
- <td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
139
- <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
140
- <td style="text-align:center"><nobr>{{row.f_balance_amount}}</nobr></td>
141
- <td style="text-align:center"><nobr>{{row.f_money_state}}</nobr></td>
142
- <td style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></td>
143
- <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
144
- </tr>
145
- </template>
146
- <template partial='foot'></template>
147
- </data-grid>
148
- </criteria-paged>
149
- </div>
150
- <div v-if="listpage">
151
- <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
152
- </div>
153
- </div>
154
- </div>
155
-
156
-
157
- <modal :show.sync="fileshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
158
- <article slot="modal-body" class="modal-body">
159
- <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
160
- action="rs/file/uploadFile" tagname="导入发票" v-ref:file :headers="headers"></file-upload>
161
- </article>
162
- <footer slot="modal-footer" class="modal-footer">
163
- </footer>
164
- </modal>
165
-
166
- </template>
167
-
168
- <script>
169
- import { PagedList } from 'vue-client'
170
- import {HttpResetClass} from 'vue-client'
171
- import Vue from "vue";
172
- import getLodop from "../../../plugins/LodopFuncs";
173
- import exportConfig from "./valueConfig"
174
- let getGasbrandGen = async function (self) {
175
- await self.$LoadParams.loadParam()
176
- self.initQueryParam()
177
- }
178
- // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
179
- export default {
180
- data () {
181
- return {
182
- defaultfield: [],
183
- config: {
184
- defaultPrint: ['f_user_name','f_meter_brand','f_user_type']
185
- },
186
- model: new PagedList('rs/sql/iotArrearsInfo',20),
187
- fileshow: false,
188
- condition: '1=1',
189
- f_orgid:'',
190
- moneystate: [{label: '欠费', value: '<'}, {label: '正常', value: '>='}],
191
- // f_usertype:[{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
192
- // gasproperties:[],
193
- meterBrand:[],
194
- meterbrands: [],
195
- curorgid: [this.$login.f.orgid],
196
- radio: [],
197
- //选中的页
198
- all: [],
199
- //row数据
200
- rowsdata: [],
201
- printModel: {
202
- rows: []
203
- },
204
- listpage:false,
205
- criteriaShow:false,
206
- iscomplanAllInfo:false,
207
- rowdata:[],
208
- gasproperties: this.$appdata.getParam('用气性质') ? [{
209
- label: '全部',
210
- value: ''
211
- }, ...this.$appdata.getParam('用气性质')] : [],
212
- }
213
- },
214
- title: '物联网欠费查询',
215
- ready(){
216
- this.search()
217
- for(var item in exportConfig.iotArrearsField){
218
- this.defaultfield.push(item)
219
- }
220
- getGasbrandGen(this)
221
- },
222
- computed : {
223
- // ischecked() {
224
- // return function (index, i) {
225
- // if (!this.radio[index]) {
226
- // return false
227
- // }
228
- // return this.radio[index][i]
229
- // }
230
- // },
231
- getcondition(){
232
- return {
233
- condition: `${this.$refs.paged.$refs.cri.condition} and f_filialeid in ${this.f_orgid}`
234
- }
235
- },
236
- getfield() {
237
- return exportConfig.iotArrearsField
238
- },
239
- // meterbrands () {
240
- // return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表品牌')]
241
- // },
242
- // meterbrands() {
243
- // return this.$GetSaleParam.getGasbrand()
244
- // },
245
- usertypes() {
246
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户类型')]
247
- },
248
- metertypes() {
249
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
250
- },
251
- pricetypes() {
252
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
253
- },
254
- tableState () {
255
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
256
- }
257
- },
258
- events : {
259
-
260
- },
261
- methods: {
262
- hidden(){
263
- this.criteriaShow = !this.criteriaShow
264
- },
265
- cancel(){
266
- this.listpage=false
267
- },
268
- dealmsg(val) {
269
- console.log("=---------------dealmsg--------------")
270
- this.listpage=true
271
- this.rowdata=val
272
- console.log(this.rowdata.f_userinfo_id)
273
- val.model = this.model.model
274
- // this('deal-msg', val)
275
- },
276
- search () {
277
- this.$refs.paged.$refs.cri.search()
278
- },
279
- userTypeChange () {
280
- this.gasproperties=[]
281
- if(this.$refs.paged.$refs.cri.model !== null ) {
282
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
283
-
284
- console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
285
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
286
- // this.gasproperties.push({label: '全部', value: ''})
287
- }
288
- else{
289
- this.gasproperties =[{label: '全部', value: ''}]
290
- }
291
- },
292
- async selfSearch (args) {
293
- if (!this.f_orgid) {
294
- this.getorg([this.$login.f.orgid])
295
- }
296
- console.log('查询。。。', this.f_orgid)
297
- args.condition = `${args.condition} and f_filialeid in ${this.f_orgid}`
298
- this.model.search(args.condition, args.model)
299
- },
300
- //清空
301
- clear(){
302
- this.$refs.paged.$refs.cri.model = {}
303
- },
304
- getorg (val) {
305
- this.f_orgid = this.$login.convertToIn(val)
306
- this.f_filialeids = val[0]
307
- },
308
- initQueryParam () {
309
- let arr = []
310
- this.$GetSaleParam.getGasbrand().forEach((item) => {
311
- let temp = {}
312
- if(item.value.f_meter_type==='物联网表'){
313
- temp.label = item.label
314
- temp.value = item.value.f_meter_brand
315
- arr.push(temp )
316
- }
317
-
318
- })
319
- this.meterbrands = [{label: '全部', value: ''}, ...arr]
320
- }
321
- }
322
-
323
- }
324
- </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
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body">客户名称</label>
27
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" style="width:60%"
28
+ condition="f_user_name like '%{}%'" placeholder="客户名称"
29
+ />
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">费用状态</label>
33
+ <v-select :options='$parent.$parent.moneystate'
34
+ :value.sync="model.f_money_state"
35
+ close-on-select condition="f_balance_amount {} 0"
36
+ placeholder='费用状态'
37
+ style="width: 60%" v-model="model.f_money_state"></v-select>
38
+ </div>
39
+ <div class="col-sm-2 form-group">
40
+
41
+
42
+ <label class="font_normal_body">气表品牌</label>
43
+ <v-select :value.sync="model.f_meter_brand"
44
+ v-model="model.f_meter_brand"
45
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
46
+ condition="f_meter_brand = '{}'"
47
+ close-on-select></v-select>
48
+ </div>
49
+
50
+ <div style="float:right">
51
+ <button class="button_search button_spacing" @click="search()" >查询</button>
52
+ <button class="button_search button_spacing" @click="clear()" >清空</button>
53
+ <!-- <button class="button_search button_spacing" @click="$parent.$parent.SaveAsFileAll('daochu')" >导出</button>-->
54
+ <export-excel :data="$parent.$parent.getcondition" :defaultselect="$parent.$parent.defaultfield"
55
+ :field="$parent.$parent.getfield"
56
+ sqlurl="rs/logic/exportfile" sql-name="iotArrearsInfo" template-name='物联网表欠费用户信息'
57
+ :choose-col="true"></export-excel>
58
+ <!-- <button class="button_export" @click="$parent.$parent.importFile()">导入</button>-->
59
+ <div
60
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
61
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
62
+ </div>
63
+ </div>
64
+ <div class="row" v-show="$parent.$parent.criteriaShow">
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">客户类型</label>
67
+ <v-select :options='$parent.$parent.usertypes'
68
+ @change="$parent.$parent.userTypeChange"
69
+ :value.sync="model.f_user_type"
70
+ close-on-select condition="f_user_type = '{}'"
71
+ placeholder='用户类型'
72
+ style="width: 60%" v-model="model.f_user_type"></v-select>
73
+ </div>
74
+ <div class="col-sm-2 form-group">
75
+ <label class="font_normal_body">用气性质</label>
76
+ <v-select :options='$parent.$parent.gasproperties'
77
+ :value.sync="model.f_gasproperties"
78
+ close-on-select
79
+ condition="f_gasproperties = '{}'"
80
+ placeholder='用气性质'
81
+ style="width: 60%"
82
+ v-model="model.f_gasproperties">
83
+ </v-select>
84
+ </div>
85
+ <div class="col-sm-2 form-group">
86
+ <label class="font_normal_body">表具状态</label>
87
+ <v-select :options='$parent.$parent.tableState'
88
+ :value.sync="model.f_table_state"
89
+ close-on-select
90
+ condition="f_table_state = '{}'"
91
+ placeholder='用气性质'
92
+ style="width: 60%"
93
+ v-model="model.f_table_state">
94
+ </v-select>
95
+ </div>
96
+
97
+ <div class="col-sm-2 form-group">
98
+ <label class="font_normal_body">地&emsp;&emsp;址</label>
99
+ <input type="text" class="input_search"
100
+ v-model="model.f_name" style="width:60%"
101
+ condition="f_name like '%{}%'" placeholder="地址"
102
+ />
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </criteria>
107
+ <data-grid id="daochu" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
108
+ <template partial='head'>
109
+ <tr>
110
+ <th><nobr>用户编号</nobr></th>
111
+ <th><nobr>用户姓名/单位名称</nobr></th>
112
+ <th><nobr>用户状态</nobr></th>
113
+ <th><nobr>表号</nobr></th>
114
+ <th><nobr>用户类型</nobr></th>
115
+ <th><nobr>用气性质</nobr></th>
116
+ <th><nobr>气表分类</nobr></th>
117
+ <th><nobr>气表底数</nobr></th>
118
+ <th><nobr>表状态</nobr></th>
119
+ <th><nobr>剩余金额</nobr></th>
120
+ <th><nobr>费用状态</nobr></th>
121
+ <th><nobr>气表品牌</nobr></th>
122
+ <th><nobr>地址</nobr></th>
123
+ </tr>
124
+ </template>
125
+ <template partial='body'>
126
+ <tr>
127
+ <td style="text-align:center">
128
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
129
+ <!-- <button-link type="button" class="btn btn-link" @click="$parent.$parent.$parent.getUserInfo(row)">-->
130
+ <!-- {{ row.f_userinfo_code}}</button-link>-->
131
+ </td>
132
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
133
+ <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr>
134
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
135
+ <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
136
+ <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
137
+ <td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
138
+ <td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
139
+ <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
140
+ <td style="text-align:center"><nobr>{{row.f_balance_amount}}</nobr></td>
141
+ <td style="text-align:center"><nobr>{{row.f_money_state}}</nobr></td>
142
+ <td style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></td>
143
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
144
+ </tr>
145
+ </template>
146
+ <template partial='foot'></template>
147
+ </data-grid>
148
+ </criteria-paged>
149
+ </div>
150
+ <div v-if="listpage">
151
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
152
+ </div>
153
+ </div>
154
+ </div>
155
+
156
+
157
+ <modal :show.sync="fileshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
158
+ <article slot="modal-body" class="modal-body">
159
+ <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
160
+ action="rs/file/uploadFile" tagname="导入发票" v-ref:file :headers="headers"></file-upload>
161
+ </article>
162
+ <footer slot="modal-footer" class="modal-footer">
163
+ </footer>
164
+ </modal>
165
+
166
+ </template>
167
+
168
+ <script>
169
+ import { PagedList } from 'vue-client'
170
+ import {HttpResetClass} from 'vue-client'
171
+ import Vue from "vue";
172
+ import getLodop from "../../../plugins/LodopFuncs";
173
+ import exportConfig from "./valueConfig"
174
+ let getGasbrandGen = async function (self) {
175
+ await self.$LoadParams.loadParam()
176
+ self.initQueryParam()
177
+ }
178
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
179
+ export default {
180
+ data () {
181
+ return {
182
+ defaultfield: [],
183
+ config: {
184
+ defaultPrint: ['f_user_name','f_meter_brand','f_user_type']
185
+ },
186
+ model: new PagedList('rs/sql/iotArrearsInfo',20),
187
+ fileshow: false,
188
+ condition: '1=1',
189
+ f_orgid:'',
190
+ moneystate: [{label: '欠费', value: '<'}, {label: '正常', value: '>='}],
191
+ // f_usertype:[{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
192
+ // gasproperties:[],
193
+ meterBrand:[],
194
+ meterbrands: [],
195
+ curorgid: [this.$login.f.orgid],
196
+ radio: [],
197
+ //选中的页
198
+ all: [],
199
+ //row数据
200
+ rowsdata: [],
201
+ printModel: {
202
+ rows: []
203
+ },
204
+ listpage:false,
205
+ criteriaShow:false,
206
+ iscomplanAllInfo:false,
207
+ rowdata:[],
208
+ gasproperties: this.$appdata.getParam('用气性质') ? [{
209
+ label: '全部',
210
+ value: ''
211
+ }, ...this.$appdata.getParam('用气性质')] : [],
212
+ }
213
+ },
214
+ title: '物联网欠费查询',
215
+ ready(){
216
+ this.search()
217
+ for(var item in exportConfig.iotArrearsField){
218
+ this.defaultfield.push(item)
219
+ }
220
+ getGasbrandGen(this)
221
+ },
222
+ computed : {
223
+ // ischecked() {
224
+ // return function (index, i) {
225
+ // if (!this.radio[index]) {
226
+ // return false
227
+ // }
228
+ // return this.radio[index][i]
229
+ // }
230
+ // },
231
+ getcondition(){
232
+ return {
233
+ condition: `${this.$refs.paged.$refs.cri.condition} and f_filialeid in ${this.f_orgid}`
234
+ }
235
+ },
236
+ getfield() {
237
+ return exportConfig.iotArrearsField
238
+ },
239
+ // meterbrands () {
240
+ // return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表品牌')]
241
+ // },
242
+ // meterbrands() {
243
+ // return this.$GetSaleParam.getGasbrand()
244
+ // },
245
+ usertypes() {
246
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户类型')]
247
+ },
248
+ metertypes() {
249
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
250
+ },
251
+ pricetypes() {
252
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
253
+ },
254
+ tableState () {
255
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
256
+ }
257
+ },
258
+ events : {
259
+
260
+ },
261
+ methods: {
262
+ hidden(){
263
+ this.criteriaShow = !this.criteriaShow
264
+ },
265
+ cancel(){
266
+ this.listpage=false
267
+ },
268
+ dealmsg(val) {
269
+ console.log("=---------------dealmsg--------------")
270
+ this.listpage=true
271
+ this.rowdata=val
272
+ console.log(this.rowdata.f_userinfo_id)
273
+ val.model = this.model.model
274
+ // this('deal-msg', val)
275
+ },
276
+ search () {
277
+ this.$refs.paged.$refs.cri.search()
278
+ },
279
+ userTypeChange () {
280
+ this.gasproperties=[]
281
+ if(this.$refs.paged.$refs.cri.model !== null ) {
282
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
283
+
284
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
285
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
286
+ // this.gasproperties.push({label: '全部', value: ''})
287
+ }
288
+ else{
289
+ this.gasproperties =[{label: '全部', value: ''}]
290
+ }
291
+ },
292
+ async selfSearch (args) {
293
+ if (!this.f_orgid) {
294
+ this.getorg([this.$login.f.orgid])
295
+ }
296
+ console.log('查询。。。', this.f_orgid)
297
+ args.condition = `${args.condition} and f_filialeid in ${this.f_orgid}`
298
+ this.model.search(args.condition, args.model)
299
+ },
300
+ //清空
301
+ clear(){
302
+ this.$refs.paged.$refs.cri.model = {}
303
+ },
304
+ getorg (val) {
305
+ this.f_orgid = this.$login.convertToIn(val)
306
+ this.f_filialeids = val[0]
307
+ },
308
+ initQueryParam () {
309
+ let arr = []
310
+ this.$GetSaleParam.getGasbrand().forEach((item) => {
311
+ let temp = {}
312
+ if(item.value.f_meter_type==='物联网表'){
313
+ temp.label = item.label
314
+ temp.value = item.value.f_meter_brand
315
+ arr.push(temp )
316
+ }
317
+
318
+ })
319
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
320
+ }
321
+ }
322
+
323
+ }
324
+ </script>