manage-client 3.1.1-101 → 3.1.1-11-fx
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +3 -13
- package/build/package.json +1 -1
- package/build/webpack.base.conf.js +1 -2
- package/package.json +10 -6
- package/src/App.vue +2 -2
- package/src/ManageHome.js +2 -4
- package/src/components/SellReport/HandplanBili.vue +1 -1
- package/src/components/SellReport/ManageBusSummary.vue +2 -2
- package/src/components/SellReport/ManageMonthGas.vue +49 -113
- package/src/components/SellReport/ManageSellType.vue +52 -114
- package/src/components/SellReport/MeterReader.vue +157 -191
- package/src/components/SellReport/ReportItems.vue +1 -1
- package/src/components/SellReport/ReportPool.vue +4 -4
- package/src/components/SellReport/jingwei/CardCharge.vue +3 -3
- package/src/components/SellReport/jingwei/MachineCharge.vue +3 -3
- package/src/components/SellReport/jingwei/PaymentNotice.vue +83 -223
- package/src/components/SellReport/jingwei/handplanReport.vue +19 -78
- package/src/components/WebReport/EchartsBox.vue +41 -60
- package/src/components/sale/businessquery/BusinessManage.vue +14 -15
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +38 -54
- package/src/components/sale/businessquery/ChargeQuery.vue +105 -373
- package/src/components/sale/businessquery/DisableQuery.vue +18 -27
- package/src/components/sale/businessquery/EnableQuery.vue +17 -28
- package/src/components/sale/businessquery/FillCardQuery.vue +27 -31
- package/src/components/sale/businessquery/FillGasQuery.vue +28 -35
- package/src/components/sale/businessquery/HandplanQuery.vue +480 -667
- package/src/components/sale/businessquery/InspectListGas.vue +487 -446
- package/src/components/sale/businessquery/InspectListUser.vue +402 -353
- package/src/components/sale/businessquery/InspectManage.vue +4 -7
- package/src/components/sale/businessquery/NewAccountQuery.vue +44 -83
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +0 -4
- package/src/components/sale/businessquery/OtherChargeQuery.vue +28 -59
- package/src/components/sale/businessquery/ReverseQuery.vue +22 -25
- package/src/components/sale/businessquery/SellingHand.vue +18 -23
- package/src/components/sale/businessquery/TransferQuery.vue +24 -34
- package/src/components/sale/common/TabButton.vue +2 -2
- package/src/components/sale/config/exportConfig.js +164 -262
- package/src/components/sale/filesquery/ArchivesManage.vue +1 -7
- package/src/components/sale/filesquery/DeviceQuery.vue +12 -19
- package/src/components/sale/filesquery/MeterQuery.vue +56 -149
- package/src/components/sale/filesquery/UserQuery.vue +36 -128
- package/src/components/sale/report/aode/DayReportList.vue +18 -23
- package/src/components/sale/report/aode/MonthByChargeType.vue +12 -58
- package/src/components/sale/report/aode/MonthByUserType.vue +12 -66
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +17 -23
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +6 -58
- package/src/components/sale/report/aode/widget/DayReportListPrint.vue +2 -4
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +2 -11
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +1 -1
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +2 -11
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +2 -10
- package/src/components/sale/report/aode/widget/YearByChargePrint.vue +1 -1
- package/src/components/sale/report/aode/widget/YearByUserPrint.vue +1 -1
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +75 -77
- package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +3 -3
- package/src/components/webmeter/DrillData/UserGasAll.vue +39 -112
- package/src/components/webmeter/DrillData/UserGasEform.vue +9 -9
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +47 -48
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +34 -39
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +122 -146
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +104 -114
- package/src/components/webmeter/newwebmeter/UserGasList.vue +112 -136
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +30 -42
- package/src/main.js +5 -5
- package/src/newmanage.js +1 -31
- package/src/plugins/GetLoginInfoService.js +2 -9
- package/src/reportManage.js +1 -32
- package/src/saleManage.js +17 -105
- package/src/stores/DataSql.js +2 -16
- package/src/stores/MagGetSaleParams.js +4 -2
- package/src/webmeterManage.js +0 -13
- package/.gradle/5.5/fileChanges/last-build.bin +0 -0
- package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
- package/DOC/excel/346/226/207/346/241/243//345/257/274/345/205/245/345/234/260/345/235/200/346/250/241/346/235/277.xlsx +0 -0
- package/DOC/excel/346/226/207/346/241/243//346/211/271/351/207/217/345/273/272/346/241/243/346/250/241/346/235/277.xlsx +0 -0
- package/src/components/SellReport/ManageDayGas.vue +0 -245
- package/src/components/SellReport/ManageHandInputtor.vue +0 -241
- package/src/components/SellReport/ManageHandSellInputtor.vue +0 -236
- package/src/components/SellReport/ManageOtherCharge.vue +0 -245
- package/src/components/SellReport/ManageUserCount.vue +0 -278
- package/src/components/SellReport/QTXManageBusSummary.vue +0 -234
- package/src/components/SellReport/jingwei/ManageHandSellMoney.vue +0 -246
- package/src/components/SellReport/jingwei/ManageMonthSellType.vue +0 -246
- package/src/components/image//345/233/276/345/261/20212.png +0 -0
- package/src/components/image//345/233/276/345/261/20213.png +0 -0
- package/src/components/image//345/233/276/345/261/20216.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2062.png +0 -0
- package/src/components/image//346/244/255/345/234/2065.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
- package/src/components/image//347/273/2044.png +0 -0
- package/src/components/image//347/273/2045.png +0 -0
- package/src/components/image//347/273/2046.png +0 -0
- package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
- package/src/components/qinhua/BarChart.vue +0 -208
- package/src/components/qinhua/BarChartLine.vue +0 -288
- package/src/components/qinhua/ManageMain.vue +0 -162
- package/src/components/qinhua/Pie.vue +0 -116
- package/src/components/qinhua/Ring.vue +0 -165
- package/src/components/qinhua/SafeCheckRing.vue +0 -149
- package/src/components/qinhua/SafecheckBarChart.vue +0 -209
- package/src/components/qinhua/Scada.vue +0 -93
- package/src/components/qinhua/SellEcharts.vue +0 -94
- package/src/components/qinhua/Style/qinhuaStyle.less +0 -116
- package/src/components/qinhua/qinHuaMap.vue +0 -414
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +0 -932
- package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +0 -57
- package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +0 -382
- package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +0 -286
- package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +0 -284
- package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +0 -286
- package/src/components/sale/businessquery/AreaGeneralQuery.vue +0 -600
- package/src/components/sale/businessquery/ArrearsQuery.vue +0 -577
- package/src/components/sale/businessquery/BalanceQuery.vue +0 -322
- package/src/components/sale/businessquery/CardHandplanQuery.vue +0 -591
- package/src/components/sale/businessquery/ChangeUserQuery.vue +0 -303
- package/src/components/sale/businessquery/CollectManage.vue +0 -79
- package/src/components/sale/businessquery/FMYGasQuery.vue +0 -377
- package/src/components/sale/businessquery/HandPeopleQuery.vue +0 -522
- package/src/components/sale/businessquery/MonthGasQuery.vue +0 -400
- package/src/components/sale/businessquery/ResidentialQuery.vue +0 -226
- package/src/components/sale/businessquery/SellPeopleQuery.vue +0 -492
- package/src/components/sale/businessquery/YearGasQuery.vue +0 -381
- package/src/components/sale/businessquery/errorHandplanQuery.vue +0 -209
- package/src/components/sale/businessquery/overDueQuery.vue +0 -345
- package/src/components/sale/config/tableConfig.js +0 -47
- package/src/components/sale/filesquery/RecordInfoQuery.vue +0 -678
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +0 -386
- package/src/components/webmeter/instruction/NewQueryInstructMain.vue +0 -48
- package/src/components/webmeter/meterinfo/NewMeterList.vue +0 -414
- package/src/components/webmeter/meterinfo/NewMeterListMain.vue +0 -53
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +0 -506
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -166
- package/src/filiale/aode/ArchivesManage.vue +0 -38
- package/src/filiale/aode/BusinessManage.vue +0 -94
- package/src/filiale/aode/DefaultPrint.js +0 -6
- package/src/filiale/aode/HandplanQuery.vue +0 -632
- package/src/filiale/aode/Tabs.vue +0 -67
- package/src/filiale/aode/UserQuery.vue +0 -599
- package/src/filiale/aode/exportConfig.js +0 -249
- package/src/filiale/aode/sale.js +0 -17
- package/src/filiale/gongyi/ArchivesManage.vue +0 -38
- package/src/filiale/gongyi/BusinessManage.vue +0 -97
- package/src/filiale/gongyi/InspectManage.vue +0 -33
- package/src/filiale/gongyi/Tabs.vue +0 -69
- package/src/filiale/gongyi/sale.js +0 -14
- package/static/NewManageHome/background_qinhua.png +0 -0
- package/static/NewManageHome/sell_1.png +0 -0
- package/static/NewManageHome/sell_2.png +0 -0
- package/static/NewManageHome/title_left.png +0 -0
- package/static/NewManageHome/title_right.png +0 -0
- package/static/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/static/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/static/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/static/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/static/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/static/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/static/NewManageHome//347/273/20437.png +0 -0
- package/static/qh.json +0 -2410
- package/webstorm.config.js +0 -13
package/build/dev-server.js
CHANGED
|
@@ -10,14 +10,13 @@ var compiler = webpack(config)
|
|
|
10
10
|
|
|
11
11
|
// Define HTTP proxies to your custom API backend
|
|
12
12
|
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
|
|
14
|
-
var bendi = 'http://127.0.0.1:8086', fuwu = 'http://121.36.106.17:8400/'
|
|
13
|
+
var bendi = 'http://61.163.115.30:8300/', fuwu = 'http://61.163.115.30:8300/'
|
|
15
14
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
16
15
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
|
17
16
|
var proxyTable = {
|
|
18
17
|
|
|
19
18
|
'/rs/logic/exportfile': {
|
|
20
|
-
target:
|
|
19
|
+
target: fuwu
|
|
21
20
|
},
|
|
22
21
|
'/files': {
|
|
23
22
|
target: fuwu
|
|
@@ -34,9 +33,6 @@ var proxyTable = {
|
|
|
34
33
|
'/rs/logic/getInitData': {
|
|
35
34
|
target: fuwu
|
|
36
35
|
},
|
|
37
|
-
'/rs/logic/getSaleInitData':{
|
|
38
|
-
target: fuwu
|
|
39
|
-
},
|
|
40
36
|
// 用户登录服务地址
|
|
41
37
|
'/rs/user': {
|
|
42
38
|
target: fuwu
|
|
@@ -63,17 +59,11 @@ var proxyTable = {
|
|
|
63
59
|
target: fuwu
|
|
64
60
|
},
|
|
65
61
|
'/rs/report': {
|
|
66
|
-
target: bendi
|
|
67
|
-
},
|
|
68
|
-
'/rs/vue': {
|
|
69
62
|
target: fuwu
|
|
70
63
|
},
|
|
71
|
-
'/rs/
|
|
64
|
+
'/rs/vue': {
|
|
72
65
|
target: fuwu
|
|
73
66
|
},
|
|
74
|
-
'/rs/logic/SumSettleFileImport':{
|
|
75
|
-
target: 'http://127.0.0.1:8087'
|
|
76
|
-
},
|
|
77
67
|
'/rs': {
|
|
78
68
|
target: bendi
|
|
79
69
|
}
|
package/build/package.json
CHANGED
|
@@ -15,8 +15,7 @@ module.exports = {
|
|
|
15
15
|
fallback: [path.join(__dirname, '../node_modules')],
|
|
16
16
|
alias: {
|
|
17
17
|
'src': path.resolve(__dirname, '../src'),
|
|
18
|
-
'test': path.resolve(__dirname, '../test')
|
|
19
|
-
'@src': path.resolve('src')
|
|
18
|
+
'test': path.resolve(__dirname, '../test')
|
|
20
19
|
}
|
|
21
20
|
},
|
|
22
21
|
resolveLoader: {
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.1.1-
|
|
3
|
+
"version": "3.1.1-11-fx",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
7
7
|
"test": "test"
|
|
8
8
|
},
|
|
9
|
-
"dependencies": {
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"crypto-js": "4.1.1",
|
|
11
|
+
"swiper": "^5.4.5"
|
|
12
|
+
},
|
|
10
13
|
"devDependencies": {
|
|
11
14
|
"babel-core": "^6.0.0",
|
|
12
15
|
"babel-loader": "^6.0.0",
|
|
@@ -51,21 +54,22 @@
|
|
|
51
54
|
"less": "^2.7.3",
|
|
52
55
|
"mkdirp": "^0.5.1",
|
|
53
56
|
"mocha": "^3.2.0",
|
|
57
|
+
"vue-amap": "0.5.10",
|
|
58
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
54
59
|
"ncp": "^2.0.0",
|
|
55
60
|
"rimraf": "^2.5.0",
|
|
56
|
-
"sale-client": "3.
|
|
61
|
+
"sale-client": "3.1.0-22",
|
|
57
62
|
"selenium-server": "2.52.0",
|
|
58
63
|
"sinon": "^2.1.0",
|
|
59
64
|
"sinon-chai": "^2.8.0",
|
|
60
65
|
"style": "0.0.3",
|
|
61
66
|
"style-loader": "^0.20.3",
|
|
62
|
-
"system-clients": "3.0.59",
|
|
63
67
|
"url-loader": "^0.5.7",
|
|
64
|
-
"vue-
|
|
65
|
-
"vue-client": "1.22.20",
|
|
68
|
+
"vue-client": "1.21.71",
|
|
66
69
|
"vue-hot-reload-api": "^1.2.0",
|
|
67
70
|
"vue-html-loader": "^1.0.0",
|
|
68
71
|
"vue-loader": "8.2.1",
|
|
72
|
+
"system-clients": "3.0.41",
|
|
69
73
|
"vue-resource": "^1.5.0",
|
|
70
74
|
"vue-router": "^0.7.13",
|
|
71
75
|
"vue-strap": "^1.0.9",
|
package/src/App.vue
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
<app-base class="bg">
|
|
4
4
|
<div class='flex'>
|
|
5
5
|
<article>
|
|
6
|
-
<!--<route :comp="{name: 'manage-
|
|
6
|
+
<!--<route :comp="{name: 'manage-home'}"></route>-->
|
|
7
7
|
<!--<route :comp="{name: 'meter-reading'}"></route>-->
|
|
8
8
|
<!--<route :comp="{name: 'Gasproperties'}"></route>-->
|
|
9
9
|
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
|
10
10
|
<!--<route :comp="{name: 'malfunction-home'}"></route>-->
|
|
11
11
|
<route :comp="{name: 'login'}"></route>
|
|
12
12
|
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
|
13
|
-
|
|
13
|
+
<!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
|
|
14
14
|
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
|
15
15
|
</article>
|
|
16
16
|
</div>
|
package/src/ManageHome.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
2
|
|
|
3
3
|
import echarts from 'echarts'
|
|
4
|
+
import MagLoadParams from './stores/MagLoadParams'
|
|
5
|
+
import MagGetSaleParam from './stores/MagGetSaleParams'
|
|
4
6
|
|
|
5
7
|
/** **************************收费组件注册******************************/
|
|
6
8
|
|
|
7
9
|
export default function () {
|
|
8
10
|
Vue.prototype.$echarts = echarts
|
|
9
11
|
|
|
10
|
-
Vue.component('safehidden-analy', (resolve) => {
|
|
11
|
-
require(['./components/safeCheck/analysis/SafeHiddenAnaly'], resolve)
|
|
12
|
-
})
|
|
13
|
-
|
|
14
12
|
/** **************************安全服务******************************/
|
|
15
13
|
//安全服务首页
|
|
16
14
|
// Vue.component('security-servicehome', (resolve) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="basic-main"
|
|
2
|
+
<div class="basic-main">
|
|
3
3
|
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
5
|
<p class="bg-info text-center" style="padding: 8px;">收费结账报表</p>
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
59
59
|
</criteria>
|
|
60
|
-
<div partial='list' v-el:handcollect id='gasprice'
|
|
60
|
+
<div partial='list' v-el:handcollect id='gasprice'>
|
|
61
61
|
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
62
62
|
<thead>
|
|
63
63
|
<tr>
|
|
@@ -1,95 +1,73 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div id='app' >
|
|
3
3
|
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
4
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
<
|
|
11
|
-
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
5
|
+
<div novalidate class="form-inline auto " partial >
|
|
6
|
+
<p class="bg-info text-center" style="padding: 8px;">月销售气量表</p>
|
|
7
|
+
<div class="flex-row auto" style="justify-content: space-between">
|
|
8
|
+
<div class="form-group" v-if="!$parent.$parent.data.f_files_path">
|
|
9
|
+
<label for="startDate">开始日期:</label>
|
|
10
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
12
11
|
v-model="model.startDate"
|
|
13
12
|
:value.sync="model.startDate"
|
|
14
13
|
:disabled-days-of-Week="[]"
|
|
15
14
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
16
15
|
:show-reset-button="reset">
|
|
17
16
|
</datepicker>
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
21
|
-
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
17
|
+
<label for="endDate">结束日期:</label>
|
|
18
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
22
19
|
v-model="model.endDate"
|
|
23
20
|
:value.sync="model.endDate"
|
|
24
21
|
:disabled-days-of-Week="[]"
|
|
25
22
|
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
26
23
|
:show-reset-button="reset">
|
|
27
24
|
</datepicker>
|
|
25
|
+
<label for="endDate" class="control-label">组织机构</label>
|
|
26
|
+
<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
|
|
27
|
+
<button class="btn btn-primary width-100" @click="search()">查询</button>
|
|
28
|
+
<!--<button class="btn btn-success width-100" @click="$parent.$parent.confirmReport()">保存报表</button>-->
|
|
28
29
|
</div>
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<!--</div>-->
|
|
34
|
-
<!--<div class="col-sm-4">-->
|
|
35
|
-
<!--<label class="font_normal_body"> 部门 </label>-->
|
|
36
|
-
<!--<res-select restype='department'-->
|
|
37
|
-
<!--is-mul="false"-->
|
|
38
|
-
<!--@res-select="$parent.$parent.getdep"-->
|
|
39
|
-
<!--:parentresid="$parent.$parent.depresid"-->
|
|
40
|
-
<!--:initresid='$parent.$parent.depid'>-->
|
|
41
|
-
<!--</res-select>-->
|
|
42
|
-
<!--</div>-->
|
|
43
|
-
<div style = "float:right;">
|
|
44
|
-
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
45
|
-
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%'></report-print>
|
|
46
|
-
<report-excel id='gasprice'></report-excel>
|
|
30
|
+
<span></span>
|
|
31
|
+
<div class="form-group">
|
|
32
|
+
<report-print id='gasprice' top='1cm' left='2cm' width='100%' height='100%'></report-print>
|
|
33
|
+
<report-excel id='gasprice' ></report-excel>
|
|
47
34
|
</div>
|
|
48
35
|
</div>
|
|
49
|
-
<!--<div class="span" style = "float:right;">-->
|
|
50
|
-
|
|
51
|
-
<!--</div>-->
|
|
52
36
|
</div>
|
|
53
37
|
</criteria>
|
|
54
|
-
<div partial='list' v-el:handcollect id='gasprice'
|
|
38
|
+
<div partial='list' v-el:handcollect id='gasprice'>
|
|
55
39
|
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
56
40
|
<thead>
|
|
57
41
|
<tr>
|
|
58
|
-
<th colspan='
|
|
59
|
-
<h3 style="text-align: center"
|
|
42
|
+
<th colspan='6' style="font-weight: normal; text-align: left;">
|
|
43
|
+
<h3 style="text-align: center">月用气量汇总表</h3>
|
|
60
44
|
</th>
|
|
61
45
|
</tr>
|
|
62
46
|
<tr>
|
|
63
|
-
<th colspan='
|
|
47
|
+
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
64
48
|
开始时间:{{model.model.startDate}}
|
|
65
|
-
结束时间:{{ model.model.endDate }}
|
|
49
|
+
结束时间:{{ model.model.endDate }}
|
|
66
50
|
</th>
|
|
67
51
|
</tr>
|
|
68
52
|
<tr>
|
|
69
|
-
<th colspan='
|
|
70
|
-
|
|
71
|
-
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
72
|
-
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
73
|
-
</div>
|
|
53
|
+
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
54
|
+
组织机构:{{$parent.filialeNameStr}}
|
|
74
55
|
</th>
|
|
75
56
|
</tr>
|
|
76
57
|
</thead>
|
|
77
58
|
<tr>
|
|
78
|
-
<td
|
|
59
|
+
<td colspan='6'>
|
|
79
60
|
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
80
61
|
</td>
|
|
81
62
|
</tr>
|
|
82
63
|
<tfoot>
|
|
83
64
|
<tr style="text-align: left">
|
|
84
|
-
<th colspan='
|
|
85
|
-
|
|
86
|
-
审核人:
|
|
87
|
-
经手人:
|
|
88
|
-
</th>
|
|
65
|
+
<th colspan='3'>财务审核:</th>
|
|
66
|
+
<th colspan='3'>收款审核:</th>
|
|
89
67
|
</tr>
|
|
90
68
|
</tfoot>
|
|
91
69
|
</table>
|
|
92
|
-
{{{ $parent.reportStr}}}
|
|
70
|
+
{{{ $parent.reportStr }}}
|
|
93
71
|
</div>
|
|
94
72
|
</criteria-paged>
|
|
95
73
|
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
@@ -106,9 +84,9 @@
|
|
|
106
84
|
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
107
85
|
</footer>
|
|
108
86
|
</modal>
|
|
87
|
+
|
|
109
88
|
</div>
|
|
110
89
|
</template>
|
|
111
|
-
|
|
112
90
|
<script>
|
|
113
91
|
import { DataModel } from 'vue-client'
|
|
114
92
|
import co from 'co'
|
|
@@ -122,9 +100,9 @@
|
|
|
122
100
|
return
|
|
123
101
|
}
|
|
124
102
|
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
125
|
-
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-
|
|
103
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-month-gas',
|
|
126
104
|
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
127
|
-
f_outlets: this.$login.f.
|
|
105
|
+
f_outlets: this.$login.f.f_parentname})
|
|
128
106
|
if (saveBack.data.status === 'succeed') {
|
|
129
107
|
self.show = false
|
|
130
108
|
self.filename = ''
|
|
@@ -133,65 +111,38 @@
|
|
|
133
111
|
}
|
|
134
112
|
}
|
|
135
113
|
export default {
|
|
136
|
-
title: '
|
|
114
|
+
title: '月用气量汇总表',
|
|
137
115
|
props: ['data'],
|
|
138
116
|
data () {
|
|
139
117
|
return {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
userresid: [],
|
|
143
|
-
initres: {
|
|
144
|
-
org:[this.$login.f.orgid],
|
|
145
|
-
dep:[],
|
|
146
|
-
user:[]
|
|
147
|
-
},
|
|
148
|
-
f_orgid: this.$login.f.orgid,
|
|
149
|
-
f_depid: this.$login.f.depids,
|
|
150
|
-
f_operatorid: this.$login.f.id,
|
|
151
|
-
operatorid: [],
|
|
152
|
-
depid: [],
|
|
153
|
-
orgname: '',
|
|
154
|
-
depname: '',
|
|
155
|
-
operatorname: '',
|
|
156
|
-
orgCondtionStr: '1=1',
|
|
157
|
-
model: new DataModel('rs/report/manage_month_sellgas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
158
|
-
f_orgid: 'this.model.f_orgid'}),
|
|
118
|
+
model: new DataModel('rs/report/manage_day_sellgas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
119
|
+
filialeCodeStr: 'this.model.filialeCodeStr'}),
|
|
159
120
|
reportStr: null,
|
|
160
121
|
show: false,
|
|
161
|
-
|
|
122
|
+
filename: '',
|
|
123
|
+
filialeNameStr: this.$login.f.orgpathnames,
|
|
124
|
+
filialeCodeStr: this.$login.f.orgpathstr,
|
|
125
|
+
userid: this.$login.f.id,
|
|
126
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`
|
|
162
127
|
}
|
|
163
128
|
},
|
|
164
129
|
ready () {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
130
|
+
if (this.data) {
|
|
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
|
+
}
|
|
134
|
+
this.$refs.paged.$refs.criteria.search()
|
|
168
135
|
},
|
|
169
136
|
methods: {
|
|
170
|
-
searchData () {
|
|
171
|
-
this.$refs.paged.$refs.criteria.search()
|
|
172
|
-
},
|
|
173
137
|
selfSearch (args) {
|
|
174
|
-
this.
|
|
175
|
-
let orgstr = this.orgCondtionStr
|
|
176
|
-
args.condition = `${args.condition} ` + orgstr
|
|
177
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgstr
|
|
138
|
+
this.$refs.paged.$refs.criteria.model.filialeCodeStr = this.filialeCodeStr
|
|
178
139
|
this.$refs.paged.search(args)
|
|
179
140
|
},
|
|
180
|
-
getRes
|
|
181
|
-
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
141
|
+
getRes(obj) {
|
|
142
|
+
console.log(obj, '组织')
|
|
143
|
+
this.filialeNameStr = obj.res
|
|
144
|
+
this.filialeCodeStr = obj.resids
|
|
184
145
|
},
|
|
185
|
-
// getdep (obj, val) {
|
|
186
|
-
// // this.depname = val[0]
|
|
187
|
-
// this.userresid = obj
|
|
188
|
-
// this.f_depid = obj
|
|
189
|
-
// },
|
|
190
|
-
// getuser ( obj, val) {
|
|
191
|
-
// this.operatorname = val[0]
|
|
192
|
-
// this.f_operatorid = obj
|
|
193
|
-
// },
|
|
194
|
-
|
|
195
146
|
// 根据文件路径获取储存的报表内容
|
|
196
147
|
getFileContent (path) {
|
|
197
148
|
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
@@ -222,24 +173,9 @@
|
|
|
222
173
|
} else {
|
|
223
174
|
this.reportStr = null
|
|
224
175
|
}
|
|
225
|
-
},
|
|
226
|
-
'model.data' (val) {
|
|
227
|
-
let tab = document.getElementById('test').children[0]
|
|
228
|
-
var tds = tab.getElementsByTagName('td')
|
|
229
|
-
var num = 0
|
|
230
|
-
for (let td of tds) {
|
|
231
|
-
let span = td.getAttribute('colspan')
|
|
232
|
-
num = num + ((span ? span : 1) - 0)
|
|
233
|
-
}
|
|
234
|
-
this.spans = num
|
|
235
176
|
}
|
|
236
177
|
},
|
|
237
178
|
computed: {
|
|
238
179
|
}
|
|
239
180
|
}
|
|
240
181
|
</script>
|
|
241
|
-
<style scoped>
|
|
242
|
-
.noborder{
|
|
243
|
-
border: none;
|
|
244
|
-
}
|
|
245
|
-
</style>
|