manage-client 3.3.204 → 3.3.206

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.204",
3
+ "version": "3.3.206",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,400 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
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="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label for="startDate" class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd 00:00:00'"
15
+ :show-reset-button="true">
16
+ </datepicker>
17
+ </div>
18
+ <div class="col-sm-2 form-group">
19
+ <label for="endDate" class="font_normal_body">结束日期</label>
20
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
+ v-model="model.endDate"
22
+ :value.sync="model.endDate"
23
+ :format="'yyyy-MM-dd 23:59:59'"
24
+ :show-reset-button="true">
25
+ </datepicker>
26
+ </div>
27
+ <div class="span" style="float:right;">
28
+ <button class="button_search button_spacing" @click="search()">查询</button>
29
+
30
+ <export-excel :data="$parent.$parent.getCondition"
31
+ :field="$parent.$parent.getfield"
32
+ :footer="$parent.$parent.footer"
33
+ :header="$parent.$parent.other"
34
+ sqlurl="api/af-revenue/logic/openapi/exportfile"
35
+ sql-name="feimin_style"
36
+ template-name='非民用卡表购气使用查询'
37
+ :choose-col="true"></export-excel>
38
+ <print-data-self :model="$parent.model" :field="$parent.$parent.getfield"
39
+ :defaultfield="$parent.$parent.defaultfield" printName="非民用卡表购气使用查询"
40
+ :sumsmodel="$parent.$parent.sumsmodel" :sum-field="$parent.$parent.sumField" :page-sum="$parent.$parent.pageSum"
41
+ :start-date="$parent.$parent.startDate" :end-date="$parent.$parent.endDate"
42
+ ></print-data-self>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ </criteria>
47
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
48
+ <template partial='head'>
49
+ <tr>
50
+ <th>
51
+ <nobr>序号</nobr>
52
+ </th>
53
+ <th>
54
+ <nobr>用户编号</nobr>
55
+ </th>
56
+ <th>
57
+ <nobr>所属片区</nobr>
58
+ </th>
59
+ <th>
60
+ <nobr>用户名称</nobr>
61
+ </th>
62
+ <th>
63
+ <nobr>档案编号</nobr>
64
+ </th>
65
+ <th>
66
+ <nobr>单价</nobr>
67
+ </th>
68
+ <th>
69
+ <nobr>户总购气量</nobr>
70
+ </th>
71
+ <th>
72
+ <nobr>本月购气量</nobr>
73
+ </th>
74
+ <th>
75
+ <nobr>补气量</nobr>
76
+ </th>
77
+ <th>
78
+ <nobr>上月表数</nobr>
79
+ </th>
80
+ <th>
81
+ <nobr>本月表数</nobr>
82
+ </th>
83
+ <th>
84
+ <nobr>表余量</nobr>
85
+ </th>
86
+ <th>
87
+ <nobr>用气量</nobr>
88
+ </th>
89
+ <th>
90
+ <nobr>备注</nobr>
91
+ </th>
92
+ </tr>
93
+ </template>
94
+ <template partial='body'>
95
+ <td style="text-align:center">
96
+ <nobr>{{$index+1}}</nobr>
97
+ </td>
98
+ <td style="text-align: center;">
99
+ <nobr>{{row.f_userinfo_code}}</nobr>
100
+ </td>
101
+ <td style="text-align: center;">
102
+ <nobr>{{row.f_slice_area}}</nobr>
103
+ </td>
104
+ <td style="text-align: center;">
105
+ <nobr>{{row.f_user_name}}</nobr>
106
+ </td>
107
+ <td style="text-align: center;">
108
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
109
+ </td>
110
+ <td style="text-align: center;">
111
+ <nobr>{{row.f_price}}</nobr>
112
+ </td>
113
+ <td style="text-align: center;">
114
+ <nobr>{{row.zgougas}}</nobr>
115
+ </td>
116
+ <td style="text-align: center;">
117
+ <nobr>{{row.gougas}}</nobr>
118
+ </td>
119
+ <td style="text-align: center;">
120
+ <nobr>{{row.bugas}}</nobr>
121
+ </td>
122
+ <td style="text-align: center;">
123
+ <nobr>{{row.lastgas}}</nobr>
124
+ </td>
125
+ <td style="text-align: center;">
126
+ <nobr>{{row.thisgas}}</nobr>
127
+ </td>
128
+ <td style="text-align: center;">
129
+ <nobr>{{row.yugas}}</nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr>{{row.yonggas}}</nobr>
133
+ </td>
134
+ <td style="text-align: center;">
135
+ <nobr>{{row.beizhu}}</nobr>
136
+ </td>
137
+ </template>
138
+ <template partial='foot'></template>
139
+ </data-grid>
140
+ </criteria-paged>
141
+ <table class="table-hover">
142
+ <tr style="position: relative" class="table-bordered">
143
+ <td
144
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold" >
145
+ 报表统计时间
146
+ </td>
147
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold" v-if="startDate==endDate">
148
+ {{startDate}}
149
+ </td>
150
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold" v-else>
151
+ {{startDate+" 至 "+endDate}}
152
+ </td>
153
+ </tr>
154
+ <tr style="position: relative" class="table-bordered">
155
+ <td
156
+ style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
157
+ 汇总信息
158
+ </td>
159
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
160
+ 户总购气量汇总:&emsp;{{sumsmodel.zgougas.toFixed(2)}}
161
+ </td>
162
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
163
+ 本月购气量汇总:&emsp;{{sumsmodel.gougas.toFixed(2)}}
164
+ </td>
165
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
166
+ 补气汇总:&emsp;{{sumsmodel.bugas.toFixed(2)}}
167
+ </td>
168
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
169
+ 表余量汇总:&emsp;{{sumsmodel.yugas.toFixed(2)}}
170
+ </td>
171
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
172
+ 用气量汇总:&emsp;{{sumsmodel.yonggas.toFixed(2)}}
173
+ </td>
174
+ </tr>
175
+ </table>
176
+ </div>
177
+ </div>
178
+ </div>
179
+ </template>
180
+ <script>
181
+ import {PagedList, HttpResetClass} from 'vue-client'
182
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
183
+ import exportConfig from './exportConfig'
184
+ import PrintDataSelf from '../../components/sale/common/PrintDataSelf'
185
+
186
+ let readySomething = async function (self) {
187
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
188
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
189
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
190
+ }
191
+ export default {
192
+ title: '非民用购气使用查询',
193
+ props: ['data'],
194
+ data() {
195
+ return {
196
+ depresid: [],
197
+ userresid: [],
198
+ f_orgid: this.$login.f.orgid,
199
+ f_depid: this.$login.f.depids,
200
+ f_operatorid: this.$login.f.id,
201
+ operatorid: [],
202
+ depid: [],
203
+ orgname: '',
204
+ depname: [],
205
+ operatorname: '',
206
+ orgCondtionStr: '1=1',
207
+ data: {},
208
+ other:[],
209
+ footer:[],
210
+ model: new PagedList('api/af-revenue/sql/feimin_style_kl', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_orgid: 'this.model.f_orgid'},{
211
+ zgougas:0,
212
+ gougas:0,
213
+ bugas:0,
214
+ yugas:0,
215
+ yonggas:0
216
+ }),
217
+ gasproperties:[],
218
+ show:false,
219
+ rowdata:{},
220
+ residentialArea: [],
221
+ modelval: [],
222
+ startDate:"",
223
+ endDate:"",
224
+ inputtouPerson: [],
225
+ printshow: false,
226
+ all: false,
227
+ fields: {},
228
+ thead: '',
229
+ tfoot: '',
230
+
231
+ // 下拉框
232
+
233
+ //合计数据
234
+ sumsmodel: {},
235
+ sumField: {
236
+ 'zgougas': '总购气量汇总', 'gougas': '本月购气量汇总','bugas': '补气汇总','yugas': '表余量汇总','yonggas': '用气量汇总'
237
+ },
238
+ pageSum: {
239
+ 'zgougas': '0.00',
240
+ 'gougas': '0.00',
241
+ 'bugas': '0.00',
242
+ 'yugas': '0.00',
243
+ 'yonggas': '0.00'
244
+ },
245
+ defaultfield: [],
246
+ config: {
247
+ defaultPrint: ['f_userinfo_code', 'f_user_name']
248
+ },
249
+ batchmoneyShow:false
250
+ }
251
+ },
252
+ ready() {
253
+ readySomething(this).then(() => {
254
+ this.$emit('ready')
255
+ }).catch((error) => {
256
+ this.$emit('error', error)
257
+ })
258
+ },
259
+ methods: {
260
+ getotherfooter(){
261
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
262
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
263
+ this.other=[];
264
+ this.footer=[];
265
+ let exportdata = this.getCondition;
266
+ let otherInData=[];
267
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
268
+ let footerData=[],exportfield=this.getfield;
269
+ footerData.push("合计");
270
+ let self =this;
271
+ for(var field in self.sumsmodel){
272
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
273
+ }
274
+ this.footer.push(footerData);
275
+ this.other.push(otherInData);
276
+ },
277
+ search(){
278
+ this.$refs.paged.$refs.cri.search()
279
+ },
280
+ selfSearch(args) {
281
+ this.startDate=this.$refs.paged.$refs.cri.model.startDate.substring(0,10)
282
+ this.endDate=this.$refs.paged.$refs.cri.model.endDate.substring(0,10)
283
+ this.model.search(args.f_orgid, args.model)
284
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
285
+ },
286
+ getRes (obj) {
287
+ this.orgname = obj.res[0]
288
+ this.depresid = obj.resids
289
+ this.f_orgid = obj.resids
290
+ },
291
+ getdep (obj, val) {
292
+ this.depname = val
293
+ this.userresid = obj
294
+ this.f_depid = obj
295
+ },
296
+ getuser ( obj, val) {
297
+ this.operatorname = val[0]
298
+ this.f_operatorid = obj
299
+ },
300
+ stamp() {
301
+ this.all = false
302
+ //默认选择要打印的列
303
+ this.modelval = defaultPrint.config
304
+ this.fields = this.getfield
305
+ console.log('所有打印字段', this.fields)
306
+ this.printshow = true
307
+ this.put()
308
+ },
309
+ put() {
310
+ // 对Modelval进行排序
311
+ this.sortModelval()
312
+ this.thead = `<tr><th colspan=${this.modelval.length}>非民用购气使用查询</th></tr><tr>`
313
+ for (let key of this.modelval) {
314
+ this.thead += '<th>' + this.fields[key] + '</th>'
315
+ }
316
+ this.thead += '</tr>'
317
+ },
318
+ print() {
319
+ this.$refs.print.PrintAsFile()
320
+ this.printshow = false
321
+ },
322
+ dealmsg(val) {
323
+ console.log('---------------dealmsg')
324
+ this.rowdata=val
325
+ this.show=true
326
+ val.model = this.model.model
327
+ this.$dispatch('deal-msg', val)
328
+ },
329
+ close() {
330
+ this.printshow = false
331
+ this.all = false
332
+ },
333
+ // 对选择的列进行排序
334
+ sortModelval() {
335
+ let sortModel = []
336
+ Object.keys(this.fields).forEach((key) => {
337
+ if (this.modelval.includes(key)) {
338
+ sortModel.push(key)
339
+ }
340
+ })
341
+ this.modelval = sortModel
342
+ console.log('选择的打印的字段', this.modelval)
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
+ },
355
+ watch: {
356
+ 'all'(val) {
357
+ if (val) {
358
+ this.modelval = this.bodyData
359
+ } else {
360
+ this.modelval = defaultPrint.config
361
+ this.put()
362
+ }
363
+ },
364
+ 'modelval.length'() {
365
+ this.put()
366
+ },
367
+ sumsmodel:{
368
+ handler: function(val) {
369
+ this.getotherfooter();
370
+ },
371
+ deep: true
372
+ }
373
+ },
374
+ computed: {
375
+ getCondition() {
376
+ return {
377
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
378
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
379
+ f_orgid: this.orgCondtionStr
380
+
381
+ }
382
+
383
+ },
384
+ getfield() {
385
+ return exportConfig.feimin_style
386
+ },
387
+ whetherpaies () {
388
+ return [
389
+ {label: '全部', value: ''},
390
+ {label: '已缴费', value: '是'},
391
+ {label: '未缴费', value: '否'}
392
+ ]
393
+ },
394
+ usertypes() {
395
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
396
+ }
397
+
398
+ }
399
+ }
400
+ </script>
@@ -6,4 +6,8 @@ export default function () {
6
6
  Vue.component('feimin_style', (resolve) => {
7
7
  require(['./feimin_style'], resolve)
8
8
  })
9
+ // 定制非民用购气查询
10
+ Vue.component('feimin_style_kl', (resolve) => {
11
+ require(['./feimin_style_kl'], resolve)
12
+ })
9
13
  }
@@ -0,0 +1,212 @@
1
+ <template>
2
+ <!-- <div v-if="listpage">-->
3
+ <tab-button v-ref:list :active="-1">
4
+ <tabs header="收费查询" v-if="permission('收费查询')">
5
+ <charge-query v-if="show.includes('收费查询')" @deal-msg="dealMsg" :data="data"></charge-query>
6
+ </tabs>
7
+ <tabs header="换表查询" v-if="permission('换表查询')">
8
+ <change-meter-query v-if="show.includes('换表查询')" @deal-msg="dealMsg" :data="data"></change-meter-query>
9
+ </tabs>
10
+ <tabs header="机表抄表查询" v-if="permission('机表抄表查询')">
11
+ <handplan-query v-if="show.includes('机表抄表查询')" @deal-msg="dealMsg" :data="data"></handplan-query>
12
+ </tabs>
13
+ <tabs header="物联网表抄表查询" v-if="permission('物联网表抄表查询')">
14
+ <web-handplan-query v-if="show.includes('物联网表抄表查询')" @deal-msg="dealMsg" :data="data"></web-handplan-query>
15
+ </tabs>
16
+ <tabs header="免费送气查询" v-if="permission('免费送气查询')">
17
+ <privilege-query v-if="show.includes('免费送气查询')" @deal-msg="dealMsg" :data="data"></privilege-query>
18
+ </tabs>
19
+ <tabs header="过户查询" v-if="permission('过户查询')">
20
+ <transfer-query v-if="show.includes('过户查询')" @deal-msg="dealMsg" :data="data"></transfer-query>
21
+ </tabs>
22
+ <tabs header="记录转移查询" v-if="permission('记录转移')">
23
+ <transfer-record-query @deal-msg="dealMsg" :data="data"></transfer-record-query>
24
+ </tabs>
25
+ <tabs header="其他收费查询" v-if="permission('其他收费查询')">
26
+ <other-charge-query v-if="show.includes('其他收费查询')" @deal-msg="dealMsg" :data="data"></other-charge-query>
27
+ </tabs>
28
+ <tabs header="垃圾处理费查询" v-if="permission('垃圾处理费查询')">
29
+ <flotsamprice-query v-if="show.includes('垃圾处理费查询')" @deal-msg="dealMsg" :data="data"></flotsamprice-query>
30
+ </tabs>
31
+ <tabs header="其他收费欠费查询" v-if="permission('其他收费欠费查询')">
32
+ <other-charge-nopay-query v-if="show.includes('其他收费欠费查询')" @deal-msg="dealMsg" :data="data"></other-charge-nopay-query>
33
+ </tabs>
34
+ <tabs header="冲正查询" v-if="permission('冲正查询')">
35
+ <reverse-query v-if="show.includes('冲正查询')" @deal-msg="dealMsg" :data="data"></reverse-query>
36
+ </tabs>
37
+ <tabs header="补卡查询" v-if="permission('补卡查询')">
38
+ <fill-card-query v-if="show.includes('补卡查询')" @deal-msg="dealMsg" :data="data"></fill-card-query>
39
+ </tabs>
40
+ <tabs header="补气查询" v-if="permission('补气查询')">
41
+ <fill-gas-query v-if="show.includes('补气查询')" @deal-msg="dealMsg" :data="data"></fill-gas-query>
42
+ </tabs>
43
+ <tabs header="启用查询" v-if="permission('启用查询')">
44
+ <enable-query v-if="show.includes('启用查询')" @deal-msg="dealMsg" :data="data" :residentialarea="residentialArea"></enable-query>
45
+ </tabs>
46
+ <tabs header="停用查询" v-if="permission('停用查询')">
47
+ <disable-query v-if="show.includes('停用查询')" @deal-msg="dealMsg" :data="data" :residentialarea="residentialArea"></disable-query>
48
+ </tabs>
49
+ <tabs header="销户查询" v-if="permission('销户查询')">
50
+ <cancellation-query v-if="show.includes('销户查询')" @deal-msg="dealMsg" :data="data"></cancellation-query>
51
+ </tabs>
52
+ <tabs header="减免优惠查询" v-if="permission('减免优惠查询')">
53
+ <over-due-query v-if="show.includes('减免优惠查询')" @deal-msg="dealMsg" :data="data"></over-due-query>
54
+ </tabs>
55
+ <tabs header="调价补差查询" v-if="permission('调价补差查询')">
56
+ <priceadjust-query v-if="show.includes('调价补差查询')" @deal-msg="dealMsg" :data="data"></priceadjust-query>
57
+ </tabs>
58
+ <tabs header="迁表查询" v-if="permission('迁表查询')">
59
+ <movemeter-query v-if="show.includes('迁表查询')" @deal-msg="dealMsg" :data="data"></movemeter-query>
60
+ </tabs>
61
+ <tabs header="卡表抄表查询" v-if="permission('卡表抄表查询')">
62
+ <card-handplan-query v-if="show.includes('卡表抄表查询')" @deal-msg="dealMsg" :data="data"></card-handplan-query>
63
+ </tabs>
64
+ <tabs header="收据查询" v-if="permission('收据查询')">
65
+ <meter-receipt-query v-if="show.includes('收据查询')" @deal-msg="dealMsg" :data="data"></meter-receipt-query>
66
+ </tabs>
67
+ <!-- <tabs header="操作记录查询" v-if="permission('操作记录查询')">-->
68
+ <!-- <record-query v-if="show == '操作记录查询'" @deal-msg="dealMsg" :data="data"></record-query>-->
69
+ <!-- </tabs>-->
70
+ <tabs header="业务查询" v-if="permission('业务查询')">
71
+ <busines-query v-if="show.includes('业务查询')" @deal-msg="dealMsg" :data="data"></busines-query>
72
+ </tabs>
73
+ <tabs header="预存查询" v-if="permission('预存查询')">
74
+ <yucun-detailss v-if="show.includes('预存查询')" @deal-msg="dealMsg" :data="data"></yucun-detailss>
75
+ </tabs>
76
+ <tabs header="发折查询" v-if="permission('发折查询')">
77
+ <sendbook-query v-if="show.includes('发折查询')" @deal-msg="dealMsg" :data="data"></sendbook-query>
78
+ </tabs>
79
+ <tabs header="可疑用户查询" v-if="permission('可疑用户查询')">
80
+ <suspicious-user-query v-if="show.includes('可疑用户查询')" @deal-msg="dealMsg" :data="data"></suspicious-user-query>
81
+ </tabs>
82
+ <tabs header="气价变更查询" v-if="permission('气价变更查询')">
83
+ <price-change v-if="show.includes('气价变更查询')" @deal-msg="dealMsg" :data="data"></price-change>
84
+ </tabs>
85
+ <tabs header="扎帐查询" v-if="permission('扎帐查询')">
86
+ <prick-bill-query v-if="show.includes('扎帐查询')" @deal-msg="dealMsg" :data="data"></prick-bill-query>
87
+ </tabs>
88
+ <!-- <tabs header="资源操作记录查询" v-if="permission('资源操作记录查询')">-->
89
+ <!-- <resource-operating-query v-if="show == '资源操作记录查询'" @deal-msg="dealMsg" :data="data"></resource-operating-query>-->
90
+ <!-- </tabs>-->
91
+ <tabs header="调价记录查询" v-if="permission('调价记录查询')">
92
+ <pricechange-record v-if="show.includes('调价记录查询')" @deal-msg="dealMsg" :data="data"></pricechange-record>
93
+ </tabs>
94
+ <tabs header="维护记录查询" v-if="permission('维护记录查询')">
95
+ <infooperate-record v-if="show.includes('维护记录查询')" @deal-msg="dealMsg" :data="data"></infooperate-record>
96
+ </tabs>
97
+ <tabs header="气损收费查询" v-if="permission('气损收费查询')">
98
+ <gasloss-query v-if="show.includes('气损收费查询')" @deal-msg="dealMsg" :data="data"></gasloss-query>
99
+ </tabs>
100
+ <tabs header="气价信息查询" v-if="permission('气价信息查询')">
101
+ <gas-price-query v-if="show.includes('气价信息查询')" @deal-msg="dealMsg" :data="data"></gas-price-query>
102
+ </tabs>
103
+ <tabs header="团缴查询" v-if="permission('团缴查询')">
104
+ <group-charge-query v-if="show.includes('团缴查询')" @deal-msg="dealMsg" :data="data"></group-charge-query>
105
+ </tabs>
106
+ <tabs header="气费阶梯明细" v-if="permission('气费阶梯明细')">
107
+ <selling-charge-price v-if="show.includes('气费阶梯明细')" @deal-msg="dealMsg" :data="data"></selling-charge-price>
108
+ </tabs>
109
+ <!-- <tabs header="增值业务变更记录" v-if="permission('增值业务变更记录')">-->
110
+ <!-- <valueadd-info-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-info-query>-->
111
+ <!-- </tabs>-->
112
+ <!-- <tabs header="用户增值业务查询" v-if="permission('用户增值业务查询')">-->
113
+ <!-- <valueadd-user-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-user-query>-->
114
+ <!-- </tabs>-->
115
+ <!-- <tabs header="增值业务续保查询" v-if="permission('增值业务续保查询')">-->
116
+ <!-- <renewal-valueadd-user-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></renewal-valueadd-user-query>-->
117
+ <!-- </tabs>-->
118
+ <!-- <tabs header="增值业务汇总查询" v-if="permission('增值业务汇总查询')">-->
119
+ <!-- <valueadd-count-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-count-query>-->
120
+ <!-- </tabs>-->
121
+ <tabs header="受理单查询" v-if="permission('受理单查询')">
122
+ <print-sheet-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></print-sheet-query>
123
+ </tabs>
124
+ <tabs header="开关阀记录查询" v-if="permission('开关阀记录查询')">
125
+ <operation-value-record ></operation-value-record>
126
+ </tabs>
127
+ <tabs header="收费记录维护查询" v-if="permission('收费记录维护查询')">
128
+ <charge-record-maintenance-query v-if="show.includes('收费记录维护查询')" ></charge-record-maintenance-query>
129
+ </tabs>
130
+ <tabs header="NFC充值记录" v-if="permission('NFC充值记录')">
131
+ <nfc-recharge-record v-if="show.includes('NFC充值记录')" ></nfc-recharge-record>
132
+ </tabs>
133
+ </tab-button>
134
+ <!-- </div>-->
135
+ <!-- <div v-if="!listpage">-->
136
+ <!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
137
+ <!-- </div>-->
138
+ </template>
139
+
140
+ <script>
141
+ import TabButton from '../../components/sale/common/TabButton'
142
+ import Tabs from '../../components/sale/common/Tabs'
143
+ import ChargeQuery from './ChargeQuery'
144
+ import { HttpResetClass } from 'vue-client'
145
+
146
+ export default {
147
+ name: "BusinessQuery",
148
+ title: '业务查询',
149
+ data() {
150
+ return {// 页面开关
151
+ residentialArea: [],
152
+ f_start_date: '',
153
+ f_end_date: '',
154
+ listpage: true,
155
+ width: {
156
+ left: '100%',
157
+ right: '0%'
158
+ },
159
+ // searchNumber:'',
160
+ rowData: {},
161
+ show: [],
162
+ data: {
163
+ startDate: this.$login.toStandardDateString() + ' 00:00:00',
164
+ endDate: this.$login.toStandardDateString() + ' 23:59:59',
165
+ f_userinfo_code:''
166
+ }
167
+
168
+ }
169
+ },
170
+ components: {Tabs, TabButton, ChargeQuery},
171
+ ready() {
172
+ this.getaddress()
173
+ },
174
+ methods: {
175
+ async getaddress(){
176
+ let HttpReset = new HttpResetClass()
177
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
178
+ data: {
179
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
180
+ }
181
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
182
+ console.log('小区',data)
183
+ let house = []
184
+ for (let row of data.data){
185
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
186
+ }
187
+ house.unshift({label: '全部', value: ''})
188
+ this.residentialArea = house
189
+ },
190
+ permission(name) {
191
+ if (!this.$login.r.find(value => value == name)) {
192
+ return false
193
+ }else{
194
+ return true
195
+ }
196
+ },
197
+ cancel(obj) {
198
+ this.listpage = true
199
+ },
200
+ dealMsg(obj) {
201
+ this.rowData = obj
202
+ this.listpage = false
203
+ this.f_start_date = obj.model.startDate
204
+ this.f_end_date = obj.model.endDate
205
+ }
206
+ }
207
+ }
208
+ </script>
209
+
210
+ <style scoped>
211
+
212
+ </style>
@@ -1,11 +1,13 @@
1
- // 分公司特殊组件页面注册
2
- import Vue from 'vue'
3
-
4
- export default function () {
5
- // 收费查询
6
- Vue.component('charge-query', (resolve) => { require(['./ChargeQuery'], resolve) })
7
- // 用户稽查
8
- Vue.component('inspect-list-user', (resolve) => { require(['./InspectListUser'], resolve) })
9
- Vue.component('meter-query', (resolve) => { require(['./MeterQuery'], resolve) })
10
- Vue.component('user-query', (resolve) => { require(['./UserQuery'], resolve) })
11
- }
1
+ // 分公司特殊组件页面注册
2
+ import Vue from 'vue'
3
+
4
+ export default function () {
5
+ // 收费查询
6
+ Vue.component('charge-query', (resolve) => { require(['./ChargeQuery'], resolve) })
7
+ // 用户稽查
8
+ Vue.component('inspect-list-user', (resolve) => { require(['./InspectListUser'], resolve) })
9
+ Vue.component('meter-query', (resolve) => { require(['./MeterQuery'], resolve) })
10
+ Vue.component('user-query', (resolve) => { require(['./UserQuery'], resolve) })
11
+ // 业务查询
12
+ Vue.component('business-manage', (resolve) => { require(['./BusinessManage'], resolve) })
13
+ }