sale-client 3.4.128 → 3.4.129-jb
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/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/build/dev-server.js +157 -160
- package/package.json +116 -116
- package/src/App.vue +48 -3
- package/src/components/FilesManage/FileUserFiles.vue +1 -4
- package/src/components/FilesManage/MeterinfoTest.vue +0 -4
- package/src/components/FilesManage/UserDeviceInfoTest.vue +3 -3
- package/src/components/FilesManage/UserGeneralInfoTest.vue +642 -642
- package/src/components/FilesManageNew/FileUserFiles.vue +1 -1
- package/src/components/SellGasCharge/ChargeCancel/CardMeterChargeCancel.vue +1 -1
- package/src/components/charge/ChargeList.vue +7 -7
- package/src/components/charge/ChargeManage.vue +1 -1
- package/src/components/charge/business/CardChangeFill.vue +612 -612
- package/src/components/charge/business/CardMeterCenter.vue +3 -2
- package/src/components/charge/business/ChangeMeterAddGas.vue +1 -1
- package/src/components/charge/business/IOTMeterCenter.vue +801 -800
- package/src/components/charge/business/NoCardMeterCenter.vue +5 -9
- package/src/components/charge/business/PriceChangeCompensation/CompensationManage.vue +24 -26
- package/src/components/charge/business/PriceChangeCompensation/JbCompensation.vue +1 -1
- package/src/components/charge/business/ShowCardSellGas.vue +4 -5
- package/src/components/charge/business/machine/MachineMeterCenter.vue +721 -721
- package/src/components/charge/business/refund/IOTRefund.vue +236 -237
- package/src/components/charge/bzjcancel.vue +9 -7
- package/src/components/charge/gasloss/gasLossOperate.vue +357 -357
- package/src/components/chargeNew/thirdSurplus.vue +35 -90
- package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +2 -14
- package/src/components/common/userinfo_detail/iot_detail/QueryInstruct.vue +4 -2
- package/src/components/revenue/Common/EticketPrintAsync.vue +64 -76
- package/src/components/revenue/Common/PrintBill.vue +1 -8
- package/src/components/revenue/HandManager/HandManagerCard.vue +17 -16
- package/src/components/revenue/HandManager/MeterBookManage.vue +153 -153
- package/src/components/revenue/base/leftview/Mulitinfo.vue +74 -74
- package/src/components/revenue/base/leftview/SafeCheck.vue +311 -311
- package/src/components/revenue/base/leftview/Userinfo.vue +60 -4
- package/src/components/revenue/base/leftview/meterinfodetail.vue +2 -23
- package/src/components/revenue/base/rightview/CardList.vue +1 -4
- package/src/components/revenue/changeInsurance/InsuranceManage.vue +0 -3
- package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellation.vue +243 -243
- package/src/components/revenue/comprehen/ComprehenOperation/FeeDeduction/feeDeduction.vue +4 -15
- package/src/components/revenue/comprehen/ComprehenOperation/MeterDisable/DisableManage.vue +93 -93
- package/src/components/revenue/comprehen/ComprehenOperation/MeterEnable/EnableManage.vue +184 -184
- package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +1 -1
- package/src/components/revenue/comprehen/ComprehenOperation/removeTable.vue +1 -7
- package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperate.vue +48 -35
- package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +4 -4
- package/src/components/revenue/comprehen/Maintenance/revenue/MeterOperatemain.vue +1 -6
- package/src/components/revenue/comprehen/Message/MessageList.vue +587 -587
- package/src/components/revenue/comprehen/StairPrice/GasPriceList.vue +5 -5
- package/src/components/revenue/machineHandManage/ArrearsQuery.vue +1 -1
- package/src/components/revenue/machineHandManage/machineDown.vue +63 -68
- package/src/components/revenue/machineHandManage/machineHand.vue +1773 -1773
- package/src/components/revenue/machineHandManage/machineHandAudit.vue +3 -16
- package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +686 -686
- package/src/filiale/gaomi/components/ShowCardSellGas.vue +0 -5
- package/src/filiale/gaomi/components/charge/ChargeOper.vue +2 -1
- package/src/filiale/jinbin/ShowCardSellGas.vue +0 -5
- package/src/filiale/jingwei/ShowCardSellGas.vue +0 -5
- package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +2 -4
- package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +596 -596
- package/src/filiale/macheng/MessageList.vue +8 -8
- package/src/filiale/macheng/sale.js +0 -2
- package/src/filiale/meihekou/MeterinfoTest.vue +626 -626
- package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
- package/src/filiale/qianneng/FilesManage/MeterinfoTest.vue +3 -7
- package/src/filiale/qianneng/GasPriceList.vue +5 -5
- package/src/filiale/qianneng/MachineCharge.vue +8 -8
- package/src/filiale/qianneng/OtherChargeNew.vue +11 -10
- package/src/filiale/qianneng/machine/MachineMeterCenter.vue +721 -721
- package/src/filiale/qianneng/sale.js +2 -5
- package/src/filiale/rongcheng/ShowCardSellGas.vue +0 -5
- package/src/filiale/rongchuang/CardMeterCenter.vue +1 -3
- package/src/filiale/rongchuang/IOTMeterCenter.vue +1 -3
- package/src/filiale/rongchuang/NoCardMeterCenter.vue +1 -3
- package/src/filiale/rongchuang/OtherChargeNew.vue +12 -14
- package/src/filiale/rongchuang/PrintBill.vue +3 -8
- package/src/filiale/rongchuang/ReissueBill.vue +4 -9
- package/src/filiale/rongchuang/ShowCardSellGas.vue +1 -8
- package/src/filiale/rongchuang/bill/CustQueryEticket.vue +0 -4
- package/src/filiale/rongchuang/bill/EticketOpenCard.vue +2 -6
- package/src/filiale/rongchuang/bill/EticketOpenJBPage.vue +0 -4
- package/src/filiale/rongchuang/bill/EticketOpenPage.vue +0 -4
- package/src/filiale/rongchuang/sale.js +41 -43
- package/src/filiale/shaoguan/ShowCardSellGas.vue +0 -5
- package/src/filiale/tongchuan/MeterinfoTest.vue +892 -892
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/AutomaticPurse.vue +298 -298
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/CardHandRecord.vue +267 -267
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeMeterQueryUser.vue +240 -240
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChangeRecord.vue +235 -235
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/ChargeQueryUser.vue +372 -372
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/DeveiceRecord.vue +251 -251
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/FillCardQueryUser.vue +209 -209
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/HandQueryUser.vue +365 -365
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +252 -252
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/OtherChargeQueryUser.vue +250 -250
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/RecordQueryUser.vue +249 -249
- package/src/filiale/tongchuan/common/userinfo_detail/ic_detail/TransferQueryUser.vue +222 -222
- package/src/filiale/tongchuan/feeDeduction.vue +4 -14
- package/src/filiale/tongchuan/sale.js +107 -107
- package/src/main.js +23 -23
- package/src/plugins/CardService.js +4 -5
- package/src/plugins/FileManageService.js +366 -366
- package/src/sale.js +2 -7
- package/.gradle/6.1.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1.1/gc.properties +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/src/components/charge/business/PriceChangeCompensation/SurplusRecordDetail.vue +0 -72
- package/src/components/revenue/changeInsurance/InsuranceChargesDetails.vue +0 -242
- package/src/filiale/macheng/UserDeviceInfoTest.vue +0 -412
- package/src/filiale/qianneng/CardList.vue +0 -482
- package/src/filiale/qianneng/gasLossRecords.vue +0 -299
- package/src/filiale/rongchuang/Userinfo.vue +0 -176
|
Binary file
|
package/build/dev-server.js
CHANGED
|
@@ -1,160 +1,157 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
7
|
-
var app = express()
|
|
8
|
-
var compiler = webpack(config)
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
10
|
-
|
|
11
|
-
// Define HTTP proxies to your custom API backend
|
|
12
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
var bendi = 'http://
|
|
14
|
-
// 公司测试服务
|
|
15
|
-
var fuwu = 'http://
|
|
16
|
-
//铜川正式
|
|
17
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
18
|
-
//铜川测试
|
|
19
|
-
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
-
// var fuwu = 'http://60.222.250.39:8300/'
|
|
21
|
-
//韶关
|
|
22
|
-
// var fuwu = 'http://119.146.1.106:8300/'
|
|
23
|
-
// 巩义测试服务
|
|
24
|
-
// var fuwu = 'http://192.168.0.227:8400'
|
|
25
|
-
// 燎原测试服务
|
|
26
|
-
// var fuwu = 'http://121.41.19.238:8400 '
|
|
27
|
-
// var fuwu = 'http://121.41.19.238:9001/'
|
|
28
|
-
|
|
29
|
-
// var fuwu = 'http://139.214.92.34:8301/'
|
|
30
|
-
|
|
31
|
-
var proxyTable = {
|
|
32
|
-
'/rs/logic/saleExport': {
|
|
33
|
-
target: fuwu
|
|
34
|
-
},
|
|
35
|
-
'/rs/logic/saleGetExportProgress': {
|
|
36
|
-
target: fuwu
|
|
37
|
-
},
|
|
38
|
-
'/files': {
|
|
39
|
-
target: fuwu
|
|
40
|
-
},
|
|
41
|
-
// 查找资源服务数据
|
|
42
|
-
'/rs/search': {
|
|
43
|
-
target: fuwu
|
|
44
|
-
},
|
|
45
|
-
// 查找资源服务数据
|
|
46
|
-
'/rs/logic/getLogin': {
|
|
47
|
-
target: fuwu
|
|
48
|
-
},
|
|
49
|
-
// 查找资源服务数据
|
|
50
|
-
'/rs/logic/getInitData': {
|
|
51
|
-
target: fuwu
|
|
52
|
-
},
|
|
53
|
-
'/rs/logic/getSaleInitData': {
|
|
54
|
-
target: fuwu
|
|
55
|
-
},
|
|
56
|
-
'/invoice':{
|
|
57
|
-
target: fuwu
|
|
58
|
-
},
|
|
59
|
-
// 用户登录服务地址
|
|
60
|
-
'/rs/user': {
|
|
61
|
-
target: fuwu
|
|
62
|
-
},
|
|
63
|
-
'/rs/path/getParams': {
|
|
64
|
-
target: fuwu
|
|
65
|
-
},
|
|
66
|
-
'/rs/data': {
|
|
67
|
-
target: fuwu
|
|
68
|
-
},
|
|
69
|
-
'/rs/license': {
|
|
70
|
-
target: fuwu
|
|
71
|
-
},
|
|
72
|
-
'/rs/db': {
|
|
73
|
-
target: fuwu
|
|
74
|
-
},
|
|
75
|
-
'/excel': {
|
|
76
|
-
target: fuwu
|
|
77
|
-
},
|
|
78
|
-
'/rs/config': {
|
|
79
|
-
target: fuwu
|
|
80
|
-
},
|
|
81
|
-
'/rs/sql/getLicenseById': {
|
|
82
|
-
target: fuwu
|
|
83
|
-
},
|
|
84
|
-
'/rs/sql/manage_getarealist': {
|
|
85
|
-
target: fuwu
|
|
86
|
-
},
|
|
87
|
-
'/rs/sql/manage_getstreetlist': {
|
|
88
|
-
target: fuwu
|
|
89
|
-
},
|
|
90
|
-
'/rs/report': {
|
|
91
|
-
target: 'http://127.0.0.1:8079'
|
|
92
|
-
},
|
|
93
|
-
'/rs/vue': {
|
|
94
|
-
target: fuwu
|
|
95
|
-
},
|
|
96
|
-
'/rs
|
|
97
|
-
target:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
//
|
|
133
|
-
|
|
134
|
-
//
|
|
135
|
-
// res.header('
|
|
136
|
-
// res.header('Access-Control-Allow-
|
|
137
|
-
// res.header('
|
|
138
|
-
//
|
|
139
|
-
//
|
|
140
|
-
|
|
141
|
-
//
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
//
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
//
|
|
149
|
-
app.use(
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
console.log('Listening at http://localhost:8089')
|
|
160
|
-
})
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
|
|
7
|
+
var app = express()
|
|
8
|
+
var compiler = webpack(config)
|
|
9
|
+
// var proxy = httpProxy.createProxyServer()
|
|
10
|
+
|
|
11
|
+
// Define HTTP proxies to your custom API backend
|
|
12
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
+
var bendi = 'http://127.0.0.1:8080/',bendi1 = 'http://119.146.1.106:8300/'
|
|
14
|
+
// 公司测试服务
|
|
15
|
+
var fuwu = 'http://114.117.163.208:8600/#'
|
|
16
|
+
//铜川正式
|
|
17
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
18
|
+
//铜川测试
|
|
19
|
+
// var fuwu = 'http://61.134.55.234:9999/'
|
|
20
|
+
// var fuwu = 'http://60.222.250.39:8300/'
|
|
21
|
+
//韶关
|
|
22
|
+
// var fuwu = 'http://119.146.1.106:8300/'
|
|
23
|
+
// 巩义测试服务
|
|
24
|
+
// var fuwu = 'http://192.168.0.227:8400'
|
|
25
|
+
// 燎原测试服务
|
|
26
|
+
// var fuwu = 'http://121.41.19.238:8400 '
|
|
27
|
+
// var fuwu = 'http://121.41.19.238:9001/'
|
|
28
|
+
|
|
29
|
+
// var fuwu = 'http://139.214.92.34:8301/'
|
|
30
|
+
|
|
31
|
+
var proxyTable = {
|
|
32
|
+
'/rs/logic/saleExport': {
|
|
33
|
+
target: fuwu
|
|
34
|
+
},
|
|
35
|
+
'/rs/logic/saleGetExportProgress': {
|
|
36
|
+
target: fuwu
|
|
37
|
+
},
|
|
38
|
+
'/files': {
|
|
39
|
+
target: fuwu
|
|
40
|
+
},
|
|
41
|
+
// 查找资源服务数据
|
|
42
|
+
'/rs/search': {
|
|
43
|
+
target: fuwu
|
|
44
|
+
},
|
|
45
|
+
// 查找资源服务数据
|
|
46
|
+
'/rs/logic/getLogin': {
|
|
47
|
+
target: fuwu
|
|
48
|
+
},
|
|
49
|
+
// 查找资源服务数据
|
|
50
|
+
'/rs/logic/getInitData': {
|
|
51
|
+
target: fuwu
|
|
52
|
+
},
|
|
53
|
+
'/rs/logic/getSaleInitData': {
|
|
54
|
+
target: fuwu
|
|
55
|
+
},
|
|
56
|
+
'/invoice':{
|
|
57
|
+
target: fuwu
|
|
58
|
+
},
|
|
59
|
+
// 用户登录服务地址
|
|
60
|
+
'/rs/user': {
|
|
61
|
+
target: fuwu
|
|
62
|
+
},
|
|
63
|
+
'/rs/path/getParams': {
|
|
64
|
+
target: fuwu
|
|
65
|
+
},
|
|
66
|
+
'/rs/data': {
|
|
67
|
+
target: fuwu
|
|
68
|
+
},
|
|
69
|
+
'/rs/license': {
|
|
70
|
+
target: fuwu
|
|
71
|
+
},
|
|
72
|
+
'/rs/db': {
|
|
73
|
+
target: fuwu
|
|
74
|
+
},
|
|
75
|
+
'/excel': {
|
|
76
|
+
target: fuwu
|
|
77
|
+
},
|
|
78
|
+
'/rs/config': {
|
|
79
|
+
target: fuwu
|
|
80
|
+
},
|
|
81
|
+
'/rs/sql/getLicenseById': {
|
|
82
|
+
target: fuwu
|
|
83
|
+
},
|
|
84
|
+
'/rs/sql/manage_getarealist': {
|
|
85
|
+
target: fuwu
|
|
86
|
+
},
|
|
87
|
+
'/rs/sql/manage_getstreetlist': {
|
|
88
|
+
target: fuwu
|
|
89
|
+
},
|
|
90
|
+
'/rs/report': {
|
|
91
|
+
target: 'http://127.0.0.1:8079'
|
|
92
|
+
},
|
|
93
|
+
'/rs/vue': {
|
|
94
|
+
target: fuwu
|
|
95
|
+
},
|
|
96
|
+
'/rs': {
|
|
97
|
+
// target: 'http://192.168.30.63:8081/'
|
|
98
|
+
target: fuwu
|
|
99
|
+
// target:fuwu
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
104
|
+
publicPath: config.output.publicPath,
|
|
105
|
+
stats: {
|
|
106
|
+
colors: true,
|
|
107
|
+
chunks: false
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
112
|
+
// force page reload when html-webpack-plugin template changes
|
|
113
|
+
compiler.plugin('compilation', function (compilation) {
|
|
114
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
115
|
+
hotMiddleware.publish({action: 'reload'})
|
|
116
|
+
cb()
|
|
117
|
+
})
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
// proxy api requests
|
|
121
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
122
|
+
var options = proxyTable[context]
|
|
123
|
+
if (typeof options === 'string') {
|
|
124
|
+
options = {target: options}
|
|
125
|
+
}
|
|
126
|
+
app.use(proxyMiddleware(context, options))
|
|
127
|
+
})
|
|
128
|
+
|
|
129
|
+
// handle fallback for HTML5 history API
|
|
130
|
+
app.use(require('connect-history-api-fallback')())
|
|
131
|
+
// app.use(function (req, res, next) {
|
|
132
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
133
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
134
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
135
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
136
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
137
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
138
|
+
// next()
|
|
139
|
+
// })
|
|
140
|
+
|
|
141
|
+
// serve webpack bundle output
|
|
142
|
+
app.use(devMiddleware)
|
|
143
|
+
|
|
144
|
+
// enable hot-reload and state-preserving
|
|
145
|
+
// compilation error display
|
|
146
|
+
app.use(hotMiddleware)
|
|
147
|
+
|
|
148
|
+
// serve pure static assets
|
|
149
|
+
app.use('/static', express.static('./static'))
|
|
150
|
+
|
|
151
|
+
module.exports = app.listen(8089, function (err) {
|
|
152
|
+
if (err) {
|
|
153
|
+
console.log(err)
|
|
154
|
+
return
|
|
155
|
+
}
|
|
156
|
+
console.log('Listening at http://localhost:8089')
|
|
157
|
+
})
|
package/package.json
CHANGED
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "sale-client",
|
|
3
|
-
"version": "3.4.
|
|
4
|
-
"description": "收费模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"example": "node build/example-server.js",
|
|
8
|
-
"dev": "node build/dev-server.js",
|
|
9
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
|
-
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/mergeUser && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
|
-
"e2e": "node test/e2e/runner.js",
|
|
13
|
-
"release": "bash build/release.sh",
|
|
14
|
-
"page": "rimraf dist && mkdirp dist && ncp static dist/singlepage && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.singlepage.conf.js"
|
|
15
|
-
},
|
|
16
|
-
"repository": {
|
|
17
|
-
"type": "git",
|
|
18
|
-
"url": "https://gitee.com/aote/product.git"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"examples": "^0.1.0",
|
|
22
|
-
"js-file-download": "0.4.12",
|
|
23
|
-
"less-loader": "^2.2.3",
|
|
24
|
-
"qrcodejs2": "0.0.2",
|
|
25
|
-
"vue": "^1.0.17",
|
|
26
|
-
"yarn": "^1.22.10"
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"address-client": "3.0.24-70",
|
|
30
|
-
"axios": "0.15.3",
|
|
31
|
-
"babel-core": "^6.0.0",
|
|
32
|
-
"babel-loader": "^6.0.0",
|
|
33
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
34
|
-
"babel-preset-es2015": "^6.0.0",
|
|
35
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
36
|
-
"chai": "^3.5.0",
|
|
37
|
-
"co": "^4.6.0",
|
|
38
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
39
|
-
"compression-webpack-plugin": "1.1.2",
|
|
40
|
-
"cross-env": "^1.0.7",
|
|
41
|
-
"cross-spawn": "^2.1.5",
|
|
42
|
-
"css-loader": "^0.23.0",
|
|
43
|
-
"echarts": "^4.1.0",
|
|
44
|
-
"eslint": "^3.19.0",
|
|
45
|
-
"eslint-config-standard": "^10.2.1",
|
|
46
|
-
"eslint-friendly-formatter": "^3.0.0",
|
|
47
|
-
"eslint-loader": "^1.7.1",
|
|
48
|
-
"eslint-plugin-html": "^3.0.0",
|
|
49
|
-
"eslint-plugin-import": "^2.7.0",
|
|
50
|
-
"eslint-plugin-node": "^5.2.0",
|
|
51
|
-
"eslint-plugin-promise": "^3.4.0",
|
|
52
|
-
"eslint-plugin-standard": "^3.0.1",
|
|
53
|
-
"eventsource-polyfill": "^0.9.6",
|
|
54
|
-
"express": "^4.13.3",
|
|
55
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
56
|
-
"file-loader": "^0.8.4",
|
|
57
|
-
"function-bind": "^1.0.2",
|
|
58
|
-
"html-webpack-plugin": "^2.8.1",
|
|
59
|
-
"http-proxy-middleware": "^0.11.0",
|
|
60
|
-
"inject-loader": "^2.0.1",
|
|
61
|
-
"isparta-loader": "^2.0.0",
|
|
62
|
-
"jasmine-core": "^2.4.1",
|
|
63
|
-
"jquery": "^3.3.1",
|
|
64
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
65
|
-
"json-loader": "^0.5.4",
|
|
66
|
-
"karma": "^1.4.1",
|
|
67
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
68
|
-
"karma-coverage": "^1.1.1",
|
|
69
|
-
"karma-mocha": "^1.3.0",
|
|
70
|
-
"karma-sinon-chai": "^1.3.1",
|
|
71
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
72
|
-
"karma-spec-reporter": "0.0.31",
|
|
73
|
-
"karma-webpack": "^2.0.2",
|
|
74
|
-
"ldap-clients": "3.0.
|
|
75
|
-
"less": "^2.7.3",
|
|
76
|
-
"manage-client": "3.1.8-88",
|
|
77
|
-
"mkdirp": "^0.5.1",
|
|
78
|
-
"mocha": "^3.2.0",
|
|
79
|
-
"moment": "2.24.0",
|
|
80
|
-
"ncp": "^2.0.0",
|
|
81
|
-
"nightwatch": "^0.8.18",
|
|
82
|
-
"qrcodejs2": "0.0.2",
|
|
83
|
-
"rimraf": "^2.5.0",
|
|
84
|
-
"selenium-server": "2.52.0",
|
|
85
|
-
"sinon": "^2.1.0",
|
|
86
|
-
"sinon-chai": "^2.8.0",
|
|
87
|
-
"style": "0.0.3",
|
|
88
|
-
"style-loader": "^0.20.3",
|
|
89
|
-
"system-clients": "3.2.
|
|
90
|
-
"url-loader": "^0.5.7",
|
|
91
|
-
"vue-client": "1.24.
|
|
92
|
-
"vue-clipboard2": "0.3.1",
|
|
93
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
94
|
-
"vue-html-loader": "^1.0.0",
|
|
95
|
-
"vue-loader": "^8.2.1",
|
|
96
|
-
"vue-resource": "^1.5.0",
|
|
97
|
-
"vue-router": "^0.7.13",
|
|
98
|
-
"vue-strap": "^1.0.9",
|
|
99
|
-
"vue-style-loader": "^1.0.0",
|
|
100
|
-
"vue-validator": "2.1.7",
|
|
101
|
-
"webpack": "^1.12.2",
|
|
102
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
103
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
104
|
-
"webpack-merge": "^0.8.3",
|
|
105
|
-
"weixin-js-sdk": "^1.2.0"
|
|
106
|
-
},
|
|
107
|
-
"keywords": [
|
|
108
|
-
"selling-clients"
|
|
109
|
-
],
|
|
110
|
-
"author": "张桥",
|
|
111
|
-
"license": "ISC",
|
|
112
|
-
"directories": {
|
|
113
|
-
"example": "examples",
|
|
114
|
-
"test": "test"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "sale-client",
|
|
3
|
+
"version": "3.4.129-jb",
|
|
4
|
+
"description": "收费模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"example": "node build/example-server.js",
|
|
8
|
+
"dev": "node build/dev-server.js",
|
|
9
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
10
|
+
"unit": "karma start test/unit/karma.conf.js",
|
|
11
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/mergeUser && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
12
|
+
"e2e": "node test/e2e/runner.js",
|
|
13
|
+
"release": "bash build/release.sh",
|
|
14
|
+
"page": "rimraf dist && mkdirp dist && ncp static dist/singlepage && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.singlepage.conf.js"
|
|
15
|
+
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://gitee.com/aote/product.git"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"examples": "^0.1.0",
|
|
22
|
+
"js-file-download": "0.4.12",
|
|
23
|
+
"less-loader": "^2.2.3",
|
|
24
|
+
"qrcodejs2": "0.0.2",
|
|
25
|
+
"vue": "^1.0.17",
|
|
26
|
+
"yarn": "^1.22.10"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"address-client": "3.0.24-70",
|
|
30
|
+
"axios": "0.15.3",
|
|
31
|
+
"babel-core": "^6.0.0",
|
|
32
|
+
"babel-loader": "^6.0.0",
|
|
33
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
34
|
+
"babel-preset-es2015": "^6.0.0",
|
|
35
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
36
|
+
"chai": "^3.5.0",
|
|
37
|
+
"co": "^4.6.0",
|
|
38
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
39
|
+
"compression-webpack-plugin": "1.1.2",
|
|
40
|
+
"cross-env": "^1.0.7",
|
|
41
|
+
"cross-spawn": "^2.1.5",
|
|
42
|
+
"css-loader": "^0.23.0",
|
|
43
|
+
"echarts": "^4.1.0",
|
|
44
|
+
"eslint": "^3.19.0",
|
|
45
|
+
"eslint-config-standard": "^10.2.1",
|
|
46
|
+
"eslint-friendly-formatter": "^3.0.0",
|
|
47
|
+
"eslint-loader": "^1.7.1",
|
|
48
|
+
"eslint-plugin-html": "^3.0.0",
|
|
49
|
+
"eslint-plugin-import": "^2.7.0",
|
|
50
|
+
"eslint-plugin-node": "^5.2.0",
|
|
51
|
+
"eslint-plugin-promise": "^3.4.0",
|
|
52
|
+
"eslint-plugin-standard": "^3.0.1",
|
|
53
|
+
"eventsource-polyfill": "^0.9.6",
|
|
54
|
+
"express": "^4.13.3",
|
|
55
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
56
|
+
"file-loader": "^0.8.4",
|
|
57
|
+
"function-bind": "^1.0.2",
|
|
58
|
+
"html-webpack-plugin": "^2.8.1",
|
|
59
|
+
"http-proxy-middleware": "^0.11.0",
|
|
60
|
+
"inject-loader": "^2.0.1",
|
|
61
|
+
"isparta-loader": "^2.0.0",
|
|
62
|
+
"jasmine-core": "^2.4.1",
|
|
63
|
+
"jquery": "^3.3.1",
|
|
64
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
65
|
+
"json-loader": "^0.5.4",
|
|
66
|
+
"karma": "^1.4.1",
|
|
67
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
68
|
+
"karma-coverage": "^1.1.1",
|
|
69
|
+
"karma-mocha": "^1.3.0",
|
|
70
|
+
"karma-sinon-chai": "^1.3.1",
|
|
71
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
72
|
+
"karma-spec-reporter": "0.0.31",
|
|
73
|
+
"karma-webpack": "^2.0.2",
|
|
74
|
+
"ldap-clients": "3.0.60",
|
|
75
|
+
"less": "^2.7.3",
|
|
76
|
+
"manage-client": "3.1.8-88",
|
|
77
|
+
"mkdirp": "^0.5.1",
|
|
78
|
+
"mocha": "^3.2.0",
|
|
79
|
+
"moment": "2.24.0",
|
|
80
|
+
"ncp": "^2.0.0",
|
|
81
|
+
"nightwatch": "^0.8.18",
|
|
82
|
+
"qrcodejs2": "0.0.2",
|
|
83
|
+
"rimraf": "^2.5.0",
|
|
84
|
+
"selenium-server": "2.52.0",
|
|
85
|
+
"sinon": "^2.1.0",
|
|
86
|
+
"sinon-chai": "^2.8.0",
|
|
87
|
+
"style": "0.0.3",
|
|
88
|
+
"style-loader": "^0.20.3",
|
|
89
|
+
"system-clients": "3.2.68",
|
|
90
|
+
"url-loader": "^0.5.7",
|
|
91
|
+
"vue-client": "1.24.93",
|
|
92
|
+
"vue-clipboard2": "0.3.1",
|
|
93
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
94
|
+
"vue-html-loader": "^1.0.0",
|
|
95
|
+
"vue-loader": "^8.2.1",
|
|
96
|
+
"vue-resource": "^1.5.0",
|
|
97
|
+
"vue-router": "^0.7.13",
|
|
98
|
+
"vue-strap": "^1.0.9",
|
|
99
|
+
"vue-style-loader": "^1.0.0",
|
|
100
|
+
"vue-validator": "2.1.7",
|
|
101
|
+
"webpack": "^1.12.2",
|
|
102
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
103
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
104
|
+
"webpack-merge": "^0.8.3",
|
|
105
|
+
"weixin-js-sdk": "^1.2.0"
|
|
106
|
+
},
|
|
107
|
+
"keywords": [
|
|
108
|
+
"selling-clients"
|
|
109
|
+
],
|
|
110
|
+
"author": "张桥",
|
|
111
|
+
"license": "ISC",
|
|
112
|
+
"directories": {
|
|
113
|
+
"example": "examples",
|
|
114
|
+
"test": "test"
|
|
115
|
+
}
|
|
116
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,16 +1,61 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<app-base class="bg">
|
|
2
|
+
<app-base class="bg" @click="isTimeOut">
|
|
3
3
|
<div class='flex'>
|
|
4
4
|
<article>
|
|
5
5
|
<route :comp="{name: 'login'}"></route>
|
|
6
|
-
<!--<route :comp="{name: 'change-meter-add-gas'}"></route>-->
|
|
7
6
|
</article>
|
|
8
7
|
</div>
|
|
9
8
|
</app-base>
|
|
10
9
|
</template>
|
|
11
10
|
|
|
12
11
|
<script>
|
|
13
|
-
|
|
12
|
+
import Vue from 'vue'
|
|
14
13
|
|
|
14
|
+
export default {
|
|
15
|
+
data () {
|
|
16
|
+
return {
|
|
17
|
+
lastTime: null, // 最后一次点击的时间
|
|
18
|
+
currentTime: null, // 当前点击的时间
|
|
19
|
+
// 获取一次不在获取控制
|
|
20
|
+
getConfig: false,
|
|
21
|
+
config: {
|
|
22
|
+
timeOut: 0, // 单位: 分钟
|
|
23
|
+
exitPrompt: '因您长时间未操作, 请重新登陆!'
|
|
24
|
+
},
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
ready () {
|
|
28
|
+
Vue.mmType = 'nginx'
|
|
29
|
+
Vue.HWQMM = [51, 150, 231, 300, 565, 708, 721, 952, 738, 560, 935, 912, 1274, 1148, 840, 1440]
|
|
30
|
+
},
|
|
31
|
+
created () {
|
|
32
|
+
this.lastTime = new Date().getTime()
|
|
33
|
+
},
|
|
34
|
+
methods: {
|
|
35
|
+
async isTimeOut () {
|
|
36
|
+
// 获取config配置
|
|
37
|
+
if (!this.getConfig && this.$login.f && this.$login.f.dir) {
|
|
38
|
+
await this.$getConfig(this, 'App')
|
|
39
|
+
this.getConfig = true
|
|
40
|
+
}
|
|
41
|
+
// 无配置,不开启
|
|
42
|
+
if (this.config.timeOut <= 0) return
|
|
43
|
+
// 记录这次点击的时间
|
|
44
|
+
this.currentTime = new Date().getTime()
|
|
45
|
+
// 判断上次最后一次点击的时间和这次点击的时间间隔是否大于超时时间
|
|
46
|
+
if (this.currentTime - this.lastTime > (this.config.timeOut * 60 * 1000)) {
|
|
47
|
+
// 如果是登录状态
|
|
48
|
+
if (this.$login.f.id) {
|
|
49
|
+
await this.$showMessage(this.config.exitPrompt)
|
|
50
|
+
window.location.reload()
|
|
51
|
+
} else {
|
|
52
|
+
this.lastTime = new Date().getTime()
|
|
53
|
+
}
|
|
54
|
+
} else {
|
|
55
|
+
// 如果在超时时间内点击,则把这次点击的时间记录覆盖掉之前存的最后一次点击的时间
|
|
56
|
+
this.lastTime = new Date().getTime()
|
|
57
|
+
}
|
|
58
|
+
}
|
|
15
59
|
}
|
|
60
|
+
}
|
|
16
61
|
</script>
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
</div>
|
|
287
287
|
</div>
|
|
288
288
|
</criteria>
|
|
289
|
-
<data-grid :model="model" class="list_area table_sy"
|
|
289
|
+
<data-grid :model="model" class="list_area table_sy" v-ref:grid partial='list'>
|
|
290
290
|
<template partial='head'>
|
|
291
291
|
<tr>
|
|
292
292
|
<th>
|
|
@@ -658,9 +658,6 @@ let loadParamGem = async function (self) {
|
|
|
658
658
|
search () {
|
|
659
659
|
this.$refs.paged.$refs.criteria.search()
|
|
660
660
|
},
|
|
661
|
-
// selectdata () {
|
|
662
|
-
//
|
|
663
|
-
// },
|
|
664
661
|
modifyUser (row) {
|
|
665
662
|
this.isOper = true
|
|
666
663
|
this.createFile = true
|
|
@@ -23,10 +23,6 @@
|
|
|
23
23
|
<input type="text" class="input_search" style="width:60%" v-model="row.f_metertitles" placeholder='表封号'
|
|
24
24
|
v-next-el="{id: 'meterbase'}">
|
|
25
25
|
</div>
|
|
26
|
-
<div class="col-sm-4 form-group">
|
|
27
|
-
<label for="f_metertitles" class="font_normal_body">表具状态</label>
|
|
28
|
-
<input type="text" class="input_search" style="width:60%" v-model="row.f_table_state" placeholder='表具状态' disabled>
|
|
29
|
-
</div>
|
|
30
26
|
<div class="col-sm-4 form-group">
|
|
31
27
|
<label for="f_meter_base" class="font_normal_body"> 表 读 数</label>
|
|
32
28
|
<input type="number" class="input_search" style="width:60%" v-model="row.f_meter_base" placeholder='表底数'
|