manage-client 3.3.233 → 3.3.234
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 +190 -190
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +234 -234
- package/gradlew.bat +89 -89
- package/hs_err_pid13052.log +206 -206
- package/package.json +111 -111
- package/src/components/SellReport/BusinessClassify.vue +292 -292
- package/src/components/SellReport/ChManageBusSummary.vue +273 -273
- package/src/components/SellReport/GasMoneyPublicConReport.vue +231 -231
- package/src/components/SellReport/ManageGasGroupSummary.vue +208 -208
- package/src/components/SellReport/ManageSellType.vue +267 -267
- package/src/components/SellReport/ReportItems.vue +312 -312
- package/src/components/SellReport/yangchun/YcBusSummaryes.vue +229 -229
- package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
- package/src/components/sale/businessquery/AreaChargeQuery.vue +384 -384
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +637 -637
- package/src/components/sale/businessquery/ArrearsQuery.vue +983 -983
- package/src/components/sale/businessquery/BalanceTable.vue +482 -482
- package/src/components/sale/businessquery/BusinessManage.vue +212 -212
- package/src/components/sale/businessquery/CancellationQuery.vue +428 -428
- package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +699 -699
- package/src/components/sale/businessquery/ChargeQuery.vue +1435 -1435
- package/src/components/sale/businessquery/CollectManage.vue +161 -161
- package/src/components/sale/businessquery/CommunityPaymen.vue +307 -307
- package/src/components/sale/businessquery/DisableQuery.vue +523 -523
- package/src/components/sale/businessquery/EnableQuery.vue +462 -462
- package/src/components/sale/businessquery/FMYGasQuery.vue +872 -872
- package/src/components/sale/businessquery/FillCardQuery.vue +573 -573
- package/src/components/sale/businessquery/FillGasQuery.vue +593 -593
- package/src/components/sale/businessquery/GroupChargeQuery.vue +492 -492
- package/src/components/sale/businessquery/HandBookQuery.vue +692 -692
- package/src/components/sale/businessquery/HandBookTwoQuery.vue +704 -704
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +671 -671
- package/src/components/sale/businessquery/HandPeopleQuery.vue +719 -719
- package/src/components/sale/businessquery/HandRateQuery.vue +524 -524
- package/src/components/sale/businessquery/Handgasquery.vue +477 -477
- package/src/components/sale/businessquery/HandplanQuery.vue +1376 -1376
- package/src/components/sale/businessquery/MonthGasQuery.vue +482 -482
- package/src/components/sale/businessquery/NoBusinessQuery.vue +778 -778
- package/src/components/sale/businessquery/PlotSummaryQuery.vue +499 -499
- package/src/components/sale/businessquery/ProceedsOper.vue +415 -415
- package/src/components/sale/businessquery/ResidentialCardQuery.vue +377 -377
- package/src/components/sale/businessquery/ResidentialQuery.vue +415 -415
- package/src/components/sale/businessquery/SellOrgnameQuery.vue +680 -680
- package/src/components/sale/businessquery/SellPeopleQuery.vue +752 -752
- package/src/components/sale/businessquery/SellingHand.vue +421 -421
- package/src/components/sale/businessquery/TransferQuery.vue +502 -502
- package/src/components/sale/businessquery/UnhandBusiness.vue +328 -328
- package/src/components/sale/businessquery/UserSellHeadDetail.vue +579 -579
- package/src/components/sale/businessquery/WebHandplanQuery.vue +987 -987
- package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
- package/src/components/sale/businessquery/YingShouMingXi.vue +524 -524
- package/src/components/sale/businessquery/YonghuJieyu.vue +358 -358
- package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -353
- package/src/components/sale/businessquery/usergas.vue +315 -315
- package/src/components/sale/config/exportConfig.js +2763 -2763
- package/src/components/sale/config/tableConfig.js +59 -59
- package/src/components/sale/filesquery/FireQuery.vue +539 -539
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1448 -1448
- package/src/components/sale/filesquery/UserQuery.vue +1002 -1002
- package/src/components/webmeter/DrillData/GetNoMetereadData.vue +423 -423
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +739 -739
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +691 -691
- package/src/components/webmeter/WebmeterQuery.vue +77 -77
- package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +456 -456
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +526 -526
- package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +542 -542
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +606 -606
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +557 -557
- package/src/components/webmeter/newwebmeter/WebhandMonthGas.vue +819 -819
- package/src/components/webmeter/recharge/RechargeList.vue +371 -371
- package/src/components/webmeter/report/ReportList.vue +453 -453
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +339 -339
- package/src/filiale/WEINAN/InspectListGas.vue +616 -616
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +555 -555
- package/src/filiale/WEINAN/ManageSummaryReport.vue +712 -712
- package/src/filiale/WEINAN/RecordInfoQuery.vue +1328 -1328
- package/src/filiale/WEINAN/businessquery/WallHangingFurnaceUserQuery.vue +418 -418
- package/src/filiale/ancheng/businessquery/FMYGasQuery.vue +853 -853
- package/src/filiale/ancheng/exportConfig.js +1112 -1112
- package/src/filiale/bayan/ChargeQuery.vue +1436 -1436
- package/src/filiale/bayan/PrintTableManage.vue +242 -242
- package/src/filiale/bayan/config/DefaultPrint.js +6 -6
- package/src/filiale/bayan/config/exportConfig.js +2642 -2642
- package/src/filiale/bayan/config/tableConfig.js +59 -59
- package/src/filiale/bayan/sale.js +8 -8
- package/src/filiale/bayan/webmeter/GetNoMetereadData.vue +425 -425
- package/src/filiale/bayan/webmeter/LostContactAnalysisList.vue +719 -719
- package/src/filiale/bayan/webmeter/MeterExceptionList.vue +591 -591
- package/src/filiale/bayan/webmeter/NewGasStatistics.vue +665 -665
- package/src/filiale/bayan/webmeter/NewQueryInstruct.vue +650 -650
- package/src/filiale/bayan/webmeter/NewWebmeterSettlementAnalysis.vue +464 -464
- package/src/filiale/bayan/webmeter/RechargeList.vue +430 -430
- package/src/filiale/bayan/webmeter/ReportDataQuery.vue +343 -343
- package/src/filiale/bayan/webmeter/ReportList.vue +555 -555
- package/src/filiale/bayan/webmeter/UserLostContactAnalysis.vue +674 -674
- package/src/filiale/bayan/webmeterManage.js +26 -26
- package/src/filiale/dingcheng/DefaultPrint.js +6 -6
- package/src/filiale/dingcheng/businessquery/ChangeMeterQuery.vue +798 -798
- package/src/filiale/dingcheng/exportConfig.js +2765 -2765
- package/src/filiale/dingcheng/sale.js +9 -9
- package/src/filiale/hantou/ChangeMeterQuery.vue +699 -699
- package/src/filiale/hantou/config/DefaultPrint.js +6 -6
- package/src/filiale/hantou/config/exportConfig.js +2667 -2667
- package/src/filiale/hantou/config/tableConfig.js +54 -54
- package/src/filiale/hantou/sale.js +8 -8
- package/src/filiale/jingwei/RecordInfoQuery.vue +1210 -1210
- package/src/filiale/jingwei/config/exportConfig.js +1106 -1106
- package/src/filiale/jingyang/ChargeQuery.vue +1464 -1464
- package/src/filiale/jingyang/RechargeList.vue +346 -346
- package/src/filiale/jingyang/config/DefaultPrint.js +6 -6
- package/src/filiale/jingyang/config/exportConfig.js +2776 -2776
- package/src/filiale/jingyang/config/tableConfig.js +58 -58
- package/src/filiale/jingyang/sale.js +8 -8
- package/src/filiale/kelai/AreaChargeQuery.vue +398 -398
- package/src/filiale/kelai/ChargeQuery.vue +1348 -1348
- package/src/filiale/kelai/GasStatistics.vue +561 -561
- package/src/filiale/kelai/NewAccountQuery.vue +417 -417
- package/src/filiale/kelai/NewGasStatistics.vue +556 -556
- package/src/filiale/kelai/feimin_style_kl.vue +400 -400
- package/src/filiale/kelai/reportManage.js +13 -13
- package/src/filiale/kelai/sale.js +17 -17
- package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
- package/src/filiale/lixianV3/RecordInfoQuery.vue +1474 -1474
- package/src/filiale/macheng/ArrearsQuery.vue +831 -831
- package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
- package/src/filiale/macheng/config/exportConfig.js +79 -79
- package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -206
- package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
- package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
- package/src/filiale/meihekou/CollectManage.vue +152 -152
- package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
- package/src/filiale/meihekou/OtherChargeQuery.vue +618 -618
- package/src/filiale/meihekou/UserSellHeadDetail.vue +516 -516
- package/src/filiale/meihekou/YingShouMingXi.vue +556 -556
- package/src/filiale/meihekou/config/exportConfig.js +829 -829
- package/src/filiale/meihekou/sale.js +39 -39
- package/src/filiale/ningjin/MeterExceptionList.vue +616 -616
- package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
- package/src/filiale/qianneng/RecordInfoQuery.vue +1369 -1369
- package/src/filiale/qianneng/WebmeterQuery.vue +70 -70
- package/src/filiale/qianneng/exportConfig.js +232 -232
- package/src/filiale/qingtongxia/ChargeQuery.vue +1209 -1209
- package/src/filiale/qingtongxia/config/exportConfig.js +712 -712
- package/src/filiale/rizhao/BusinessManage.vue +212 -212
- package/src/filiale/rizhao/sale.js +13 -13
- package/src/filiale/shangluo/HandplanQuery.vue +1376 -1376
- package/src/filiale/shangluo/sale.js +17 -17
- package/src/filiale/shangluo/webmeter/PriceInstructList.vue +303 -303
- package/src/filiale/shangluo/webmeter/UserInstructList.vue +304 -304
- package/src/filiale/shangluo/webmeter/WebmeterSettlementAnalysis.vue +432 -432
- package/src/filiale/shanxian/EchartsBox.vue +134 -134
- package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
- package/src/filiale/shexian/ChangeMeterQuery.vue +797 -797
- package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
- package/src/filiale/taizhoukesi/NewGasStatistics.vue +539 -539
- package/src/filiale/taizhoukesi/config/exportConfig.js +2712 -2712
- package/src/filiale/taizhoukesi/sale.js +11 -11
- package/src/filiale/tongchuan/GasInspection.vue +716 -716
- package/src/filiale/tongchuan/InspectListGas.vue +700 -700
- package/src/filiale/tongchuan/MeterQuery.vue +1002 -1002
- package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
- package/src/filiale/tongchuan/config/exportConfig.js +858 -858
- package/src/filiale/wenxi/ChangeMeterQuery.vue +721 -721
- package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
- package/src/filiale/wenxi/config/exportConfig.js +995 -995
- package/src/filiale/xinjiangdexin/ChargeQuery.vue +1435 -1435
- package/src/filiale/xinjiangdexin/config/exportConfig.js +2770 -2770
- package/src/filiale/xinjiangdexin/sale.js +7 -7
- package/src/filiale/yangchun/ChangeMeterQuery.vue +722 -722
- package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
- package/src/filiale/yangchun/OtherChargeDetailQuery.vue +74 -74
- package/src/filiale/yangchun/OtherChargeQuery.vue +755 -755
- package/src/filiale/yangchun/RecordInfoQuery.vue +1494 -1494
- package/src/filiale/yangchun/UserQuery.vue +980 -980
- package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
- package/src/filiale/yangchun/config/exportConfig.js +1229 -1229
- package/src/filiale/yangchun/config/tableConfig.js +58 -58
- package/src/filiale/yangchun/reportManage.js +6 -6
- package/src/filiale/yangchun/sale.js +20 -20
- package/src/filiale/yangchun/webmeterManage.js +5 -5
- package/src/filiale/yuncheng/ChangeMeterQuery.vue +743 -743
- package/src/filiale/yuncheng/DeviceQuery.vue +611 -611
- package/src/filiale/yuncheng/GasInspection.vue +610 -610
- package/src/filiale/yuncheng/LostContactAnalysisList.vue +700 -700
- package/src/filiale/yuncheng/MeterQuery.vue +1017 -1017
- package/src/filiale/yuncheng/config/exportConfig.js +2681 -2681
- package/src/filiale/yuncheng/sale.js +23 -23
- package/src/filiale/zhongyi/ChargeQuery.vue +1454 -1454
- package/src/filiale/zhongyi/GasStatistics.vue +537 -537
- package/src/filiale/zhongyi/NewGasStatistics.vue +558 -558
- package/src/filiale/zhongyi/exportConfig.js +2556 -2556
- package/src/filiale/zhongyi/sale.js +33 -33
- package/src/filiale/zhongyi/webmeterManage.js +15 -15
- package/src/main.js +68 -68
- package/src/plugins/LodopFuncs.js +159 -159
- package/src/reportManage.js +777 -777
- package/src/saleManage.js +689 -689
- package/src/stores/MagLoadParams.js +8 -4
- package/src/webmeterManage.js +130 -130
- package/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
|
@@ -1,173 +1,173 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="basic-main" style="height: 100%">
|
|
3
|
-
<div class="form-group" >
|
|
4
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="col-sm-3 form-group" >
|
|
7
|
-
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
8
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
9
|
-
v-model="model.startDate"
|
|
10
|
-
:value.sync="model.startDate"
|
|
11
|
-
:disabled-days-of-Week="[]"
|
|
12
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
13
|
-
:show-reset-button="reset">
|
|
14
|
-
</datepicker>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-3 form-group" >
|
|
17
|
-
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
18
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
19
|
-
v-model="model.endDate"
|
|
20
|
-
:value.sync="model.endDate"
|
|
21
|
-
:disabled-days-of-Week="[]"
|
|
22
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
23
|
-
:show-reset-button="reset">
|
|
24
|
-
</datepicker>
|
|
25
|
-
</div>
|
|
26
|
-
<div class="col-sm-3 form-group" >
|
|
27
|
-
<label class="font_normal_body" for="org">公  司:</label>
|
|
28
|
-
<right-tree id="org" @re-res="getRes"></right-tree>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-3 form-group">
|
|
31
|
-
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
32
|
-
<res-select id="dep" restype='department'
|
|
33
|
-
@res-select="getdep"
|
|
34
|
-
:parentresid="depresid"
|
|
35
|
-
:initresid='queryData.depid' >
|
|
36
|
-
</res-select>
|
|
37
|
-
|
|
38
|
-
</div>
|
|
39
|
-
<div class="col-sm-3 form-group">
|
|
40
|
-
<label class="font_normal_body" for="oper">人  员:</label>
|
|
41
|
-
<res-select id="oper" restype='user'
|
|
42
|
-
is-mul="false"
|
|
43
|
-
@res-select="getuser"
|
|
44
|
-
:parentresid="userresid"
|
|
45
|
-
:initresid='queryData.operatorid'>
|
|
46
|
-
</res-select>
|
|
47
|
-
</div>
|
|
48
|
-
<div class="col-sm-3 form-group">
|
|
49
|
-
<label class="font_normal_body" for="oper">pos收费: </label>
|
|
50
|
-
<v-select :value.sync="queryData.f_payment"
|
|
51
|
-
v-model="queryData.f_payment"
|
|
52
|
-
:options='f_payents' placeholder='请选择'
|
|
53
|
-
condition="f_bank_name = '{}'"
|
|
54
|
-
close-on-select></v-select>
|
|
55
|
-
</div>
|
|
56
|
-
<div class="col-sm-2 form-group" style="float:right;">
|
|
57
|
-
<button class="button_search" @click="searchData()">查询</button>
|
|
58
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,
|
|
59
|
-
'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
</div>
|
|
63
|
-
<div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
|
|
64
|
-
<iframe class="iframe_style" style="width:100%;height:100% ;border: medium none;" :src="url" v-if="isShow"></iframe>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</template>
|
|
69
|
-
|
|
70
|
-
<script>
|
|
71
|
-
export default {
|
|
72
|
-
title: '客户类型分项汇总表',
|
|
73
|
-
data () {
|
|
74
|
-
return {
|
|
75
|
-
orgCondtionStr: '1=1',
|
|
76
|
-
model: {
|
|
77
|
-
startDate: '',
|
|
78
|
-
endDate: ''
|
|
79
|
-
},
|
|
80
|
-
isShow: false,
|
|
81
|
-
url: '',
|
|
82
|
-
urlPrefix: `${this.$appdata.getSingleValue('报表地址') ? this.$appdata.getSingleValue('报表地址') : 'http://124.71.151.143:8488'}/report/jmreport/shareView/815841832143192064`,
|
|
83
|
-
queryData: {
|
|
84
|
-
f_orgid: [],
|
|
85
|
-
f_depid: [],
|
|
86
|
-
f_operatorid: [],
|
|
87
|
-
f_payment: []
|
|
88
|
-
},
|
|
89
|
-
orgname: '',
|
|
90
|
-
depresid: [],
|
|
91
|
-
userresid: [],
|
|
92
|
-
depname: '',
|
|
93
|
-
operatorname: '',
|
|
94
|
-
operatorid: [],
|
|
95
|
-
depid: [],
|
|
96
|
-
f_payents: [{label: 'pos收费', value: '在线支付'}],
|
|
97
|
-
criteriaShow: false
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
ready () {
|
|
101
|
-
this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
102
|
-
this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
103
|
-
this.searchData()
|
|
104
|
-
},
|
|
105
|
-
methods: {
|
|
106
|
-
searchData () {
|
|
107
|
-
let queryData = ''
|
|
108
|
-
queryData = this.orgCondtionStr
|
|
109
|
-
for (let key in this.queryData) {
|
|
110
|
-
if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
|
|
111
|
-
if (Array.isArray(this.queryData[key])) {
|
|
112
|
-
let stringValue = ''
|
|
113
|
-
for (var i = 0; i < this.queryData[key].length; i++) {
|
|
114
|
-
if (i === this.queryData[key].length - 1) {
|
|
115
|
-
stringValue = stringValue + "'" + this.queryData[key][i] + "'"
|
|
116
|
-
} else {
|
|
117
|
-
stringValue = stringValue + "'" + this.queryData[key][i] + "',"
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
queryData = queryData + ' and t.' + key + ' in (' + stringValue + ')'
|
|
121
|
-
} else {
|
|
122
|
-
queryData = queryData + ' and t.' + key + ' = ' + "'" + this.queryData[key] + "'"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
console.log(queryData)
|
|
127
|
-
// 重置url
|
|
128
|
-
this.url = ''
|
|
129
|
-
// encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
|
|
130
|
-
this.url = this.urlPrefix + '?condition=' + encodeURIComponent(queryData) +
|
|
131
|
-
'&startDate=' + encodeURIComponent(this.model.startDate) +
|
|
132
|
-
'&endDate=' + encodeURIComponent(this.model.endDate)
|
|
133
|
-
console.log('报表===' + queryData)
|
|
134
|
-
console.log('报表===>' + this.url)
|
|
135
|
-
this.isShow = true
|
|
136
|
-
},
|
|
137
|
-
load () {
|
|
138
|
-
this.isShow = true
|
|
139
|
-
},
|
|
140
|
-
getRes (obj) {
|
|
141
|
-
this.orgname = obj.res[0]
|
|
142
|
-
this.depresid = obj.resids
|
|
143
|
-
this.userresid = obj.resids
|
|
144
|
-
this.queryData.f_orgid = obj.resids
|
|
145
|
-
},
|
|
146
|
-
getdep (obj, val) {
|
|
147
|
-
this.depname = val[0]
|
|
148
|
-
this.userresid = obj
|
|
149
|
-
this.queryData.f_depid = obj
|
|
150
|
-
},
|
|
151
|
-
getuser (obj, val) {
|
|
152
|
-
this.operatorname = val[0]
|
|
153
|
-
this.queryData.f_operatorid = obj
|
|
154
|
-
},
|
|
155
|
-
hidden () {
|
|
156
|
-
this.criteriaShow = !this.criteriaShow
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
|
-
computed: {
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
</script>
|
|
163
|
-
<style scoped>
|
|
164
|
-
.noborder{
|
|
165
|
-
border: none;
|
|
166
|
-
}
|
|
167
|
-
.span{
|
|
168
|
-
height: 0;
|
|
169
|
-
}
|
|
170
|
-
.iframe_style{
|
|
171
|
-
border: medium none;
|
|
172
|
-
}
|
|
173
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<div class="form-group" >
|
|
4
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-sm-3 form-group" >
|
|
7
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
8
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
9
|
+
v-model="model.startDate"
|
|
10
|
+
:value.sync="model.startDate"
|
|
11
|
+
:disabled-days-of-Week="[]"
|
|
12
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
13
|
+
:show-reset-button="reset">
|
|
14
|
+
</datepicker>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="col-sm-3 form-group" >
|
|
17
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
18
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
19
|
+
v-model="model.endDate"
|
|
20
|
+
:value.sync="model.endDate"
|
|
21
|
+
:disabled-days-of-Week="[]"
|
|
22
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
23
|
+
:show-reset-button="reset">
|
|
24
|
+
</datepicker>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-3 form-group" >
|
|
27
|
+
<label class="font_normal_body" for="org">公  司:</label>
|
|
28
|
+
<right-tree id="org" @re-res="getRes"></right-tree>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-3 form-group">
|
|
31
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
32
|
+
<res-select id="dep" restype='department'
|
|
33
|
+
@res-select="getdep"
|
|
34
|
+
:parentresid="depresid"
|
|
35
|
+
:initresid='queryData.depid' >
|
|
36
|
+
</res-select>
|
|
37
|
+
|
|
38
|
+
</div>
|
|
39
|
+
<div class="col-sm-3 form-group">
|
|
40
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
41
|
+
<res-select id="oper" restype='user'
|
|
42
|
+
is-mul="false"
|
|
43
|
+
@res-select="getuser"
|
|
44
|
+
:parentresid="userresid"
|
|
45
|
+
:initresid='queryData.operatorid'>
|
|
46
|
+
</res-select>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-sm-3 form-group">
|
|
49
|
+
<label class="font_normal_body" for="oper">pos收费: </label>
|
|
50
|
+
<v-select :value.sync="queryData.f_payment"
|
|
51
|
+
v-model="queryData.f_payment"
|
|
52
|
+
:options='f_payents' placeholder='请选择'
|
|
53
|
+
condition="f_bank_name = '{}'"
|
|
54
|
+
close-on-select></v-select>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-sm-2 form-group" style="float:right;">
|
|
57
|
+
<button class="button_search" @click="searchData()">查询</button>
|
|
58
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,
|
|
59
|
+
'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
|
|
64
|
+
<iframe class="iframe_style" style="width:100%;height:100% ;border: medium none;" :src="url" v-if="isShow"></iframe>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
</template>
|
|
69
|
+
|
|
70
|
+
<script>
|
|
71
|
+
export default {
|
|
72
|
+
title: '客户类型分项汇总表',
|
|
73
|
+
data () {
|
|
74
|
+
return {
|
|
75
|
+
orgCondtionStr: '1=1',
|
|
76
|
+
model: {
|
|
77
|
+
startDate: '',
|
|
78
|
+
endDate: ''
|
|
79
|
+
},
|
|
80
|
+
isShow: false,
|
|
81
|
+
url: '',
|
|
82
|
+
urlPrefix: `${this.$appdata.getSingleValue('报表地址') ? this.$appdata.getSingleValue('报表地址') : 'http://124.71.151.143:8488'}/report/jmreport/shareView/815841832143192064`,
|
|
83
|
+
queryData: {
|
|
84
|
+
f_orgid: [],
|
|
85
|
+
f_depid: [],
|
|
86
|
+
f_operatorid: [],
|
|
87
|
+
f_payment: []
|
|
88
|
+
},
|
|
89
|
+
orgname: '',
|
|
90
|
+
depresid: [],
|
|
91
|
+
userresid: [],
|
|
92
|
+
depname: '',
|
|
93
|
+
operatorname: '',
|
|
94
|
+
operatorid: [],
|
|
95
|
+
depid: [],
|
|
96
|
+
f_payents: [{label: 'pos收费', value: '在线支付'}],
|
|
97
|
+
criteriaShow: false
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
ready () {
|
|
101
|
+
this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
102
|
+
this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
103
|
+
this.searchData()
|
|
104
|
+
},
|
|
105
|
+
methods: {
|
|
106
|
+
searchData () {
|
|
107
|
+
let queryData = ''
|
|
108
|
+
queryData = this.orgCondtionStr
|
|
109
|
+
for (let key in this.queryData) {
|
|
110
|
+
if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
|
|
111
|
+
if (Array.isArray(this.queryData[key])) {
|
|
112
|
+
let stringValue = ''
|
|
113
|
+
for (var i = 0; i < this.queryData[key].length; i++) {
|
|
114
|
+
if (i === this.queryData[key].length - 1) {
|
|
115
|
+
stringValue = stringValue + "'" + this.queryData[key][i] + "'"
|
|
116
|
+
} else {
|
|
117
|
+
stringValue = stringValue + "'" + this.queryData[key][i] + "',"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
queryData = queryData + ' and t.' + key + ' in (' + stringValue + ')'
|
|
121
|
+
} else {
|
|
122
|
+
queryData = queryData + ' and t.' + key + ' = ' + "'" + this.queryData[key] + "'"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
console.log(queryData)
|
|
127
|
+
// 重置url
|
|
128
|
+
this.url = ''
|
|
129
|
+
// encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
|
|
130
|
+
this.url = this.urlPrefix + '?condition=' + encodeURIComponent(queryData) +
|
|
131
|
+
'&startDate=' + encodeURIComponent(this.model.startDate) +
|
|
132
|
+
'&endDate=' + encodeURIComponent(this.model.endDate)
|
|
133
|
+
console.log('报表===' + queryData)
|
|
134
|
+
console.log('报表===>' + this.url)
|
|
135
|
+
this.isShow = true
|
|
136
|
+
},
|
|
137
|
+
load () {
|
|
138
|
+
this.isShow = true
|
|
139
|
+
},
|
|
140
|
+
getRes (obj) {
|
|
141
|
+
this.orgname = obj.res[0]
|
|
142
|
+
this.depresid = obj.resids
|
|
143
|
+
this.userresid = obj.resids
|
|
144
|
+
this.queryData.f_orgid = obj.resids
|
|
145
|
+
},
|
|
146
|
+
getdep (obj, val) {
|
|
147
|
+
this.depname = val[0]
|
|
148
|
+
this.userresid = obj
|
|
149
|
+
this.queryData.f_depid = obj
|
|
150
|
+
},
|
|
151
|
+
getuser (obj, val) {
|
|
152
|
+
this.operatorname = val[0]
|
|
153
|
+
this.queryData.f_operatorid = obj
|
|
154
|
+
},
|
|
155
|
+
hidden () {
|
|
156
|
+
this.criteriaShow = !this.criteriaShow
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
computed: {
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
</script>
|
|
163
|
+
<style scoped>
|
|
164
|
+
.noborder{
|
|
165
|
+
border: none;
|
|
166
|
+
}
|
|
167
|
+
.span{
|
|
168
|
+
height: 0;
|
|
169
|
+
}
|
|
170
|
+
.iframe_style{
|
|
171
|
+
border: medium none;
|
|
172
|
+
}
|
|
173
|
+
</style>
|