manage-client 3.2.24 → 3.2.28
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/6.1.1/fileContent/fileContent.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +7 -9
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/package.json +3 -3
- package/src/components/SellReport/AmountGas.vue +257 -257
- package/src/components/SellReport/BusinessClassify.vue +268 -317
- package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
- package/src/components/SellReport/BusinessReport.vue +256 -256
- package/src/components/SellReport/ChSellReport.vue +251 -251
- package/src/components/SellReport/ChargeBill.vue +244 -244
- package/src/components/SellReport/ChargeDayTable.vue +258 -258
- package/src/components/SellReport/ChargeMonthTable.vue +257 -257
- package/src/components/SellReport/ChargePrick.vue +43 -122
- package/src/components/SellReport/ChargeYearTable.vue +252 -252
- package/src/components/SellReport/DepartmentPrick.vue +243 -288
- package/src/components/SellReport/DeptHomePage.vue +299 -299
- package/src/components/SellReport/FinanceSellType.vue +254 -254
- package/src/components/SellReport/GasMeterBrand.vue +228 -228
- package/src/components/SellReport/GasMoneyPublicReport.vue +263 -263
- package/src/components/SellReport/GasMoneyReport.vue +252 -254
- package/src/components/SellReport/GasPriceGroup.vue +228 -228
- package/src/components/SellReport/GasSummary.vue +257 -257
- package/src/components/SellReport/Gasc.vue +257 -257
- package/src/components/SellReport/GetUserNum.vue +240 -240
- package/src/components/SellReport/HandplanBili.vue +241 -241
- package/src/components/SellReport/HandplanUserCount.vue +227 -227
- package/src/components/SellReport/ManageGasSumChange.vue +265 -265
- package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
- package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
- package/src/components/SellReport/MarketMonth.vue +251 -297
- package/src/components/SellReport/MeterPrice.vue +244 -244
- package/src/components/SellReport/MeterReader.vue +231 -231
- package/src/components/SellReport/OperatorCheckoutTwo.vue +263 -263
- package/src/components/SellReport/OperatorSellReport.vue +268 -268
- package/src/components/SellReport/OtherChargePublicReport.vue +262 -262
- package/src/components/SellReport/PaymentDistribute.vue +228 -228
- package/src/components/SellReport/PaymentMethod.vue +274 -274
- package/src/components/SellReport/QTXManageBusSummary.vue +236 -236
- package/src/components/SellReport/SellDepReport.vue +264 -266
- package/src/components/SellReport/UserClassify.vue +222 -271
- package/src/components/SellReport/UserGasFillCard.vue +441 -441
- package/src/components/SellReport/WeiNanYuShou.vue +246 -246
- package/src/components/SellReport/YuShouTable.vue +298 -298
- package/src/components/SellReport/chargeSchedule.vue +410 -410
- package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
- package/src/components/SellReport/userholds.vue +257 -257
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +8 -3
- package/src/components/sale/businessquery/FillCardQuery.vue +7 -3
- package/src/components/sale/businessquery/FillGasQuery.vue +19 -4
- package/src/components/sale/businessquery/InspectListUser.vue +3 -3
- package/src/components/sale/businessquery/OtherChargeQuery.vue +10 -5
- package/src/components/sale/businessquery/TransferQuery.vue +6 -2
- package/src/components/sale/config/exportConfig.js +898 -890
- package/src/components/sale/filesquery/ArchivesManage.vue +3 -0
- package/src/components/sale/filesquery/FireQuery.vue +473 -0
- package/src/components/webmeter/DrillData/UserGasAll.vue +17 -6
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +467 -0
- package/src/components/webmeter/newwebmeter/ArrearageQuery.vue +307 -0
- package/src/components/webmeter/recharge/RechargeList.vue +343 -345
- package/src/components/webmeter/report/ReportList.vue +0 -14
- package/src/filiale/WEINAN/BankManager.vue +139 -0
- package/src/filiale/WEINAN/config/exportConfig.js +833 -833
- package/src/filiale/WEINAN/reportManage.js +13 -12
- package/src/filiale/liaoyuan/ReportList.vue +421 -421
- package/src/filiale/macheng/ArrearsQuery.vue +823 -823
- package/src/filiale/macheng/RecordInfoQuery.vue +14 -20
- package/src/filiale/tongchuan/ChargeQuery.vue +19 -1
- package/src/filiale/tongchuan/FillGasQuery.vue +19 -4
- package/src/filiale/tongchuan/config/exportConfig.js +1 -1
- package/src/main.js +2 -2
- package/src/reportManage.js +498 -498
- package/src/saleManage.js +5 -0
- package/src/webmeterManage.js +117 -113
|
@@ -1,317 +1,268 @@
|
|
|
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
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
:
|
|
14
|
-
:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
:
|
|
24
|
-
:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
:
|
|
34
|
-
:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
:
|
|
44
|
-
:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
:
|
|
57
|
-
|
|
58
|
-
:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
<
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</div>
|
|
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
|
-
<span v-show="$parent.
|
|
109
|
-
<span v-show="$parent.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
</
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
<
|
|
121
|
-
|
|
122
|
-
<th :colspan='Math.
|
|
123
|
-
<th :colspan='Math.round($parent.tablen/3)'
|
|
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
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
f_orgid
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
this.$refs.paged.$refs.criteria.
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
},
|
|
270
|
-
confirm () {
|
|
271
|
-
if (!this.filename || this.filename === '') {
|
|
272
|
-
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
273
|
-
}
|
|
274
|
-
let saveGen = saveFile(this)
|
|
275
|
-
co(saveGen)
|
|
276
|
-
},
|
|
277
|
-
close () {
|
|
278
|
-
this.show = false
|
|
279
|
-
},
|
|
280
|
-
// 将报表保存成文件
|
|
281
|
-
confirmReport () {
|
|
282
|
-
this.show = true
|
|
283
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
284
|
-
}
|
|
285
|
-
},
|
|
286
|
-
watch: {
|
|
287
|
-
'data' (val) {
|
|
288
|
-
if (val.f_files_path) {
|
|
289
|
-
this.getFileContent(val.f_files_path)
|
|
290
|
-
} else {
|
|
291
|
-
this.reportStr = null
|
|
292
|
-
}
|
|
293
|
-
},
|
|
294
|
-
'model.data' (val) {
|
|
295
|
-
let len=0
|
|
296
|
-
let a=val.split('</tr>')
|
|
297
|
-
for(let i=0;i<a.length;i++){
|
|
298
|
-
if(a[i].split('</td>').length-1>len){
|
|
299
|
-
len=a[i].split('</td>').length-1
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
this.tablen=len
|
|
303
|
-
},
|
|
304
|
-
'reportStyle'(val) {
|
|
305
|
-
this.$refs.paged.$refs.criteria.search()
|
|
306
|
-
}
|
|
307
|
-
},
|
|
308
|
-
computed: {
|
|
309
|
-
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
</script>
|
|
313
|
-
<style scoped>
|
|
314
|
-
.noborder{
|
|
315
|
-
border: none;
|
|
316
|
-
}
|
|
317
|
-
</style>
|
|
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 00:00:00'"
|
|
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 23:59:59'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group" >
|
|
28
|
+
<label class="font_normal_body" for="yearStartDate">年开始日期:</label>
|
|
29
|
+
<datepicker id="yearStartDate" placeholder="年开始日期" style="width: 60%"
|
|
30
|
+
v-model="model.yearStartDate"
|
|
31
|
+
:value.sync="model.yearStartDate"
|
|
32
|
+
:disabled-days-of-Week="[]"
|
|
33
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
34
|
+
:show-reset-button="reset">
|
|
35
|
+
</datepicker>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-2 form-group" >
|
|
38
|
+
<label class="font_normal_body" for="yearEndDate">年结束日期:</label>
|
|
39
|
+
<datepicker id="yearEndDate" placeholder="年结束日期" style="width: 60%"
|
|
40
|
+
v-model="model.yearEndDate"
|
|
41
|
+
:value.sync="model.yearEndDate"
|
|
42
|
+
:disabled-days-of-Week="[]"
|
|
43
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
44
|
+
:show-reset-button="reset">
|
|
45
|
+
</datepicker>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="col-sm-2 form-group" >
|
|
48
|
+
<label class="font_normal_body" for="org">公   司:</label>
|
|
49
|
+
<right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%" v-ref:org></right-tree>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-2 form-group">
|
|
52
|
+
<label class="font_normal_body" for="dep" >部   门:</label>
|
|
53
|
+
<v-select id="dep" style="width: 60%"
|
|
54
|
+
:multiple="false"
|
|
55
|
+
@change="$parent.$parent.getDep"
|
|
56
|
+
:value.sync="model.f_depid"
|
|
57
|
+
v-model="model.f_depid"
|
|
58
|
+
:options='$parent.$parent.depresid' placeholder='请选择'
|
|
59
|
+
condition="f_depid in {}">
|
|
60
|
+
</v-select>
|
|
61
|
+
|
|
62
|
+
</div>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="span" style = "float:right;">
|
|
65
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
66
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
67
|
+
<report-excel id='gasprice'></report-excel>
|
|
68
|
+
<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>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
71
|
+
<div class="col-sm-2 form-group">
|
|
72
|
+
<label class="font_normal_body" for="oper">人   员:</label>
|
|
73
|
+
<v-select id="oper" style="width: 60%"
|
|
74
|
+
:multiple="false"
|
|
75
|
+
@change="$parent.$parent.getOpe"
|
|
76
|
+
:value.sync="model.f_operatorid"
|
|
77
|
+
v-model="model.f_operatorid"
|
|
78
|
+
:options='$parent.$parent.userresid' placeholder='请选择'
|
|
79
|
+
condition="f_operatorid in {}">
|
|
80
|
+
</v-select>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="col-sm-2 form-group">
|
|
83
|
+
<label class="font_normal_body" for="oper1">格式一</label>
|
|
84
|
+
<input type="radio" name="reportStyle" id="oper1" v-model="$parent.$parent.reportStyle" value="1"> 
|
|
85
|
+
<label class="font_normal_body" for="oper2">格式二</label>
|
|
86
|
+
<input type="radio" name="reportStyle" id="oper2" v-model="$parent.$parent.reportStyle" value="2">
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
</criteria>
|
|
91
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
92
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
93
|
+
<thead>
|
|
94
|
+
<tr>
|
|
95
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
|
|
96
|
+
<h3 style="text-align: center">营业分类统计</h3>
|
|
97
|
+
</th>
|
|
98
|
+
</tr>
|
|
99
|
+
<tr>
|
|
100
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
101
|
+
时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
|
|
102
|
+
打印时间:{{$parent.printTime}}
|
|
103
|
+
</th>
|
|
104
|
+
</tr>
|
|
105
|
+
<tr>
|
|
106
|
+
<th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
|
|
107
|
+
<div>
|
|
108
|
+
<span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
|
|
109
|
+
<span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
|
|
110
|
+
<span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
|
|
111
|
+
</div>
|
|
112
|
+
</th>
|
|
113
|
+
</tr>
|
|
114
|
+
</thead>
|
|
115
|
+
<tr>
|
|
116
|
+
<td :colspan='$parent.tablen' class="noborder">
|
|
117
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
118
|
+
</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tfoot>
|
|
121
|
+
<tr style="text-align: left">
|
|
122
|
+
<th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
|
|
123
|
+
<th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
|
|
124
|
+
<th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
|
|
125
|
+
</tr>
|
|
126
|
+
</tfoot>
|
|
127
|
+
</table>
|
|
128
|
+
{{{ $parent.reportStr}}}
|
|
129
|
+
</div>
|
|
130
|
+
</criteria-paged>
|
|
131
|
+
</div>
|
|
132
|
+
</template>
|
|
133
|
+
|
|
134
|
+
<script>
|
|
135
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
136
|
+
import co from 'co'
|
|
137
|
+
let getorg = async function (self) {
|
|
138
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
139
|
+
{
|
|
140
|
+
data: {
|
|
141
|
+
items: 'name label,id value',
|
|
142
|
+
tablename: 't_department',
|
|
143
|
+
condition: `1=1`
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{resolveMsg: null, rejectMsg: null})
|
|
147
|
+
.then((res) => {
|
|
148
|
+
self.depresid = res.data
|
|
149
|
+
})
|
|
150
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
151
|
+
{
|
|
152
|
+
data: {
|
|
153
|
+
items: 'name label,id value',
|
|
154
|
+
tablename: 't_user',
|
|
155
|
+
condition: `state = '在职' and f_department_name is not null`
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{resolveMsg: null, rejectMsg: null})
|
|
159
|
+
.then((res) => {
|
|
160
|
+
self.userresid = res.data
|
|
161
|
+
})
|
|
162
|
+
}
|
|
163
|
+
export default {
|
|
164
|
+
title: '营业分类统计',
|
|
165
|
+
props: ['data'],
|
|
166
|
+
data () {
|
|
167
|
+
return {
|
|
168
|
+
printTime: this.$login.toStandardTimeString(),
|
|
169
|
+
depresid: [],
|
|
170
|
+
userresid: [],
|
|
171
|
+
f_orgid: this.$login.f.orgid,
|
|
172
|
+
f_depid: this.$login.f.depids,
|
|
173
|
+
f_operatorid: this.$login.f.id,
|
|
174
|
+
operatorid: [],
|
|
175
|
+
depid: [],
|
|
176
|
+
tablen:0,
|
|
177
|
+
reportStyle: 1,
|
|
178
|
+
orgname: '',
|
|
179
|
+
depname: '',
|
|
180
|
+
operatorname: '',
|
|
181
|
+
orgCondtionStr: '1=1',
|
|
182
|
+
model: new DataModel('rs/report/BusinessClassify', {
|
|
183
|
+
startDate: 'this.model.startDate',
|
|
184
|
+
endDate: 'this.model.endDate',
|
|
185
|
+
yearStartDate: 'this.model.yearStartDate',
|
|
186
|
+
yearEndDate: 'this.model.yearEndDate',
|
|
187
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
188
|
+
reportStr: null,
|
|
189
|
+
criteriaShow: false
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
ready () {
|
|
193
|
+
getorg(this)
|
|
194
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
195
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
196
|
+
console.log(this.$login.f)
|
|
197
|
+
},
|
|
198
|
+
methods: {
|
|
199
|
+
searchData () {
|
|
200
|
+
this.$refs.paged.$refs.criteria.search()
|
|
201
|
+
},
|
|
202
|
+
getDep(val){
|
|
203
|
+
this.depname = this.depresid.filter(x => x.value ==val).map(x=>x.label).toString()
|
|
204
|
+
console.log('dep',this.depname )
|
|
205
|
+
},
|
|
206
|
+
getOpe(val){
|
|
207
|
+
this.operatorname = this.userresid.filter(x => x.value ==val).map(x=>x.label).toString()
|
|
208
|
+
console.log('dep',this.operatorname )
|
|
209
|
+
},
|
|
210
|
+
selfSearch (args) {
|
|
211
|
+
if (this.reportStyle == '1') {
|
|
212
|
+
this.model.url = 'rs/report/BusinessClassify'
|
|
213
|
+
} else {
|
|
214
|
+
this.model.url = 'rs/report/BusinessClassifyTwo'
|
|
215
|
+
}
|
|
216
|
+
console.log('---------------->', this.reportStyle)
|
|
217
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
218
|
+
let orgcondition = '1=1'
|
|
219
|
+
if (this.f_orgid[0]) {
|
|
220
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
221
|
+
}
|
|
222
|
+
orgcondition += ' and ' + args.condition
|
|
223
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
224
|
+
this.$refs.paged.search(args)
|
|
225
|
+
},
|
|
226
|
+
getRes (obj) {
|
|
227
|
+
this.orgname = obj.res[0]
|
|
228
|
+
this.f_orgid = obj.resids
|
|
229
|
+
},
|
|
230
|
+
show() {
|
|
231
|
+
this.criteriaShow = true
|
|
232
|
+
},
|
|
233
|
+
hidden() {
|
|
234
|
+
this.criteriaShow = !this.criteriaShow
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
watch: {
|
|
238
|
+
'data' (val) {
|
|
239
|
+
if (val.f_files_path) {
|
|
240
|
+
this.getFileContent(val.f_files_path)
|
|
241
|
+
} else {
|
|
242
|
+
this.reportStr = null
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
'model.data' (val) {
|
|
246
|
+
let len=0
|
|
247
|
+
let a=val.split('</tr>')
|
|
248
|
+
for(let i=0;i<a.length;i++){
|
|
249
|
+
if(a[i].split('</td>').length-1>len){
|
|
250
|
+
len=a[i].split('</td>').length-1
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
this.tablen=len
|
|
254
|
+
},
|
|
255
|
+
'reportStyle'(val) {
|
|
256
|
+
this.$refs.paged.$refs.criteria.search()
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
computed: {
|
|
260
|
+
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
</script>
|
|
264
|
+
<style scoped>
|
|
265
|
+
.noborder{
|
|
266
|
+
border: none;
|
|
267
|
+
}
|
|
268
|
+
</style>
|