manage-client 3.2.102 → 3.2.103-03-cs
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 +4 -5
- package/build/webpack.base.conf.js +17 -17
- package/build/webpack.prod.conf.js +106 -23
- package/package.json +10 -4
- package/src/App.vue +1 -0
- package/src/ManageHome.js +2 -6
- package/src/components/SellReport/ApplyFillmoney.vue +228 -0
- package/src/components/SellReport/BankManager.vue +102 -102
- package/src/components/SellReport/Cardapplysgas.vue +274 -0
- package/src/components/SellReport/ESaleMonthReport.vue +221 -0
- package/src/components/SellReport/GFReportWH.vue +181 -0
- package/src/components/SellReport/GasPropertiesManager.vue +151 -0
- package/src/components/SellReport/LeftChart.vue +132 -0
- package/src/components/SellReport/ManageBusSummary.vue +77 -64
- package/src/components/SellReport/ManageBusSummarynopay.vue +237 -0
- package/src/components/SellReport/ManageMonthGas.vue +1 -1
- package/src/components/SellReport/ManageSellType.vue +1 -1
- package/src/components/SellReport/MarketAnjianChuli.vue +228 -0
- package/src/components/SellReport/MarketAnjianSituation.vue +228 -0
- package/src/components/SellReport/MarketMonthChart.vue +162 -0
- package/src/components/SellReport/MarketMonthMoney.vue +237 -0
- package/src/components/SellReport/MarketMonthgas.vue +244 -0
- package/src/components/SellReport/MarketanjianStyle.vue +228 -0
- package/src/components/SellReport/PriceReportWHwu.vue +180 -0
- package/src/components/SellReport/ReportHistoryShow.vue +51 -0
- package/src/components/SellReport/ReportItems.vue +161 -92
- package/src/components/SellReport/ReportPool.vue +91 -19
- package/src/components/SellReport/SellDepReport.vue +2 -1
- package/src/components/SellReport/Test.vue +862 -0
- package/src/components/SellReport/UserFillmoney.vue +420 -0
- package/src/components/SellReport/UserGasFillCard.vue +6 -6
- package/src/components/SellReport/applysFillmoney.vue +228 -0
- package/src/components/SellReport/tl_handgas.vue +244 -0
- package/src/components/SellReport/tl_handmoney.vue +244 -0
- package/src/components/WebReport/EchartsBox.vue +55 -34
- package/src/components/daping/CallCenter.vue +26 -14
- package/src/components/daping/DataManagement.vue +45 -39
- package/src/components/daping/SafeCheckRing.vue +2 -1
- package/src/components/daping/SafecheckBarChart.vue +17 -8
- package/src/components/daping/json/dataManage.json +30 -0
- package/src/components/qinhua/Pie.vue +18 -8
- package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +2 -2
- package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +4 -4
- package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +165 -0
- package/src/components/sale/businessquery/ArrearsQuery.vue +7 -5
- package/src/components/sale/businessquery/BalanceTable.vue +5 -1
- package/src/components/sale/businessquery/BusinesQuery.vue +6 -0
- package/src/components/sale/businessquery/BusinessManage.vue +18 -0
- package/src/components/sale/businessquery/CancellationQuery.vue +6 -0
- package/src/components/sale/businessquery/CardHandplanQuery.vue +7 -0
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +13 -2
- package/src/components/sale/businessquery/ChargeQuery.vue +17 -9
- package/src/components/sale/businessquery/CollectManage.vue +13 -3
- package/src/components/sale/businessquery/CommunityPaymen.vue +3 -3
- package/src/components/sale/businessquery/DisableQuery.vue +36 -4
- package/src/components/sale/businessquery/EnableQuery.vue +8 -1
- package/src/components/sale/businessquery/FMYGasQuery.vue +6 -0
- package/src/components/sale/businessquery/FillCardQuery.vue +47 -7
- package/src/components/sale/businessquery/FillGasQuery.vue +29 -1
- package/src/components/sale/businessquery/GasLossQuery.vue +18 -0
- package/src/components/sale/businessquery/GroupChargeQuery.vue +6 -10
- package/src/components/sale/businessquery/HandBookTwoQuery.vue +700 -0
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +5 -2
- package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/InspectListGas.vue +238 -246
- package/src/components/sale/businessquery/MonthGasQuery.vue +2 -2
- package/src/components/sale/businessquery/MoveMeterQuery.vue +10 -4
- package/src/components/sale/businessquery/NoBusinessQuery.vue +37 -38
- package/src/components/sale/businessquery/OtherChargeNopayQuery.vue +689 -0
- package/src/components/sale/businessquery/OtherChargeQuery.vue +7 -1
- package/src/components/sale/businessquery/PriceChange.vue +4 -0
- package/src/components/sale/businessquery/PrickBillQuery.vue +7 -1
- package/src/components/sale/businessquery/PrivilegeQuery.vue +6 -1
- package/src/components/sale/businessquery/ProceedsOper.vue +4 -4
- package/src/components/sale/businessquery/ReceiptQuery.vue +25 -14
- package/src/components/sale/businessquery/ResidentialCardQuery.vue +373 -0
- package/src/components/sale/businessquery/ReverseQuery.vue +7 -1
- package/src/components/sale/businessquery/SellOrgnameQuery.vue +2 -2
- package/src/components/sale/businessquery/SellPeopleQuery.vue +10 -15
- package/src/components/sale/businessquery/SendbookQuery.vue +6 -0
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +4 -0
- package/src/components/sale/businessquery/TransferQuery.vue +7 -1
- package/src/components/sale/businessquery/TransferRecordQuery.vue +179 -0
- package/src/components/sale/businessquery/UserSellHeadDetail.vue +4 -4
- package/src/components/sale/businessquery/overDueQuery.vue +12 -6
- package/src/components/sale/businessquery/priceadjustQuery.vue +6 -0
- package/src/components/sale/businessquery/pricechangeRecordQuery.vue +8 -2
- package/src/components/sale/businessquery/reportDetail.vue +256 -0
- package/src/components/sale/businessquery/sellingChargePrice.vue +4 -5
- package/src/components/sale/businessquery/yucunDetails.vue +6 -0
- package/src/components/sale/config/exportConfig.js +128 -52
- package/src/components/sale/config/tableConfig.js +54 -48
- package/src/components/sale/filesquery/MeterQuery.vue +30 -9
- package/src/components/sale/filesquery/RecordInfoQuery.vue +103 -92
- package/src/components/sale/filesquery/UserQuery.vue +6 -0
- package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +1 -1
- package/src/components/sale/report/aode/MonthByChargeType.vue +2 -1
- package/src/components/sale/report/aode/MonthByUserType.vue +2 -1
- package/src/components/sale/report/aode/YearByChargeTpye.vue +2 -1
- package/src/components/sale/report/aode/YearByUserType.vue +2 -1
- package/src/components/sale/resourcequery/LoginQuery.vue +245 -0
- package/src/components/sale/resourcequery/ResourceManage.vue +36 -0
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +420 -0
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +383 -0
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
- package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -0
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +2 -1
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/DrillData/UserGasEform.vue +1 -1
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +4 -3
- package/src/components/webmeter/WebmeterQuery.vue +3 -0
- package/src/components/webmeter/gasAnalysis/WebmeterSettlementAnalysis.vue +432 -0
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +8 -1
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +14 -1
- package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +560 -506
- package/src/components/webmeter/recharge/RechargeList.vue +1 -1
- package/src/components/webmeter/report/ReportList.vue +5 -5
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
- package/src/filiale/WEINAN/BusinessManage.vue +13 -5
- package/src/filiale/WEINAN/CancellationQuery.vue +422 -0
- package/src/filiale/WEINAN/ChargeQuery.vue +70 -76
- package/src/filiale/WEINAN/CollectManage.vue +148 -0
- package/src/filiale/WEINAN/DisableQuery.vue +523 -0
- package/src/filiale/WEINAN/EnableQuery.vue +456 -0
- package/src/filiale/WEINAN/FillGasQuery.vue +6 -2
- package/src/filiale/WEINAN/MeterQuery.vue +34 -7
- package/src/filiale/WEINAN/NewAccountQuery.vue +409 -0
- package/src/filiale/WEINAN/OtherChargeQuery.vue +8 -7
- package/src/filiale/WEINAN/RecordInfoQuery.vue +5 -2
- package/src/filiale/WEINAN/config/exportConfig.js +24 -33
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +46 -38
- package/src/filiale/WEINAN/sale.js +13 -4
- package/src/filiale/dongguan/components/SellReport/BankManager.vue +146 -0
- package/src/filiale/dongguan/components/SellReport/SiteManager.vue +147 -0
- package/src/filiale/dongguan/components/WebReport/BussinessType.vue +137 -0
- package/src/filiale/dongguan/components/WebReport/Paymentpie.vue +157 -0
- package/src/filiale/dongguan/reportManage.js +21 -0
- package/src/filiale/gaomi/MeterQuery.vue +37 -7
- package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +30 -7
- package/src/filiale/jingwei/RecordInfoQuery.vue +55 -33
- package/src/filiale/kelai/UserQuery.vue +963 -0
- package/src/filiale/kelai/exportConfig.js +1062 -0
- package/src/filiale/kelai/sale.js +8 -0
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +3 -1
- package/src/filiale/liaoyuan/exportConfig.js +2 -1
- package/src/filiale/macheng/HandplanQuery.vue +6 -0
- package/src/filiale/macheng/MeterQuery.vue +28 -5
- package/src/filiale/macheng/MonthGasQuery.vue +2 -2
- package/src/filiale/macheng/RecordInfoQuery.vue +2 -2
- package/src/filiale/macheng/WebmeterSettlementAnalysis.vue +394 -0
- package/src/filiale/macheng/config/exportConfig.js +3 -3
- package/src/filiale/macheng/webmeterManage.js +9 -0
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/meihekou/HandplanQuery.vue +9 -3
- package/src/filiale/meihekou/UserQuery.vue +14 -4
- package/src/filiale/qianneng/ArrearsQuery.vue +27 -7
- package/src/filiale/qianneng/BusinessManage.vue +182 -0
- package/src/filiale/qianneng/ChargeQuery.vue +194 -187
- package/src/filiale/qianneng/GasLossQuery.vue +632 -0
- package/src/filiale/qianneng/HandplanQuery.vue +221 -168
- package/src/filiale/qianneng/MeterQuery.vue +54 -1
- package/src/filiale/qianneng/OtherChargeQuery.vue +33 -31
- package/src/filiale/qianneng/SellDepReport.vue +27 -7
- package/src/filiale/qianneng/UserQuery.vue +938 -0
- package/src/filiale/qianneng/exportConfig.js +28 -35
- package/src/filiale/qianneng/sale.js +5 -1
- package/src/filiale/qingtongxia/MeterQuery.vue +30 -7
- package/src/filiale/qingtongxia/MonthGasQuery.vue +480 -0
- package/src/filiale/qingtongxia/RecordInfoQuery.vue +12 -4
- package/src/filiale/qingtongxia/SellPeopleQuery.vue +8 -13
- package/src/filiale/qingtongxia/sale.js +2 -0
- package/src/filiale/rizhao/ChargeQuery.vue +1295 -0
- package/src/filiale/rizhao/InspectListUser.vue +451 -0
- package/src/filiale/rizhao/sale.js +16 -0
- package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
- package/src/filiale/rongcheng/exportConfig.js +2 -2
- package/src/filiale/shaoguan/ArrearsQuery.vue +15 -15
- package/src/filiale/shaoguan/TransferQuery.vue +8 -3
- package/src/filiale/shaoguan/config/exportConfig.js +2 -2
- package/src/filiale/tongchuan/ChargeQuery.vue +1319 -1319
- package/src/filiale/tongchuan/DeviceQuery.vue +1 -1
- package/src/filiale/tongchuan/FillGasQuery.vue +11 -2
- package/src/filiale/tongchuan/MeterQuery.vue +3 -5
- package/src/filiale/tongchuan/PriceChangeQuery.vue +1 -1
- package/src/filiale/tongchuan/ReportList.vue +29 -32
- package/src/filiale/tongchuan/UserDeviceQuery.vue +1 -1
- package/src/filiale/tongchuan/config/exportConfig.js +10 -19
- package/src/filiale/wuhai/ChargeQuery.vue +28 -11
- package/src/filiale/xinkang/ChargeQuery.vue +1308 -0
- package/src/filiale/xinkang/sale.js +10 -0
- package/src/filiale/zhongsheng/config/exportConfig.js +2 -2
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +116 -0
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +180 -0
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +322 -0
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +140 -0
- package/src/filiale/zhongyi/CallReport/RateBottom.vue +143 -0
- package/src/filiale/zhongyi/CallReport/RateTop.vue +144 -0
- package/src/filiale/zhongyi/CallReport/ScrollContent.vue +143 -0
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +385 -0
- package/src/filiale/zhongyi/CallReport/SwiperTools.vue +161 -0
- package/src/filiale/zhongyi/CallReport/SwiperTools2.vue +143 -0
- package/src/filiale/zhongyi/CallReport/Time.vue +100 -0
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +97 -0
- package/src/filiale/zhongyi/CallReport/WeatherData.vue +44 -0
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +181 -0
- package/src/filiale/zhongyi/GasStatistics.vue +499 -0
- package/src/filiale/zhongyi/MeterExceptionList.vue +599 -0
- package/src/filiale/zhongyi/sale.js +46 -0
- package/src/main.js +66 -66
- package/src/newmanage.js +116 -113
- package/src/reportManage.js +82 -9
- package/src/saleManage.js +599 -558
- package/src/webmeterManage.js +9 -8
- package/static/fonts/font.css +6 -0
- package/static/fonts//351/230/277/351/207/214/346/261/211/344/273/252/346/231/272/350/203/275/351/273/221/344/275/223.TTF +0 -0
- package/static/images/zhongyi/Pigeon.png +0 -0
- package/static/images/zhongyi/background.png +0 -0
- package/static/images/zhongyi/blueArrows.png +0 -0
- package/static/images/zhongyi/blueBall.png +0 -0
- package/static/images/zhongyi/blueLadder.png +0 -0
- package/static/images/zhongyi/blueLine.png +0 -0
- package/static/images/zhongyi/bluebg.png +0 -0
- package/static/images/zhongyi/bulebg2.png +0 -0
- package/static/images/zhongyi/chart-2@2x.png +0 -0
- package/static/images/zhongyi/cloudy.png +0 -0
- package/static/images/zhongyi/exclamationPoint.png +0 -0
- package/static/images/zhongyi/netHall.png +0 -0
- package/static/images/zhongyi/orangebg.png +0 -0
- package/static/images/zhongyi/phone1.png +0 -0
- package/static/images/zhongyi/phone2.png +0 -0
- package/static/images/zhongyi/phone3.png +0 -0
- package/static/images/zhongyi/phone4.png +0 -0
- package/static/images/zhongyi/phone5.png +0 -0
- package/static/images/zhongyi/refresh.png +0 -0
- package/static/images/zhongyi/ring.png +0 -0
- package/static/images/zhongyi/service1.png +0 -0
- package/static/images/zhongyi/service2.png +0 -0
- package/static/images/zhongyi/telephone1.png +0 -0
- package/static/images/zhongyi/telephone2.png +0 -0
- package/static/images/zhongyi/trumpet.png +0 -0
- package/static/images/zhongyi/weChat.png +0 -0
- package/static/images/zhongyi/workOrder.png +0 -0
- package/static/images/zhongyi/yellowArrows.png +0 -0
- package/static/images/zhongyi/yellowBall.png +0 -0
- package/static/images/zhongyi/yellowLadder.png +0 -0
- package/static/images/zhongyi/yellowbg.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235 2@2x.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1 /346/213/267/350/264/235@2x.png +0 -0
- package/static/images/zhongyi//347/256/255/345/244/264 19 1.png +0 -0
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/6.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
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
|
-
var bendi = 'http://127.0.0.1:
|
|
14
|
-
// fuwu = 'http://36.103.224.217:6300/'
|
|
13
|
+
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
15
14
|
var shaoguan='http://119.146.1.106:8300/'
|
|
16
15
|
var qtx='http://36.103.222.144:6300/'
|
|
17
|
-
|
|
16
|
+
var bendi = 'http://192.168.50.4:8400/'
|
|
18
17
|
// var bendi = 'http://172.168.1.11:9001'
|
|
19
|
-
var fuwu = 'http://
|
|
20
|
-
// var fuwu = 'http://
|
|
18
|
+
var fuwu = 'http://192.168.50.4:8400/'
|
|
19
|
+
// var fuwu = 'http://203.57.101.233:9001'
|
|
21
20
|
var system = 'http://192.168.50.4:8400'
|
|
22
21
|
//192.168.
|
|
23
22
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var path = require('path')
|
|
2
2
|
var cssLoaders = require('./css-loaders')
|
|
3
|
-
|
|
3
|
+
|
|
4
4
|
module.exports = {
|
|
5
5
|
entry: {
|
|
6
6
|
app: './src/main.js'
|
|
7
7
|
},
|
|
8
8
|
output: {
|
|
9
|
-
path: path.resolve(__dirname, '../dist/
|
|
10
|
-
publicPath: '
|
|
9
|
+
path: path.resolve(__dirname, '../dist/mergeUser'),
|
|
10
|
+
publicPath: 'mergeUser/',
|
|
11
11
|
filename: '[name].js'
|
|
12
12
|
},
|
|
13
13
|
resolve: {
|
|
@@ -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: {
|
|
@@ -26,22 +25,23 @@ module.exports = {
|
|
|
26
25
|
loaders: [
|
|
27
26
|
{
|
|
28
27
|
test: /\.vue$/,
|
|
29
|
-
loader: 'vue
|
|
28
|
+
loader: 'vue'
|
|
30
29
|
},
|
|
31
30
|
{
|
|
32
31
|
test: /\.js$/,
|
|
33
32
|
loader: 'babel',
|
|
34
33
|
include: [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
/src/,
|
|
35
|
+
/build/,
|
|
36
|
+
/examples/,
|
|
37
|
+
/singlepage/,
|
|
38
|
+
/test/,
|
|
39
|
+
/node_modules\/vue-client\/src/,
|
|
40
|
+
/node_modules\/vue-strap\/src/
|
|
41
|
+
],
|
|
42
|
+
options: {
|
|
43
|
+
presets: ['es2015']
|
|
44
|
+
}
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
test: /\.json$/,
|
|
@@ -60,7 +60,7 @@ module.exports = {
|
|
|
60
60
|
loader: 'style!css'
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
|
-
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
|
63
|
+
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf|TTF)(\?.*)?$/,
|
|
64
64
|
loader: 'url',
|
|
65
65
|
query: {
|
|
66
66
|
limit: 10000,
|
|
@@ -1,24 +1,83 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
const webpack = require('webpack')
|
|
2
|
+
const merge = require('webpack-merge')
|
|
3
|
+
const baseConfig = require('./webpack.base.conf')
|
|
4
|
+
const cssLoaders = require('./css-loaders')
|
|
5
|
+
const ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
6
|
+
// const HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
7
|
+
const FileManagerPlugin = require('filemanager-webpack-plugin')
|
|
8
|
+
const ParallelUglifyPlugin = require('webpack-parallel-uglify-plugin')
|
|
9
|
+
const path = require('path')
|
|
10
|
+
|
|
11
|
+
// 将日期时间进行格式化
|
|
12
|
+
function formatDate (date, format) {
|
|
13
|
+
// name="date" type="Date" 要格式化的日期时间
|
|
14
|
+
// name="format" type="String" 格式类型,形如 yyyy-MM-dd hh:mm:ss
|
|
15
|
+
var o = {
|
|
16
|
+
'M+': date.getMonth() + 1,
|
|
17
|
+
// 月份
|
|
18
|
+
'd+': date.getDate(),
|
|
19
|
+
// 日
|
|
20
|
+
'h+': date.getHours(),
|
|
21
|
+
// 小时
|
|
22
|
+
'm+': date.getMinutes(),
|
|
23
|
+
// 分
|
|
24
|
+
's+': date.getSeconds() // 秒
|
|
25
|
+
}
|
|
26
|
+
if (/(y+)/.test(format)) format = format.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
27
|
+
for (var k in o) if (new RegExp('(' + k + ')').test(format)) format = format.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
28
|
+
return format
|
|
29
|
+
}
|
|
30
|
+
const timeStamp = formatDate(new Date(), 'yyyy-MM-dd-hh-mm-ss')
|
|
31
|
+
console.log('开始打包:', timeStamp)
|
|
32
|
+
console.log('入口:', process.env.VUE_APP_ENTRY)
|
|
33
|
+
// 单个入口打包压缩配置
|
|
34
|
+
let onEndParam = {
|
|
35
|
+
copy: [
|
|
36
|
+
{source: './package.json', destination: './lib/package_' + timeStamp + '.json'}
|
|
37
|
+
],
|
|
38
|
+
archive: [
|
|
39
|
+
{ source: './lib', destination: './' + process.env.VUE_APP_ENTRY + '_lib' + timeStamp + '.zip' }
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
if (process.env.VUE_APP_SINGLE !== 'true') {
|
|
43
|
+
onEndParam = {}
|
|
44
|
+
// 多个一起打包, 最后一个在压缩
|
|
45
|
+
if (process.env.VUE_APP_BUILDEND === 'true') {
|
|
46
|
+
onEndParam = {
|
|
47
|
+
copy: [
|
|
48
|
+
{source: './package.json', destination: './lib/package_' + timeStamp + '.json'}
|
|
49
|
+
],
|
|
50
|
+
archive: [
|
|
51
|
+
{ source: './lib', destination: './manage_lib' + timeStamp + '.zip' }
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
7
56
|
|
|
8
57
|
// whether to generate source map for production files.
|
|
9
58
|
// disabling this can speed up the build.
|
|
10
|
-
|
|
59
|
+
const SOURCE_MAP = false
|
|
11
60
|
|
|
12
61
|
module.exports = merge(baseConfig, {
|
|
62
|
+
externals: {
|
|
63
|
+
'vue-client': 'vue-client',
|
|
64
|
+
'system-clients': 'system-clients',
|
|
65
|
+
'vue': 'vue'
|
|
66
|
+
},
|
|
13
67
|
stats: {
|
|
14
68
|
children: false
|
|
15
69
|
},
|
|
16
70
|
devtool: SOURCE_MAP ? '#source-map' : false,
|
|
71
|
+
entry: {
|
|
72
|
+
app: './src/' + process.env.VUE_APP_ENTRY + '.js'
|
|
73
|
+
},
|
|
17
74
|
output: {
|
|
18
75
|
// naming output files with hashes for better caching.
|
|
19
76
|
// dist/index.html will be auto-generated with correct URLs.
|
|
20
|
-
|
|
21
|
-
|
|
77
|
+
publicPath: 'library/manage/' + process.env.VUE_APP_ENTRY + '/lib/',
|
|
78
|
+
path: path.resolve(__dirname, '../lib/' + process.env.VUE_APP_ENTRY + '/lib'),
|
|
79
|
+
filename: 'lib.js',
|
|
80
|
+
libraryTarget: 'umd' // 不管在commonJS环境还是在AMD环境,能让任何形式引入都可以引入
|
|
22
81
|
},
|
|
23
82
|
vue: {
|
|
24
83
|
loaders: cssLoaders({
|
|
@@ -33,28 +92,52 @@ module.exports = merge(baseConfig, {
|
|
|
33
92
|
NODE_ENV: '"production"'
|
|
34
93
|
}
|
|
35
94
|
}),
|
|
36
|
-
new
|
|
37
|
-
|
|
38
|
-
|
|
95
|
+
new ParallelUglifyPlugin({
|
|
96
|
+
// 用作缓存的可选绝对路径。如果未提供,则不使用缓存。
|
|
97
|
+
// cacheDir: '.cache/',
|
|
98
|
+
uglifyJS: {
|
|
99
|
+
output: {
|
|
100
|
+
// 是否保留代码中的注释,默认为保留
|
|
101
|
+
comments: false
|
|
102
|
+
},
|
|
103
|
+
// 是否在UglifyJS删除没有用到的代码时输出警告信息,默认为false
|
|
104
|
+
warnings: false,
|
|
105
|
+
compress: {
|
|
106
|
+
// 是否删除代码中所有的console语句,默认为false
|
|
107
|
+
drop_console: true,
|
|
108
|
+
// 是否内嵌虽然已经定义了,但是只用到一次的变量, 默认值false
|
|
109
|
+
collapse_vars: true,
|
|
110
|
+
// 是否提取出现了多次但是没有定义成变量去引用的静态值,默认为false
|
|
111
|
+
reduce_vars: true
|
|
112
|
+
}
|
|
39
113
|
}
|
|
40
114
|
}),
|
|
115
|
+
// new webpack.optimize.UglifyJsPlugin({
|
|
116
|
+
// compress: {
|
|
117
|
+
// warnings: false
|
|
118
|
+
// }
|
|
119
|
+
// }),
|
|
41
120
|
new webpack.optimize.OccurenceOrderPlugin(),
|
|
42
121
|
// extract css into its own file
|
|
43
122
|
new ExtractTextPlugin('[name].css'),
|
|
44
123
|
// generate dist index.html with correct asset hash for caching.
|
|
45
124
|
// you can customize output by editing /index.html
|
|
46
125
|
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
47
|
-
new HtmlWebpackPlugin({
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
126
|
+
// new HtmlWebpackPlugin({
|
|
127
|
+
// filename: '../index.html',
|
|
128
|
+
// template: 'index.html',
|
|
129
|
+
// inject: true,
|
|
130
|
+
// minify: {
|
|
131
|
+
// removeComments: true,
|
|
132
|
+
// collapseWhitespace: true,
|
|
133
|
+
// removeAttributeQuotes: true
|
|
134
|
+
// // more options:
|
|
135
|
+
// // https://github.com/kangax/html-minifier#options-quick-reference
|
|
136
|
+
// }
|
|
137
|
+
// }),
|
|
138
|
+
// 打包文件压缩
|
|
139
|
+
new FileManagerPlugin({
|
|
140
|
+
onEnd: onEndParam
|
|
58
141
|
})
|
|
59
142
|
]
|
|
60
143
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "manage-client",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.103-03-cs",
|
|
4
4
|
"description": "经营管控模块前台组件",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"eventsource-polyfill": "^0.9.6",
|
|
33
33
|
"express": "^4.13.3",
|
|
34
34
|
"extract-text-webpack-plugin": "^1.0.1",
|
|
35
|
+
"filemanager-webpack-plugin": "^2.0.5",
|
|
35
36
|
"file-loader": "^0.8.4",
|
|
36
37
|
"function-bind": "^1.0.2",
|
|
37
38
|
"html-webpack-plugin": "^2.8.1",
|
|
@@ -63,10 +64,11 @@
|
|
|
63
64
|
"sinon-chai": "^2.8.0",
|
|
64
65
|
"style": "0.0.3",
|
|
65
66
|
"style-loader": "^0.20.3",
|
|
67
|
+
"swiper": "^5.4.5",
|
|
66
68
|
"system-clients": "3.1.89-20",
|
|
67
69
|
"url-loader": "^0.5.7",
|
|
68
70
|
"vue-amap": "0.5.10",
|
|
69
|
-
"vue-client": "1.24.
|
|
71
|
+
"vue-client": "1.24.51",
|
|
70
72
|
"vue-hot-reload-api": "^1.2.0",
|
|
71
73
|
"vue-html-loader": "^1.0.0",
|
|
72
74
|
"vue-loader": "8.2.1",
|
|
@@ -78,14 +80,18 @@
|
|
|
78
80
|
"webpack": "1.12.2",
|
|
79
81
|
"webpack-dev-middleware": "^1.4.0",
|
|
80
82
|
"webpack-hot-middleware": "^2.6.0",
|
|
81
|
-
"webpack-merge": "^0.8.3"
|
|
83
|
+
"webpack-merge": "^0.8.3",
|
|
84
|
+
"webpack-parallel-uglify-plugin": "^1.0.0"
|
|
82
85
|
},
|
|
83
86
|
"scripts": {
|
|
84
87
|
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
85
88
|
"example": "node build/example-server.js",
|
|
86
89
|
"dev": "node build/dev-server.js",
|
|
87
90
|
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
88
|
-
"build": "rimraf
|
|
91
|
+
"build": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_ENTRY=reportManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_BUILDEND=true VUE_APP_ENTRY=webmeterManage webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
92
|
+
"buildSaleManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
93
|
+
"buildReportManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=reportManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
94
|
+
"buildWebmeterManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=webmeterManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
89
95
|
"e2e": "node test/e2e/runner.js",
|
|
90
96
|
"release": "bash build/release.sh"
|
|
91
97
|
},
|
package/src/App.vue
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
|
10
10
|
<!--<route :comp="{name: 'malfunction-home'}"></route>-->
|
|
11
11
|
<route :comp="{name: 'login'}"></route>
|
|
12
|
+
<!-- <route :comp="{name: 'call-report-main-page'}"></route>-->
|
|
12
13
|
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
|
13
14
|
<!--<route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route>-->
|
|
14
15
|
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
package/src/ManageHome.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
|
-
|
|
3
2
|
import echarts from 'echarts'
|
|
4
3
|
|
|
5
4
|
/** **************************收费组件注册******************************/
|
|
6
5
|
|
|
7
|
-
export default function () {
|
|
6
|
+
export default function (filiale) {
|
|
8
7
|
Vue.prototype.$echarts = echarts
|
|
9
8
|
|
|
10
9
|
Vue.component('safehidden-analy', (resolve) => {
|
|
@@ -12,7 +11,7 @@ export default function () {
|
|
|
12
11
|
})
|
|
13
12
|
|
|
14
13
|
/** **************************安全服务******************************/
|
|
15
|
-
|
|
14
|
+
// 安全服务首页
|
|
16
15
|
// Vue.component('security-servicehome', (resolve) => {
|
|
17
16
|
// require(['./components/SecurityService/SecurityServiceHome'], resolve)
|
|
18
17
|
// })
|
|
@@ -263,7 +262,4 @@ export default function () {
|
|
|
263
262
|
// Vue.component('supply-gas', (resolve) => {
|
|
264
263
|
// require(['./components/ManageHome/NetWork/SupplyGas'], resolve)
|
|
265
264
|
// })
|
|
266
|
-
|
|
267
265
|
}
|
|
268
|
-
|
|
269
|
-
|
|
@@ -0,0 +1,228 @@
|
|
|
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" >
|
|
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" >
|
|
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">
|
|
30
|
+
<label class="font_normal_body"> 公司 </label>
|
|
31
|
+
<right-tree @re-res="$parent.$parent.getRes"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
</div>
|
|
35
|
+
<div class="span" style = "float:right;">
|
|
36
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
37
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
38
|
+
<report-excel id='gasprice'></report-excel>
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
</criteria>
|
|
42
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
43
|
+
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
44
|
+
<thead>
|
|
45
|
+
<tr>
|
|
46
|
+
<th colspan='7' style="font-weight: normal; text-align: left;">
|
|
47
|
+
<h3 style="text-align: center">材料报建表</h3>
|
|
48
|
+
</th>
|
|
49
|
+
</tr>
|
|
50
|
+
<tr>
|
|
51
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
52
|
+
开始时间:{{model.model.startDate}}
|
|
53
|
+
结束时间:{{ model.model.endDate }}
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
58
|
+
打印时间:{{{$parent.printTime}}}
|
|
59
|
+
</th>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
63
|
+
<div>
|
|
64
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
65
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
66
|
+
<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
|
|
67
|
+
</div>
|
|
68
|
+
</th>
|
|
69
|
+
</tr>
|
|
70
|
+
</thead>
|
|
71
|
+
<tr>
|
|
72
|
+
<td colspan='7'>
|
|
73
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tfoot>
|
|
77
|
+
<tr style="text-align: left">
|
|
78
|
+
<th colspan='3'>财务审核:</th>
|
|
79
|
+
<th colspan='3'>收款审核:</th>
|
|
80
|
+
<th colspan='1'>收款员:</th>
|
|
81
|
+
</tr>
|
|
82
|
+
</tfoot>
|
|
83
|
+
</table>
|
|
84
|
+
{{{ $parent.reportStr}}}
|
|
85
|
+
</div>
|
|
86
|
+
</criteria-paged>
|
|
87
|
+
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
88
|
+
<header slot="modal-header" class="modal-header">
|
|
89
|
+
<h4 class="modal-title">输入文件名称</h4>
|
|
90
|
+
</header>
|
|
91
|
+
<article slot="modal-body" class="modal-body">
|
|
92
|
+
<div class="form-group">
|
|
93
|
+
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
94
|
+
</div>
|
|
95
|
+
</article>
|
|
96
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
97
|
+
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
98
|
+
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
99
|
+
</footer>
|
|
100
|
+
</modal>
|
|
101
|
+
</div>
|
|
102
|
+
</template>
|
|
103
|
+
|
|
104
|
+
<script>
|
|
105
|
+
import { DataModel } from 'vue-client'
|
|
106
|
+
import co from 'co'
|
|
107
|
+
let saveFile = function * (self) {
|
|
108
|
+
// 线验证文件是否重名
|
|
109
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
110
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
111
|
+
{resolveMsg: null, rejectMsg: null})
|
|
112
|
+
if (count.data.length > 0) {
|
|
113
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
114
|
+
return
|
|
115
|
+
}
|
|
116
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
117
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
118
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
119
|
+
f_outlets: this.$login.f.depname})
|
|
120
|
+
if (saveBack.data.status === 'succeed') {
|
|
121
|
+
self.show = false
|
|
122
|
+
self.filename = ''
|
|
123
|
+
// 后台保存完成,通知刷新
|
|
124
|
+
self.$dispatch('save-success', self.filename)
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
export default {
|
|
128
|
+
title: '材料报建表',
|
|
129
|
+
props: ['data'],
|
|
130
|
+
data () {
|
|
131
|
+
return {
|
|
132
|
+
printTime: this.$login.toStandardTimeString(),
|
|
133
|
+
depresid: [],
|
|
134
|
+
userresid: [],
|
|
135
|
+
f_orgid: this.$login.f.orgid,
|
|
136
|
+
f_depid: this.$login.f.depids,
|
|
137
|
+
f_operatorid: this.$login.f.id,
|
|
138
|
+
operatorid: [],
|
|
139
|
+
depid: [],
|
|
140
|
+
orgname: '',
|
|
141
|
+
depname: '',
|
|
142
|
+
operatorname: '',
|
|
143
|
+
f_inputtor:[],
|
|
144
|
+
f_user_type:'',
|
|
145
|
+
orgCondtionStr: '1=1',
|
|
146
|
+
model: new DataModel('rs/report/applysgasfillmoney', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
147
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
148
|
+
reportStr: null,
|
|
149
|
+
show: false
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
ready () {
|
|
153
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
154
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
155
|
+
this.$refs.paged.$refs.criteria.search()
|
|
156
|
+
console.log(this.$login.f)
|
|
157
|
+
},
|
|
158
|
+
methods: {
|
|
159
|
+
searchData () {
|
|
160
|
+
this.$refs.paged.$refs.criteria.search()
|
|
161
|
+
},
|
|
162
|
+
selfSearch (args) {
|
|
163
|
+
let orgcondition = 'f_orgid in (' + this.f_orgid + ')'
|
|
164
|
+
|
|
165
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
166
|
+
this.$refs.paged.search(args)
|
|
167
|
+
},
|
|
168
|
+
getRes (obj) {
|
|
169
|
+
this.orgname = obj.res[0]
|
|
170
|
+
this.depresid = obj.resids
|
|
171
|
+
this.f_orgid = obj.resids
|
|
172
|
+
},
|
|
173
|
+
getdep (obj, val) {
|
|
174
|
+
// this.depname = val[0]
|
|
175
|
+
this.userresid = obj
|
|
176
|
+
this.f_depid = obj
|
|
177
|
+
},
|
|
178
|
+
getuser ( obj, val) {
|
|
179
|
+
this.operatorname = val[0]
|
|
180
|
+
this.f_operatorid = obj
|
|
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
|
+
},
|
|
205
|
+
watch: {
|
|
206
|
+
'data' (val) {
|
|
207
|
+
if (val.f_files_path) {
|
|
208
|
+
this.getFileContent(val.f_files_path)
|
|
209
|
+
} else {
|
|
210
|
+
this.reportStr = null
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
computed: {
|
|
215
|
+
usertypes() {
|
|
216
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
217
|
+
},
|
|
218
|
+
inputtor() {
|
|
219
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
|
|
220
|
+
},
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
</script>
|
|
224
|
+
<style scoped>
|
|
225
|
+
.noborder{
|
|
226
|
+
border: none;
|
|
227
|
+
}
|
|
228
|
+
</style>
|