manage-client 3.2.126 → 3.2.128
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/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +1 -1
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/build/webpack.base.conf.js +16 -17
- package/build/webpack.prod.conf.js +106 -23
- package/package.json +9 -4
- package/src/ManageHome.js +269 -269
- package/src/components/SellReport/ManageBusSummary.vue +3 -3
- package/src/components/SellReport/MarketAnjianChuli.vue +228 -0
- package/src/components/SellReport/MarketAnjianSituation.vue +228 -0
- package/src/components/SellReport/MarketMonthMoney.vue +237 -0
- package/src/components/SellReport/MarketanjianStyle.vue +228 -0
- package/src/components/sale/businessquery/BalanceTable.vue +5 -1
- package/src/components/sale/businessquery/CollectManage.vue +1 -3
- package/src/components/sale/businessquery/CommunityPaymen.vue +2 -2
- package/src/components/sale/businessquery/GroupChargeQuery.vue +4 -2
- package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
- package/src/components/sale/businessquery/ReceiptQuery.vue +5 -7
- package/src/components/sale/businessquery/overDueQuery.vue +1 -1
- package/src/components/sale/config/exportConfig.js +2 -1
- package/src/components/sale/resourcequery/LoginQuery.vue +2 -1
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +1 -1
- package/src/components/valueaddinfo/valueAddCountQuery.vue +2 -2
- package/src/components/valueaddinfo/valueAddUserQuery.vue +1 -1
- package/src/components/webmeter/WebmeterQuery.vue +3 -3
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +5 -11
- package/src/filiale/liaoyuan/exportConfig.js +2 -1
- package/src/filiale/macheng/MonthGasQuery.vue +2 -2
- package/src/filiale/macheng/RecordInfoQuery.vue +2 -2
- package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +367 -0
- package/src/filiale/macheng/sale.js +2 -1
- package/src/filiale/qianneng/exportConfig.js +1 -1
- package/src/filiale/qingtongxia/RecordInfoQuery.vue +12 -4
- package/src/filiale/wuhai/ChargeQuery.vue +8 -8
- package/src/main.js +66 -66
- package/src/newmanage.js +535 -535
- package/src/reportManage.js +584 -568
- package/src/saleManage.js +595 -595
- package/src/webmeterManage.js +104 -100
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
|
@@ -0,0 +1,237 @@
|
|
|
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
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div><!--
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-2 form-group">
|
|
32
|
+
<label class="font_normal_body"> 部门 </label>
|
|
33
|
+
<res-select restype='department'
|
|
34
|
+
is-mul="false"
|
|
35
|
+
@res-select="$parent.$parent.getdep"
|
|
36
|
+
:parentresid="$parent.$parent.depresid"
|
|
37
|
+
:initresid='$parent.$parent.depid'>
|
|
38
|
+
</res-select>
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-2 form-group">
|
|
42
|
+
<label class="font_normal_body"> 人员 </label>
|
|
43
|
+
<res-select restype='user'
|
|
44
|
+
is-mul="false"
|
|
45
|
+
@res-select="$parent.$parent.getuser"
|
|
46
|
+
:parentresid="$parent.$parent.userresid"
|
|
47
|
+
:initresid='$parent.$parent.operatorid'>
|
|
48
|
+
</res-select>
|
|
49
|
+
</div>
|
|
50
|
+
-->
|
|
51
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="span" style = "float:right;">
|
|
54
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
55
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
56
|
+
<report-excel id='gasprice'></report-excel>
|
|
57
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
58
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">用户类型</label>
|
|
63
|
+
<v-select :value.sync="$parent.$parent.f_user_type"
|
|
64
|
+
v-model="$parent.$parent.f_user_type"
|
|
65
|
+
:options='$parent.$parent.user_type' placeholder='请选择'
|
|
66
|
+
condition="f_user_type = '{}'"
|
|
67
|
+
close-on-select></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
70
|
+
<!--<label class="font_normal_body">收费状态</label>-->
|
|
71
|
+
<!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
|
|
72
|
+
<!--v-model="$parent.$parent.f_state"-->
|
|
73
|
+
<!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
|
|
74
|
+
<!--condition="f_state in {}"-->
|
|
75
|
+
<!--close-on-select></v-select>-->
|
|
76
|
+
<!--</div>-->
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</criteria>
|
|
80
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
81
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
82
|
+
<thead>
|
|
83
|
+
<tr>
|
|
84
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
85
|
+
<h3 style="text-align: center">天然气售气表具月报表</h3>
|
|
86
|
+
</th>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
90
|
+
开始时间:{{model.model.startDate}}
|
|
91
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
92
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
93
|
+
打印时间:{{$parent.printTime}}
|
|
94
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
95
|
+
</th>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
99
|
+
<div>
|
|
100
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
101
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
102
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
|
|
103
|
+
</div>
|
|
104
|
+
</th>
|
|
105
|
+
</tr>
|
|
106
|
+
</thead>
|
|
107
|
+
<tr>
|
|
108
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
109
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tfoot>
|
|
113
|
+
<tr style="text-align: left">
|
|
114
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
115
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
116
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
117
|
+
</tr>
|
|
118
|
+
</tfoot>
|
|
119
|
+
</table>
|
|
120
|
+
{{{ $parent.reportStr}}}
|
|
121
|
+
</div>
|
|
122
|
+
</criteria-paged>
|
|
123
|
+
</div>
|
|
124
|
+
</template>
|
|
125
|
+
|
|
126
|
+
<script>
|
|
127
|
+
import { DataModel } from 'vue-client'
|
|
128
|
+
import co from 'co'
|
|
129
|
+
|
|
130
|
+
export default {
|
|
131
|
+
title: '天然气售气表具月报表',
|
|
132
|
+
props: ['data'],
|
|
133
|
+
data () {
|
|
134
|
+
return {
|
|
135
|
+
printTime: this.$login.toStandardTimeString(),
|
|
136
|
+
depresid: [],
|
|
137
|
+
userresid: [],
|
|
138
|
+
f_orgid: this.$login.f.orgid,
|
|
139
|
+
f_depid: this.$login.f.depids,
|
|
140
|
+
f_operatorid: this.$login.f.id,
|
|
141
|
+
operatorid: [],
|
|
142
|
+
depid: [],
|
|
143
|
+
orgname: '',
|
|
144
|
+
depname: '',
|
|
145
|
+
criteriaShow: false,
|
|
146
|
+
operatorname: '',
|
|
147
|
+
orgCondtionStr: '1=1',
|
|
148
|
+
f_user_type: '',
|
|
149
|
+
f_state:['有效'],
|
|
150
|
+
model: new DataModel('rs/report/MarketMonthMoney', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
151
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
152
|
+
reportStr: null,
|
|
153
|
+
resshow:['company','department','operator'],
|
|
154
|
+
spans: 0,
|
|
155
|
+
initres: {
|
|
156
|
+
org: [this.$login.f.orgid],
|
|
157
|
+
dep: [],
|
|
158
|
+
user: []
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
ready () {
|
|
163
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
164
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
165
|
+
console.log(this.$login.f)
|
|
166
|
+
},
|
|
167
|
+
methods: {
|
|
168
|
+
searchData () {
|
|
169
|
+
this.$refs.paged.$refs.criteria.search()
|
|
170
|
+
},
|
|
171
|
+
selfSearch (args) {
|
|
172
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
173
|
+
let orgcondition = '1=1'
|
|
174
|
+
let orgstr = this.orgCondtionStr
|
|
175
|
+
orgcondition = orgcondition + orgstr
|
|
176
|
+
console.log('23231312321:',this.f_user_type)
|
|
177
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
178
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
179
|
+
}
|
|
180
|
+
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
181
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
182
|
+
}
|
|
183
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
184
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
185
|
+
}
|
|
186
|
+
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
187
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
188
|
+
}*/
|
|
189
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
190
|
+
this.$refs.paged.search(args)
|
|
191
|
+
},
|
|
192
|
+
|
|
193
|
+
hidden() {
|
|
194
|
+
this.criteriaShow = !this.criteriaShow
|
|
195
|
+
},
|
|
196
|
+
getRes (condition, obj) {
|
|
197
|
+
this.orgCondtionStr = condition
|
|
198
|
+
this.orgname = obj.orgnames[0]
|
|
199
|
+
this.depname = obj.depnames[0]
|
|
200
|
+
},
|
|
201
|
+
getdep (obj, val) {
|
|
202
|
+
this.depname = val[0]
|
|
203
|
+
this.userresid = obj
|
|
204
|
+
this.f_depid = obj
|
|
205
|
+
},
|
|
206
|
+
getuser ( obj, val) {
|
|
207
|
+
this.operatorname = val[0]
|
|
208
|
+
this.f_operatorid = obj
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
watch: {
|
|
212
|
+
'model.data' (val) {
|
|
213
|
+
let len=0
|
|
214
|
+
let a=val.split('</tr>')
|
|
215
|
+
for(let i=0;i<a.length;i++){
|
|
216
|
+
if(a[i].split('</td>').length-1>len){
|
|
217
|
+
len=a[i].split('</td>').length-1
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
this.spans = len
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
computed: {
|
|
224
|
+
charge_state() {
|
|
225
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
226
|
+
},
|
|
227
|
+
user_type () {
|
|
228
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
</script>
|
|
233
|
+
<style scoped>
|
|
234
|
+
.noborder{
|
|
235
|
+
border: none;
|
|
236
|
+
}
|
|
237
|
+
</style>
|
|
@@ -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='16' style="font-weight: normal; text-align: left;">
|
|
47
|
+
<h3 style="text-align: center">周口安检员情况统计表</h3>
|
|
48
|
+
</th>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th colspan='16' style="font-weight: normal; text-align: center;">
|
|
52
|
+
开始时间:{{model.model.startDate}}
|
|
53
|
+
结束时间:{{ model.model.endDate }}
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<th colspan='16' style="font-weight: normal; text-align: center;">
|
|
58
|
+
打印时间:{{{$parent.printTime}}}
|
|
59
|
+
</th>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<th colspan='16' 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='16'>
|
|
73
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tfoot>
|
|
77
|
+
<tr style="text-align: left">
|
|
78
|
+
<th colspan='5'>财务审核:</th>
|
|
79
|
+
<th colspan='5'>收款审核:</th>
|
|
80
|
+
<th colspan='6'>收款员:</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_filialeid: this.$login.f_filialeid,
|
|
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/marketanjianstyle', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
147
|
+
f_filialeid: 'this.model.f_filialeid'}),
|
|
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_filialeid in (' + this.f_filialeid + ')'
|
|
164
|
+
|
|
165
|
+
this.$refs.paged.$refs.criteria.model.f_filialeid = 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_filialeid = 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>
|
|
@@ -459,7 +459,11 @@
|
|
|
459
459
|
},
|
|
460
460
|
computed: {
|
|
461
461
|
getCondition() {
|
|
462
|
-
return {
|
|
462
|
+
return {
|
|
463
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
464
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
465
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
466
|
+
}
|
|
463
467
|
},
|
|
464
468
|
getfield() {
|
|
465
469
|
return exportConfig.BalanceTableConfig
|
|
@@ -103,8 +103,6 @@
|
|
|
103
103
|
<script>
|
|
104
104
|
import TabButton from '../common/TabButton'
|
|
105
105
|
import Tabs from '../common/Tabs'
|
|
106
|
-
import ArrearsQuery from './ArrearsQuery'
|
|
107
|
-
|
|
108
106
|
|
|
109
107
|
export default {
|
|
110
108
|
title: '汇总查询',
|
|
@@ -122,7 +120,7 @@
|
|
|
122
120
|
show: []
|
|
123
121
|
}
|
|
124
122
|
},
|
|
125
|
-
components: {Tabs, TabButton
|
|
123
|
+
components: {Tabs, TabButton},
|
|
126
124
|
methods: {
|
|
127
125
|
permission (name) {
|
|
128
126
|
if (this.$login.r.find(value => value == '综合查询')) {
|
|
@@ -284,9 +284,9 @@
|
|
|
284
284
|
getCondition() {
|
|
285
285
|
var con = ""
|
|
286
286
|
if (this.orgCondtionStr) {
|
|
287
|
-
con = `${this.$refs.paged.$refs.cri.condition} `
|
|
287
|
+
con = `${this.$refs.paged.$refs.cri.condition} ` + this.orgCondtionStr
|
|
288
288
|
} else {
|
|
289
|
-
con = `${this.$refs.paged.$refs.cri.condition}`
|
|
289
|
+
con = `${this.$refs.paged.$refs.cri.condition} and f_orgid in ('${this.$login.f.orgid}' )`
|
|
290
290
|
}
|
|
291
291
|
return {
|
|
292
292
|
startdate: this.$refs.paged.$refs.cri.model.startDate,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
47
47
|
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
48
48
|
:defaultselect="$parent.$parent.defaultexport"
|
|
49
|
-
sqlurl="rs/logic/exportfile" sql-name="
|
|
49
|
+
sqlurl="rs/logic/exportfile" sql-name="manage_singleTable" template-name='团缴查询导出'
|
|
50
50
|
:choose-col="true">
|
|
51
51
|
</export-excel>
|
|
52
52
|
|
|
@@ -415,7 +415,9 @@
|
|
|
415
415
|
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
416
416
|
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
417
417
|
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
418
|
-
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc"
|
|
418
|
+
orderitem: this.orderitem?`${this.orderitem}`: " f_operate_date desc",
|
|
419
|
+
items: "*",
|
|
420
|
+
tablename: "t_sellinggasbatch"
|
|
419
421
|
}
|
|
420
422
|
},
|
|
421
423
|
getfield() {
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
<export-excel :data="$parent.$parent.getCondition"
|
|
47
47
|
:field="$parent.$parent.getfield"
|
|
48
48
|
:header="$parent.$parent.other"
|
|
49
|
-
sqlurl="rs/logic/exportfile" sql-name="
|
|
49
|
+
sqlurl="rs/logic/exportfile" sql-name="movemeterQuery" template-name='迁表查询导出'
|
|
50
50
|
:choose-col="true"></export-excel>
|
|
51
51
|
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
52
52
|
:defaultfield="$parent.$parent.defaultfield"
|
|
@@ -194,15 +194,15 @@
|
|
|
194
194
|
<template partial='head'>
|
|
195
195
|
<tr>
|
|
196
196
|
<th>
|
|
197
|
-
<
|
|
198
|
-
|
|
199
|
-
<!-- :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>-->
|
|
197
|
+
<data-order field="f_userinfo_code" name="客户编号">
|
|
198
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
200
199
|
</th>
|
|
201
200
|
<th>
|
|
202
201
|
<nobr>客户名称</nobr>
|
|
203
202
|
</th>
|
|
204
203
|
<th>
|
|
205
|
-
<
|
|
204
|
+
<data-order field="f_address" name="客户地址"
|
|
205
|
+
:order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
206
206
|
</th>
|
|
207
207
|
<th>
|
|
208
208
|
<nobr>表号</nobr>
|
|
@@ -223,7 +223,6 @@
|
|
|
223
223
|
<nobr>收票人</nobr>
|
|
224
224
|
</th>
|
|
225
225
|
<th>
|
|
226
|
-
<!-- <nobr>操作日期</nobr>-->
|
|
227
226
|
<data-order field="f_operate_date" name="操作日期"
|
|
228
227
|
:order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
229
228
|
</th>
|
|
@@ -234,8 +233,7 @@
|
|
|
234
233
|
<nobr>客户名称</nobr>
|
|
235
234
|
</th>
|
|
236
235
|
<th>
|
|
237
|
-
|
|
238
|
-
<data-order field="f_address" name="客户地址"
|
|
236
|
+
<data-order field="f_buy_address" name="客户地址"
|
|
239
237
|
:order.sync="$parent.$parent.$parent.orderFields.f_buy_address"></data-order>
|
|
240
238
|
</th>
|
|
241
239
|
<th>
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
getCondition () {
|
|
439
439
|
var con = ""
|
|
440
440
|
if (this.orgCondtionStr) {
|
|
441
|
-
con = `${this.$refs.paged.$refs.cri.condition}
|
|
441
|
+
con = `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
442
442
|
}
|
|
443
443
|
else {
|
|
444
444
|
con = `${this.$refs.paged.$refs.cri.condition} and f_orgid in ('${this.$login.f.orgid}' )`
|
|
@@ -654,7 +654,8 @@ export default{
|
|
|
654
654
|
expectgasConfig: {
|
|
655
655
|
'f_month': '月份', 'f_orgname': '公司', 'f_gy_num': '工业户数', 'f_my_num': '民用户数', 'f_jt_num': '集体户数', 'f_sy_num': '商业户数', 'f_sum_num': '户数合计',
|
|
656
656
|
'f_gy_gas': '工业抄表量', 'f_my_gas': '民用抄表量', 'f_jt_gas': '集体抄表量', 'f_sy_gas': '商业抄表量', 'f_sum_gas': '抄表量合计',
|
|
657
|
-
'f_gy_account': '工业抄表金额', 'f_my_account': '民用抄表金额', 'f_jt_account': '集体抄表金额', 'f_sy_account': '商业抄表金额', 'f_sum_account': '抄表金额合计'
|
|
657
|
+
'f_gy_account': '工业抄表金额', 'f_my_account': '民用抄表金额', 'f_jt_account': '集体抄表金额', 'f_sy_account': '商业抄表金额', 'f_sum_account': '抄表金额合计',
|
|
658
|
+
'f_old_gas': '冲正气量','f_old_fee': '冲正金额','f_old_num':'冲正户数'
|
|
658
659
|
},
|
|
659
660
|
pregaslistConfig: {
|
|
660
661
|
'f_month': '月份', 'f_last_balance': '期初余额', 'f_wechat_pay': '微信', 'f_money_pay': '现金', 'f_bank_pay': '银行转账',
|
|
@@ -230,7 +230,8 @@
|
|
|
230
230
|
getCondition() {
|
|
231
231
|
return {
|
|
232
232
|
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
233
|
-
orderitem: this.orderitem?`${this.orderitem}`: " logindate desc"
|
|
233
|
+
orderitem: this.orderitem?`${this.orderitem}`: " logindate desc",
|
|
234
|
+
tablename: 't_loginrecord'
|
|
234
235
|
}
|
|
235
236
|
},
|
|
236
237
|
getfield() {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
:defaultselect="$parent.$parent.selectfields"
|
|
50
50
|
:field="$parent.$parent.getfield"
|
|
51
51
|
:exportprogress="true"
|
|
52
|
-
sqlurl="rs/logic/
|
|
52
|
+
sqlurl="rs/logic/exportfile"
|
|
53
53
|
sql-name='getValueaddInfo'
|
|
54
54
|
template-name="续保用户增值业务信息" :choose-col="true"></export-excel-plus>
|
|
55
55
|
<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>
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
}).catch((error) => {
|
|
173
173
|
this.$emit('error', error)
|
|
174
174
|
})
|
|
175
|
-
for(var item in exportConfig.
|
|
175
|
+
for(var item in exportConfig.valuecountConfig){
|
|
176
176
|
this.selectfields.push(item)
|
|
177
177
|
}
|
|
178
178
|
},
|
|
@@ -307,7 +307,7 @@
|
|
|
307
307
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
308
308
|
},
|
|
309
309
|
getfield() {
|
|
310
|
-
return exportConfig.
|
|
310
|
+
return exportConfig.valuecountConfig
|
|
311
311
|
},
|
|
312
312
|
|
|
313
313
|
}
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
:defaultselect="$parent.$parent.selectfields"
|
|
40
40
|
:field="$parent.$parent.getfield"
|
|
41
41
|
:exportprogress="true"
|
|
42
|
-
sqlurl="rs/logic/
|
|
42
|
+
sqlurl="rs/logic/exportfile"
|
|
43
43
|
sql-name='getValueaddInfo'
|
|
44
44
|
template-name="用户增值业务信息" :choose-col="true"></export-excel-plus>
|
|
45
45
|
<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>
|