readmeter-changan 1.0.34 → 1.0.36

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.
Files changed (41) hide show
  1. package/.idea/workspace.xml +15 -17
  2. package/build/dev-server.js +132 -132
  3. package/build/webpack.base.conf.js +75 -75
  4. package/package.json +1 -1
  5. package/package.json.bak +99 -99
  6. package/src/AndroidPlugin.js +28 -28
  7. package/src/App.vue +74 -74
  8. package/src/components/readingmeter/CheckInfo.vue +761 -618
  9. package/src/components/readingmeter/FinishHandInfo.vue +75 -75
  10. package/src/components/readingmeter/FinishHandInfocopy.vue +99 -99
  11. package/src/components/readingmeter/HandInfo.vue +87 -87
  12. package/src/components/readingmeter/HandMessage.vue +40 -40
  13. package/src/components/readingmeter/HistoryHandInfo.vue +114 -114
  14. package/src/components/readingmeter/MeterInfo.vue +183 -183
  15. package/src/components/readingmeter/PhoneHand.vue +93 -93
  16. package/src/components/readingmeter/PhoneHandHome.vue +0 -2
  17. package/src/components/readingmeter/PhoneHandplanInfo.vue +673 -643
  18. package/src/components/readingmeter/PictureArea.vue +156 -156
  19. package/src/components/readingmeter/PlanDown.vue +233 -232
  20. package/src/components/readingmeter/PlanUpdate.vue +186 -186
  21. package/src/components/readingmeter/ReadMeterCenter.vue +325 -325
  22. package/src/components/readingmeter/ReadMeterInfo.vue +349 -349
  23. package/src/components/readingmeter/ReadMeterInfoChangan.vue +1 -1
  24. package/src/components/readingmeter/SellHistory.vue +36 -36
  25. package/src/components/readingmeter/SellInfo.vue +88 -88
  26. package/src/components/readingmeter/UserInfo.vue +0 -1
  27. package/src/components/server/AppHeader.vue +65 -65
  28. package/src/components/server/ReadMeterHome.vue +192 -192
  29. package/src/components/server/ReadMeterLogin.vue +161 -161
  30. package/src/components/server/ReadMeterNavBottom.vue +119 -119
  31. package/src/components/server/ReadMeterRoute.vue +79 -79
  32. package/src/components/server/ReadMeterTop.vue +61 -61
  33. package/src/components/server/ReadMeterTopcopy.vue +53 -53
  34. package/src/expandcss.less +668 -668
  35. package/src/main.js +23 -23
  36. package/src/readmeter-android.js +34 -34
  37. package/src/readmeter.js +54 -54
  38. package/.idea/ReadMeterClient.iml +0 -9
  39. package/.npmignore +0 -7
  40. package/hs_err_pid13284.log +0 -207
  41. package/yarn.lock +0 -7818
@@ -3,10 +3,6 @@
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="3ff22a91-c12c-46e5-8072-9f6930fa055a" name="Default Changelist" comment="修复抄表记录界面翻页选项被遮挡">
5
5
  <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
7
- <change beforePath="$PROJECT_DIR$/src/components/readingmeter/PhoneHandHome.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/readingmeter/PhoneHandHome.vue" afterDir="false" />
8
- <change beforePath="$PROJECT_DIR$/src/components/readingmeter/ReadMeterInfoChangan.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/readingmeter/ReadMeterInfoChangan.vue" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/src/components/readingmeter/UserInfo.vue" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/readingmeter/UserInfo.vue" afterDir="false" />
10
6
  </list>
11
7
  <option name="SHOW_DIALOG" value="false" />
12
8
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -82,12 +78,12 @@
82
78
  </dirStrings>
83
79
  </component>
84
80
  <component name="Git.Settings">
81
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
85
82
  <option name="RECENT_BRANCH_BY_REPOSITORY">
86
83
  <map>
87
- <entry key="$PROJECT_DIR$" value="aode" />
84
+ <entry key="$PROJECT_DIR$" value="可用版本" />
88
85
  </map>
89
86
  </option>
90
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
91
87
  </component>
92
88
  <component name="HighlightingSettingsPerFile">
93
89
  <setting file="file://$PROJECT_DIR$/src/components/readingmeter/ReadMeterCenter.vue" root0="SKIP_INSPECTION" />
@@ -173,7 +169,7 @@
173
169
  <option name="width" value="1346" />
174
170
  <option name="height" value="698" />
175
171
  </component>
176
- <component name="ProjectId" id="2faO30RCGMKab8olFs2H0M3s3iR" />
172
+ <component name="ProjectId" id="2goGbz3JMT5GDNN7vCigYftnU1P" />
177
173
  <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
178
174
  <component name="ProjectView">
179
175
  <navigator proportions="" version="1">
@@ -227,15 +223,14 @@
227
223
  <option name="hideEmptyMiddlePackages" value="true" />
228
224
  <option name="showLibraryContents" value="true" />
229
225
  </component>
230
- <component name="PropertiesComponent"><![CDATA[{
231
- "keyToString": {
232
- "RunOnceActivity.OpenProjectViewOnStart": "true",
233
- "RunOnceActivity.ShowReadmeOnStart": "true",
234
- "WebServerToolWindowFactoryState": "false",
235
- "nodejs_package_manager_path": "yarn",
236
- "vue.rearranger.settings.migration": "true"
226
+ <component name="PropertiesComponent">{
227
+ &quot;keyToString&quot;: {
228
+ &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
229
+ &quot;last_opened_file_path&quot;: &quot;D:/WorkSpace/module/ReadMeterClient&quot;,
230
+ &quot;nodejs_package_manager_path&quot;: &quot;yarn&quot;,
231
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
237
232
  }
238
- }]]></component>
233
+ }</component>
239
234
  <component name="RecentsManager">
240
235
  <key name="CopyFile.RECENT_KEYS">
241
236
  <recent name="F:\WorkSpace\ReadMeterClient\src\components\server" />
@@ -391,7 +386,10 @@
391
386
  <workItem from="1559695441761" duration="30755000" />
392
387
  <workItem from="1560127507511" duration="6282000" />
393
388
  <workItem from="1560213914628" duration="7098000" />
394
- <workItem from="1714035524956" duration="1848000" />
389
+ <workItem from="1716356594000" duration="1657000" />
390
+ <workItem from="1716450078610" duration="20000" />
391
+ <workItem from="1716544621445" duration="650000" />
392
+ <workItem from="1716774878936" duration="1241000" />
395
393
  </task>
396
394
  <task id="LOCAL-00001" summary="新增卡表抄表气量核算">
397
395
  <created>1553677761707</created>
@@ -527,7 +525,7 @@
527
525
  </component>
528
526
  <component name="VcsManagerConfiguration">
529
527
  <ignored-roots>
530
- <path value="$PROJECT_DIR$/../../../../.." />
528
+ <path value="$PROJECT_DIR$/../../../.." />
531
529
  </ignored-roots>
532
530
  <MESSAGE value="新增卡表抄表气量核算" />
533
531
  <MESSAGE value="临时提交" />
@@ -1,132 +1,132 @@
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 proxyTable = {
14
- // '/images': {
15
- // target: 'http://192.168.50.202:8081'
16
- // // target: 'http://127.0.0.1:8088'
17
- // },
18
- // '/rs/user': {
19
- // target: 'http://192.168.50.202:8081'
20
- // // target: 'http://127.0.0.1:8088'
21
- // },
22
- // '/excel': {
23
- // target: 'http://127.0.0.1:8082'
24
- // },
25
- '/rs/db': {
26
- target: 'http://192.168.2.79:8081/ldapModule'
27
- // target: 'http://127.0.0.1:8089'
28
- },
29
- '/rs/logic': {
30
- target: 'http://127.0.0.1:8025/'
31
- },
32
- '/rs': {
33
- target: 'http://127.0.0.1:8025/'
34
- // target: 'http://127.0.0.1:8021/MobileReadMeter'
35
- // target: 'http://127.0.0.1:8025/MobileReadMeter'
36
- // target: 'http://127.0.0.1:8088'
37
- // // target: 'http://125.71.238.50:8088/product'
38
- },
39
- '/AndroidRest/rs': {
40
- pathRewrite: {
41
- '/AndroidRest/rs': '/rs'
42
- },
43
- target: 'http://127.0.0.1:8021/MobileReadMeter'
44
- },
45
- }
46
-
47
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
48
- publicPath: config.output.publicPath,
49
- stats: {
50
- colors: true,
51
- chunks: false
52
- }
53
- })
54
-
55
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
56
- // force page reload when html-webpack-plugin template changes
57
- compiler.plugin('compilation', function (compilation) {
58
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
59
- hotMiddleware.publish({ action: 'reload' })
60
- cb()
61
- })
62
- })
63
-
64
- // proxy api requests
65
- Object.keys(proxyTable).forEach(function (context) {
66
- var options = proxyTable[context]
67
- if (typeof options === 'string') {
68
- options = { target: options }
69
- }
70
- app.use(proxyMiddleware(context, options))
71
- })
72
-
73
- // handle fallback for HTML5 history API
74
- app.use(require('connect-history-api-fallback')())
75
- // app.use(function (req, res, next) {
76
- // res.header('Access-Control-Allow-Origin', '*')
77
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
78
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
79
- // res.header('X-Powered-By', '3,2,1')
80
- // res.header('Access-Control-Allow-Credentials', 'true')
81
- // res.header('Content-Type', 'application/json;charset=utf-8')
82
- // next()
83
- // })
84
-
85
- // serve webpack bundle output
86
- app.use(devMiddleware)
87
-
88
- // enable hot-reload and state-preserving
89
- // compilation error display
90
- app.use(hotMiddleware)
91
-
92
- // serve pure static assets
93
- app.use('/static', express.static('./static'))
94
-
95
- // app.all('/images/*', function (req, res) {
96
- // proxy.web(req, res, {
97
- // // target: 'http://192.168.50.202:8081'
98
- // target: 'http://127.0.0.1:8088'
99
- // })
100
- // })
101
- // app.all('/rs/user/*', function (req, res) {
102
- // proxy.web(req, res, {
103
- // // target: 'http://192.168.50.202:8081'
104
- // target: 'http://127.0.0.1:8088'
105
- // })
106
- // })
107
- // app.all('/rs/db/*', function (req, res) {
108
- // proxy.web(req, res, {
109
- // // target: 'http://192.168.50.202:8081'
110
- // target: 'http://127.0.0.1:8088'
111
- // })
112
- // })
113
- //
114
- // app.all('/excel/*', function (req, res) {
115
- // proxy.web(req, res, {
116
- // target: 'http://127.0.0.1:8082'
117
- // })
118
- // })
119
-
120
- // app.all('/rs/*', function (req, res) {
121
- // proxy.web(req, res, {
122
- // target: 'http://127.0.0.1:8888/product'
123
- // })
124
- // })
125
-
126
- module.exports = app.listen(8081, function (err) {
127
- if (err) {
128
- console.log(err)
129
- return
130
- }
131
- console.log('Listening at http://localhost:8081')
132
- })
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 proxyTable = {
14
+ // '/images': {
15
+ // target: 'http://192.168.50.202:8081'
16
+ // // target: 'http://127.0.0.1:8088'
17
+ // },
18
+ // '/rs/user': {
19
+ // target: 'http://192.168.50.202:8081'
20
+ // // target: 'http://127.0.0.1:8088'
21
+ // },
22
+ // '/excel': {
23
+ // target: 'http://127.0.0.1:8082'
24
+ // },
25
+ '/rs/db': {
26
+ target: 'http://192.168.2.79:8081/ldapModule'
27
+ // target: 'http://127.0.0.1:8089'
28
+ },
29
+ '/rs/logic': {
30
+ target: 'http://127.0.0.1:8025/'
31
+ },
32
+ '/rs': {
33
+ target: 'http://127.0.0.1:8025/'
34
+ // target: 'http://127.0.0.1:8021/MobileReadMeter'
35
+ // target: 'http://127.0.0.1:8025/MobileReadMeter'
36
+ // target: 'http://127.0.0.1:8088'
37
+ // // target: 'http://125.71.238.50:8088/product'
38
+ },
39
+ '/AndroidRest/rs': {
40
+ pathRewrite: {
41
+ '/AndroidRest/rs': '/rs'
42
+ },
43
+ target: 'http://127.0.0.1:8021/MobileReadMeter'
44
+ },
45
+ }
46
+
47
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
48
+ publicPath: config.output.publicPath,
49
+ stats: {
50
+ colors: true,
51
+ chunks: false
52
+ }
53
+ })
54
+
55
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
56
+ // force page reload when html-webpack-plugin template changes
57
+ compiler.plugin('compilation', function (compilation) {
58
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
59
+ hotMiddleware.publish({ action: 'reload' })
60
+ cb()
61
+ })
62
+ })
63
+
64
+ // proxy api requests
65
+ Object.keys(proxyTable).forEach(function (context) {
66
+ var options = proxyTable[context]
67
+ if (typeof options === 'string') {
68
+ options = { target: options }
69
+ }
70
+ app.use(proxyMiddleware(context, options))
71
+ })
72
+
73
+ // handle fallback for HTML5 history API
74
+ app.use(require('connect-history-api-fallback')())
75
+ // app.use(function (req, res, next) {
76
+ // res.header('Access-Control-Allow-Origin', '*')
77
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
78
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
79
+ // res.header('X-Powered-By', '3,2,1')
80
+ // res.header('Access-Control-Allow-Credentials', 'true')
81
+ // res.header('Content-Type', 'application/json;charset=utf-8')
82
+ // next()
83
+ // })
84
+
85
+ // serve webpack bundle output
86
+ app.use(devMiddleware)
87
+
88
+ // enable hot-reload and state-preserving
89
+ // compilation error display
90
+ app.use(hotMiddleware)
91
+
92
+ // serve pure static assets
93
+ app.use('/static', express.static('./static'))
94
+
95
+ // app.all('/images/*', function (req, res) {
96
+ // proxy.web(req, res, {
97
+ // // target: 'http://192.168.50.202:8081'
98
+ // target: 'http://127.0.0.1:8088'
99
+ // })
100
+ // })
101
+ // app.all('/rs/user/*', function (req, res) {
102
+ // proxy.web(req, res, {
103
+ // // target: 'http://192.168.50.202:8081'
104
+ // target: 'http://127.0.0.1:8088'
105
+ // })
106
+ // })
107
+ // app.all('/rs/db/*', function (req, res) {
108
+ // proxy.web(req, res, {
109
+ // // target: 'http://192.168.50.202:8081'
110
+ // target: 'http://127.0.0.1:8088'
111
+ // })
112
+ // })
113
+ //
114
+ // app.all('/excel/*', function (req, res) {
115
+ // proxy.web(req, res, {
116
+ // target: 'http://127.0.0.1:8082'
117
+ // })
118
+ // })
119
+
120
+ // app.all('/rs/*', function (req, res) {
121
+ // proxy.web(req, res, {
122
+ // target: 'http://127.0.0.1:8888/product'
123
+ // })
124
+ // })
125
+
126
+ module.exports = app.listen(8081, function (err) {
127
+ if (err) {
128
+ console.log(err)
129
+ return
130
+ }
131
+ console.log('Listening at http://localhost:8081')
132
+ })
@@ -1,75 +1,75 @@
1
- var path = require('path')
2
- var cssLoaders = require('./css-loaders')
3
- var projectRoot = path.resolve(__dirname, '../')
4
-
5
- module.exports = {
6
- entry: {
7
- app: './src/main.js'
8
- },
9
- output: {
10
- path: path.resolve(__dirname, '../dist/static'),
11
- publicPath: 'static/',
12
- filename: '[name].js'
13
- },
14
- resolve: {
15
- extensions: ['', '.js', '.vue'],
16
- fallback: [path.join(__dirname, '../node_modules')],
17
- alias: {
18
- 'src': path.resolve(__dirname, '../src')
19
- }
20
- },
21
- resolveLoader: {
22
- fallback: [path.join(__dirname, '../node_modules')]
23
- },
24
- module: {
25
- loaders: [
26
- {
27
- test: /\.vue$/,
28
- loader: 'vue'
29
- },
30
- {
31
- test: /\.js$/,
32
- loader: 'babel',
33
- include: [
34
- `${projectRoot}\\src`,
35
- `${projectRoot}\\build`,
36
- `${projectRoot}\\examples`,
37
- `${projectRoot}\\test`,
38
- `${projectRoot}\\node_modules\\vue-client\\src`,
39
- `${projectRoot}\\node_modules\\system-phone\\src`,
40
- `${projectRoot}\\node_modules\\vue-strap\\src`
41
- ]
42
- },
43
- {
44
- test: /\.json$/,
45
- loader: 'json'
46
- },
47
- {
48
- test: /\.html$/,
49
- loader: 'vue-html'
50
- },
51
- {
52
- test: /\.less$/,
53
- loader: 'style!css!less'
54
- },
55
- {
56
- test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
57
- loader: 'url',
58
- query: {
59
- limit: 10000,
60
- name: '[name].[ext]?[hash:7]'
61
- }
62
- }
63
- ]
64
- },
65
- vue: {
66
- loaders: cssLoaders({
67
- sourceMap: false,
68
- extract: false
69
- })
70
- },
71
- plugins: [],
72
- eslint: {
73
- formatter: require('eslint-friendly-formatter')
74
- }
75
- }
1
+ var path = require('path')
2
+ var cssLoaders = require('./css-loaders')
3
+ var projectRoot = path.resolve(__dirname, '../')
4
+
5
+ module.exports = {
6
+ entry: {
7
+ app: './src/main.js'
8
+ },
9
+ output: {
10
+ path: path.resolve(__dirname, '../dist/static'),
11
+ publicPath: 'static/',
12
+ filename: '[name].js'
13
+ },
14
+ resolve: {
15
+ extensions: ['', '.js', '.vue'],
16
+ fallback: [path.join(__dirname, '../node_modules')],
17
+ alias: {
18
+ 'src': path.resolve(__dirname, '../src')
19
+ }
20
+ },
21
+ resolveLoader: {
22
+ fallback: [path.join(__dirname, '../node_modules')]
23
+ },
24
+ module: {
25
+ loaders: [
26
+ {
27
+ test: /\.vue$/,
28
+ loader: 'vue'
29
+ },
30
+ {
31
+ test: /\.js$/,
32
+ loader: 'babel',
33
+ include: [
34
+ `${projectRoot}\\src`,
35
+ `${projectRoot}\\build`,
36
+ `${projectRoot}\\examples`,
37
+ `${projectRoot}\\test`,
38
+ `${projectRoot}\\node_modules\\vue-client\\src`,
39
+ `${projectRoot}\\node_modules\\system-phone\\src`,
40
+ `${projectRoot}\\node_modules\\vue-strap\\src`
41
+ ]
42
+ },
43
+ {
44
+ test: /\.json$/,
45
+ loader: 'json'
46
+ },
47
+ {
48
+ test: /\.html$/,
49
+ loader: 'vue-html'
50
+ },
51
+ {
52
+ test: /\.less$/,
53
+ loader: 'style!css!less'
54
+ },
55
+ {
56
+ test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
57
+ loader: 'url',
58
+ query: {
59
+ limit: 10000,
60
+ name: '[name].[ext]?[hash:7]'
61
+ }
62
+ }
63
+ ]
64
+ },
65
+ vue: {
66
+ loaders: cssLoaders({
67
+ sourceMap: false,
68
+ extract: false
69
+ })
70
+ },
71
+ plugins: [],
72
+ eslint: {
73
+ formatter: require('eslint-friendly-formatter')
74
+ }
75
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "readmeter-changan",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "手机抄表客户端",
5
5
  "author": "15529257852@163.com",
6
6
  "private": false,