manage-client 3.2.136 → 3.2.139-tcc
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/build/dev-server.js +176 -176
- package/package.json +2 -2
- package/src/components/SellReport/ApplyFillmoney.vue +228 -0
- package/src/components/SellReport/ReportHistoryShow.vue +51 -0
- package/src/components/SellReport/ReportItems.vue +161 -92
- package/src/components/SellReport/ReportPool.vue +91 -19
- package/src/components/SellReport/applysFillmoney.vue +228 -0
- package/src/components/sale/businessquery/BusinessManage.vue +164 -197
- package/src/components/sale/config/exportConfig.js +1053 -1064
- package/src/components/sale/config/tableConfig.js +6 -0
- package/src/filiale/WEINAN/NewAccountQuery.vue +10 -33
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +1 -1
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +3 -1
- package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +2 -2
- package/src/filiale/macheng/sale.js +1 -2
- package/src/filiale/shaoguan/config/exportConfig.js +1 -1
- package/src/filiale/tongchuan/ReportList.vue +28 -31
- package/src/reportManage.js +12 -0
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<p class="bg-info text-center" style="padding: 8px;">人员报建表</p>
|
|
6
|
+
<div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-4" >
|
|
10
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
12
|
+
v-model="model.startDate"
|
|
13
|
+
:value.sync="model.startDate"
|
|
14
|
+
:disabled-days-of-Week="[]"
|
|
15
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
|
+
:show-reset-button="reset">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-4" >
|
|
20
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:disabled-days-of-Week="[]"
|
|
25
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-4">
|
|
30
|
+
<label class="font_normal_body"> 公司 </label>
|
|
31
|
+
<right-tree @re-res="$parent.$parent.getRes"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
<div class="span" style = "float:right;">
|
|
36
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
37
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
38
|
+
<report-excel id='gasprice'></report-excel>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</criteria>
|
|
42
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
43
|
+
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
44
|
+
<thead>
|
|
45
|
+
<tr>
|
|
46
|
+
<th colspan='7' style="font-weight: normal; text-align: left;">
|
|
47
|
+
<h3 style="text-align: center">人员报建表</h3>
|
|
48
|
+
</th>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
52
|
+
开始时间:{{model.model.startDate}}
|
|
53
|
+
结束时间:{{ model.model.endDate }}
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
58
|
+
打印时间:{{{$parent.printTime}}}
|
|
59
|
+
</th>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
63
|
+
<div>
|
|
64
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
65
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
66
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
67
|
+
</div>
|
|
68
|
+
</th>
|
|
69
|
+
</tr>
|
|
70
|
+
</thead>
|
|
71
|
+
<tr>
|
|
72
|
+
<td colspan='7'>
|
|
73
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tfoot>
|
|
77
|
+
<tr style="text-align: left">
|
|
78
|
+
<th colspan='3'>财务审核:</th>
|
|
79
|
+
<th colspan='3'>收款审核:</th>
|
|
80
|
+
<th colspan='1'>收款员:</th>
|
|
81
|
+
</tr>
|
|
82
|
+
</tfoot>
|
|
83
|
+
</table>
|
|
84
|
+
{{{ $parent.reportStr}}}
|
|
85
|
+
</div>
|
|
86
|
+
</criteria-paged>
|
|
87
|
+
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
88
|
+
<header slot="modal-header" class="modal-header">
|
|
89
|
+
<h4 class="modal-title">输入文件名称</h4>
|
|
90
|
+
</header>
|
|
91
|
+
<article slot="modal-body" class="modal-body">
|
|
92
|
+
<div class="form-group">
|
|
93
|
+
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
94
|
+
</div>
|
|
95
|
+
</article>
|
|
96
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
97
|
+
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
98
|
+
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
99
|
+
</footer>
|
|
100
|
+
</modal>
|
|
101
|
+
</div>
|
|
102
|
+
</template>
|
|
103
|
+
|
|
104
|
+
<script>
|
|
105
|
+
import { DataModel } from 'vue-client'
|
|
106
|
+
import co from 'co'
|
|
107
|
+
let saveFile = function * (self) {
|
|
108
|
+
// 线验证文件是否重名
|
|
109
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
110
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
111
|
+
{resolveMsg: null, rejectMsg: null})
|
|
112
|
+
if (count.data.length > 0) {
|
|
113
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
114
|
+
return
|
|
115
|
+
}
|
|
116
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
117
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
118
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
119
|
+
f_outlets: this.$login.f.depname})
|
|
120
|
+
if (saveBack.data.status === 'succeed') {
|
|
121
|
+
self.show = false
|
|
122
|
+
self.filename = ''
|
|
123
|
+
// 后台保存完成,通知刷新
|
|
124
|
+
self.$dispatch('save-success', self.filename)
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export default {
|
|
128
|
+
title: '人员报建表',
|
|
129
|
+
props: ['data'],
|
|
130
|
+
data () {
|
|
131
|
+
return {
|
|
132
|
+
printTime: this.$login.toStandardTimeString(),
|
|
133
|
+
depresid: [],
|
|
134
|
+
userresid: [],
|
|
135
|
+
f_orgid: this.$login.f.orgid,
|
|
136
|
+
f_depid: this.$login.f.depids,
|
|
137
|
+
f_operatorid: this.$login.f.id,
|
|
138
|
+
operatorid: [],
|
|
139
|
+
depid: [],
|
|
140
|
+
orgname: '',
|
|
141
|
+
depname: '',
|
|
142
|
+
operatorname: '',
|
|
143
|
+
f_inputtor:[],
|
|
144
|
+
f_user_type:'',
|
|
145
|
+
orgCondtionStr: '1=1',
|
|
146
|
+
model: new DataModel('rs/report/applygasfillmoney', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
147
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
148
|
+
reportStr: null,
|
|
149
|
+
show: false
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
ready () {
|
|
153
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
154
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
155
|
+
this.$refs.paged.$refs.criteria.search()
|
|
156
|
+
console.log(this.$login.f)
|
|
157
|
+
},
|
|
158
|
+
methods: {
|
|
159
|
+
searchData () {
|
|
160
|
+
this.$refs.paged.$refs.criteria.search()
|
|
161
|
+
},
|
|
162
|
+
selfSearch (args) {
|
|
163
|
+
let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
|
|
164
|
+
|
|
165
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
166
|
+
this.$refs.paged.search(args)
|
|
167
|
+
},
|
|
168
|
+
getRes (obj) {
|
|
169
|
+
this.orgname = obj.res[0]
|
|
170
|
+
this.depresid = obj.resids
|
|
171
|
+
this.f_orgid = obj.resids
|
|
172
|
+
},
|
|
173
|
+
getdep (obj, val) {
|
|
174
|
+
// this.depname = val[0]
|
|
175
|
+
this.userresid = obj
|
|
176
|
+
this.f_depid = obj
|
|
177
|
+
},
|
|
178
|
+
getuser ( obj, val) {
|
|
179
|
+
this.operatorname = val[0]
|
|
180
|
+
this.f_operatorid = obj
|
|
181
|
+
},
|
|
182
|
+
// 根据文件路径获取储存的报表内容
|
|
183
|
+
getFileContent (path) {
|
|
184
|
+
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
185
|
+
this.reportStr = res.data.filecontent
|
|
186
|
+
this.model.state = '正确'
|
|
187
|
+
})
|
|
188
|
+
},
|
|
189
|
+
confirm () {
|
|
190
|
+
if (!this.filename || this.filename === '') {
|
|
191
|
+
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
192
|
+
}
|
|
193
|
+
let saveGen = saveFile(this)
|
|
194
|
+
co(saveGen)
|
|
195
|
+
},
|
|
196
|
+
close () {
|
|
197
|
+
this.show = false
|
|
198
|
+
},
|
|
199
|
+
// 将报表保存成文件
|
|
200
|
+
confirmReport () {
|
|
201
|
+
this.show = true
|
|
202
|
+
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
203
|
+
},
|
|
204
|
+
},
|
|
205
|
+
watch: {
|
|
206
|
+
'data' (val) {
|
|
207
|
+
if (val.f_files_path) {
|
|
208
|
+
this.getFileContent(val.f_files_path)
|
|
209
|
+
} else {
|
|
210
|
+
this.reportStr = null
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
computed: {
|
|
215
|
+
usertypes() {
|
|
216
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
217
|
+
},
|
|
218
|
+
inputtor() {
|
|
219
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
|
|
220
|
+
},
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
</script>
|
|
224
|
+
<style scoped>
|
|
225
|
+
.noborder{
|
|
226
|
+
border: none;
|
|
227
|
+
}
|
|
228
|
+
</style>
|
|
@@ -1,197 +1,164 @@
|
|
|
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="
|
|
8
|
-
<
|
|
9
|
-
</tabs>
|
|
10
|
-
<tabs header="
|
|
11
|
-
<
|
|
12
|
-
</tabs>
|
|
13
|
-
<tabs header="
|
|
14
|
-
<
|
|
15
|
-
</tabs>
|
|
16
|
-
<tabs header="
|
|
17
|
-
<
|
|
18
|
-
</tabs>
|
|
19
|
-
<tabs header="
|
|
20
|
-
<
|
|
21
|
-
</tabs>
|
|
22
|
-
<tabs header="
|
|
23
|
-
<
|
|
24
|
-
</tabs>
|
|
25
|
-
<tabs header="
|
|
26
|
-
|
|
27
|
-
</tabs>
|
|
28
|
-
<tabs header="
|
|
29
|
-
|
|
30
|
-
</tabs
|
|
31
|
-
<tabs header="
|
|
32
|
-
<
|
|
33
|
-
</tabs>
|
|
34
|
-
<tabs header="
|
|
35
|
-
<
|
|
36
|
-
</tabs>
|
|
37
|
-
<tabs header="
|
|
38
|
-
<
|
|
39
|
-
</tabs>
|
|
40
|
-
<tabs header="
|
|
41
|
-
<
|
|
42
|
-
</tabs>
|
|
43
|
-
<tabs header="
|
|
44
|
-
<
|
|
45
|
-
</tabs>
|
|
46
|
-
<tabs header="
|
|
47
|
-
<
|
|
48
|
-
</tabs>
|
|
49
|
-
<tabs header="
|
|
50
|
-
|
|
51
|
-
</tabs
|
|
52
|
-
<tabs header="
|
|
53
|
-
<
|
|
54
|
-
</tabs>
|
|
55
|
-
<tabs header="
|
|
56
|
-
<
|
|
57
|
-
</tabs>
|
|
58
|
-
<tabs header="
|
|
59
|
-
|
|
60
|
-
</tabs>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
<tabs header="
|
|
65
|
-
<
|
|
66
|
-
</tabs>
|
|
67
|
-
<tabs header="
|
|
68
|
-
<
|
|
69
|
-
</tabs>
|
|
70
|
-
<tabs header="
|
|
71
|
-
<
|
|
72
|
-
</tabs>
|
|
73
|
-
<tabs header="
|
|
74
|
-
<
|
|
75
|
-
</tabs>
|
|
76
|
-
<tabs header="
|
|
77
|
-
<
|
|
78
|
-
</tabs>
|
|
79
|
-
<tabs header="
|
|
80
|
-
<
|
|
81
|
-
</tabs>
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
166
|
-
console.log('小区',data)
|
|
167
|
-
let house = []
|
|
168
|
-
for (let row of data.data){
|
|
169
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
170
|
-
}
|
|
171
|
-
house.unshift({label: '全部', value: ''})
|
|
172
|
-
this.residentialArea = house
|
|
173
|
-
},
|
|
174
|
-
permission(name) {
|
|
175
|
-
if (this.$login.r.find(value => value == '综合查询')) {
|
|
176
|
-
if (!this.$login.r.find(value => value == name)) {
|
|
177
|
-
return false
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
return true
|
|
181
|
-
},
|
|
182
|
-
cancel(obj) {
|
|
183
|
-
this.listpage = true
|
|
184
|
-
},
|
|
185
|
-
dealMsg(obj) {
|
|
186
|
-
this.rowData = obj
|
|
187
|
-
this.listpage = false
|
|
188
|
-
this.f_start_date = obj.model.startDate
|
|
189
|
-
this.f_end_date = obj.model.endDate
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
</script>
|
|
194
|
-
|
|
195
|
-
<style scoped>
|
|
196
|
-
|
|
197
|
-
</style>
|
|
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
|
+
<handplan-query v-if="show.includes('机表抄表查询')" @deal-msg="dealMsg" :data="data"></handplan-query>
|
|
9
|
+
</tabs>
|
|
10
|
+
<tabs header="其他收费查询" v-if="permission('其他收费查询')">
|
|
11
|
+
<other-charge-query v-if="show.includes('其他收费查询')" @deal-msg="dealMsg" :data="data"></other-charge-query>
|
|
12
|
+
</tabs>
|
|
13
|
+
<tabs header="补卡查询" v-if="permission('补卡查询')">
|
|
14
|
+
<fill-card-query v-if="show.includes('补卡查询')" @deal-msg="dealMsg" :data="data"></fill-card-query>
|
|
15
|
+
</tabs>
|
|
16
|
+
<tabs header="补气查询" v-if="permission('补气查询')">
|
|
17
|
+
<fill-gas-query v-if="show.includes('补气查询')" @deal-msg="dealMsg" :data="data"></fill-gas-query>
|
|
18
|
+
</tabs>
|
|
19
|
+
<tabs header="迁表查询" v-if="permission('迁表查询')">
|
|
20
|
+
<movemeter-query v-if="show.includes('迁表查询')" @deal-msg="dealMsg" :data="data"></movemeter-query>
|
|
21
|
+
</tabs>
|
|
22
|
+
<tabs header="卡表抄表查询" v-if="permission('卡表抄表查询')">
|
|
23
|
+
<card-handplan-query v-if="show.includes('卡表抄表查询')" @deal-msg="dealMsg" :data="data"></card-handplan-query>
|
|
24
|
+
</tabs>
|
|
25
|
+
<tabs header="收据查询" v-if="permission('收据查询')">
|
|
26
|
+
<meter-receipt-query v-if="show.includes('收据查询')" @deal-msg="dealMsg" :data="data"></meter-receipt-query>
|
|
27
|
+
</tabs>
|
|
28
|
+
<!-- <tabs header="操作记录查询" v-if="permission('操作记录查询')">-->
|
|
29
|
+
<!-- <record-query v-if="show == '操作记录查询'" @deal-msg="dealMsg" :data="data"></record-query>-->
|
|
30
|
+
<!-- </tabs>-->
|
|
31
|
+
<tabs header="业务查询" v-if="permission('业务查询')">
|
|
32
|
+
<busines-query v-if="show.includes('业务查询')" @deal-msg="dealMsg" :data="data"></busines-query>
|
|
33
|
+
</tabs>
|
|
34
|
+
<tabs header="预存查询" v-if="permission('预存查询')">
|
|
35
|
+
<yucun-detailss v-if="show.includes('预存查询')" @deal-msg="dealMsg" :data="data"></yucun-detailss>
|
|
36
|
+
</tabs>
|
|
37
|
+
<tabs header="发折查询" v-if="permission('发折查询')">
|
|
38
|
+
<sendbook-query v-if="show.includes('发折查询')" @deal-msg="dealMsg" :data="data"></sendbook-query>
|
|
39
|
+
</tabs>
|
|
40
|
+
<tabs header="可疑用户查询" v-if="permission('可疑用户查询')">
|
|
41
|
+
<suspicious-user-query v-if="show.includes('可疑用户查询')" @deal-msg="dealMsg" :data="data"></suspicious-user-query>
|
|
42
|
+
</tabs>
|
|
43
|
+
<tabs header="气价变更查询" v-if="permission('气价变更查询')">
|
|
44
|
+
<price-change v-if="show.includes('气价变更查询')" @deal-msg="dealMsg" :data="data"></price-change>
|
|
45
|
+
</tabs>
|
|
46
|
+
<tabs header="扎帐查询" v-if="permission('扎帐查询')">
|
|
47
|
+
<prick-bill-query v-if="show.includes('扎帐查询')" @deal-msg="dealMsg" :data="data"></prick-bill-query>
|
|
48
|
+
</tabs>
|
|
49
|
+
<!-- <tabs header="资源操作记录查询" v-if="permission('资源操作记录查询')">-->
|
|
50
|
+
<!-- <resource-operating-query v-if="show == '资源操作记录查询'" @deal-msg="dealMsg" :data="data"></resource-operating-query>-->
|
|
51
|
+
<!-- </tabs>-->
|
|
52
|
+
<tabs header="调价记录查询" v-if="permission('调价记录查询')">
|
|
53
|
+
<pricechange-record v-if="show.includes('调价记录查询')" @deal-msg="dealMsg" :data="data"></pricechange-record>
|
|
54
|
+
</tabs>
|
|
55
|
+
<tabs header="维护记录查询" v-if="permission('维护记录查询')">
|
|
56
|
+
<infooperate-record v-if="show.includes('维护记录查询')" @deal-msg="dealMsg" :data="data"></infooperate-record>
|
|
57
|
+
</tabs>
|
|
58
|
+
<tabs header="气损收费查询" v-if="permission('气损收费查询')">
|
|
59
|
+
<gasloss-query v-if="show.includes('气损收费查询')" @deal-msg="dealMsg" :data="data"></gasloss-query>
|
|
60
|
+
</tabs>
|
|
61
|
+
<tabs header="气价信息查询" v-if="permission('气价信息查询')">
|
|
62
|
+
<gas-price-query v-if="show.includes('气价信息查询')" @deal-msg="dealMsg" :data="data"></gas-price-query>
|
|
63
|
+
</tabs>
|
|
64
|
+
<tabs header="团缴查询" v-if="permission('团缴查询')">
|
|
65
|
+
<group-charge-query v-if="show.includes('团缴查询')" @deal-msg="dealMsg" :data="data"></group-charge-query>
|
|
66
|
+
</tabs>
|
|
67
|
+
<tabs header="气费阶梯明细" v-if="permission('气费阶梯明细')">
|
|
68
|
+
<selling-charge-price v-if="show.includes('气费阶梯明细')" @deal-msg="dealMsg" :data="data"></selling-charge-price>
|
|
69
|
+
</tabs>
|
|
70
|
+
<tabs header="增值业务变更记录" v-if="permission('增值业务变更记录')">
|
|
71
|
+
<valueadd-info-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-info-query>
|
|
72
|
+
</tabs>
|
|
73
|
+
<tabs header="用户增值业务查询" v-if="permission('用户增值业务查询')">
|
|
74
|
+
<valueadd-user-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-user-query>
|
|
75
|
+
</tabs>
|
|
76
|
+
<tabs header="增值业务续保查询" v-if="permission('增值业务续保查询')">
|
|
77
|
+
<renewal-valueadd-user-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></renewal-valueadd-user-query>
|
|
78
|
+
</tabs>
|
|
79
|
+
<tabs header="增值业务汇总查询" v-if="permission('增值业务汇总查询')">
|
|
80
|
+
<valueadd-count-query @deal-msg="dealMsg" :selectorg.sync="selectOrgid" ></valueadd-count-query>
|
|
81
|
+
</tabs>
|
|
82
|
+
</tab-button>
|
|
83
|
+
<!-- </div>-->
|
|
84
|
+
<!-- <div v-if="!listpage">-->
|
|
85
|
+
<!-- <meter-info-manage :row="rowData" :f_start_date="f_start_date" :f_end_date="f_end_date"></meter-info-manage>-->
|
|
86
|
+
<!-- </div>-->
|
|
87
|
+
</template>
|
|
88
|
+
|
|
89
|
+
<script>
|
|
90
|
+
import TabButton from '../common/TabButton'
|
|
91
|
+
import Tabs from '../common/Tabs'
|
|
92
|
+
import ChargeQuery from './ChargeQuery'
|
|
93
|
+
import { HttpResetClass } from 'vue-client'
|
|
94
|
+
|
|
95
|
+
export default {
|
|
96
|
+
name: "BusinessQuery",
|
|
97
|
+
title: '业务查询',
|
|
98
|
+
data() {
|
|
99
|
+
return {// 页面开关
|
|
100
|
+
residentialArea: [],
|
|
101
|
+
f_start_date: '',
|
|
102
|
+
f_end_date: '',
|
|
103
|
+
listpage: true,
|
|
104
|
+
width: {
|
|
105
|
+
left: '100%',
|
|
106
|
+
right: '0%'
|
|
107
|
+
},
|
|
108
|
+
// searchNumber:'',
|
|
109
|
+
rowData: {},
|
|
110
|
+
show: [],
|
|
111
|
+
data: {
|
|
112
|
+
startDate: this.$login.toStandardDateString() + ' 00:00:00',
|
|
113
|
+
endDate: this.$login.toStandardDateString() + ' 23:59:59',
|
|
114
|
+
f_userinfo_code:''
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
components: {Tabs, TabButton, ChargeQuery},
|
|
120
|
+
ready() {
|
|
121
|
+
this.getaddress()
|
|
122
|
+
console.log(this.$refs.list)
|
|
123
|
+
console.log('业务查询')
|
|
124
|
+
},
|
|
125
|
+
methods: {
|
|
126
|
+
async getaddress(){
|
|
127
|
+
let HttpReset = new HttpResetClass()
|
|
128
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
129
|
+
data: {
|
|
130
|
+
condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
|
|
131
|
+
}
|
|
132
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
133
|
+
console.log('小区',data)
|
|
134
|
+
let house = []
|
|
135
|
+
for (let row of data.data){
|
|
136
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
137
|
+
}
|
|
138
|
+
house.unshift({label: '全部', value: ''})
|
|
139
|
+
this.residentialArea = house
|
|
140
|
+
},
|
|
141
|
+
permission(name) {
|
|
142
|
+
if (this.$login.r.find(value => value == '综合查询')) {
|
|
143
|
+
if (!this.$login.r.find(value => value == name)) {
|
|
144
|
+
return false
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
return true
|
|
148
|
+
},
|
|
149
|
+
cancel(obj) {
|
|
150
|
+
this.listpage = true
|
|
151
|
+
},
|
|
152
|
+
dealMsg(obj) {
|
|
153
|
+
this.rowData = obj
|
|
154
|
+
this.listpage = false
|
|
155
|
+
this.f_start_date = obj.model.startDate
|
|
156
|
+
this.f_end_date = obj.model.endDate
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
</script>
|
|
161
|
+
|
|
162
|
+
<style scoped>
|
|
163
|
+
|
|
164
|
+
</style>
|