manage-client 3.1.10 → 3.1.11-ls
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/fileHashes/fileHashes.bin +0 -0
- package/build/dev-server.js +6 -19
- package/package.json +3 -3
- package/src/components/SellReport/ManageBusSummary.vue +150 -187
- package/src/components/SellReport/ManageDayGas.vue +120 -120
- package/src/components/SellReport/ManageMonthGas.vue +124 -124
- package/src/components/SellReport/ManageOtherCharge.vue +121 -121
- package/src/components/SellReport/ManageSellType.vue +133 -133
- package/src/components/SellReport/ReportItems.vue +1 -2
- package/src/components/SellReport/jingwei/ManageHandSellMoney.vue +120 -120
- package/src/components/handReport/GeneraHandReport.vue +235 -0
- package/src/components/sale/businessquery/AccountQuery/GasReimbursementRate.vue +1 -1
- package/src/components/sale/businessquery/BusinesQuery.vue +3 -3
- package/src/components/sale/businessquery/BusinessManage.vue +152 -155
- package/src/components/sale/businessquery/CancellationQuery.vue +1 -1
- package/src/components/sale/businessquery/CardHandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +1 -12
- package/src/components/sale/businessquery/ChangeUserQuery.vue +1 -7
- package/src/components/sale/businessquery/DisableQuery.vue +1 -1
- package/src/components/sale/businessquery/EnableQuery.vue +1 -1
- package/src/components/sale/businessquery/FillCardQuery.vue +1 -1
- package/src/components/sale/businessquery/FillGasQuery.vue +1 -1
- package/src/components/sale/businessquery/GasInspection.vue +1 -1
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +19 -10
- package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/InspectListGas.vue +1 -1
- package/src/components/sale/businessquery/InspectListUser.vue +1 -1
- package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
- package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
- package/src/components/sale/businessquery/ReverseQuery.vue +1 -1
- package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
- package/src/components/sale/businessquery/SellingHand.vue +1 -1
- package/src/components/sale/businessquery/SendbookQuery.vue +1 -1
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +1 -1
- package/src/components/sale/businessquery/TransferQuery.vue +1 -1
- package/src/components/sale/businessquery/UserInsured.vue +1 -1
- package/src/components/sale/businessquery/overDueQuery.vue +1 -1
- package/src/components/sale/businessquery/priceadjustQuery.vue +1 -1
- package/src/components/sale/config/exportConfig.js +6 -12
- package/src/components/sale/filesquery/ArchivesManage.vue +0 -3
- package/src/components/sale/filesquery/DeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/MeterQuery.vue +1 -1
- package/src/components/sale/filesquery/RecordInfoQuery.vue +9 -83
- package/src/components/sale/filesquery/UserDeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/UserQuery.vue +0 -46
- package/src/components/sale/report/aode/YearByUserType.vue +272 -272
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +28 -19
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +14 -32
- package/src/components/webmeter/DrillData/UserGasAll.vue +600 -596
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +4 -4
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +27 -13
- package/src/components/webmeter/instruction/NewQueryInstructMain.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +566 -753
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +2 -6
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +3 -10
- package/src/components/webmeter/newwebmeter/UserGasList.vue +10 -12
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/filiale/WEINAN/MeterQuery.vue +1 -1
- package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
- package/src/filiale/WEINAN/RecordInfoQuery.vue +1 -1
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +1 -1
- package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +19 -19
- package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -11
- package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -17
- package/src/filiale/jingwei/RecordInfoQuery.vue +1 -1
- package/src/filiale/jingzhou/ChargeQuery.vue +5 -15
- package/src/filiale/jingzhou/HandplanQuery.vue +1 -1
- package/src/filiale/jingzhou/config/exportConfig.js +13 -17
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +14 -55
- package/src/filiale/liaoyuan/ReportList.vue +1 -1
- package/src/filiale/macheng/MeterQuery.vue +1 -1
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/meihekou/ChargeQuery.vue +4 -4
- package/src/filiale/meihekou/HandplanQuery.vue +1 -1
- package/src/filiale/meihekou/RecordInfoQuery.vue +21 -3
- package/src/filiale/meihekou/sale.js +1 -5
- package/src/filiale/pingxiang/ChangeUserQuery.vue +1 -1
- package/src/filiale/pingxiang/sale.js +9 -9
- package/src/filiale/qingtongxia/sale.js +13 -13
- package/src/filiale/rongcheng/UserQuery.vue +827 -827
- package/src/filiale/shaoguan/BusinessManage.vue +162 -162
- package/src/filiale/shaoguan/HandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/OtherChargeQuery.vue +590 -590
- package/src/filiale/shaoguan/TransferQuery.vue +403 -403
- package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
- package/src/filiale/shaoguan/overDueQuery.vue +1 -1
- package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +1 -1
- package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
- package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
- package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
- package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
- package/src/filiale/shaoguan/sale.js +33 -33
- package/src/main.js +5 -5
- package/src/newmanage.js +0 -34
- package/src/reportManage.js +4 -0
- package/src/saleManage.js +483 -492
- package/.gradle/5.4.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.4.1/gc.properties +0 -0
- package/src/.idea/misc.xml +0 -9
- package/src/.idea/modules.xml +0 -8
- package/src/.idea/src.iml +0 -9
- package/src/.idea/vcs.xml +0 -6
- package/src/.idea/workspace.xml +0 -93
- package/src/components/daping/BarChart.vue +0 -256
- package/src/components/daping/BarChartLine.vue +0 -284
- package/src/components/daping/CallCenter.vue +0 -369
- package/src/components/daping/DataManagement.vue +0 -697
- package/src/components/daping/DataManagement1.vue +0 -345
- package/src/components/daping/DataStatistics.vue +0 -241
- package/src/components/daping/ExpireMeter.vue +0 -272
- package/src/components/daping/GMap.vue +0 -636
- package/src/components/daping/ManageMain.vue +0 -255
- package/src/components/daping/Pie.vue +0 -171
- package/src/components/daping/ResidentsSecurity.vue +0 -132
- package/src/components/daping/Ring.vue +0 -227
- package/src/components/daping/SafeCheckRing.vue +0 -160
- package/src/components/daping/SafecheckBarChart.vue +0 -294
- package/src/components/daping/Scada.vue +0 -198
- package/src/components/daping/SellBarEcharts.vue +0 -220
- package/src/components/daping/SellEcharts.vue +0 -219
- package/src/components/daping/Style/qinhuaStyle.less +0 -223
- package/src/components/daping/Style//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/components/daping/XianMap.vue +0 -275
- package/src/components/daping/js/AMap.js +0 -19
- package/src/components/daping/js/BMap.js +0 -13
- package/src/components/daping/json/mapStyle.json +0 -1299
- package/src/components/daping/json/xian.json +0 -1
- package/src/components/daping/qinHuaMap.vue +0 -338
- package/src/components/sale/businessquery/PriceChange.vue +0 -411
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +0 -334
- package/src/components/sale/filesquery/PriceChangeQuery.vue +0 -357
- package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
- package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
- package/src/filiale/meihekou/UserGasEform.vue +0 -267
- package/src/filiale/rongchuang/SellingTable.vue +0 -250
- package/src/filiale/rongchuang/reportManage.js +0 -11
- package/src/filiale/tongchuan/UserQuery.vue +0 -846
- package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
- package/src/filiale/tongchuan/config/exportConfig.js +0 -857
- package/src/filiale/tongchuan/sale.js +0 -11
- package/src/plugins/transformer.js +0 -117
- package/static/NewManageHome/green.png +0 -0
- package/static/NewManageHome/title.png +0 -0
- package/static/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -11,24 +11,17 @@ var compiler = webpack(config)
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
13
|
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
|
|
15
|
-
// var fuwu='http://119.146.1.106:8300/'
|
|
14
|
+
var shaoguan='http://119.146.1.106:8300/'
|
|
16
15
|
var qtx='http://36.103.222.144:6300/'
|
|
17
|
-
var bendi = 'http://
|
|
18
|
-
var
|
|
19
|
-
|
|
20
|
-
var fuwu = 'http://192.168.50.4:8400'
|
|
21
|
-
|
|
22
|
-
// var fuwu = 'http://172.168.1.11:9001/'
|
|
16
|
+
var bendi = 'http://39.105.154.109:9001/', fuwu_login = 'http://39.105.154.109:9001/'
|
|
17
|
+
var fuwu = 'http://39.105.154.109:9001/'
|
|
18
|
+
var system = 'http://192.168.50.4:8400'
|
|
23
19
|
//192.168.
|
|
24
20
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
25
21
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
26
22
|
var proxyTable = {
|
|
27
23
|
'/rs/logic/exportfile': {
|
|
28
|
-
target:
|
|
29
|
-
},
|
|
30
|
-
'/rs/entity':{
|
|
31
|
-
target:'http://127.0.0.1:8080'
|
|
24
|
+
target: fuwu
|
|
32
25
|
},
|
|
33
26
|
'/files': {
|
|
34
27
|
target: fuwu
|
|
@@ -74,7 +67,7 @@ var proxyTable = {
|
|
|
74
67
|
target: fuwu
|
|
75
68
|
},
|
|
76
69
|
'/rs/report': {
|
|
77
|
-
target:
|
|
70
|
+
target: fuwu
|
|
78
71
|
},
|
|
79
72
|
'/rs/vue': {
|
|
80
73
|
target: fuwu
|
|
@@ -85,12 +78,6 @@ var proxyTable = {
|
|
|
85
78
|
'/rs/logic/SumSettleFileImport': {
|
|
86
79
|
target: 'http://127.0.0.1:8080'
|
|
87
80
|
},
|
|
88
|
-
'/rs/logic/getBatchOperaPro':{
|
|
89
|
-
target: 'http://127.0.0.1:8080'
|
|
90
|
-
},
|
|
91
|
-
'/rs/logic/machineChargePay':{
|
|
92
|
-
target: 'http://127.0.0.1:8080'
|
|
93
|
-
},
|
|
94
81
|
'/rs': {
|
|
95
82
|
target: bendi
|
|
96
83
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.11-ls",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"moment": "2.24.0",
|
|
58
58
|
"ncp": "^2.0.0",
|
|
59
59
|
"rimraf": "^2.5.0",
|
|
60
|
-
"sale-client": "3.2.
|
|
60
|
+
"sale-client": "3.2.13-71",
|
|
61
61
|
"selenium-server": "2.52.0",
|
|
62
62
|
"sinon": "^2.1.0",
|
|
63
63
|
"sinon-chai": "^2.8.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"system-clients": "3.1.89-18",
|
|
67
67
|
"url-loader": "^0.5.7",
|
|
68
68
|
"vue-amap": "0.5.10",
|
|
69
|
-
"vue-client": "1.24.
|
|
69
|
+
"vue-client": "1.24.87",
|
|
70
70
|
"vue-hot-reload-api": "^1.2.0",
|
|
71
71
|
"vue-html-loader": "^1.0.0",
|
|
72
72
|
"vue-loader": "8.2.1",
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="basic-main" style="height: 100%">
|
|
3
|
-
|
|
4
|
-
|
|
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>
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
7
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
8
|
-
|
|
9
|
-
<res-select-group :mul="false" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:res_select></res-select-group>
|
|
6
|
+
<div class="row">
|
|
10
7
|
<div class="col-sm-2 form-group" >
|
|
11
8
|
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
12
9
|
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
@@ -27,207 +24,173 @@
|
|
|
27
24
|
:show-reset-button="reset">
|
|
28
25
|
</datepicker>
|
|
29
26
|
</div>
|
|
30
|
-
|
|
31
|
-
<label class="font_normal_body">收费状态</label>
|
|
32
|
-
<v-select :value.sync="$parent.$parent.f_state" multiple
|
|
33
|
-
v-model="$parent.$parent.f_state"
|
|
34
|
-
:options='$parent.$parent.charge_state' placeholder='请选择'
|
|
35
|
-
condition="f_state in {}"
|
|
36
|
-
close-on-select></v-select>
|
|
27
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
37
28
|
</div>
|
|
38
|
-
</div>
|
|
39
29
|
<div class="span" style = "float:right;">
|
|
40
30
|
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
32
|
+
<report-excel id='gasprice'></report-excel>
|
|
33
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
34
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
43
35
|
</div>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</th>
|
|
53
|
-
</tr>
|
|
54
|
-
<tr>
|
|
55
|
-
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
56
|
-
开始时间:{{model.model.startDate}}
|
|
57
|
-
结束时间:{{ model.model.endDate }} <br/>
|
|
58
|
-
<!--打印时间:{{{$parent.printTime}}}-->
|
|
59
|
-
打印时间:{{$parent.printTime}}
|
|
60
|
-
<!--收费员:{{// $parent.operatorname}}-->
|
|
61
|
-
</th>
|
|
62
|
-
</tr>
|
|
63
|
-
<tr>
|
|
64
|
-
<th colspan='9' style="font-weight: normal; text-align: center;">
|
|
65
|
-
<div>
|
|
66
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
67
|
-
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
68
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
36
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
37
|
+
<div class="col-sm-2 form-group">
|
|
38
|
+
<label class="font_normal_body">用户类型</label>
|
|
39
|
+
<v-select :value.sync="$parent.$parent.f_user_type"
|
|
40
|
+
v-model="$parent.$parent.f_user_type"
|
|
41
|
+
:options='$parent.$parent.user_type' placeholder='请选择'
|
|
42
|
+
condition="f_user_type = '{}'"
|
|
43
|
+
close-on-select></v-select>
|
|
69
44
|
</div>
|
|
70
|
-
</
|
|
71
|
-
</
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</criteria>
|
|
48
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
49
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
50
|
+
<thead>
|
|
51
|
+
<tr>
|
|
52
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
53
|
+
<h3 style="text-align: center">收费结账报表</h3>
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
58
|
+
开始时间:{{model.model.startDate}}
|
|
59
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
60
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
61
|
+
打印时间:{{$parent.printTime}}
|
|
62
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
63
|
+
</th>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
67
|
+
<div>
|
|
68
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
69
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
70
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
71
|
+
</div>
|
|
72
|
+
</th>
|
|
73
|
+
</tr>
|
|
74
|
+
</thead>
|
|
75
|
+
<tr>
|
|
76
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
77
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
78
|
+
</td>
|
|
79
|
+
</tr>
|
|
80
|
+
<tfoot>
|
|
81
|
+
<tr style="text-align: left">
|
|
82
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
83
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
84
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
85
|
+
</tr>
|
|
86
|
+
</tfoot>
|
|
87
|
+
</table>
|
|
88
|
+
{{{ $parent.reportStr}}}
|
|
96
89
|
</div>
|
|
97
|
-
</
|
|
98
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
99
|
-
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
100
|
-
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
101
|
-
</footer>
|
|
102
|
-
</modal>
|
|
90
|
+
</criteria-paged>
|
|
103
91
|
</div>
|
|
104
92
|
</template>
|
|
105
93
|
|
|
106
94
|
<script>
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
95
|
+
import { DataModel } from 'vue-client'
|
|
96
|
+
import co from 'co'
|
|
97
|
+
|
|
98
|
+
export default {
|
|
99
|
+
title: '收费结账报表',
|
|
100
|
+
props: ['data'],
|
|
101
|
+
data () {
|
|
102
|
+
return {
|
|
103
|
+
printTime: this.$login.toStandardTimeString(),
|
|
104
|
+
depresid: [],
|
|
105
|
+
userresid: [],
|
|
106
|
+
f_orgid: this.$login.f.orgid,
|
|
107
|
+
f_depid: this.$login.f.depids,
|
|
108
|
+
// f_operatorid: this.$login.f.id,
|
|
109
|
+
operatorid: [],
|
|
110
|
+
depid: [],
|
|
111
|
+
orgname: '',
|
|
112
|
+
depname: '',
|
|
113
|
+
criteriaShow: false,
|
|
114
|
+
operatorname: '',
|
|
115
|
+
orgCondtionStr: '1=1',
|
|
116
|
+
f_user_type: '',
|
|
117
|
+
f_state:['有效'],
|
|
118
|
+
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
119
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
120
|
+
reportStr: null,
|
|
121
|
+
resshow:['company','department','operator'],
|
|
122
|
+
spans: 0,
|
|
123
|
+
initres: {
|
|
124
|
+
org: [this.$login.f.orgid],
|
|
125
|
+
dep: [],
|
|
126
|
+
user: []
|
|
127
|
+
}
|
|
127
128
|
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
orgCondtionStr: '1=1',
|
|
146
|
-
f_state:['有效'],
|
|
147
|
-
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
148
|
-
f_orgid: 'this.model.f_orgid'}),
|
|
149
|
-
reportStr: null,
|
|
150
|
-
show: false,
|
|
151
|
-
initres: {
|
|
152
|
-
org: [this.$login.f.orgid],
|
|
153
|
-
dep: [],
|
|
154
|
-
user: []
|
|
155
|
-
}
|
|
129
|
+
},
|
|
130
|
+
ready () {
|
|
131
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
132
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
133
|
+
console.log(this.$login.f)
|
|
134
|
+
},
|
|
135
|
+
methods: {
|
|
136
|
+
searchData () {
|
|
137
|
+
this.$refs.paged.$refs.criteria.search()
|
|
138
|
+
},
|
|
139
|
+
selfSearch (args) {
|
|
140
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
141
|
+
let orgcondition = '1=1'
|
|
142
|
+
let orgstr = this.orgCondtionStr
|
|
143
|
+
orgcondition = orgcondition + orgstr
|
|
144
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
145
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
156
146
|
}
|
|
147
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
148
|
+
this.$refs.paged.search(args)
|
|
157
149
|
},
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
this
|
|
161
|
-
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
162
|
-
// this.$refs.paged.$refs.criteria.search()
|
|
163
|
-
console.log(this.$login.f)
|
|
150
|
+
|
|
151
|
+
hidden() {
|
|
152
|
+
this.criteriaShow = !this.criteriaShow
|
|
164
153
|
},
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
171
|
-
console.log('xxxxxxxxxxx',this.orgCondtionStr)
|
|
172
|
-
let orgstr = this.f_state && this.f_state!='' ? "f_state='"+this.f_state+"' "+ this.orgCondtionStr:this.orgCondtionStr.replace('and', '')
|
|
173
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgstr
|
|
174
|
-
this.$refs.paged.search(args)
|
|
175
|
-
},
|
|
176
|
-
// 根据文件路径获取储存的报表内容
|
|
177
|
-
getFileContent (path) {
|
|
178
|
-
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
179
|
-
this.reportStr = res.data.filecontent
|
|
180
|
-
this.model.state = '正确'
|
|
181
|
-
})
|
|
182
|
-
},
|
|
183
|
-
confirm () {
|
|
184
|
-
if (!this.filename || this.filename === '') {
|
|
185
|
-
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
186
|
-
}
|
|
187
|
-
let saveGen = saveFile(this)
|
|
188
|
-
co(saveGen)
|
|
189
|
-
},
|
|
190
|
-
close () {
|
|
191
|
-
this.show = false
|
|
192
|
-
},
|
|
193
|
-
// 将报表保存成文件
|
|
194
|
-
confirmReport () {
|
|
195
|
-
this.show = true
|
|
196
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
197
|
-
},
|
|
198
|
-
async getRes (condition, obj) {
|
|
199
|
-
this.orgCondtionStr = condition
|
|
200
|
-
if(obj.orgnames.length>0){
|
|
201
|
-
this.orgname = obj.orgnames[0];
|
|
202
|
-
}
|
|
203
|
-
if(obj.operatornames.length>0){
|
|
204
|
-
let users = await this.$resetpost('rs/sql/manageSingleTable',
|
|
205
|
-
{data: {tablename: 't_user', condition: ` id = '${obj.operatornames[0]}'`}},
|
|
206
|
-
{resolveMsg: null, rejectMsg: null});
|
|
207
|
-
if(users.data){
|
|
208
|
-
this.operatorname = users.data[0].name;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
154
|
+
getRes (condition, obj) {
|
|
155
|
+
this.orgCondtionStr = condition
|
|
156
|
+
this.orgname = obj.orgnames[0]
|
|
157
|
+
this.depname = obj.depnames[0]
|
|
158
|
+
this.operatorname = obj.operatornames[0]
|
|
212
159
|
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
160
|
+
getdep (obj, val) {
|
|
161
|
+
this.depname = val[0]
|
|
162
|
+
this.userresid = obj
|
|
163
|
+
this.f_depid = obj
|
|
164
|
+
},
|
|
165
|
+
getuser ( obj, val) {
|
|
166
|
+
this.operatorname = val[0]
|
|
167
|
+
this.f_operatorid = obj
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
watch: {
|
|
171
|
+
'model.data' (val) {
|
|
172
|
+
let len=0
|
|
173
|
+
let a=val.split('</tr>')
|
|
174
|
+
for(let i=0;i<a.length;i++){
|
|
175
|
+
if(a[i].split('</td>').length-1>len){
|
|
176
|
+
len=a[i].split('</td>').length-1
|
|
219
177
|
}
|
|
220
178
|
}
|
|
179
|
+
this.spans = len
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
computed: {
|
|
183
|
+
charge_state() {
|
|
184
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
221
185
|
},
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
225
|
-
}
|
|
186
|
+
user_type () {
|
|
187
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
226
188
|
}
|
|
227
189
|
}
|
|
190
|
+
}
|
|
228
191
|
</script>
|
|
229
192
|
<style scoped>
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
193
|
+
.noborder{
|
|
194
|
+
border: none;
|
|
195
|
+
}
|
|
233
196
|
</style>
|