manage-client 3.1.10-1 → 3.1.10-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/package.json +3 -3
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- 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 +284 -284
- package/src/components/SellReport/ManageUserCount.vue +347 -347
- package/src/components/SellReport/ReportItems.vue +1 -2
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserSellingGas.vue +251 -251
- package/src/components/SellReport/jingwei/ManageHandSellMoney.vue +120 -120
- package/src/components/handReport/GeneraHandReport.vue +235 -0
- package/src/components/qinhua/BarChart.vue +26 -74
- package/src/components/qinhua/Style/qinhuaStyle.less +4 -111
- package/src/components/sale/businessquery/AccountQuery/GasReimbursementRate.vue +1 -1
- package/src/components/sale/businessquery/BusinesQuery.vue +349 -349
- package/src/components/sale/businessquery/BusinessManage.vue +0 -3
- 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/FMYGasQuery.vue +713 -713
- 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/MonthGasQuery.vue +467 -467
- 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/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/webmeter/DrillData/LostContactAnalysisList.vue +642 -633
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -177
- package/src/components/webmeter/DrillData/UserGasAll.vue +596 -596
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -210
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +599 -585
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +399 -399
- 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 +712 -899
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +602 -606
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -252
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -440
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -266
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -387
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/filiale/WEINAN/MeterQuery.vue +1 -1
- 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 +1233 -1243
- package/src/filiale/jingzhou/HandplanQuery.vue +1 -1
- package/src/filiale/jingzhou/config/exportConfig.js +857 -861
- 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 +22 -26
- package/src/filiale/pingxiang/ChangeUserQuery.vue +1 -1
- package/src/filiale/shaoguan/HandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/errorHandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/overDueQuery.vue +1 -1
- package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +1 -1
- package/src/main.js +2 -2
- package/src/newmanage.js +3 -37
- package/src/reportManage.js +442 -438
- package/src/saleManage.js +0 -9
- package/hs_err_pid20908.log +0 -199
- package/hs_err_pid29444.log +0 -199
- package/node_modules.7z +0 -0
- 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 -224
- 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/AreaSellCount.vue +0 -408
- 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/NewManageHome/01.png +0 -0
- package/static/NewManageHome/NewManageHome/02.png +0 -0
- package/static/NewManageHome/NewManageHome/03.png +0 -0
- package/static/NewManageHome/NewManageHome/04.png +0 -0
- package/static/NewManageHome/NewManageHome/1.gif +0 -0
- package/static/NewManageHome/NewManageHome/2.gif +0 -0
- package/static/NewManageHome/NewManageHome/3.gif +0 -0
- package/static/NewManageHome/NewManageHome/5gif.gif +0 -0
- package/static/NewManageHome/NewManageHome/6gif.gif +0 -0
- package/static/NewManageHome/NewManageHome/7.gif +0 -0
- package/static/NewManageHome/NewManageHome/8.gif +0 -0
- package/static/NewManageHome/NewManageHome/9.gif +0 -0
- package/static/NewManageHome/NewManageHome/background_qinhua.png +0 -0
- package/static/NewManageHome/NewManageHome/green.png +0 -0
- package/static/NewManageHome/NewManageHome/map.png +0 -0
- package/static/NewManageHome/NewManageHome/map1.png +0 -0
- package/static/NewManageHome/NewManageHome/mpa.png +0 -0
- package/static/NewManageHome/NewManageHome/sell_1.png +0 -0
- package/static/NewManageHome/NewManageHome/sell_2.png +0 -0
- package/static/NewManageHome/NewManageHome/title.png +0 -0
- package/static/NewManageHome/NewManageHome/title_left.png +0 -0
- package/static/NewManageHome/NewManageHome/title_right.png +0 -0
- package/static/NewManageHome/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
- package/static/NewManageHome/NewManageHome//345/212/240/350/275/275.gif +0 -0
- package/static/NewManageHome/NewManageHome//345/212/250/346/225/210.gif +0 -0
- package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2020.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/20212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/static/NewManageHome/NewManageHome//345/234/206/350/247/222/347/237/251/345/275/2421163.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/344/270/2341.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/344/270/2342.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/214/2271.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/214/2272.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/215/2271.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/215/2272.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/350/245/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/350/245/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
- package/static/NewManageHome/NewManageHome//347/224/250/346/210/267.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186/346/213/267/350/264/235.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20420.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20437.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20443.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20445.png +0 -0
- package/static/NewManageHome/NewManageHome//350/203/214/346/231/2571.png +0 -0
- package/static/NewManageHome/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
- package/static/NewManageHome/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
- 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
- package/static/NewManageHome//347/273/20443.png +0 -0
- package/static/NewManageHome//347/273/20445.png +0 -0
- package/static/images/mainicon/jiezhang.png +0 -0
- package/static/newStyle/position.png +0 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.1.10-
|
|
3
|
+
"version": "3.1.10-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,237 +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
|
-
<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 form-group" >
|
|
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 form-group" >
|
|
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 form-group" >
|
|
30
|
-
<label class="font_normal_body" for="org">公  司:</label>
|
|
31
|
-
<right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
32
|
-
</div>
|
|
33
|
-
<div class="span" style = "float:right;">
|
|
34
|
-
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
35
|
-
<report-print id='gasprice' top='1.5cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
36
|
-
<report-excel id='gasprice'></report-excel>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
</criteria>
|
|
41
|
-
<!-- <report-info id="gasprice"-->
|
|
42
|
-
<!-- report-title="收费结账报表"-->
|
|
43
|
-
<!-- :infohead="{'开始时间':model.model.startDate,'结束时间':model.model.endDate,'打印时间':$parent.printTime}"-->
|
|
44
|
-
<!-- :orgname="$parent.orgname"-->
|
|
45
|
-
<!-- :depname="$parent.depname"-->
|
|
46
|
-
<!-- :operatorname="$parent.operatorname"-->
|
|
47
|
-
<!-- :model="model.data.substring(26,model.data.length-8)"-->
|
|
48
|
-
<!-- :reportStr="$parent.reportStr"-->
|
|
49
|
-
<!-- ></report-info>-->
|
|
50
|
-
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
51
|
-
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
52
|
-
<thead>
|
|
53
|
-
<tr>
|
|
54
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
55
|
-
<h3 style="text-align: center">收费结账报表</h3>
|
|
56
|
-
</th>
|
|
57
|
-
</tr>
|
|
58
|
-
<tr>
|
|
59
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
60
|
-
开始时间:{{model.model.startDate}}
|
|
61
|
-
结束时间:{{ model.model.endDate }}<br/>
|
|
62
|
-
打印时间:{{$parent.printTime}}
|
|
63
|
-
<!--收费员:{{// $parent.operatorname}}-->
|
|
64
|
-
</th>
|
|
65
|
-
</tr>
|
|
66
|
-
<tr>
|
|
67
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
68
|
-
<div>
|
|
69
|
-
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
70
|
-
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
71
|
-
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
72
|
-
</div>
|
|
73
|
-
</th>
|
|
74
|
-
</tr>
|
|
75
|
-
</thead>
|
|
76
|
-
<tr>
|
|
77
|
-
<td :colspan='$parent.spans' class="noborder">
|
|
78
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
79
|
-
</td>
|
|
80
|
-
</tr>
|
|
81
|
-
<tfoot>
|
|
82
|
-
<tr style="text-align: left">
|
|
83
|
-
<th :colspan='$parent.spans/3'>财务审核:</th>
|
|
84
|
-
<th :colspan='$parent.spans/3'>收款审核:</th>
|
|
85
|
-
<th :colspan='$parent.spans/3'>收款员:</th>
|
|
86
|
-
</tr>
|
|
87
|
-
</tfoot>
|
|
88
|
-
</table>
|
|
89
|
-
{{{ $parent.reportStr}}}
|
|
90
|
-
</div>
|
|
91
|
-
</criteria-paged>
|
|
92
|
-
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
93
|
-
<header slot="modal-header" class="modal-header">
|
|
94
|
-
<h4 class="modal-title">输入文件名称</h4>
|
|
95
|
-
</header>
|
|
96
|
-
<article slot="modal-body" class="modal-body">
|
|
97
|
-
<div class="form-group">
|
|
98
|
-
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
99
|
-
</div>
|
|
100
|
-
</article>
|
|
101
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
102
|
-
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
103
|
-
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
104
|
-
</footer>
|
|
105
|
-
</modal>
|
|
106
|
-
</div>
|
|
107
|
-
</template>
|
|
108
|
-
|
|
109
|
-
<script>
|
|
110
|
-
import { DataModel } from 'vue-client'
|
|
111
|
-
import co from 'co'
|
|
112
|
-
let saveFile = function * (self) {
|
|
113
|
-
// 线验证文件是否重名
|
|
114
|
-
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
115
|
-
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
116
|
-
{resolveMsg: null, rejectMsg: null})
|
|
117
|
-
if (count.data.length > 0) {
|
|
118
|
-
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
119
|
-
return
|
|
120
|
-
}
|
|
121
|
-
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
122
|
-
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
123
|
-
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
124
|
-
f_outlets: this.$login.f.depname})
|
|
125
|
-
if (saveBack.data.status === 'succeed') {
|
|
126
|
-
self.show = false
|
|
127
|
-
self.filename = ''
|
|
128
|
-
// 后台保存完成,通知刷新
|
|
129
|
-
self.$dispatch('save-success', self.filename)
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
export default {
|
|
133
|
-
title: '收费结账报表',
|
|
134
|
-
props: ['data'],
|
|
135
|
-
data () {
|
|
136
|
-
return {
|
|
137
|
-
printTime: this.$login.toStandardTimeString(),
|
|
138
|
-
depresid: [],
|
|
139
|
-
userresid: [],
|
|
140
|
-
f_orgid: this.$login.f.orgid,
|
|
141
|
-
f_depid: this.$login.f.depids,
|
|
142
|
-
f_operatorid: this.$login.f.id,
|
|
143
|
-
operatorid: [],
|
|
144
|
-
depid: [],
|
|
145
|
-
orgname: '',
|
|
146
|
-
depname: '',
|
|
147
|
-
operatorname: '',
|
|
148
|
-
orgCondtionStr: '1=1',
|
|
149
|
-
f_state:['有效'],
|
|
150
|
-
model: new DataModel('rs/report/gasBaozhuangfee', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
151
|
-
f_orgid: 'this.model.f_orgid'}),
|
|
152
|
-
reportStr: null,
|
|
153
|
-
show: false,
|
|
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
|
-
// this.$refs.paged.$refs.criteria.search()
|
|
166
|
-
console.log(this.$login.f)
|
|
167
|
-
},
|
|
168
|
-
methods: {
|
|
169
|
-
searchData () {
|
|
170
|
-
this.$refs.paged.$refs.criteria.search()
|
|
171
|
-
},
|
|
172
|
-
selfSearch (args) {
|
|
173
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
174
|
-
this.orgCondtionStr='1=1'
|
|
175
|
-
if (this.f_orgid[0]) {
|
|
176
|
-
this.orgCondtionStr += ` and f_orgname in ('${this.orgname.toString().replace(new RegExp(',','g'),"','")}')`
|
|
177
|
-
}
|
|
178
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr
|
|
179
|
-
this.$refs.paged.search(args)
|
|
180
|
-
},
|
|
181
|
-
// 根据文件路径获取储存的报表内容
|
|
182
|
-
getFileContent (path) {
|
|
183
|
-
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
184
|
-
this.reportStr = res.data.filecontent
|
|
185
|
-
this.model.state = '正确'
|
|
186
|
-
})
|
|
187
|
-
},
|
|
188
|
-
confirm () {
|
|
189
|
-
if (!this.filename || this.filename === '') {
|
|
190
|
-
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
191
|
-
}
|
|
192
|
-
let saveGen = saveFile(this)
|
|
193
|
-
co(saveGen)
|
|
194
|
-
},
|
|
195
|
-
close () {
|
|
196
|
-
this.show = false
|
|
197
|
-
},
|
|
198
|
-
// 将报表保存成文件
|
|
199
|
-
confirmReport () {
|
|
200
|
-
this.show = true
|
|
201
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
202
|
-
},
|
|
203
|
-
getRes (obj) {
|
|
204
|
-
this.orgname = obj.res
|
|
205
|
-
this.f_orgid = obj.resids
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
watch: {
|
|
209
|
-
'data' (val) {
|
|
210
|
-
if (val.f_files_path) {
|
|
211
|
-
this.getFileContent(val.f_files_path)
|
|
212
|
-
} else {
|
|
213
|
-
this.reportStr = null
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
'model.data' (val) {
|
|
217
|
-
let len=0
|
|
218
|
-
let a=val.split('</tr>')
|
|
219
|
-
for(let i=0;i<a.length;i++){
|
|
220
|
-
if(a[i].split('</td>').length-1>len){
|
|
221
|
-
len=a[i].split('</td>').length-1
|
|
222
|
-
}
|
|
223
|
-
continue
|
|
224
|
-
}
|
|
225
|
-
this.spans = len
|
|
226
|
-
}
|
|
227
|
-
},
|
|
228
|
-
computed: {
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
</script>
|
|
233
|
-
<style scoped>
|
|
234
|
-
.noborder{
|
|
235
|
-
border: none;
|
|
236
|
-
}
|
|
237
|
-
</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
|
+
<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 form-group" >
|
|
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 form-group" >
|
|
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 form-group" >
|
|
30
|
+
<label class="font_normal_body" for="org">公  司:</label>
|
|
31
|
+
<right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="span" style = "float:right;">
|
|
34
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
35
|
+
<report-print id='gasprice' top='1.5cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
36
|
+
<report-excel id='gasprice'></report-excel>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
39
|
+
</div>
|
|
40
|
+
</criteria>
|
|
41
|
+
<!-- <report-info id="gasprice"-->
|
|
42
|
+
<!-- report-title="收费结账报表"-->
|
|
43
|
+
<!-- :infohead="{'开始时间':model.model.startDate,'结束时间':model.model.endDate,'打印时间':$parent.printTime}"-->
|
|
44
|
+
<!-- :orgname="$parent.orgname"-->
|
|
45
|
+
<!-- :depname="$parent.depname"-->
|
|
46
|
+
<!-- :operatorname="$parent.operatorname"-->
|
|
47
|
+
<!-- :model="model.data.substring(26,model.data.length-8)"-->
|
|
48
|
+
<!-- :reportStr="$parent.reportStr"-->
|
|
49
|
+
<!-- ></report-info>-->
|
|
50
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
51
|
+
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
52
|
+
<thead>
|
|
53
|
+
<tr>
|
|
54
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
55
|
+
<h3 style="text-align: center">收费结账报表</h3>
|
|
56
|
+
</th>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
60
|
+
开始时间:{{model.model.startDate}}
|
|
61
|
+
结束时间:{{ model.model.endDate }}<br/>
|
|
62
|
+
打印时间:{{$parent.printTime}}
|
|
63
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
64
|
+
</th>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
68
|
+
<div>
|
|
69
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
70
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
71
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
72
|
+
</div>
|
|
73
|
+
</th>
|
|
74
|
+
</tr>
|
|
75
|
+
</thead>
|
|
76
|
+
<tr>
|
|
77
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
78
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
79
|
+
</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tfoot>
|
|
82
|
+
<tr style="text-align: left">
|
|
83
|
+
<th :colspan='$parent.spans/3'>财务审核:</th>
|
|
84
|
+
<th :colspan='$parent.spans/3'>收款审核:</th>
|
|
85
|
+
<th :colspan='$parent.spans/3'>收款员:</th>
|
|
86
|
+
</tr>
|
|
87
|
+
</tfoot>
|
|
88
|
+
</table>
|
|
89
|
+
{{{ $parent.reportStr}}}
|
|
90
|
+
</div>
|
|
91
|
+
</criteria-paged>
|
|
92
|
+
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
93
|
+
<header slot="modal-header" class="modal-header">
|
|
94
|
+
<h4 class="modal-title">输入文件名称</h4>
|
|
95
|
+
</header>
|
|
96
|
+
<article slot="modal-body" class="modal-body">
|
|
97
|
+
<div class="form-group">
|
|
98
|
+
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
99
|
+
</div>
|
|
100
|
+
</article>
|
|
101
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
102
|
+
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
103
|
+
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
104
|
+
</footer>
|
|
105
|
+
</modal>
|
|
106
|
+
</div>
|
|
107
|
+
</template>
|
|
108
|
+
|
|
109
|
+
<script>
|
|
110
|
+
import { DataModel } from 'vue-client'
|
|
111
|
+
import co from 'co'
|
|
112
|
+
let saveFile = function * (self) {
|
|
113
|
+
// 线验证文件是否重名
|
|
114
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
115
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
116
|
+
{resolveMsg: null, rejectMsg: null})
|
|
117
|
+
if (count.data.length > 0) {
|
|
118
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
119
|
+
return
|
|
120
|
+
}
|
|
121
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
122
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
123
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
124
|
+
f_outlets: this.$login.f.depname})
|
|
125
|
+
if (saveBack.data.status === 'succeed') {
|
|
126
|
+
self.show = false
|
|
127
|
+
self.filename = ''
|
|
128
|
+
// 后台保存完成,通知刷新
|
|
129
|
+
self.$dispatch('save-success', self.filename)
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
export default {
|
|
133
|
+
title: '收费结账报表',
|
|
134
|
+
props: ['data'],
|
|
135
|
+
data () {
|
|
136
|
+
return {
|
|
137
|
+
printTime: this.$login.toStandardTimeString(),
|
|
138
|
+
depresid: [],
|
|
139
|
+
userresid: [],
|
|
140
|
+
f_orgid: this.$login.f.orgid,
|
|
141
|
+
f_depid: this.$login.f.depids,
|
|
142
|
+
f_operatorid: this.$login.f.id,
|
|
143
|
+
operatorid: [],
|
|
144
|
+
depid: [],
|
|
145
|
+
orgname: '',
|
|
146
|
+
depname: '',
|
|
147
|
+
operatorname: '',
|
|
148
|
+
orgCondtionStr: '1=1',
|
|
149
|
+
f_state:['有效'],
|
|
150
|
+
model: new DataModel('rs/report/gasBaozhuangfee', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
151
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
152
|
+
reportStr: null,
|
|
153
|
+
show: false,
|
|
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
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
166
|
+
console.log(this.$login.f)
|
|
167
|
+
},
|
|
168
|
+
methods: {
|
|
169
|
+
searchData () {
|
|
170
|
+
this.$refs.paged.$refs.criteria.search()
|
|
171
|
+
},
|
|
172
|
+
selfSearch (args) {
|
|
173
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
174
|
+
this.orgCondtionStr='1=1'
|
|
175
|
+
if (this.f_orgid[0]) {
|
|
176
|
+
this.orgCondtionStr += ` and f_orgname in ('${this.orgname.toString().replace(new RegExp(',','g'),"','")}')`
|
|
177
|
+
}
|
|
178
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr
|
|
179
|
+
this.$refs.paged.search(args)
|
|
180
|
+
},
|
|
181
|
+
// 根据文件路径获取储存的报表内容
|
|
182
|
+
getFileContent (path) {
|
|
183
|
+
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
184
|
+
this.reportStr = res.data.filecontent
|
|
185
|
+
this.model.state = '正确'
|
|
186
|
+
})
|
|
187
|
+
},
|
|
188
|
+
confirm () {
|
|
189
|
+
if (!this.filename || this.filename === '') {
|
|
190
|
+
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
191
|
+
}
|
|
192
|
+
let saveGen = saveFile(this)
|
|
193
|
+
co(saveGen)
|
|
194
|
+
},
|
|
195
|
+
close () {
|
|
196
|
+
this.show = false
|
|
197
|
+
},
|
|
198
|
+
// 将报表保存成文件
|
|
199
|
+
confirmReport () {
|
|
200
|
+
this.show = true
|
|
201
|
+
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
202
|
+
},
|
|
203
|
+
getRes (obj) {
|
|
204
|
+
this.orgname = obj.res
|
|
205
|
+
this.f_orgid = obj.resids
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
watch: {
|
|
209
|
+
'data' (val) {
|
|
210
|
+
if (val.f_files_path) {
|
|
211
|
+
this.getFileContent(val.f_files_path)
|
|
212
|
+
} else {
|
|
213
|
+
this.reportStr = null
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
'model.data' (val) {
|
|
217
|
+
let len=0
|
|
218
|
+
let a=val.split('</tr>')
|
|
219
|
+
for(let i=0;i<a.length;i++){
|
|
220
|
+
if(a[i].split('</td>').length-1>len){
|
|
221
|
+
len=a[i].split('</td>').length-1
|
|
222
|
+
}
|
|
223
|
+
continue
|
|
224
|
+
}
|
|
225
|
+
this.spans = len
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
computed: {
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
</script>
|
|
233
|
+
<style scoped>
|
|
234
|
+
.noborder{
|
|
235
|
+
border: none;
|
|
236
|
+
}
|
|
237
|
+
</style>
|