manage-client 3.3.14 → 3.3.16

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.
@@ -0,0 +1,600 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search" v-if="!show">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" >
6
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <res-select-group :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
11
+
12
+ <div class="col-sm-2 form-group">
13
+ <label for="startDate" class="font_normal_body">收费日期起</label>
14
+ <datepicker id="startDate" placeholder="收费日期起" style="width:60%"
15
+ v-model="model.startDate"
16
+ :value.sync="model.startDate"
17
+ :format="'yyyy-MM-dd HH:mm:ss'"
18
+ :show-reset-button="true">
19
+ </datepicker>
20
+ </div>
21
+ <div class="col-sm-2 form-group">
22
+ <label for="endDate" class="font_normal_body">收费日期止</label>
23
+ <datepicker id="endDate" placeholder="收费日期止" style="width:60%"
24
+ v-model="model.endDate"
25
+ :value.sync="model.endDate"
26
+ :format="'yyyy-MM-dd HH:mm:ss'"
27
+ :show-reset-button="true">
28
+ </datepicker>
29
+ </div>
30
+
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">乡镇</label>
33
+ <v-select :value.sync="model.f_community"
34
+ @change="$parent.$parent.communityChange()"
35
+ :options='$parent.$parent.communityArray' placeholder='请选择' v-model="model.f_community" multiple
36
+ condition="xz in {}"
37
+ ></v-select>
38
+ </div>
39
+
40
+ <div class="col-sm-2 form-group">
41
+ <label class="font_normal_body">居委会</label>
42
+ <v-select :value.sync="model.f_committee"
43
+ :options='$parent.$parent.committeeArray' placeholder='请选择' v-model="model.f_committee" multiple
44
+ condition="jwh in {}"
45
+ ></v-select>
46
+ </div>
47
+
48
+ <div class="span" style="float:right;">
49
+ <button class="button_search button_spacing" @click="$parent.$parent.search()">查询</button>
50
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
51
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
52
+
53
+ <export-excel :data="$parent.$parent.getCondition"
54
+ :field="$parent.$parent.getExportField"
55
+ :footer="$parent.$parent.footer"
56
+ :header="$parent.$parent.other"
57
+ sqlurl="rs/logic/exportfile" sql-name="qnAqzzXzjwhhz" template-name='乡镇居委会汇总导出'
58
+ :choose-col="true"></export-excel>
59
+
60
+ <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>
61
+ </div>
62
+ </div>
63
+
64
+ </div>
65
+ </criteria>
66
+
67
+ <data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
68
+ <template partial='head'>
69
+ <tr>
70
+ <th>
71
+ <nobr>乡镇</nobr>
72
+ </th>
73
+ <th>
74
+ <nobr>居委会</nobr>
75
+ </th>
76
+ <th>
77
+ <nobr>报警器(非补贴项)当日</nobr>
78
+ </th>
79
+ <th>
80
+ <nobr>报警器(非补贴项)累计</nobr>
81
+ </th>
82
+ <th>
83
+ <nobr>防爆金属软管当日</nobr>
84
+ </th>
85
+ <th>
86
+ <nobr>防爆金属软管累计</nobr>
87
+ </th>
88
+ <th>
89
+ <nobr>自闭阀当日</nobr>
90
+ </th>
91
+ <th>
92
+ <nobr>自闭阀累计</nobr>
93
+ </th>
94
+ </tr>
95
+ </template>
96
+ <template partial='body'>
97
+ <td style="text-align: center;">
98
+ <nobr>{{row.xz}}</nobr>
99
+ </td>
100
+ <td style="text-align: center;">
101
+ <nobr>{{row.jwh}}</nobr>
102
+ </td>
103
+ <td style="text-align: center;">
104
+ <nobr>{{row.bjqdr}}</nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr>{{row.bjqlj}}</nobr>
108
+ </td>
109
+ <td style="text-align: center;">
110
+ <nobr>{{row.fbjsrgdr}}</nobr>
111
+ </td>
112
+ <td style="text-align: center;">
113
+ <nobr>{{row.fbjsrglj}}</nobr>
114
+ </td>
115
+ <td style="text-align: center;">
116
+ <nobr>{{row.zbfdr}}</nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr>{{row.zbflj}}</nobr>
120
+ </td>
121
+ </template>
122
+ <template partial='foot'>
123
+ </template>
124
+ </data-grid>
125
+ </criteria-paged>
126
+ <table class="table-hover">
127
+ <tr style="position: relative" class="table-bordered">
128
+ <td
129
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
130
+ 汇总信息
131
+ </td>
132
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
133
+ 报警器(非补贴项)当日合计:&emsp;{{sumsmodel.bjqdr}}&emsp;&emsp;报警器(非补贴项)累计合计:&emsp;{{sumsmodel.bjqlj}}&emsp;&emsp;防爆金属软管当日合计:&emsp;{{sumsmodel.fbjsrgdr}}&emsp;&emsp;防爆金属软管累计合计:&emsp;{{sumsmodel.fbjsrglj}}&emsp;&emsp;自闭阀当日合计:&emsp;{{sumsmodel.zbfdr}}&emsp;&emsp;自闭阀累计合计:&emsp;{{sumsmodel.zbflj}}
134
+ </td>
135
+ </tr>
136
+ </table>
137
+ </div>
138
+
139
+ </div>
140
+ </div>
141
+ <div class="basic-main" style="width:99%;height:98%;margin-bottom:0px" v-if="show">
142
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
143
+ </div>
144
+ </div>
145
+ </template>
146
+
147
+ <script>
148
+ import {HttpResetClass, PagedList} from 'vue-client'
149
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
150
+ import exportConfig from './exportConfig'
151
+
152
+ let readySomething = async function (self) {
153
+ self.$MagGetSaleParam.initinputtor();
154
+ self.getinputtores();
155
+ // 获取区县
156
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
157
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
158
+ // await self.$refs.paged.$refs.cri.search()
159
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
160
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
161
+ }
162
+
163
+ export default {
164
+ title: '乡镇居委会汇总',
165
+ data() {
166
+ return {
167
+ other:[],
168
+ footer:[],
169
+ model: new PagedList('rs/sql/qnAqzzXzjwhhz', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {bjqdr: 0, bjqlj: 0, fbjsrgdr: 0, fbjsrglj: 0, zbfdr: 0, zbflj: 0}),
170
+ criteriaShow: false,
171
+ orgCondtionStr: '',
172
+ modelval: [],
173
+ printshow: false,
174
+ all: false,
175
+ fields: {},
176
+ //排序
177
+ orderitem:'',
178
+ orderFields: {
179
+
180
+ },
181
+ committeeArray:[],
182
+ communityArray:[],
183
+ //默认打印列
184
+ defaultfield: [],
185
+ config: {
186
+ defaultPrint: []
187
+ },
188
+ balance2:'',
189
+ thead: '',
190
+ tfoot: '',
191
+ area: [],
192
+ //合计数据
193
+ sumsmodel: {},
194
+ initres: {
195
+ org:[this.$login.f.orgid],
196
+ dep:[],
197
+ user:[],
198
+ },
199
+ userdetail: {
200
+ show: false,
201
+ f_userinfo_code: '',
202
+ f_filialeids: ''
203
+ },
204
+
205
+ show:false,
206
+ rowdata:{},
207
+ meterInfo:{},
208
+ deviceInfo:{},
209
+ condition2:'',
210
+
211
+
212
+ weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
213
+ //小区
214
+ residentialArea: [],
215
+ //表册片区
216
+ bookSlice:[{label: '全部',value: ''}],
217
+ inputtores:[{label: '全部',value: ''}], //抄表员
218
+ allorgid:[],
219
+ f_filialeid: this.$login.f.f_orgid,
220
+ dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
221
+ }
222
+ },
223
+ ready() {
224
+ //this.getaddress()
225
+ // this.$refs.paged.$refs.cri.model.f_user_state=['正常']
226
+ readySomething(this).then(() => {
227
+ this.$emit('ready')
228
+ }).catch((error) => {
229
+ this.$emit('error', error)
230
+ })
231
+ //this.initAreas(this.$login.f.orgid)
232
+ //self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
233
+ //self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
234
+ this.getCommunityArray();
235
+ },
236
+ methods: {
237
+ async getinputtores () {
238
+ // 获取抄表员
239
+ let rs = []
240
+ if (this.$login.f.f_gasman.length > 0) {
241
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
242
+ let temp = {
243
+ label: this.$login.f.f_gasman[i].name,
244
+ value: this.$login.f.f_gasman[i].name
245
+ }
246
+ rs.push(temp)
247
+ }
248
+ }
249
+ this.inputtores = [{label: '全部', value: ''}, ...rs]
250
+ },
251
+ async updateParams() {
252
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
253
+ this.inputtores = [];
254
+ this.inputtores.push({label: "全部", value: ""})
255
+ this.initSlice(this.f_filialeid)
256
+ if(this.allorgid!=null){
257
+ this.allorgid.forEach((res)=>{
258
+ this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
259
+ })
260
+ }
261
+ },
262
+ async getCommunityArray(){
263
+ let HttpReset = new HttpResetClass()
264
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
265
+ data: {
266
+ condition: "t.name like '%行政划分%'",
267
+ tablename: 't_parameter t left outer join t_paramvalue t2 on t2.processid = t.id',
268
+ groupitem: "t2.name",
269
+ orderitem: 't2.name',
270
+ items: 't2.name'
271
+ }
272
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
273
+ let nameArr = []
274
+ for (let row of data.data){
275
+ nameArr.push({label: row.name, value: row.name})
276
+ }
277
+ this.communityArray = nameArr
278
+ },
279
+ async communityChange(){
280
+ this.committeeArray=[]
281
+ if(this.$refs.paged.$refs.cri.model !==null) {
282
+ let HttpReset = new HttpResetClass()
283
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
284
+ data: {
285
+ condition: "t.name = '"+this.$refs.paged.$refs.cri.model.f_community[0]+"'",
286
+ tablename: 't_parameter t left outer join t_paramvalue t2 on t2.processid = t.id',
287
+ groupitem: 't2.name',
288
+ orderitem: 't2.name',
289
+ items: 't2.name'
290
+ }
291
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
292
+ let nameArr = []
293
+ for (let row of data.data){
294
+ nameArr.push({label: row.name, value: row.name})
295
+ }
296
+ this.committeeArray = nameArr
297
+ }else{
298
+ this.committeeArray =[{label: '全部', value: ''}]
299
+ }
300
+ },
301
+ getotherfooter () {
302
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
303
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
304
+ this.other = [];
305
+ this.footer = [];
306
+ let exportdata = this.getCondition;
307
+ let otherInData = [];
308
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
309
+ let footerData = [], exportfield = this.getExportField;
310
+ footerData.push("合计");
311
+ let self = this;
312
+ for (var field in self.sumsmodel) {
313
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
314
+ }
315
+ this.footer.push(footerData);
316
+ this.other.push(otherInData);
317
+ },
318
+ async getaddress(){
319
+ console.log('开始获取小区')
320
+ let HttpReset = new HttpResetClass()
321
+ var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
322
+ data: {
323
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
324
+ }
325
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
326
+ console.log('小区',data)
327
+ let house = []
328
+ for (let row of data.data){
329
+ console.log('开始保存小区')
330
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
331
+ }
332
+ this.residentialArea = house
333
+ },
334
+
335
+ //把数据库查询数据转换为下拉数据
336
+ calculate(rows){
337
+ let data = []
338
+ rows.forEach((row, n) => {
339
+ data[n] = {label: row.f_residential_area, value: row.id}
340
+ })
341
+ return data
342
+ },
343
+ search(){
344
+ console.log("=====search====")
345
+ //this.$refs.paged.$refs.cri.search()
346
+ this.$refs.paged.$refs.cri.search()
347
+ },
348
+ cancel(obj) {
349
+ console.log("=====cancel====" + obj)
350
+ this.show = false
351
+ },
352
+ showmsg(obj){
353
+ this.rowdata=obj
354
+ this.show=true
355
+ // let http = new HttpResetClass()
356
+ // http.load('POST','rs/sql/getUserMeter',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
357
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
358
+ // this.meterInfo = res.data})
359
+ // let http2 = new HttpResetClass()
360
+ // http2.load('POST','rs/sql/deviceQuery',{data: {condition: `f_userinfo_id ='${obj.f_userinfo_id}'`}},
361
+ // {resolveMsg: null, rejectMsg: null}).then((res) => {
362
+ // this.deviceInfo = res.data})
363
+
364
+ // this.f_userinfo_id=obj.f_userinfo_id
365
+ },
366
+ userTypeChange () {
367
+ this.gasproperties=[]
368
+ if(this.$refs.paged.$refs.cri.model !==null) {
369
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
370
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
371
+ }
372
+ else{
373
+ this.gasproperties =[{label: '全部', value: ''}]
374
+ }
375
+ },
376
+ //初始化片区
377
+ async initSlice (val) {
378
+ if (val) {
379
+ let getAllArea = await this.$resetpost('/rs/search', {
380
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
381
+ userid: this.$login.f.id
382
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
383
+ let arr = getAllArea.data.filter((res) => {
384
+ return res.parentid == val
385
+ })
386
+ this.bookSlice = []
387
+ console.log('过滤之后的片区-------------------', arr)
388
+ arr.forEach((res) => {
389
+ this.bookSlice.push({label: res.name, value: res.name})
390
+ })
391
+ }
392
+ },
393
+ async initAreas (val) {
394
+
395
+ if (val) {
396
+ let getAllArea = await this.$resetpost('/rs/search', {
397
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
398
+ userid: this.$login.f.id
399
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
400
+
401
+ let arr = getAllArea.data.filter((res) => {
402
+ return res.parentid == val
403
+ })
404
+ console.log('过滤之后的片区', arr)
405
+ this.sliceArea = []
406
+ arr.forEach((res) => {
407
+ this.sliceArea.push({label: res.name, value: res.name})
408
+ })
409
+ }
410
+ },
411
+ selfSearch(args) {
412
+ console.log('args', args)
413
+ console.log('this.orgCondtionStr', this.orgCondtionStr)
414
+ if (!this.orgCondtionStr) {
415
+ args.condition = `${args.condition}` + " and tr.f_orgid = " + this.$login.f.orgid
416
+ } else {
417
+ args.condition = `${args.condition}` + this.orgCondtionStr
418
+ }
419
+ this.condition2 = args.condition
420
+ this.model.search(args.condition, args.model)
421
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
422
+ console.log('合计字段', this.sumsmodel)
423
+ },
424
+ clear() {
425
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
426
+ this.$refs.paged.$refs.cri.model[key] = []
427
+ })
428
+ },
429
+ hidden() {
430
+ this.criteriaShow = !this.criteriaShow
431
+ },
432
+ getRes(obj) {
433
+ this.orgCondtionStr = obj
434
+ },
435
+ stamp() {
436
+ this.all = false
437
+ //默认选择要打印的列
438
+ this.modelval = defaultPrint.config
439
+ this.fields = this.getfield
440
+ console.log('所有打印字段', this.fields)
441
+ this.printshow = true
442
+ this.put()
443
+ },
444
+ put() {
445
+ // 对Modelval进行排序
446
+ this.sortModelval()
447
+ this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
448
+ for (let key of this.modelval) {
449
+ this.thead += '<th>' + this.fields[key] + '</th>'
450
+ }
451
+ this.thead += '</tr>'
452
+ },
453
+ print() {
454
+ this.$refs.print.PrintAsFile()
455
+ this.printshow = false
456
+ },
457
+ close() {
458
+ this.printshow = false
459
+ },
460
+ // 对选择的列进行排序
461
+ sortModelval() {
462
+ let sortModel = []
463
+ Object.keys(this.fields).forEach((key) => {
464
+ if (this.modelval.includes(key)) {
465
+ sortModel.push(key)
466
+ }
467
+ })
468
+ this.modelval = sortModel
469
+ console.log('选择的打印的字段', this.modelval)
470
+ },
471
+ dblclick(row, index) {
472
+ console.log('双击之后数据', row, index)
473
+ this.userdetail.show = true
474
+ this.userdetail.f_userinfo_code = row.f_userinfo_code
475
+ this.userdetail.f_filialeids = row.f_filialeids
476
+ },
477
+ sort (field, rule) {
478
+ // 将所有排序方式设为不排序,实现相互排斥
479
+ for (let key in this.orderFields) {
480
+ if (key === field) {
481
+ this.orderFields[key] = rule
482
+ } else {
483
+ this.orderFields[key] = 'no'
484
+ }
485
+ }
486
+ // 如果新规则不排序,还原为默认排序
487
+ if (rule === 'no') {
488
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
489
+ } else {
490
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
491
+ }
492
+
493
+ this.search()
494
+ }
495
+ },
496
+
497
+ watch: {
498
+ 'all'(val) {
499
+ if (val) {
500
+ this.modelval = this.bodyData
501
+ } else {
502
+ this.modelval = defaultPrint.config
503
+ this.put()
504
+ }
505
+ },
506
+ 'modelval.length'() {
507
+ this.put()
508
+ },
509
+ sumsmodel:{
510
+ handler: function(val) {
511
+ this.getotherfooter();
512
+ },
513
+ deep: true
514
+ },
515
+ 'orgCondtionStr'(val) {
516
+ let res = val.match(/'(.*?)'/)
517
+ console.log('正则提取:',res && res[1])
518
+ if (res) {
519
+ this.f_filialeid = res[1]
520
+ if(res.input !=null){
521
+ let resorgid = res.input.substring(res.input.indexOf("'"));
522
+ if(resorgid!= null && resorgid!=''){
523
+ resorgid = resorgid.substring(0,resorgid.lastIndexOf("'")+1);
524
+ // resorgid = resorgid.replaceAll("'","");
525
+ resorgid = resorgid.replace(/'/g,"");
526
+ this.allorgid = resorgid.split(",")
527
+ }
528
+ }
529
+ this.updateParams()
530
+ }
531
+ },
532
+ },
533
+ computed: {
534
+ // defaultexport() {
535
+ // return exportConfig.chargeexportConfig
536
+ // },
537
+ authArr () {
538
+ return this.$login.r ? this.$login.r : []
539
+ },
540
+
541
+ getCondition() {
542
+ return {condition: this.condition2,orderitem:this.orderitem}
543
+ },
544
+ getfield() {
545
+ let data = {}
546
+ this.bodyData.forEach((value, index) => {
547
+ data[this.bodyData[index]] = this.headData[index]
548
+ })
549
+ //合计字段打印
550
+ this.tfoot = `<tr><th colspan=${this.modelval.length}>全表汇总信息: `
551
+ if (this.sumsmodel) {
552
+ Object.keys(this.sumsmodel).forEach((key) => {
553
+ this.tfoot += this.fields[key] + '合计: ' + `<font color="blue">${this.sumsmodel[key]} </font>`
554
+ })
555
+ } else {
556
+ this.tfoot += '暂无'
557
+ }
558
+ this.tfoot += '</th></tr>'
559
+ return data
560
+ },
561
+ getExportField() {
562
+ return exportConfig.qnAqzzXzjwhhz
563
+ },
564
+ inputtor () {
565
+ // 获取抄表员
566
+ console.log('获取抄表员', this.$login.f)
567
+ let rs = []
568
+ if (this.$login.f.f_gasman.length > 0) {
569
+ for (let i = 0; i < this.$login.f.f_gasman.length; i++) {
570
+ let temp = {
571
+ label: this.$login.f.f_gasman[i].name,
572
+ value: this.$login.f.f_gasman[i].name
573
+ }
574
+ rs.push(temp)
575
+ }
576
+ }
577
+
578
+ return [{label: '全部', value: ''}, ...rs]
579
+ },
580
+ userstates() {
581
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
582
+ },
583
+ usertypes () {
584
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
585
+ },
586
+ addressstate() {
587
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('地址状态')]
588
+ },
589
+
590
+ }
591
+ }
592
+ </script>
593
+ <style>
594
+ .back-red{ /* 红色背景 */
595
+ background-color: #F6C6CE;
596
+ }
597
+ .back-blue{ /* 蓝色背景 */
598
+
599
+ }
600
+ </style>
@@ -198,5 +198,23 @@ export default{
198
198
  'a_dabm':'档案编码','b_yhmc':'用户名称','c_dz':'地址','d_lxfs':'联系方式','e_yhlx':'用户类型','f_yqxz':'用气性质','g_jgmc':'价格名称','h_bh':'表号',
199
199
  'i_qd':'起度','j_zd':'止度','k_ql':'气量','l_dj':'单价','m_ysje':'应收金额','n_ssje':'实收金额','o_sfsj':'收费时间','p_yd':'月度','q_sfy':'收费员','r_bjlx':'表具类型','z_fylx':'费用类型'
200
200
  },
201
+ qnAqzzHmc:{
202
+ 'f_userinfo_id':'用户ID','f_community':'乡镇','f_committee':'居委会','f_userinfo_code':'用户编号','f_user_name':'姓名',
203
+ 'f_address':'地址','f_user_phone':'用户联系电话','azlxdh':'安装联系电话','bjq':'报警器','fbjsrg':'防爆金属软管',
204
+ 'zbf':'自闭阀','gmxx':'购买信息','xfrq':'收费日期','bz':'备注','sfhg':'是否合规'
205
+ },
206
+ qnAqzzJfmx:{
207
+ 'f_userinfo_id':'用户ID','f_community':'乡镇','f_committee':'居委会','f_userinfo_code':'用户编号','f_user_name':'姓名',
208
+ 'f_address':'地址','f_user_phone':'用户联系电话','f_contact_phone':'安装联系电话','f_typename':'品名规格',
209
+ 'f_number':'数量','f_unitprice':'单价','je':'金额','sfrq':'收费日期','f_serial_id':'微信缴费流水号','sfhg':'是否合规'
210
+ },
211
+ qnAqzzXzhz:{
212
+ 'xz':'乡镇','bjqdr':'报警器(非补贴项)当日','bjqlj':'报警器(非补贴项)累计','fbjsrgdr':'防爆金属软管当日',
213
+ 'fbjsrglj':'防爆金属软管累计','zbfdr':'自闭阀当日','zbflj':'自闭阀累计'
214
+ },
215
+ qnAqzzXzjwhhz:{
216
+ 'xz':'乡镇','jwh':'居委会','bjqdr':'报警器(非补贴项)当日','bjqlj':'报警器(非补贴项)累计','fbjsrgdr':'防爆金属软管当日',
217
+ 'fbjsrglj':'防爆金属软管累计','zbfdr':'自闭阀当日','zbflj':'自闭阀累计'
218
+ },
201
219
  }
202
220
 
@@ -58,5 +58,16 @@ export default function () {
58
58
  Vue.component('qn-jgq-yhsbb', (resolve) => { require(['./QnJgqYhsbb'], resolve) })
59
59
  // 报表查询 --> 其他报表菜单
60
60
  Vue.component('qnotherreport', (resolve) => { require(['./QnOtherReport'], resolve) })
61
+
62
+ //太康安全装置加装项目20230621
63
+ //安全装置加装 加装花名册
64
+ Vue.component('qn-aqzz-hmc', (resolve) => { require(['./QnAqzzHmc'], resolve) })
65
+ //安全装置加装 缴费明细
66
+ Vue.component('qn-aqzz-jfmx', (resolve) => { require(['./QnAqzzJfmx'], resolve) })
67
+ //安全装置加装 乡镇汇总
68
+ Vue.component('qn-aqzz-xzhz', (resolve) => { require(['./QnAqzzXzhz'], resolve) })
69
+ //安全装置加装 乡镇居委会汇总
70
+ Vue.component('qn-aqzz-xzjwhhz', (resolve) => { require(['./QnAqzzXzjwhhz'], resolve) })
71
+ Vue.component('qn-aqzz', (resolve) => { require(['./QnAqzz'], resolve) })
61
72
  // **************潜能自定义报表end***************
62
73
  }
@@ -478,9 +478,9 @@
478
478
  <td style="text-align: center;">
479
479
  <nobr>{{row.f_total_gas}}</nobr>
480
480
  </td>
481
- <!-- <td style="text-align: center;">-->
482
- <!-- <nobr>{{row.f_balance_gas}}</nobr>-->
483
- <!-- </td>-->
481
+ <td style="text-align: center;">
482
+ <nobr>{{row.c}}</nobr>
483
+ </td>
484
484
  <td style="text-align: center;">
485
485
  <nobr>{{row.f_defect_content}}</nobr>
486
486
  </td>
@@ -288,7 +288,7 @@
288
288
  <nobr>{{row.f_olduserinfo_code}}</nobr>
289
289
  </td>
290
290
  <td style="text-align: center;">
291
- <nobr>{{row.f_sell_id}}</nobr>
291
+ <nobr>{{row.id}}</nobr>
292
292
  </td>
293
293
  <td style="text-align: center;">
294
294
  <nobr>{{row.f_meternumber}}</nobr>