manage-client 3.3.134 → 3.3.135

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.
@@ -1,189 +1,189 @@
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:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan = 'http://119.146.1.106:8300/'
15
- var qtx= 'http://36.103.222.144:6300/'
16
- // var bendi = 'http://220.194.141.253:8600/'
17
- // var bendi = 'http://203.57.101.233:9001'
18
- // var bendi = 'http://172.168.1.11:9001/'
19
- // var bendi = 'http://203.57.101.233:8400/'
20
- // var bendi = 'http://121.36.106.17:8400/'
21
- // var fuwu = 'http://203.57.101.233:9001'
22
- var bendi = 'http://120.46.92.69:8700/#'
23
- // var bendi = 'http://119.187.112.234:8400/'
24
- var wode = 'http://127.0.0.1:8488/'
25
- // 192.168.
26
- // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
- // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
28
- var proxyTable = {
29
- '/rs/logic/exportfile': {
30
- target: bendi
31
- },
32
- '/rs/sql/chargeQuery_by_gasproperties': {
33
- target: 'http://localhost:8084/'
34
- },
35
- '/rs/logic/chargeQuery_by_gasproperties_line': {
36
- target: 'http://localhost:8084/'
37
- },
38
- '/files': {
39
- target: bendi
40
- },
41
- // 查找资源服务数据
42
- '/rs/search': {
43
- target: bendi
44
- },
45
- // 查找资源服务数据
46
- '/rs/logic/getLogin': {
47
- target: bendi
48
- },
49
- // 查找资源服务数据
50
- '/rs/logic/getInitData': {
51
- target: bendi
52
- },
53
- '/rs/logic/getSaleInitData': {
54
- target: bendi
55
- },
56
- // 用户登录服务地址
57
- '/rs/user': {
58
- target: bendi
59
- },
60
- '/rs/path/getParams': {
61
- target: bendi
62
- },
63
- '/rs/data': {
64
- target: bendi
65
- },
66
- '/rs/license': {
67
- target: bendi
68
- },
69
- '/rs/db': {
70
- target: bendi
71
- },
72
- '/excel': {
73
- target: bendi
74
- },
75
- '/rs/config': {
76
- target: bendi
77
- },
78
- '/rs/sql/getLicenseById': {
79
- target: bendi
80
- },
81
- '/rs/report': {
82
- target: bendi
83
- },
84
- '/rs/vue': {
85
- target: bendi
86
- },
87
- '/rs/file': {
88
- target: bendi
89
- },
90
- '/rs/sql/singleTable': {
91
- target: bendi
92
- },
93
- '/rs/sql': {
94
- target: bendi
95
- },
96
- '/rs': {
97
- target: bendi
98
- }
99
- }
100
-
101
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
102
- publicPath: config.output.publicPath,
103
- stats: {
104
- colors: true,
105
- chunks: false
106
- }
107
- })
108
-
109
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
110
- // force page reload when html-webpack-plugin template changes
111
- compiler.plugin('compilation', function (compilation) {
112
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
113
- hotMiddleware.publish({action: 'reload'})
114
- cb()
115
- })
116
- })
117
-
118
- // proxy api requests
119
- Object.keys(proxyTable).forEach(function (context) {
120
- var options = proxyTable[context]
121
- if (typeof options === 'string') {
122
- options = {target: options}
123
- }
124
- app.use(proxyMiddleware(context, options))
125
- })
126
-
127
- // handle fallback for HTML5 history API
128
- app.use(require('connect-history-api-fallback')())
129
- // app.use(function (req, res, next) {
130
- // res.header('Access-Control-Allow-Origin', '*')
131
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
132
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
133
- // res.header('X-Powered-By', '3,2,1')
134
- // res.header('Access-Control-Allow-Credentials', 'true')
135
- // res.header('Content-Type', 'application/json;charset=utf-8')
136
- // next()
137
- // })
138
-
139
- // serve webpack bundle output
140
- app.use(devMiddleware)
141
-
142
- // enable hot-reload and state-preserving
143
- // compilation error display
144
- app.use(hotMiddleware)
145
-
146
- // serve pure static assets
147
- app.use('/static', express.static('./static'))
148
-
149
- // app.all('/rs/*', function (req, res) {
150
- // proxy.web(req, res, {
151
- // target: 'http://127.0.0.1:8081/reports'
152
- // })
153
- // })
154
-
155
- // app.all('/rs/*', function (req, res) {
156
- // proxy.web(req, res, {
157
- // target: 'http://127.0.0.1:8081/ldap'
158
- // })
159
- // })
160
- // app.all('/excel/*', function (req, res) {
161
- // proxy.web(req, res, {
162
- // target: 'http://127.0.0.1:8081/charge'
163
- // })
164
- // })
165
-
166
- // app.all('/rs/*', function (req, res) {
167
- // proxy.web(req, res, {
168
- // target: 'http://127.0.0.1:82/charge'
169
- // })
170
- // })
171
-
172
- // app.all('/*', function (req, res) {
173
- // proxy.web(req, res, {
174
- // target: 'http://127.0.0.1:82'
175
- // })
176
- // })
177
- // app.all('/rs/user', function (req, res) {
178
- // proxy.web(req, res, {
179
- // target: 'http://127.0.0.1:82'
180
- // })
181
- // })
182
-
183
- module.exports = app.listen(8015, function (err) {
184
- if (err) {
185
- console.log(err)
186
- return
187
- }
188
- console.log('Listening at http://localhost:8015')
189
- })
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:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
+ var shaoguan = 'http://119.146.1.106:8300/'
15
+ var qtx= 'http://36.103.222.144:6300/'
16
+ // var bendi = 'http://220.194.141.253:8600/'
17
+ // var bendi = 'http://203.57.101.233:9001'
18
+ // var bendi = 'http://172.168.1.11:9001/'
19
+ // var bendi = 'http://203.57.101.233:8400/'
20
+ // var bendi = 'http://121.36.106.17:8400/'
21
+ // var fuwu = 'http://203.57.101.233:9001'
22
+ var bendi = 'http://192.168.50.67:31785'
23
+ // var bendi = 'http://119.187.112.234:8400/'
24
+ var wode = 'http://192.168.50.67:31785'
25
+ // 192.168.
26
+ // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
+ // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
28
+ var proxyTable = {
29
+ '/rs/logic/exportfile': {
30
+ target: bendi
31
+ },
32
+ '/rs/sql/chargeQuery_by_gasproperties': {
33
+ target: 'http://localhost:8084/'
34
+ },
35
+ '/rs/logic/chargeQuery_by_gasproperties_line': {
36
+ target: 'http://localhost:8084/'
37
+ },
38
+ '/files': {
39
+ target: bendi
40
+ },
41
+ // 查找资源服务数据
42
+ '/rs/search': {
43
+ target: bendi
44
+ },
45
+ // 查找资源服务数据
46
+ '/rs/logic/getLogin': {
47
+ target: bendi
48
+ },
49
+ // 查找资源服务数据
50
+ '/rs/logic/getInitData': {
51
+ target: bendi
52
+ },
53
+ '/rs/logic/getSaleInitData': {
54
+ target: bendi
55
+ },
56
+ // 用户登录服务地址
57
+ '/rs/user': {
58
+ target: bendi
59
+ },
60
+ '/rs/path/getParams': {
61
+ target: bendi
62
+ },
63
+ '/rs/data': {
64
+ target: bendi
65
+ },
66
+ '/rs/license': {
67
+ target: bendi
68
+ },
69
+ '/rs/db': {
70
+ target: bendi
71
+ },
72
+ '/excel': {
73
+ target: bendi
74
+ },
75
+ '/rs/config': {
76
+ target: bendi
77
+ },
78
+ '/rs/sql/getLicenseById': {
79
+ target: bendi
80
+ },
81
+ '/rs/report': {
82
+ target: bendi
83
+ },
84
+ '/rs/vue': {
85
+ target: bendi
86
+ },
87
+ '/rs/file': {
88
+ target: bendi
89
+ },
90
+ '/rs/sql/singleTable': {
91
+ target: bendi
92
+ },
93
+ '/rs/sql': {
94
+ target: 'http://localhost:8084/'
95
+ },
96
+ '/rs': {
97
+ target: wode
98
+ }
99
+ }
100
+
101
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
102
+ publicPath: config.output.publicPath,
103
+ stats: {
104
+ colors: true,
105
+ chunks: false
106
+ }
107
+ })
108
+
109
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
110
+ // force page reload when html-webpack-plugin template changes
111
+ compiler.plugin('compilation', function (compilation) {
112
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
113
+ hotMiddleware.publish({action: 'reload'})
114
+ cb()
115
+ })
116
+ })
117
+
118
+ // proxy api requests
119
+ Object.keys(proxyTable).forEach(function (context) {
120
+ var options = proxyTable[context]
121
+ if (typeof options === 'string') {
122
+ options = {target: options}
123
+ }
124
+ app.use(proxyMiddleware(context, options))
125
+ })
126
+
127
+ // handle fallback for HTML5 history API
128
+ app.use(require('connect-history-api-fallback')())
129
+ // app.use(function (req, res, next) {
130
+ // res.header('Access-Control-Allow-Origin', '*')
131
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
132
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
133
+ // res.header('X-Powered-By', '3,2,1')
134
+ // res.header('Access-Control-Allow-Credentials', 'true')
135
+ // res.header('Content-Type', 'application/json;charset=utf-8')
136
+ // next()
137
+ // })
138
+
139
+ // serve webpack bundle output
140
+ app.use(devMiddleware)
141
+
142
+ // enable hot-reload and state-preserving
143
+ // compilation error display
144
+ app.use(hotMiddleware)
145
+
146
+ // serve pure static assets
147
+ app.use('/static', express.static('./static'))
148
+
149
+ // app.all('/rs/*', function (req, res) {
150
+ // proxy.web(req, res, {
151
+ // target: 'http://127.0.0.1:8081/reports'
152
+ // })
153
+ // })
154
+
155
+ // app.all('/rs/*', function (req, res) {
156
+ // proxy.web(req, res, {
157
+ // target: 'http://127.0.0.1:8081/ldap'
158
+ // })
159
+ // })
160
+ // app.all('/excel/*', function (req, res) {
161
+ // proxy.web(req, res, {
162
+ // target: 'http://127.0.0.1:8081/charge'
163
+ // })
164
+ // })
165
+
166
+ // app.all('/rs/*', function (req, res) {
167
+ // proxy.web(req, res, {
168
+ // target: 'http://127.0.0.1:82/charge'
169
+ // })
170
+ // })
171
+
172
+ // app.all('/*', function (req, res) {
173
+ // proxy.web(req, res, {
174
+ // target: 'http://127.0.0.1:82'
175
+ // })
176
+ // })
177
+ // app.all('/rs/user', function (req, res) {
178
+ // proxy.web(req, res, {
179
+ // target: 'http://127.0.0.1:82'
180
+ // })
181
+ // })
182
+
183
+ module.exports = app.listen(8015, function (err) {
184
+ if (err) {
185
+ console.log(err)
186
+ return
187
+ }
188
+ console.log('Listening at http://localhost:8015')
189
+ })
package/package.json CHANGED
@@ -1,111 +1,111 @@
1
- {
2
- "name": "manage-client",
3
- "version": "3.3.134",
4
- "description": "经营管控模块前台组件",
5
- "main": "src/index.js",
6
- "directories": {
7
- "test": "test"
8
- },
9
- "dependencies": {
10
- "crypto-js": "^4.1.1",
11
- "swiper": "^5.4.5"
12
- },
13
- "devDependencies": {
14
- "axios": "0.15.3",
15
- "babel-core": "^6.0.0",
16
- "babel-loader": "^6.0.0",
17
- "babel-plugin-transform-runtime": "^6.0.0",
18
- "babel-preset-es2015": "^6.0.0",
19
- "babel-preset-stage-2": "^6.0.0",
20
- "chai": "^3.5.0",
21
- "co": "^4.6.0",
22
- "connect-history-api-fallback": "^1.1.0",
23
- "cross-env": "^1.0.7",
24
- "cross-spawn": "^2.1.5",
25
- "css-loader": "^0.23.0",
26
- "echarts": "^4.1.0",
27
- "eslint": "^2.0.0",
28
- "eslint-config-standard": "^5.1.0",
29
- "eslint-friendly-formatter": "^1.2.2",
30
- "eslint-loader": "^1.3.0",
31
- "eslint-plugin-html": "^1.3.0",
32
- "eslint-plugin-promise": "^1.0.8",
33
- "eslint-plugin-standard": "^1.3.2",
34
- "eslint-plugin-vue": "^0.1.1",
35
- "eventsource-polyfill": "^0.9.6",
36
- "express": "^4.13.3",
37
- "extract-text-webpack-plugin": "^1.0.1",
38
- "filemanager-webpack-plugin": "^2.0.5",
39
- "file-loader": "^0.8.4",
40
- "function-bind": "^1.0.2",
41
- "html-webpack-plugin": "^2.8.1",
42
- "http-proxy-middleware": "^0.11.0",
43
- "inject-loader": "^2.0.1",
44
- "isparta-loader": "^2.0.0",
45
- "jasmine-core": "^2.4.1",
46
- "jquery": "^3.3.1",
47
- "jsencrypt": "3.0.0-rc.1",
48
- "json-loader": "^0.5.4",
49
- "karma": "^1.4.1",
50
- "karma-chrome-launcher": "^2.2.0",
51
- "karma-coverage": "^1.1.1",
52
- "karma-mocha": "^1.3.0",
53
- "karma-sinon-chai": "^1.3.1",
54
- "karma-sourcemap-loader": "^0.3.7",
55
- "karma-spec-reporter": "0.0.31",
56
- "karma-webpack": "^2.0.2",
57
- "ldap-clients": "3.0.7",
58
- "less": "^2.7.3",
59
- "mkdirp": "^0.5.1",
60
- "mocha": "^3.2.0",
61
- "moment": "2.24.0",
62
- "ncp": "^2.0.0",
63
- "rimraf": "^2.5.0",
64
- "sale-client": "3.4.14",
65
- "selenium-server": "2.52.0",
66
- "sinon": "^2.1.0",
67
- "sinon-chai": "^2.8.0",
68
- "style": "0.0.3",
69
- "style-loader": "^0.20.3",
70
- "swiper": "^5.4.5",
71
- "system-clients": "3.2.61",
72
- "url-loader": "^0.5.7",
73
- "vue-amap": "0.5.10",
74
- "vue-client": "1.24.123",
75
- "vue-hot-reload-api": "^1.2.0",
76
- "vue-html-loader": "^1.0.0",
77
- "vue-loader": "8.2.1",
78
- "vue-resource": "^1.5.0",
79
- "vue-router": "^0.7.13",
80
- "vue-strap": "^1.0.9",
81
- "vue-style-loader": "^1.0.0",
82
- "vue-validator": "2.1.7",
83
- "webpack": "1.12.2",
84
- "webpack-dev-middleware": "^1.4.0",
85
- "webpack-hot-middleware": "^2.6.0",
86
- "webpack-merge": "^0.8.3",
87
- "webpack-parallel-uglify-plugin": "^1.0.0"
88
- },
89
- "scripts": {
90
- "unit": "karma start test/unit/karma.conf.js --single-run",
91
- "example": "node build/example-server.js",
92
- "dev": "node build/dev-server.js",
93
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
94
- "oldbuild": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.oldprod.conf.js",
95
- "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",
96
- "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",
97
- "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",
98
- "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",
99
- "e2e": "node test/e2e/runner.js",
100
- "release": "bash build/release.sh"
101
- },
102
- "repository": {
103
- "type": "git",
104
- "url": "https://gitee.com/aote/management_modules.git"
105
- },
106
- "keywords": [
107
- "manage"
108
- ],
109
- "author": "liuxudong",
110
- "license": "ISC"
111
- }
1
+ {
2
+ "name": "manage-client",
3
+ "version": "3.3.135",
4
+ "description": "经营管控模块前台组件",
5
+ "main": "src/index.js",
6
+ "directories": {
7
+ "test": "test"
8
+ },
9
+ "dependencies": {
10
+ "crypto-js": "^4.1.1",
11
+ "swiper": "^5.4.5"
12
+ },
13
+ "devDependencies": {
14
+ "axios": "0.15.3",
15
+ "babel-core": "^6.0.0",
16
+ "babel-loader": "^6.0.0",
17
+ "babel-plugin-transform-runtime": "^6.0.0",
18
+ "babel-preset-es2015": "^6.0.0",
19
+ "babel-preset-stage-2": "^6.0.0",
20
+ "chai": "^3.5.0",
21
+ "co": "^4.6.0",
22
+ "connect-history-api-fallback": "^1.1.0",
23
+ "cross-env": "^1.0.7",
24
+ "cross-spawn": "^2.1.5",
25
+ "css-loader": "^0.23.0",
26
+ "echarts": "^4.1.0",
27
+ "eslint": "^2.0.0",
28
+ "eslint-config-standard": "^5.1.0",
29
+ "eslint-friendly-formatter": "^1.2.2",
30
+ "eslint-loader": "^1.3.0",
31
+ "eslint-plugin-html": "^1.3.0",
32
+ "eslint-plugin-promise": "^1.0.8",
33
+ "eslint-plugin-standard": "^1.3.2",
34
+ "eslint-plugin-vue": "^0.1.1",
35
+ "eventsource-polyfill": "^0.9.6",
36
+ "express": "^4.13.3",
37
+ "extract-text-webpack-plugin": "^1.0.1",
38
+ "filemanager-webpack-plugin": "^2.0.5",
39
+ "file-loader": "^0.8.4",
40
+ "function-bind": "^1.0.2",
41
+ "html-webpack-plugin": "^2.8.1",
42
+ "http-proxy-middleware": "^0.11.0",
43
+ "inject-loader": "^2.0.1",
44
+ "isparta-loader": "^2.0.0",
45
+ "jasmine-core": "^2.4.1",
46
+ "jquery": "^3.3.1",
47
+ "jsencrypt": "3.0.0-rc.1",
48
+ "json-loader": "^0.5.4",
49
+ "karma": "^1.4.1",
50
+ "karma-chrome-launcher": "^2.2.0",
51
+ "karma-coverage": "^1.1.1",
52
+ "karma-mocha": "^1.3.0",
53
+ "karma-sinon-chai": "^1.3.1",
54
+ "karma-sourcemap-loader": "^0.3.7",
55
+ "karma-spec-reporter": "0.0.31",
56
+ "karma-webpack": "^2.0.2",
57
+ "ldap-clients": "3.0.7",
58
+ "less": "^2.7.3",
59
+ "mkdirp": "^0.5.1",
60
+ "mocha": "^3.2.0",
61
+ "moment": "2.24.0",
62
+ "ncp": "^2.0.0",
63
+ "rimraf": "^2.5.0",
64
+ "sale-client": "3.4.14",
65
+ "selenium-server": "2.52.0",
66
+ "sinon": "^2.1.0",
67
+ "sinon-chai": "^2.8.0",
68
+ "style": "0.0.3",
69
+ "style-loader": "^0.20.3",
70
+ "swiper": "^5.4.5",
71
+ "system-clients": "3.2.61",
72
+ "url-loader": "^0.5.7",
73
+ "vue-amap": "0.5.10",
74
+ "vue-client": "1.24.123",
75
+ "vue-hot-reload-api": "^1.2.0",
76
+ "vue-html-loader": "^1.0.0",
77
+ "vue-loader": "8.2.1",
78
+ "vue-resource": "^1.5.0",
79
+ "vue-router": "^0.7.13",
80
+ "vue-strap": "^1.0.9",
81
+ "vue-style-loader": "^1.0.0",
82
+ "vue-validator": "2.1.7",
83
+ "webpack": "1.12.2",
84
+ "webpack-dev-middleware": "^1.4.0",
85
+ "webpack-hot-middleware": "^2.6.0",
86
+ "webpack-merge": "^0.8.3",
87
+ "webpack-parallel-uglify-plugin": "^1.0.0"
88
+ },
89
+ "scripts": {
90
+ "unit": "karma start test/unit/karma.conf.js --single-run",
91
+ "example": "node build/example-server.js",
92
+ "dev": "node build/dev-server.js",
93
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
94
+ "oldbuild": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.oldprod.conf.js",
95
+ "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",
96
+ "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",
97
+ "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",
98
+ "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",
99
+ "e2e": "node test/e2e/runner.js",
100
+ "release": "bash build/release.sh"
101
+ },
102
+ "repository": {
103
+ "type": "git",
104
+ "url": "https://gitee.com/aote/management_modules.git"
105
+ },
106
+ "keywords": [
107
+ "manage"
108
+ ],
109
+ "author": "liuxudong",
110
+ "license": "ISC"
111
+ }
@@ -1096,7 +1096,7 @@ export default{
1096
1096
  valueuserinfoConfig:{
1097
1097
  'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_address':'客户地址','f_user_type':'用户类型','f_gasproperties':'用气性质','f_meter_classify':'气表类型',
1098
1098
  'f_meternumber':'表号','itemname':'增值服务类型','ishas':'有无增值业务','startdate':'购买时间','f_operate_date':'最后操作时间',
1099
- 'f_orgname': '所属公司'
1099
+ 'f_orgname': '所属公司', 'f_remark': '备注'
1100
1100
  },
1101
1101
  renewalvalueuserinfoConfig:{
1102
1102
  'f_userinfo_code': '客户编号','f_user_name':'客户名称','f_address':'客户地址','f_meternumber':'表号','f_user_type':'用户类型','f_gasproperties':'用气性质','f_meter_classify':'气表类型',
@@ -117,6 +117,9 @@
117
117
  <th>
118
118
  <nobr>所属公司</nobr>
119
119
  </th>
120
+ <th>
121
+ <nobr>备注</nobr>
122
+ </th>
120
123
  </tr>
121
124
  </template>
122
125
  <template partial='body'>
@@ -156,6 +159,9 @@
156
159
  <td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
157
160
  <nobr>{{row.f_orgname}}</nobr>
158
161
  </td>
162
+ <td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
163
+ <nobr>{{row.f_orgname}}</nobr>
164
+ </td>
159
165
  </template>
160
166
  <template partial='foot'></template>
161
167
  </data-grid>
@@ -142,10 +142,10 @@
142
142
  sumsmodel: {},
143
143
  ReportDetailListConfig: {
144
144
  'f_userinfo_code': '客户编号', 'f_meternumber': '表号', 'f_user_name': '客户姓名', 'f_user_phone': '客户电话', 'f_address': '客户地址',
145
- 'f_hand_date': '上报日期', 'f_meter_brand': '气表品牌', 'f_readData1': '上传协议版本号', 'f_readData2': '通信信号值', 'f_readData3': '铭牌号',
146
- 'f_readData4': '通信模式', 'f_readData5': 'IC卡编号', 'f_readData6': '购气次数','f_readData7': '剩余金额/量', 'f_readData8': '总累计用气量',
147
- 'f_readData9': '总累计用气金额','f_readData10': '总累计购气金额/量', 'f_readData11': '计费周期累计用气量', 'f_readData12': '当前透支金额/量', 'f_readData13': '阀门状态',
148
- 'f_readData14': '主电电压','f_readData15': '备电电压', 'f_readData16': '软件版本', 'f_readData17': '硬件版本', 'f_readData18': '当前RTC时钟'
145
+ 'f_hand_date': '上报日期', 'f_meter_brand': '气表品牌', 'f_readdata1': '上传协议版本号', 'f_readdata2': '通信信号值', 'f_readdata3': '铭牌号',
146
+ 'f_readdata4': '通信模式', 'f_readdata5': 'IC卡编号', 'f_readdata6': '购气次数','f_readdata7': '剩余金额/量', 'f_readdata8': '总累计用气量',
147
+ 'f_readdata9': '总累计用气金额','f_readdata10': '总累计购气金额/量', 'f_readdata11': '计费周期累计用气量', 'f_readdata12': '当前透支金额/量', 'f_readdata13': '阀门状态',
148
+ 'f_readdata14': '主电电压','f_readdata15': '备电电压', 'f_readdata16': '软件版本', 'f_readdata17': '硬件版本', 'f_readdata18': '当前rtc时钟'
149
149
  },
150
150
  orgid:[this.$login.f.orgid],
151
151
  criteriaShow:false,
@@ -191,20 +191,15 @@
191
191
  <th><nobr>期末余额</nobr></th>
192
192
  <th><nobr>录入人员</nobr></th>
193
193
  <th><nobr>抄表员</nobr></th>
194
+ <th><nobr>用气性质</nobr></th>
195
+ <th><nobr>气表品牌</nobr></th>
194
196
  <th><nobr>小区</nobr></th>
195
-
196
-
197
197
  <th><nobr>燃气证号</nobr></th>
198
- <th><nobr>气表品牌</nobr></th>
199
198
  <th><nobr>表具类型</nobr></th>
200
199
  <th><nobr>表描述</nobr></th>
201
200
  <th><nobr>气价名称</nobr></th>
202
-
203
- <th><nobr>用气性质</nobr></th>
204
201
  <th><nobr>期初余额</nobr></th>
205
-
206
202
  <th><nobr>期间充值金额</nobr></th>
207
-
208
203
  <th><nobr>用气状态</nobr></th>
209
204
  <th><nobr>是否换表</nobr></th>
210
205
  <th><nobr>首次抄表时间</nobr></th>
@@ -225,23 +220,15 @@
225
220
  <th style="text-align:center"><nobr>{{row.f_curbalance}}</nobr></th>
226
221
  <th style="text-align:center"><nobr>{{row.f_input_person}}</nobr></th>
227
222
  <th style="text-align:center"><nobr>{{row.f_inputtor}}</nobr></th>
228
-
223
+ <th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
224
+ <th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
229
225
  <td style="text-align: left;"><nobr>{{row.f_residential_area}}</nobr></td>
230
-
231
226
  <td style="text-align:center"><nobr>{{row.f_gascode}}</nobr></td>
232
- <th style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></th>
233
227
  <th style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></th>
234
228
  <th style="text-align:center"><nobr>{{row.f_meter_title}}</nobr></th>
235
229
  <th style="text-align:center"><nobr>{{row.f_price_name}}</nobr></th>
236
-
237
-
238
- <th style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></th>
239
-
240
-
241
230
  <th style="text-align:center"><nobr>{{row.f_balance}}</nobr></th>
242
-
243
231
  <th style="text-align:center"><nobr>{{row.f_collection}}</nobr></th>
244
-
245
232
  <th style="text-align:center"><nobr>{{row.f_gas_state}}</nobr></th>
246
233
  <th style="text-align:center"><nobr>{{row.f_changetable_state}}</nobr></th>
247
234
  <th style="text-align:center"><nobr>{{row.f_first_input_date}}</nobr></th>
@@ -1622,17 +1622,18 @@ export default {
1622
1622
  'f_curbalance': '期末余额',
1623
1623
  'f_input_person': '录入人员',
1624
1624
  'f_inputtor': '抄表员',
1625
+ 'f_gasproperties': '用气性质',
1626
+ 'f_meter_brand': '气表品牌',
1625
1627
  'f_residential_area': '小区',
1626
1628
  'f_gascode': '燃气证号',
1627
1629
  'f_meter_classify': '表具类型',
1628
1630
  'f_meter_title': '表描述',
1629
1631
  'f_price_name': '气价名称',
1630
- 'f_user_nature': '用气类型',
1631
- 'f_gasproperties': '用气性质',
1632
1632
  'f_balance': '期初余额',
1633
1633
  'f_collection': '期末充值金额',
1634
1634
  'f_gas_state': '用气状态',
1635
1635
  'f_changetable_state': '是否换表',
1636
+ 'f_first_input_date': '首次抄表时间',
1636
1637
  'f_input_date': '最后通讯日期'
1637
1638
  },
1638
1639
  ArrearageConfig: {
package/src/main.js CHANGED
@@ -1,72 +1,68 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import FilialeSaleManage from './filiale/yuncheng/sale'
10
- // import webmeterManage from './webmeterManage'
11
- // import FilialeWebmeterManage from './filiale/daliyihua/webmeterManage'
12
- // import reportManage from './reportManage'
13
- // import FilialeReportManage from './filiale/shanxian/reportManage'
14
- // import newmanage from './newmanage'
15
- // import ManageHome from './ManageHome'
16
- import echarts from 'echarts'
17
- import AMap from 'vue-amap'
18
-
19
- Vue.config.silent = true
20
- // Vue.mmType = 'AES'
21
-
22
- Vue.use(AMap);
23
-
24
- // 初始化vue-amap
25
- AMap.initAMapApiLoader({
26
- // 高德key
27
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
28
- // 插件集合 (插件按需引入)
29
- plugin: [
30
- "AMap.Autocomplete", //输入提示插件
31
- "AMap.PlaceSearch", //POI搜索插件
32
- "AMap.Scale", //右下角缩略图插件 比例尺
33
- "AMap.OverView", //地图鹰眼插件
34
- "AMap.ToolBar", //地图工具条0
35
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
36
- "AMap.PolyEditor", //编辑 折线多,边形
37
- "AMap.CircleEditor", //圆形编辑器插件
38
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
39
- ],
40
- uiVersion: "1.0"
41
- });
42
- /** **************************通用组件******************************/
43
-
44
- Vue.prototype.$echarts = echarts
45
- all()
46
- // sale()
47
- ldap()
48
- system(false)
49
-
50
- saleManage()
51
- FilialeSaleManage()
52
- // webmeterManage()
53
- // FilialeWebmeterManage()
54
- // ManageHome()
55
- // newmanage()
56
- // reportManage()
57
- // FilialeReportManage()
58
- require('system-clients/src/styles/less/bootstrap.less')
59
- require('./components/qinhua/Style/qinhuaStyle.less')
60
- // require('./bootstrap/less/manageStyle/manageChile.less')
61
- // require('./bootstrap/less/manageStyle/safeStyle.less')
62
-
63
- //大屏展示要放开的样式
64
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
65
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
66
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
67
-
68
- new Vue({
69
- el: 'body',
70
- components: { App }
71
- })
72
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import ShanXianSaleManage from './filiale/shexian/sale'
10
+ import webmeterManage from './webmeterManage'
11
+ import reportManage from './reportManage'
12
+ import newmanage from './newmanage'
13
+ import ManageHome from './ManageHome'
14
+ import echarts from 'echarts'
15
+ import AMap from 'vue-amap'
16
+
17
+ Vue.config.silent = true
18
+ // Vue.mmType = 'AES'
19
+
20
+ Vue.use(AMap);
21
+
22
+ // 初始化vue-amap
23
+ AMap.initAMapApiLoader({
24
+ // 高德key
25
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
26
+ // 插件集合 (插件按需引入)
27
+ plugin: [
28
+ "AMap.Autocomplete", //输入提示插件
29
+ "AMap.PlaceSearch", //POI搜索插件
30
+ "AMap.Scale", //右下角缩略图插件 比例尺
31
+ "AMap.OverView", //地图鹰眼插件
32
+ "AMap.ToolBar", //地图工具条0
33
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
34
+ "AMap.PolyEditor", //编辑 折线多,边形
35
+ "AMap.CircleEditor", //圆形编辑器插件
36
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
37
+ ],
38
+ uiVersion: "1.0"
39
+ });
40
+ /** **************************通用组件******************************/
41
+
42
+ Vue.prototype.$echarts = echarts
43
+ all()
44
+ // sale()
45
+ ldap()
46
+ system(false)
47
+
48
+ saleManage()
49
+ ShanXianSaleManage()
50
+ webmeterManage()
51
+ ManageHome()
52
+ newmanage()
53
+ reportManage()
54
+ require('system-clients/src/styles/less/bootstrap.less')
55
+ require('./components/qinhua/Style/qinhuaStyle.less')
56
+ // require('./bootstrap/less/manageStyle/manageChile.less')
57
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
58
+
59
+ //大屏展示要放开的样式
60
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
61
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
62
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
63
+
64
+ new Vue({
65
+ el: 'body',
66
+ components: { App }
67
+ })
68
+