manage-client 3.1.13 → 3.1.14-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 +174 -178
- package/package.json +101 -101
- 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/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 +3 -3
- 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/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/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 +518 -527
- 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 +28 -19
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +14 -32
- package/src/components/webmeter/DrillData/UserGasAll.vue +10 -6
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +7 -8
- 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/newwebmeter/signAnalysisEcharts.vue +18 -26
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +14 -15
- 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 +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/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 +66 -66
- package/src/newmanage.js +3 -37
- package/src/reportManage.js +4 -0
- package/src/saleManage.js +0 -9
- package/src/components/daping/BarChart.vue +0 -256
- package/src/components/daping/BarChartLine.vue +0 -284
- package/src/components/daping/CallCenter.vue +0 -368
- 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/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/filiale/zhoukou/CardHandplanQuery.vue +0 -457
- package/src/filiale/zhoukou/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/title_wujie.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/newStyle/position.png +0 -0
|
@@ -1,267 +0,0 @@
|
|
|
1
|
-
<template lang="html">
|
|
2
|
-
<div class="basic-main" id="unit" style="height: 99%">
|
|
3
|
-
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
4
|
-
<div class="row">
|
|
5
|
-
<div class="col-sm-1 form-group">
|
|
6
|
-
<label class="font_normal_body">汇总项</label>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="col-sm-1 form-group">
|
|
9
|
-
<input id="year" type="checkbox" checked v-model="nameForSql" value="year"/>
|
|
10
|
-
<label class="font_normal_body" for="year">年份</label>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-sm-1 form-group">
|
|
13
|
-
<input id="month" type="checkbox" v-model="nameForSql" value="month"/>
|
|
14
|
-
<label class="font_normal_body" for="month">月份</label>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-sm-1 form-group">
|
|
17
|
-
<input id="week" type="checkbox" v-model="nameForSql" value="week"/>
|
|
18
|
-
<label class="font_normal_body" for="week">周</label>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-1 form-group">
|
|
21
|
-
<input id="day" type="checkbox" v-model="nameForSql" value="day"/>
|
|
22
|
-
<label class="font_normal_body" for="day">日</label>
|
|
23
|
-
</div>
|
|
24
|
-
<div class="col-sm-1 form-group">
|
|
25
|
-
<input id="f_userType" type="checkbox" v-model="nameForSql" value="f_user_type"/>
|
|
26
|
-
<label class="font_normal_body" for="f_userType">用户类型</label>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="col-sm-1 form-group">
|
|
29
|
-
<input id="f_gasproperties" type="checkbox" v-model="nameForSql" value="f_gasproperties"/>
|
|
30
|
-
<label class="font_normal_body" for="f_gasproperties">用气性质</label>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="col-sm-1 form-group">
|
|
33
|
-
<input id="f_meter_brand" type="checkbox" v-model="nameForSql" value="f_meter_brand"/>
|
|
34
|
-
<label class="font_normal_body" for="f_meter_brand">气表品牌</label>
|
|
35
|
-
</div>
|
|
36
|
-
<div class="col-sm-1 form-group">
|
|
37
|
-
<input id="f_orgname" type="checkbox" v-model="nameForSql" value="f_orgname"/>
|
|
38
|
-
<label class="font_normal_body" for="f_orgname">组织机构</label>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<span style="float: right">
|
|
42
|
-
<button @click="searchData" class="button_search button_spacing">查询</button>
|
|
43
|
-
<button @click="$parent.notShowTotalForm()" class="button_clear button_spacing" style="width: max-content">隐藏汇总</button>
|
|
44
|
-
<export-excel :data="getCondition" class="button_export button_spacing"
|
|
45
|
-
:field="getfield"
|
|
46
|
-
sqlurl="rs/logic/exportfile" sql-name="webmeter_getUserGasSum" template-name='用气分析汇总'
|
|
47
|
-
:choose-col="true"></export-excel>
|
|
48
|
-
|
|
49
|
-
<!--<rexport-excel class="button_export button_spacing" id="table" style="width: 28%"></rexport-excel>-->
|
|
50
|
-
<report-print class="button_export button_spacing" height='100%' id="table" left='0' top='3cm'
|
|
51
|
-
width='100%'></report-print></span>
|
|
52
|
-
</div>
|
|
53
|
-
</div>
|
|
54
|
-
<div id="table" style="height:90%;overflow-y: scroll">
|
|
55
|
-
<table class="table table-bordered">
|
|
56
|
-
<thead class="text-left">
|
|
57
|
-
<tr style="text-align:center">
|
|
58
|
-
<p style="padding: 8px;text-align:center;width: 100%" class="font_normal_body">用户用气汇总</p>
|
|
59
|
-
</tr>
|
|
60
|
-
<tr>
|
|
61
|
-
<th style="text-align:center" v-if="nameForSql.includes('year')">年份</th>
|
|
62
|
-
<th style="text-align:center" v-if="nameForSql.includes('month')">月份</th>
|
|
63
|
-
<th style="text-align:center" v-if="nameForSql.includes('week')">周</th>
|
|
64
|
-
<th style="text-align:center" v-if="nameForSql.includes('day')">日</th>
|
|
65
|
-
<th style="text-align:center" v-if="nameForSql.includes('f_user_type')">用户类型</th>
|
|
66
|
-
<th style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">用气性质</th>
|
|
67
|
-
<th style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">气表品牌</th>
|
|
68
|
-
<th style="text-align:center" v-if="nameForSql.includes('f_orgname')">组织机构</th>
|
|
69
|
-
<th style="text-align:center">
|
|
70
|
-
<nobr>总用气气量(m³)</nobr>
|
|
71
|
-
</th>
|
|
72
|
-
<th style="text-align:center">
|
|
73
|
-
<nobr>总用气金额(元)</nobr>
|
|
74
|
-
</th>
|
|
75
|
-
<!--<th style="text-align:center"><nobr>一阶总气量(m³)</nobr></th>-->
|
|
76
|
-
<!--<th style="text-align:center"><nobr>一阶总金额(元)</nobr></th>-->
|
|
77
|
-
<!--<th style="text-align:center"><nobr>二阶总气量(m³)</nobr></th>-->
|
|
78
|
-
<!--<th style="text-align:center"><nobr>二阶总金额(元)</nobr></th>-->
|
|
79
|
-
<!--<th style="text-align:center"><nobr>三阶总气量(m³)</nobr></th>-->
|
|
80
|
-
<!--<th style="text-align:center"><nobr>三阶总金额(元)</nobr></th>-->
|
|
81
|
-
</tr>
|
|
82
|
-
</thead>
|
|
83
|
-
<tbody>
|
|
84
|
-
|
|
85
|
-
<tr v-for="item in model.rows">
|
|
86
|
-
<td style="text-align:center" v-if="nameForSql.includes('year')">{{item.year}}</td>
|
|
87
|
-
<td style="text-align:center" v-if="nameForSql.includes('month')">{{item.month}}</td>
|
|
88
|
-
<td style="text-align:center" v-if="nameForSql.includes('week')">{{item.week}}</td>
|
|
89
|
-
<td style="text-align:center" v-if="nameForSql.includes('day')">{{item.day}}</td>
|
|
90
|
-
<td style="text-align:center" v-if="nameForSql.includes('f_user_type')">{{item.f_user_type}}</td>
|
|
91
|
-
<td style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">{{item.f_gasproperties}}</td>
|
|
92
|
-
<td style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">{{item.f_meter_brand}}</td>
|
|
93
|
-
<td style="text-align:center" v-if="nameForSql.includes('f_orgname')">{{item.f_orgname}}</td>
|
|
94
|
-
<td style="text-align:center">{{item.f_oughtamount}}</td>
|
|
95
|
-
<td style="text-align:center">{{item.f_oughtfee}}</td>
|
|
96
|
-
<!--<td style="text-align:center">{{item.f_gas1}}</td>-->
|
|
97
|
-
<!--<td style="text-align:center">{{item.f_money1}}</td>-->
|
|
98
|
-
<!--<td style="text-align:center">{{item.f_gas2}}</td>-->
|
|
99
|
-
<!--<td style="text-align:center">{{item.f_money2}}</td>-->
|
|
100
|
-
<!--<td style="text-align:center">{{item.f_gas3}}</td>-->
|
|
101
|
-
<!--<td style="text-align:center">{{item.f_money3}}</td>-->
|
|
102
|
-
</tr>
|
|
103
|
-
</tbody>
|
|
104
|
-
</table>
|
|
105
|
-
</div>
|
|
106
|
-
<div style="height: 10%;">
|
|
107
|
-
<table class="table-hover">
|
|
108
|
-
<tr style="position: relative" class="table-bordered">
|
|
109
|
-
<td
|
|
110
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
111
|
-
汇总信息
|
|
112
|
-
</td>
|
|
113
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
114
|
-
一阶气量合计: {{sumsmodel.f_gas1}}
|
|
115
|
-
</td>
|
|
116
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
117
|
-
一阶气费合计: {{sumsmodel.f_money1}}
|
|
118
|
-
</td>
|
|
119
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
120
|
-
二阶气量合计: {{sumsmodel.f_gas2}}
|
|
121
|
-
</td>
|
|
122
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
123
|
-
二阶气费合计: {{sumsmodel.f_money2}}
|
|
124
|
-
</td>
|
|
125
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
126
|
-
三阶气量合计: {{sumsmodel.f_gas3}}
|
|
127
|
-
</td>
|
|
128
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
129
|
-
三阶气费合计: {{sumsmodel.f_money3}}
|
|
130
|
-
</td>
|
|
131
|
-
</tr>
|
|
132
|
-
</table>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
|
|
136
|
-
</template>
|
|
137
|
-
|
|
138
|
-
<script>
|
|
139
|
-
import {DataModel, HttpResetClass, PagedList} from 'vue-client'
|
|
140
|
-
import * as Util from '../../Util'
|
|
141
|
-
|
|
142
|
-
export default {
|
|
143
|
-
props: {
|
|
144
|
-
startdate: {
|
|
145
|
-
type: String
|
|
146
|
-
},
|
|
147
|
-
enddate: {
|
|
148
|
-
type: String
|
|
149
|
-
},
|
|
150
|
-
condition: {
|
|
151
|
-
type: String,
|
|
152
|
-
default: '1=1'
|
|
153
|
-
}
|
|
154
|
-
// groupNameByDate: {
|
|
155
|
-
// type: [],
|
|
156
|
-
// default:['year']
|
|
157
|
-
// }
|
|
158
|
-
},
|
|
159
|
-
data() {
|
|
160
|
-
return {
|
|
161
|
-
model2: null,
|
|
162
|
-
model: new PagedList('rs/sql/webmeter_getUserGasSum',999999999, {groupname: 'this.model.groupname',startDate: 'this.model.startDate',endDate: 'this.model.endDate'},{
|
|
163
|
-
f_gas1: 0,
|
|
164
|
-
f_money1: 0,
|
|
165
|
-
f_gas2: 0,
|
|
166
|
-
f_money2: 0,
|
|
167
|
-
f_gas3: 0,
|
|
168
|
-
f_money3: 0
|
|
169
|
-
}),
|
|
170
|
-
sumsmodel: {},
|
|
171
|
-
conditionForSql: '1=1',
|
|
172
|
-
nameForSql: [],
|
|
173
|
-
groupNameForSql: '',
|
|
174
|
-
exportfield:{"year":"年份","month":"月份","week":"周","day":"日",
|
|
175
|
-
"f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_brand":"气表品牌","f_orgname":"组织机构"}
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
ready() {
|
|
179
|
-
this.nameForSql=['year']
|
|
180
|
-
this.groupNameForSql= 'year'
|
|
181
|
-
this.conditionForSql = this.condition
|
|
182
|
-
this.searchData()
|
|
183
|
-
},
|
|
184
|
-
methods: {
|
|
185
|
-
async searchData() {
|
|
186
|
-
console.log(this.groupNameForSql)
|
|
187
|
-
if (this.groupNameForSql&& this.groupNameForSql !== 'undefined') {
|
|
188
|
-
this.model.condition = this.conditionForSql
|
|
189
|
-
this.model.groupname = this.groupNameForSql
|
|
190
|
-
this.model.startDate = this.startdate.length === 10 ? this.startdate + ' 00:00:00' : this.startdate
|
|
191
|
-
this.model.endDate = this.enddate.length === 10 ? this.enddate + ' 23:59:59' : this.enddate
|
|
192
|
-
this.model.search(this.conditionForSql, this.model)
|
|
193
|
-
this.sumsmodel = this.model.model.sums;
|
|
194
|
-
// let load = new HttpResetClass()
|
|
195
|
-
// let res = await load.load('POST', 'rs/sql/webmeter_getUserGasSum',
|
|
196
|
-
// {data: {condition: this.conditionForSql, groupname: this.groupNameForSql}},
|
|
197
|
-
// {resolveMsg: null, rejectMsg: null})
|
|
198
|
-
// console.log('res返回', res)
|
|
199
|
-
// this.model2 = res.data
|
|
200
|
-
// console.log('res返回123', this.model2)
|
|
201
|
-
} else {
|
|
202
|
-
this.$showAlert('请选择汇总项', 'warning', 3000)
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
//拼接groupName1
|
|
206
|
-
getGroupName1() {
|
|
207
|
-
console.log("this.nameForSql.length:" + this.nameForSql.length)
|
|
208
|
-
let str = ''
|
|
209
|
-
let i = 0
|
|
210
|
-
for (; i < this.nameForSql.length - 1; i++) {
|
|
211
|
-
str += this.nameForSql[i] + ','
|
|
212
|
-
}
|
|
213
|
-
str += this.nameForSql[i]
|
|
214
|
-
this.groupNameForSql = str.trim()
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
computed: {
|
|
218
|
-
// usertypes () {
|
|
219
|
-
// return this.$appdate.getParams("客户类型")
|
|
220
|
-
// },
|
|
221
|
-
getfield(){
|
|
222
|
-
var fields={}
|
|
223
|
-
let i = 0
|
|
224
|
-
for (; i < this.nameForSql.length; i++) {
|
|
225
|
-
if(this.nameForSql[i] in this.exportfield ){
|
|
226
|
-
fields[this.nameForSql[i]]=this.exportfield[this.nameForSql[i]]
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
fields.f_oughtamount="总用气气量(m³)"
|
|
230
|
-
fields.f_oughtfee="总用气金额(元)"
|
|
231
|
-
return fields
|
|
232
|
-
},
|
|
233
|
-
getCondition() {
|
|
234
|
-
return {
|
|
235
|
-
condition: this.conditionForSql,
|
|
236
|
-
groupname: this.groupNameForSql
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
watch: {
|
|
242
|
-
'nameForSql'() {
|
|
243
|
-
// this.nameForSql =this.groupNameByDate;
|
|
244
|
-
this.getGroupName1()
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
</script>
|
|
249
|
-
|
|
250
|
-
<style scoped>
|
|
251
|
-
.mystyle2 {
|
|
252
|
-
width: 100%;
|
|
253
|
-
height: 35px;
|
|
254
|
-
/*background: #00A3F0;*/
|
|
255
|
-
padding-left: 15px;
|
|
256
|
-
float: left;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
.datapanel {
|
|
260
|
-
color: #333;
|
|
261
|
-
background-color: white;
|
|
262
|
-
box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
|
|
263
|
-
padding: 10px 30px 10px 30px;
|
|
264
|
-
border-radius: 15px;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
</style>
|
|
@@ -1,250 +0,0 @@
|
|
|
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
|
-
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:res_select></res-select-group>
|
|
10
|
-
<div class="col-sm-2 form-group" >
|
|
11
|
-
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
12
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
13
|
-
v-model="model.startDate"
|
|
14
|
-
:value.sync="model.startDate"
|
|
15
|
-
:disabled-days-of-Week="[]"
|
|
16
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
17
|
-
:show-reset-button="reset">
|
|
18
|
-
</datepicker>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="col-sm-2 form-group" >
|
|
21
|
-
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
22
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
23
|
-
v-model="model.endDate"
|
|
24
|
-
:value.sync="model.endDate"
|
|
25
|
-
:disabled-days-of-Week="[]"
|
|
26
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
27
|
-
:show-reset-button="reset">
|
|
28
|
-
</datepicker>
|
|
29
|
-
</div>
|
|
30
|
-
<div class="col-sm-2 form-group">
|
|
31
|
-
<label class="font_normal_body">付款方式:</label>
|
|
32
|
-
<v-select :value.sync="model.f_payment"
|
|
33
|
-
v-model="model.f_payment"
|
|
34
|
-
:options='$parent.$parent.f_payment' placeholder='请选择'
|
|
35
|
-
condition="f_payment in {}"
|
|
36
|
-
close-on-select></v-select>
|
|
37
|
-
</div>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="span" style = "float:right;">
|
|
40
|
-
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
41
|
-
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
42
|
-
<report-excel id='gasprice'></report-excel>
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</criteria>
|
|
46
|
-
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
47
|
-
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
48
|
-
<thead>
|
|
49
|
-
<tr>
|
|
50
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
51
|
-
<h3 style="text-align: center">{{$parent.orgname==null||$parent.orgname==''?$parent.orgname}}财务统计报表</h3>
|
|
52
|
-
</th>
|
|
53
|
-
</tr>
|
|
54
|
-
<tr>
|
|
55
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
56
|
-
开始时间:{{model.model.startDate}}
|
|
57
|
-
结束时间:{{ model.model.endDate }}<br>
|
|
58
|
-
打印时间:{{$parent.printTime}}
|
|
59
|
-
</th>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
63
|
-
<span style="font-weight: normal;" v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
64
|
-
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
65
|
-
<span style="font-weight: normal" v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
66
|
-
</th>
|
|
67
|
-
</tr>
|
|
68
|
-
</thead>
|
|
69
|
-
<tr>
|
|
70
|
-
<td :colspan='$parent.spans'>
|
|
71
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
72
|
-
</td>
|
|
73
|
-
</tr>
|
|
74
|
-
<tfoot>
|
|
75
|
-
<tr style="text-align: left">
|
|
76
|
-
<th :colspan='$parent.spans/3'>财务审核:</th>
|
|
77
|
-
<th :colspan='$parent.spans/3'>收款审核:</th>
|
|
78
|
-
<th :colspan='$parent.spans/3'>收款员:</th>
|
|
79
|
-
</tr>
|
|
80
|
-
</tfoot>
|
|
81
|
-
</table>
|
|
82
|
-
{{{ $parent.reportStr}}}
|
|
83
|
-
</div>
|
|
84
|
-
</criteria-paged>
|
|
85
|
-
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
86
|
-
<header slot="modal-header" class="modal-header">
|
|
87
|
-
<h4 class="modal-title">输入文件名称</h4>
|
|
88
|
-
</header>
|
|
89
|
-
<article slot="modal-body" class="modal-body">
|
|
90
|
-
<div class="form-group">
|
|
91
|
-
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
92
|
-
</div>
|
|
93
|
-
</article>
|
|
94
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
95
|
-
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
96
|
-
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
97
|
-
</footer>
|
|
98
|
-
</modal>
|
|
99
|
-
</div>
|
|
100
|
-
</template>
|
|
101
|
-
|
|
102
|
-
<script>
|
|
103
|
-
import { DataModel } from 'vue-client'
|
|
104
|
-
import co from 'co'
|
|
105
|
-
let saveFile = function * (self) {
|
|
106
|
-
// 线验证文件是否重名
|
|
107
|
-
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
108
|
-
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
109
|
-
{resolveMsg: null, rejectMsg: null})
|
|
110
|
-
if (count.data.length > 0) {
|
|
111
|
-
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
112
|
-
return
|
|
113
|
-
}
|
|
114
|
-
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
115
|
-
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
116
|
-
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
117
|
-
f_outlets: this.$login.f.depname})
|
|
118
|
-
if (saveBack.data.status === 'succeed') {
|
|
119
|
-
self.show = false
|
|
120
|
-
self.filename = ''
|
|
121
|
-
// 后台保存完成,通知刷新
|
|
122
|
-
self.$dispatch('save-success', self.filename)
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
export default {
|
|
126
|
-
title: '财务统计报表',
|
|
127
|
-
props: ['data'],
|
|
128
|
-
data () {
|
|
129
|
-
return {
|
|
130
|
-
printTime: this.$login.toStandardTimeString(),
|
|
131
|
-
depresid: [],
|
|
132
|
-
userresid: [],
|
|
133
|
-
f_orgid: this.$login.f.orgid,
|
|
134
|
-
f_depid: this.$login.f.depids,
|
|
135
|
-
f_operatorid: this.$login.f.id,
|
|
136
|
-
operatorid: [],
|
|
137
|
-
depid: [],
|
|
138
|
-
orgname: '',
|
|
139
|
-
depname: '',
|
|
140
|
-
operatorname: '',
|
|
141
|
-
orgCondtionStr: '1=1',
|
|
142
|
-
model: new DataModel('rs/report/sellingTable', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
143
|
-
f_orgid: 'this.model.f_orgid',payment: 'this.model.payment'}),
|
|
144
|
-
reportStr: null,
|
|
145
|
-
show: false,
|
|
146
|
-
spans: 0,
|
|
147
|
-
initres: {
|
|
148
|
-
org: [this.$login.f.orgid],
|
|
149
|
-
dep: [],
|
|
150
|
-
user: []
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
ready () {
|
|
155
|
-
this.$refs.paged.$refs.criteria.$refs.res_select.sliceareashow = false
|
|
156
|
-
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
157
|
-
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
158
|
-
// this.$refs.paged.$refs.criteria.search()
|
|
159
|
-
console.log(this.$login.f)
|
|
160
|
-
},
|
|
161
|
-
methods: {
|
|
162
|
-
searchData () {
|
|
163
|
-
this.$refs.paged.$refs.criteria.search()
|
|
164
|
-
},
|
|
165
|
-
selfSearch (args) {
|
|
166
|
-
this.printTime = this.$login.toStandardTimeString()
|
|
167
|
-
console.log('xxxxxxxxxxx',this.orgCondtionStr)
|
|
168
|
-
let orgstr = '1=1 '
|
|
169
|
-
if(this.orgCondtionStr){
|
|
170
|
-
orgstr+=this.orgCondtionStr
|
|
171
|
-
}
|
|
172
|
-
let pay = this.$refs.paged.$refs.criteria.model.f_payment[0]
|
|
173
|
-
if(pay != null && pay != '') {
|
|
174
|
-
pay = `f_payment = '${pay}'`
|
|
175
|
-
} else {
|
|
176
|
-
pay = '1 = 1'
|
|
177
|
-
}
|
|
178
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgstr
|
|
179
|
-
this.$refs.paged.$refs.criteria.model.payment = pay
|
|
180
|
-
this.$refs.paged.search(args)
|
|
181
|
-
},
|
|
182
|
-
// 根据文件路径获取储存的报表内容
|
|
183
|
-
getFileContent (path) {
|
|
184
|
-
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
185
|
-
this.reportStr = res.data.filecontent
|
|
186
|
-
this.model.state = '正确'
|
|
187
|
-
})
|
|
188
|
-
},
|
|
189
|
-
confirm () {
|
|
190
|
-
if (!this.filename || this.filename === '') {
|
|
191
|
-
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
192
|
-
}
|
|
193
|
-
let saveGen = saveFile(this)
|
|
194
|
-
co(saveGen)
|
|
195
|
-
},
|
|
196
|
-
close () {
|
|
197
|
-
this.show = false
|
|
198
|
-
},
|
|
199
|
-
// 将报表保存成文件
|
|
200
|
-
confirmReport () {
|
|
201
|
-
this.show = true
|
|
202
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
203
|
-
},
|
|
204
|
-
async getRes (condition, obj) {
|
|
205
|
-
this.orgCondtionStr = condition
|
|
206
|
-
if(obj.orgnames.length>0){
|
|
207
|
-
this.orgname = obj.orgnames[0];
|
|
208
|
-
}
|
|
209
|
-
if(obj.operatornames.length>0){
|
|
210
|
-
let users = await this.$resetpost('rs/sql/manageSingleTable',
|
|
211
|
-
{data: {tablename: 't_user', condition: ` id = '${obj.operatornames[0]}'`}},
|
|
212
|
-
{resolveMsg: null, rejectMsg: null});
|
|
213
|
-
if(users.data){
|
|
214
|
-
this.operatorname = users.data[0].name;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
watch: {
|
|
220
|
-
'data' (val) {
|
|
221
|
-
if (val.f_files_path) {
|
|
222
|
-
this.getFileContent(val.f_files_path)
|
|
223
|
-
} else {
|
|
224
|
-
this.reportStr = null
|
|
225
|
-
}
|
|
226
|
-
},
|
|
227
|
-
'model.data' (val) {
|
|
228
|
-
let len=0
|
|
229
|
-
let a=val.split('</tr>')
|
|
230
|
-
for(let i=0;i<a.length;i++){
|
|
231
|
-
if(a[i].split('</td>').length-1>len){
|
|
232
|
-
len=a[i].split('</td>').length-1
|
|
233
|
-
}
|
|
234
|
-
continue
|
|
235
|
-
}
|
|
236
|
-
this.spans = len
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
computed: {
|
|
240
|
-
f_payment() {
|
|
241
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式查询')]
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
</script>
|
|
246
|
-
<style scoped>
|
|
247
|
-
.noborder{
|
|
248
|
-
border: none;
|
|
249
|
-
}
|
|
250
|
-
</style>
|