sale-client 3.4.95 → 3.4.99

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 (159) hide show
  1. package/.babelrc +5 -5
  2. package/.editorconfig +9 -9
  3. package/.project +11 -11
  4. package/README.md +38 -38
  5. package/build/css-loaders.js +34 -34
  6. package/build/dev-client.js +8 -8
  7. package/build/dev-server.js +157 -157
  8. package/build/release.sh +28 -28
  9. package/build/utils.js +71 -71
  10. package/build/webpack.dev.conf.js +31 -31
  11. package/build/webpack.example.conf.js +49 -49
  12. package/build/webpack.test.conf.js +31 -31
  13. package/config/dev.env.js +6 -6
  14. package/config/index.js +38 -38
  15. package/config/prod.env.js +3 -3
  16. package/config/test.env.js +6 -6
  17. package/examples/ReadCard/index.html +11 -11
  18. package/package.json +3 -3
  19. package/release.bat +5 -5
  20. package/sale-client.iml +8 -8
  21. package/singlepage/{FileUserFiles → page}/App.vue +1 -1
  22. package/singlepage/{FileUserFiles → page}/index.html +3 -3
  23. package/singlepage/{FileUserFiles → page}/main.js +3 -0
  24. package/src/assets/binding.svg +1 -1
  25. package/src/assets/unbind.svg +1 -1
  26. package/src/assets//345/205/254/345/221/212.svg +1 -1
  27. package/src/assets//347/207/203/346/260/224/347/274/264/350/264/271.eps +116 -116
  28. package/src/assets//350/201/224/347/263/273/346/210/221/344/273/254.svg +1 -1
  29. package/src/components/FilesManage/UserDeviceInfoTest.vue +51 -5
  30. package/src/components/Hello.vue +39 -39
  31. package/src/components/List.vue +51 -51
  32. package/src/components/SellGasCharge/FakaList.vue +23 -23
  33. package/src/components/UserFiles/admissibility.vue +46 -46
  34. package/src/components/charge/ChargeOper.vue +230 -230
  35. package/src/components/charge/business/IOTMeterCenter.vue +801 -801
  36. package/src/components/charge/business/NoCardMeterCenter.vue +2 -2
  37. package/src/components/charge/business/OtherChargeByPay.vue +471 -471
  38. package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +8 -7
  39. package/src/components/getNowDate.js +25 -25
  40. package/src/components/meterBook/MeterManger.vue +61 -61
  41. package/src/components/revenue/HandManager/MbpeopleList.vue +2 -0
  42. package/src/components/revenue/HandManager/MeterBookList.vue +12 -1
  43. package/src/components/revenue/HandManager/MeterBookManage.vue +152 -152
  44. package/src/components/revenue/HandManager/OverdueSet.vue +45 -45
  45. package/src/components/revenue/bank/BankDocking.vue +62 -62
  46. package/src/components/revenue/base/CardServer/CardInfoModal.vue +52 -52
  47. package/src/components/revenue/base/leftview/Userinfo.vue +1 -0
  48. package/src/components/revenue/base/rightview/CardList.vue +10 -3
  49. package/src/components/revenue/base/rightview/RecordCancel.vue +2 -0
  50. package/src/components/revenue/base/rightview/carddetail/StopApplyDetail.vue +70 -70
  51. package/src/components/revenue/changeInsurance/InsuranceAdd.vue +48 -12
  52. package/src/components/revenue/changeInsurance/InsuranceRecord.vue +6 -0
  53. package/src/components/revenue/comprehen/CardManage/CardManage.vue +83 -83
  54. package/src/components/revenue/comprehen/ComprehenOperation/ChangeMeter/NoMessage.vue +30 -30
  55. package/src/components/revenue/comprehen/ComprehenOperation/ComprehenSearch.vue +13 -13
  56. package/src/components/revenue/comprehen/ComprehenOperation/OtherGas/OtherGas.vue +1 -1
  57. package/src/components/revenue/comprehen/ComprehenOperation/wallheating/WallheatingInfoAdd.vue +174 -0
  58. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackList.vue +10 -10
  59. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackListList.vue +5 -5
  60. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackModal.vue +211 -0
  61. package/src/components/revenue/comprehen/TotalSplit/TotalSplitManage.vue +45 -45
  62. package/src/components/revenue/comprehen/gasbrand/AddGasBrand.vue +0 -4
  63. package/src/components/revenue/comprehen/gasbrand/AddGasModelInfo.vue +4 -0
  64. package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +342 -342
  65. package/src/components/revenue/comprehen/insurance/insuranceGuanL.vue +4 -0
  66. package/src/components/revenue/comprehen/wechatpay/wechatValidateManage.vue +295 -295
  67. package/src/components/revenue/invoiceuse/CompanyTitleInput.vue +52 -54
  68. package/src/components/revenue/invoiceuse/InvoiceGoodsInput.vue +1 -1
  69. package/src/components/revenue/machineHandManage/machineDown.vue +1105 -1105
  70. package/src/components/revenue/machineHandManage/machineHand.vue +22 -2
  71. package/src/components/revenue/machineHandManage/machineHandAudit.vue +7 -2
  72. package/src/filiale/jingwei/CardHand.vue +1 -1
  73. package/src/filiale/macheng/UserBaseInfoNew.vue +9 -6
  74. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +2 -2
  75. package/src/filiale/qianneng/HandManager.vue +19 -5
  76. package/src/filiale/qianneng/HighMeter.vue +28 -31
  77. package/src/filiale/qianneng/HighMeterIdCard.vue +1034 -0
  78. package/src/filiale/qianneng/MbpeopleList.vue +2 -0
  79. package/src/filiale/qianneng/js/OcxUtil.js +31 -27
  80. package/src/filiale/qianneng/js/WsUtil.js +42 -40
  81. package/src/filiale/qianneng/js/hignmeter.js +454 -0
  82. package/src/filiale/qianneng/sale.js +1 -0
  83. package/src/filiale/rongchuang/CardMeterCenter.vue +857 -857
  84. package/src/filiale/shanggao/FileUserFiles.vue +995 -0
  85. package/src/filiale/shanggao/MeterinfoTest.vue +902 -0
  86. package/src/filiale/shanggao/sale.js +3 -1
  87. package/src/filiale/{WEINAN → weinan}/AutomaticPurse.vue +0 -0
  88. package/src/filiale/{WEINAN → weinan}/CardList.vue +0 -0
  89. package/src/filiale/{WEINAN → weinan}/CardMeterCenter.vue +0 -0
  90. package/src/filiale/{WEINAN → weinan}/CardMeterChargeCancel.vue +0 -0
  91. package/src/filiale/{WEINAN → weinan}/ChangeMeter.vue +0 -0
  92. package/src/filiale/{WEINAN → weinan}/ChargeList.vue +12 -2
  93. package/src/filiale/{WEINAN → weinan}/ChargeManageNew.vue +0 -0
  94. package/src/filiale/{WEINAN → weinan}/ChargeQueryUser.vue +0 -0
  95. package/src/filiale/{WEINAN → weinan}/ChargeRecordQuery.vue +0 -0
  96. package/src/filiale/{WEINAN → weinan}/DisableManage.vue +0 -0
  97. package/src/filiale/{WEINAN → weinan}/EnableManage.vue +0 -0
  98. package/src/filiale/{WEINAN → weinan}/FileAddressManage.vue +0 -0
  99. package/src/filiale/{WEINAN → weinan}/FileUserAddress.vue +0 -0
  100. package/src/filiale/{WEINAN → weinan}/HighMeter.vue +0 -0
  101. package/src/filiale/{WEINAN → weinan}/IOTMeterCenter.vue +0 -0
  102. package/src/filiale/{WEINAN → weinan}/MachineMeterCenter.vue +0 -0
  103. package/src/filiale/{WEINAN → weinan}/MeterMessage.vue +0 -0
  104. package/src/filiale/{WEINAN → weinan}/MeterinfoTest.vue +0 -0
  105. package/src/filiale/{WEINAN → weinan}/OffGasAddGas.vue +0 -0
  106. package/src/filiale/{WEINAN → weinan}/OtherGas.vue +0 -0
  107. package/src/filiale/{WEINAN → weinan}/OverUseCharge.vue +0 -0
  108. package/src/filiale/{WEINAN → weinan}/RecordCancel.vue +0 -0
  109. package/src/filiale/{WEINAN → weinan}/RecordQueryUser.vue +0 -0
  110. package/src/filiale/{WEINAN → weinan}/ReplaceCardManage.vue +0 -0
  111. package/src/filiale/{WEINAN → weinan}/ShowCardSellGas.vue +0 -0
  112. package/src/filiale/{WEINAN → weinan}/Stairinfo.vue +0 -0
  113. package/src/filiale/{WEINAN → weinan}/TransferManage.vue +0 -0
  114. package/src/filiale/{WEINAN → weinan}/UserBaseInfoNew.vue +0 -0
  115. package/src/filiale/{WEINAN → weinan}/UserEssentialInfoTest.vue +0 -0
  116. package/src/filiale/{WEINAN → weinan}/UserGeneralInfoTest.vue +0 -0
  117. package/src/filiale/{WEINAN → weinan}/UserInfoDetailManageNew.vue +0 -0
  118. package/src/filiale/{WEINAN → weinan}/Userinfo.vue +0 -0
  119. package/src/filiale/{WEINAN → weinan}/gasmove.vue +0 -0
  120. package/src/filiale/{WEINAN → weinan}/meterinfodetail.vue +0 -0
  121. package/src/filiale/{WEINAN → weinan}/plugins/FileManageService.js +0 -0
  122. package/src/filiale/{WEINAN → weinan}/plugins/getTimeService.js +0 -0
  123. package/src/filiale/{WEINAN → weinan}/sale.js +0 -0
  124. package/src/filiale/{WEINAN → weinan}/sale.js~Stashed changes +0 -0
  125. package/src/filiale/{WEINAN → weinan}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  126. package/src/main.js +23 -23
  127. package/src/plugins/CardListen.js +29 -29
  128. package/src/plugins/CardManageService.js +21 -21
  129. package/src/plugins/CardService.js +1 -1
  130. package/src/plugins/FileManageService.js +2 -0
  131. package/src/plugins/SelectService.js +41 -41
  132. package/src/project/ProjectPage.vue +24 -24
  133. package/src/project/State.js +17 -17
  134. package/src/sale.js +3 -0
  135. package/test/e2e/custom-assertions/elementCount.js +26 -26
  136. package/test/e2e/nightwatch.conf.js +40 -40
  137. package/test/e2e/runner.js +30 -30
  138. package/test/e2e/specs/test.js +13 -13
  139. package/test/unit/.eslintrc +5 -5
  140. package/test/unit/context.html +20 -20
  141. package/test/unit/index.js +13 -13
  142. package/test/unit/init.js +13 -13
  143. package/test/unit/karma.conf.js +55 -55
  144. package/test/unit/specs/components/UserFiles/AreaList.spec.js +25 -25
  145. package/test/unit/specs/components/UserFiles/UserFiles.spec.js +22 -22
  146. package/test/unit/specs/components/UserFiles/UserGeneralInfo.spec.js +55 -55
  147. package/test/unit/specs/components/revenue/Common/ReissueBill.spec.js +29 -29
  148. package/test/unit/specs/components/revenue/base/CardServer/ReadCard.spec.js +23 -23
  149. package/test/unit/specs/components/revenue/base/UserList.spec.js +21 -21
  150. package/test/unit/specs/components/revenue/base/rightview/CardList.spec.js +29 -29
  151. package/test/unit/specs/components/revenue/todoList/ToDoListManage.spec.js +20 -20
  152. package/test/unit/specs/service/delete.spec.js +8 -8
  153. package/test/unit/specs/service/getSaleInitData.spec.js +16 -16
  154. package/test/unit/specs/service/uploadFile.spec.js +8 -8
  155. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  156. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  157. package/.gradle/buildOutputCleanup/built.bin +0 -0
  158. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  159. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
package/build/utils.js CHANGED
@@ -1,71 +1,71 @@
1
- var path = require('path')
2
- var config = require('../config')
3
- var ExtractTextPlugin = require('extract-text-webpack-plugin')
4
-
5
- exports.assetsPath = function (_path) {
6
- var assetsSubDirectory = process.env.NODE_ENV === 'production'
7
- ? config.build.assetsSubDirectory
8
- : config.dev.assetsSubDirectory
9
- return path.posix.join(assetsSubDirectory, _path)
10
- }
11
-
12
- exports.cssLoaders = function (options) {
13
- options = options || {}
14
-
15
- var cssLoader = {
16
- loader: 'css-loader',
17
- options: {
18
- minimize: process.env.NODE_ENV === 'production',
19
- sourceMap: options.sourceMap
20
- }
21
- }
22
-
23
- // generate loader string to be used with extract text plugin
24
- function generateLoaders (loader, loaderOptions) {
25
- var loaders = [cssLoader]
26
- if (loader) {
27
- loaders.push({
28
- loader: loader + '-loader',
29
- options: Object.assign({}, loaderOptions, {
30
- sourceMap: options.sourceMap
31
- })
32
- })
33
- }
34
-
35
- // Extract CSS when that option is specified
36
- // (which is the case during production build)
37
- if (options.extract) {
38
- return ExtractTextPlugin.extract({
39
- use: loaders,
40
- fallback: 'vue-style-loader'
41
- })
42
- } else {
43
- return ['vue-style-loader'].concat(loaders)
44
- }
45
- }
46
-
47
- // https://vue-loader.vuejs.org/en/configurations/extract-css.html
48
- return {
49
- css: generateLoaders(),
50
- postcss: generateLoaders(),
51
- less: generateLoaders('less'),
52
- sass: generateLoaders('sass', { indentedSyntax: true }),
53
- scss: generateLoaders('sass'),
54
- stylus: generateLoaders('stylus'),
55
- styl: generateLoaders('stylus')
56
- }
57
- }
58
-
59
- // Generate loaders for standalone style files (outside of .vue)
60
- exports.styleLoaders = function (options) {
61
- var output = []
62
- var loaders = exports.cssLoaders(options)
63
- for (var extension in loaders) {
64
- var loader = loaders[extension]
65
- output.push({
66
- test: new RegExp('\\.' + extension + '$'),
67
- use: loader
68
- })
69
- }
70
- return output
71
- }
1
+ var path = require('path')
2
+ var config = require('../config')
3
+ var ExtractTextPlugin = require('extract-text-webpack-plugin')
4
+
5
+ exports.assetsPath = function (_path) {
6
+ var assetsSubDirectory = process.env.NODE_ENV === 'production'
7
+ ? config.build.assetsSubDirectory
8
+ : config.dev.assetsSubDirectory
9
+ return path.posix.join(assetsSubDirectory, _path)
10
+ }
11
+
12
+ exports.cssLoaders = function (options) {
13
+ options = options || {}
14
+
15
+ var cssLoader = {
16
+ loader: 'css-loader',
17
+ options: {
18
+ minimize: process.env.NODE_ENV === 'production',
19
+ sourceMap: options.sourceMap
20
+ }
21
+ }
22
+
23
+ // generate loader string to be used with extract text plugin
24
+ function generateLoaders (loader, loaderOptions) {
25
+ var loaders = [cssLoader]
26
+ if (loader) {
27
+ loaders.push({
28
+ loader: loader + '-loader',
29
+ options: Object.assign({}, loaderOptions, {
30
+ sourceMap: options.sourceMap
31
+ })
32
+ })
33
+ }
34
+
35
+ // Extract CSS when that option is specified
36
+ // (which is the case during production build)
37
+ if (options.extract) {
38
+ return ExtractTextPlugin.extract({
39
+ use: loaders,
40
+ fallback: 'vue-style-loader'
41
+ })
42
+ } else {
43
+ return ['vue-style-loader'].concat(loaders)
44
+ }
45
+ }
46
+
47
+ // https://vue-loader.vuejs.org/en/configurations/extract-css.html
48
+ return {
49
+ css: generateLoaders(),
50
+ postcss: generateLoaders(),
51
+ less: generateLoaders('less'),
52
+ sass: generateLoaders('sass', { indentedSyntax: true }),
53
+ scss: generateLoaders('sass'),
54
+ stylus: generateLoaders('stylus'),
55
+ styl: generateLoaders('stylus')
56
+ }
57
+ }
58
+
59
+ // Generate loaders for standalone style files (outside of .vue)
60
+ exports.styleLoaders = function (options) {
61
+ var output = []
62
+ var loaders = exports.cssLoaders(options)
63
+ for (var extension in loaders) {
64
+ var loader = loaders[extension]
65
+ output.push({
66
+ test: new RegExp('\\.' + extension + '$'),
67
+ use: loader
68
+ })
69
+ }
70
+ return output
71
+ }
@@ -1,31 +1,31 @@
1
- var webpack = require('webpack')
2
- var merge = require('webpack-merge')
3
- var baseConfig = require('./webpack.base.conf')
4
- var HtmlWebpackPlugin = require('html-webpack-plugin')
5
-
6
- // add hot-reload related code to entry chunks
7
- Object.keys(baseConfig.entry).forEach(function (name) {
8
- baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
9
- })
10
-
11
- module.exports = merge(baseConfig, {
12
- // eval-source-map is faster for development
13
- devtool: '#eval-source-map',
14
- output: {
15
- // necessary for the html plugin to work properly
16
- // when serving the html from in-memory
17
- publicPath: '/'
18
- },
19
- plugins: [
20
- // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
21
- new webpack.optimize.OccurenceOrderPlugin(),
22
- new webpack.HotModuleReplacementPlugin(),
23
- new webpack.NoErrorsPlugin(),
24
- // https://github.com/ampedandwired/html-webpack-plugin
25
- new HtmlWebpackPlugin({
26
- filename: 'index.html',
27
- template: 'index.html',
28
- inject: true
29
- })
30
- ]
31
- })
1
+ var webpack = require('webpack')
2
+ var merge = require('webpack-merge')
3
+ var baseConfig = require('./webpack.base.conf')
4
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
5
+
6
+ // add hot-reload related code to entry chunks
7
+ Object.keys(baseConfig.entry).forEach(function (name) {
8
+ baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
9
+ })
10
+
11
+ module.exports = merge(baseConfig, {
12
+ // eval-source-map is faster for development
13
+ devtool: '#eval-source-map',
14
+ output: {
15
+ // necessary for the html plugin to work properly
16
+ // when serving the html from in-memory
17
+ publicPath: '/'
18
+ },
19
+ plugins: [
20
+ // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
21
+ new webpack.optimize.OccurenceOrderPlugin(),
22
+ new webpack.HotModuleReplacementPlugin(),
23
+ new webpack.NoErrorsPlugin(),
24
+ // https://github.com/ampedandwired/html-webpack-plugin
25
+ new HtmlWebpackPlugin({
26
+ filename: 'index.html',
27
+ template: 'index.html',
28
+ inject: true
29
+ })
30
+ ]
31
+ })
@@ -1,49 +1,49 @@
1
- var fs = require('fs')
2
- var webpack = require('webpack')
3
- var merge = require('webpack-merge')
4
- var baseConfig = require('./webpack.base.conf')
5
- var HtmlWebpackPlugin = require('html-webpack-plugin')
6
-
7
- // add hot-reload related code to entry chunks
8
- Object.keys(baseConfig.entry).forEach(function (name) {
9
- baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
10
- })
11
-
12
- // 把examples下所有index.html转换成测试例子.html
13
- fs.readdirSync('./examples').forEach((file) => {
14
- baseConfig.plugins.push(
15
- // https://github.com/ampedandwired/html-webpack-plugin
16
- new HtmlWebpackPlugin({
17
- filename: file + '.html',
18
- template: `examples/${file}/index.html`,
19
- inject: false
20
- })
21
- )
22
- })
23
-
24
- // 把examples下子目录里的main.js打包成对应组件名的App.js
25
- fs.readdirSync('./examples').forEach((file) => {
26
- baseConfig.entry[file + 'App'] = `./examples/${file}/main.js`
27
- })
28
-
29
- module.exports = merge(baseConfig, {
30
- // eval-source-map is faster for development
31
- devtool: '#eval-source-map',
32
- output: {
33
- // necessary for the html plugin to work properly
34
- // when serving the html from in-memory
35
- publicPath: '/'
36
- },
37
- plugins: [
38
- // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
39
- new webpack.optimize.OccurenceOrderPlugin(),
40
- new webpack.HotModuleReplacementPlugin(),
41
- new webpack.NoErrorsPlugin(),
42
- // https://github.com/ampedandwired/html-webpack-plugin
43
- new HtmlWebpackPlugin({
44
- filename: 'index.html',
45
- template: 'index.html',
46
- inject: true
47
- })
48
- ]
49
- })
1
+ var fs = require('fs')
2
+ var webpack = require('webpack')
3
+ var merge = require('webpack-merge')
4
+ var baseConfig = require('./webpack.base.conf')
5
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
6
+
7
+ // add hot-reload related code to entry chunks
8
+ Object.keys(baseConfig.entry).forEach(function (name) {
9
+ baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
10
+ })
11
+
12
+ // 把examples下所有index.html转换成测试例子.html
13
+ fs.readdirSync('./examples').forEach((file) => {
14
+ baseConfig.plugins.push(
15
+ // https://github.com/ampedandwired/html-webpack-plugin
16
+ new HtmlWebpackPlugin({
17
+ filename: file + '.html',
18
+ template: `examples/${file}/index.html`,
19
+ inject: false
20
+ })
21
+ )
22
+ })
23
+
24
+ // 把examples下子目录里的main.js打包成对应组件名的App.js
25
+ fs.readdirSync('./examples').forEach((file) => {
26
+ baseConfig.entry[file + 'App'] = `./examples/${file}/main.js`
27
+ })
28
+
29
+ module.exports = merge(baseConfig, {
30
+ // eval-source-map is faster for development
31
+ devtool: '#eval-source-map',
32
+ output: {
33
+ // necessary for the html plugin to work properly
34
+ // when serving the html from in-memory
35
+ publicPath: '/'
36
+ },
37
+ plugins: [
38
+ // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
39
+ new webpack.optimize.OccurenceOrderPlugin(),
40
+ new webpack.HotModuleReplacementPlugin(),
41
+ new webpack.NoErrorsPlugin(),
42
+ // https://github.com/ampedandwired/html-webpack-plugin
43
+ new HtmlWebpackPlugin({
44
+ filename: 'index.html',
45
+ template: 'index.html',
46
+ inject: true
47
+ })
48
+ ]
49
+ })
@@ -1,31 +1,31 @@
1
- // This is the webpack config used for unit tests.
2
-
3
- var utils = require('./utils')
4
- var webpack = require('webpack')
5
- var merge = require('webpack-merge')
6
- var baseConfig = require('./webpack.base.conf')
7
-
8
- var webpackConfig = merge(baseConfig, {
9
- module: {
10
- rules: utils.styleLoaders()
11
- },
12
- // use inline sourcemap for karma-sourcemap-loader
13
- devtool: '#inline-source-map',
14
- resolveLoader: {
15
- alias: {
16
- // necessary to to make lang="scss" work in test when using vue-loader's ?inject option
17
- // see discussion at https://github.com/vuejs/vue-loader/issues/724
18
- 'scss-loader': 'sass-loader'
19
- }
20
- },
21
- plugins: [
22
- new webpack.DefinePlugin({
23
- 'process.env': require('../config/test.env')
24
- })
25
- ]
26
- })
27
-
28
- // no need for app entry during tests
29
- delete webpackConfig.entry
30
-
31
- module.exports = webpackConfig
1
+ // This is the webpack config used for unit tests.
2
+
3
+ var utils = require('./utils')
4
+ var webpack = require('webpack')
5
+ var merge = require('webpack-merge')
6
+ var baseConfig = require('./webpack.base.conf')
7
+
8
+ var webpackConfig = merge(baseConfig, {
9
+ module: {
10
+ rules: utils.styleLoaders()
11
+ },
12
+ // use inline sourcemap for karma-sourcemap-loader
13
+ devtool: '#inline-source-map',
14
+ resolveLoader: {
15
+ alias: {
16
+ // necessary to to make lang="scss" work in test when using vue-loader's ?inject option
17
+ // see discussion at https://github.com/vuejs/vue-loader/issues/724
18
+ 'scss-loader': 'sass-loader'
19
+ }
20
+ },
21
+ plugins: [
22
+ new webpack.DefinePlugin({
23
+ 'process.env': require('../config/test.env')
24
+ })
25
+ ]
26
+ })
27
+
28
+ // no need for app entry during tests
29
+ delete webpackConfig.entry
30
+
31
+ module.exports = webpackConfig
package/config/dev.env.js CHANGED
@@ -1,6 +1,6 @@
1
- var merge = require('webpack-merge')
2
- var prodEnv = require('./prod.env')
3
-
4
- module.exports = merge(prodEnv, {
5
- NODE_ENV: '"development"'
6
- })
1
+ var merge = require('webpack-merge')
2
+ var prodEnv = require('./prod.env')
3
+
4
+ module.exports = merge(prodEnv, {
5
+ NODE_ENV: '"development"'
6
+ })
package/config/index.js CHANGED
@@ -1,38 +1,38 @@
1
- // see http://vuejs-templates.github.io/webpack for documentation.
2
- var path = require('path')
3
-
4
- module.exports = {
5
- build: {
6
- env: require('./prod.env'),
7
- index: path.resolve(__dirname, '../dist/index.html'),
8
- assetsRoot: path.resolve(__dirname, '../dist'),
9
- assetsSubDirectory: 'static',
10
- assetsPublicPath: '/',
11
- productionSourceMap: true,
12
- // Gzip off by default as many popular static hosts such as
13
- // Surge or Netlify already gzip all static assets for you.
14
- // Before setting to `true`, make sure to:
15
- // npm install --save-dev compression-webpack-plugin
16
- productionGzip: false,
17
- productionGzipExtensions: ['js', 'css'],
18
- // Run the build command with an extra argument to
19
- // View the bundle analyzer report after build finishes:
20
- // `npm run build --report`
21
- // Set to `true` or `false` to always turn it on or off
22
- bundleAnalyzerReport: process.env.npm_config_report
23
- },
24
- dev: {
25
- env: require('./dev.env'),
26
- port: 8080,
27
- autoOpenBrowser: true,
28
- assetsSubDirectory: 'static',
29
- assetsPublicPath: '/',
30
- proxyTable: {},
31
- // CSS Sourcemaps off by default because relative paths are "buggy"
32
- // with this option, according to the CSS-Loader README
33
- // (https://github.com/webpack/css-loader#sourcemaps)
34
- // In our experience, they generally work as expected,
35
- // just be aware of this issue when enabling this option.
36
- cssSourceMap: false
37
- }
38
- }
1
+ // see http://vuejs-templates.github.io/webpack for documentation.
2
+ var path = require('path')
3
+
4
+ module.exports = {
5
+ build: {
6
+ env: require('./prod.env'),
7
+ index: path.resolve(__dirname, '../dist/index.html'),
8
+ assetsRoot: path.resolve(__dirname, '../dist'),
9
+ assetsSubDirectory: 'static',
10
+ assetsPublicPath: '/',
11
+ productionSourceMap: true,
12
+ // Gzip off by default as many popular static hosts such as
13
+ // Surge or Netlify already gzip all static assets for you.
14
+ // Before setting to `true`, make sure to:
15
+ // npm install --save-dev compression-webpack-plugin
16
+ productionGzip: false,
17
+ productionGzipExtensions: ['js', 'css'],
18
+ // Run the build command with an extra argument to
19
+ // View the bundle analyzer report after build finishes:
20
+ // `npm run build --report`
21
+ // Set to `true` or `false` to always turn it on or off
22
+ bundleAnalyzerReport: process.env.npm_config_report
23
+ },
24
+ dev: {
25
+ env: require('./dev.env'),
26
+ port: 8080,
27
+ autoOpenBrowser: true,
28
+ assetsSubDirectory: 'static',
29
+ assetsPublicPath: '/',
30
+ proxyTable: {},
31
+ // CSS Sourcemaps off by default because relative paths are "buggy"
32
+ // with this option, according to the CSS-Loader README
33
+ // (https://github.com/webpack/css-loader#sourcemaps)
34
+ // In our experience, they generally work as expected,
35
+ // just be aware of this issue when enabling this option.
36
+ cssSourceMap: false
37
+ }
38
+ }
@@ -1,3 +1,3 @@
1
- module.exports = {
2
- NODE_ENV: '"production"'
3
- }
1
+ module.exports = {
2
+ NODE_ENV: '"production"'
3
+ }
@@ -1,6 +1,6 @@
1
- var merge = require('webpack-merge')
2
- var devEnv = require('./dev.env')
3
-
4
- module.exports = merge(devEnv, {
5
- NODE_ENV: '"testing"'
6
- })
1
+ var merge = require('webpack-merge')
2
+ var devEnv = require('./dev.env')
3
+
4
+ module.exports = merge(devEnv, {
5
+ NODE_ENV: '"testing"'
6
+ })
@@ -1,11 +1,11 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <title>ReadCard</title>
6
- </head>
7
- <body>
8
- <app></app>
9
- <script src="../ReadCardApp.js"></script>
10
- </body>
11
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>ReadCard</title>
6
+ </head>
7
+ <body>
8
+ <app></app>
9
+ <script src="../ReadCardApp.js"></script>
10
+ </body>
11
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.95",
3
+ "version": "3.4.99",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -86,9 +86,9 @@
86
86
  "sinon-chai": "^2.8.0",
87
87
  "style": "0.0.3",
88
88
  "style-loader": "^0.20.3",
89
- "system-clients": "3.1.89-14",
89
+ "system-clients": "3.2.0",
90
90
  "url-loader": "^0.5.7",
91
- "vue-client": "1.24.47",
91
+ "vue-client": "1.24.48",
92
92
  "vue-clipboard2": "0.3.1",
93
93
  "vue-hot-reload-api": "^1.2.0",
94
94
  "vue-html-loader": "^1.0.0",
package/release.bat CHANGED
@@ -1,5 +1,5 @@
1
- git add -A
2
- git commit -m "[build] %1"
3
- git tag -a V%1 -m "Release version %1"
4
- git push origin --tags
5
- git push
1
+ git add -A
2
+ git commit -m "[build] %1"
3
+ git tag -a V%1 -m "Release version %1"
4
+ git push origin --tags
5
+ git push
package/sale-client.iml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
9
  </module>
@@ -2,7 +2,7 @@
2
2
  <app-base class="bg">
3
3
  <div class='flex'>
4
4
  <article>
5
- <route :comp="{name: 'file-user-files'}"></route>
5
+ <route :comp="{name: 'load-data'}"></route>
6
6
  </article>
7
7
  </div>
8
8
  </app-base>
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>档案管理</title>
5
+ <title>智慧燃气</title>
6
6
  </head>
7
7
  <style>
8
8
  body {
@@ -10,7 +10,7 @@
10
10
  }
11
11
  </style>
12
12
  <body id="bodymain" class="themeOne" >
13
- <app ></app>
14
- <script src="./FileUserFiles.js"></script>
13
+ <app></app>
14
+ <script src="./page.js"></script>
15
15
  </body>
16
16
  </html>
@@ -4,7 +4,9 @@ import App from './App'
4
4
  import { system } from 'system-clients'
5
5
  import sale from '../../src/sale'
6
6
  import { address } from 'address-client'
7
+ import { ldap } from 'ldap-clients'
7
8
  import VueClipboard from 'vue-clipboard2'
9
+ import moment from 'moment'
8
10
  Vue.use(VueClipboard)
9
11
  Vue.config.silent = true
10
12
 
@@ -12,6 +14,7 @@ all()
12
14
  system(false)
13
15
  sale()
14
16
  address()
17
+ ldap()
15
18
  require('system-clients/src/styles/less/bootstrap.less')
16
19
 
17
20
  new Vue({
@@ -1 +1 @@
1
- <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1527772052094" class="icon" style="" viewBox="0 0 1198 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7583" xmlns:xlink="http://www.w3.org/1999/xlink" width="60" height="50"><defs><style type="text/css"></style></defs><path d="M515.454273 566.308846c-156.133133 0-283.173613-127.04048-283.173613-283.135233C232.28066 127.04048 359.282759 0 515.454273 0c156.094753 0 283.135232 127.04048 283.135232 283.173613s-127.04048 283.135232-283.135232 283.135233z m0-508.737632a225.871064 225.871064 0 0 0-225.602399 225.602399 225.832684 225.832684 0 0 0 225.602399 225.564018 225.832684 225.832684 0 0 0 225.564018-225.564018A225.871064 225.871064 0 0 0 515.454273 57.571214z" fill="#FBC400" p-id="7584"></path><path d="M28.785607 1024a28.785607 28.785607 0 0 1-28.785607-28.785607c0-268.013193 231.205997-486.092954 515.454273-486.092954 156.094753 0 302.095352 65.631184 400.542129 180.082759a28.785607 28.785607 0 1 1-43.638981 37.536432c-87.469865-101.709145-217.58081-160.047976-356.903148-160.047976-252.468966 0-457.883058 192.211094-457.883059 428.521739a28.785607 28.785607 0 0 1-28.785607 28.785607z" fill="#FBC400" p-id="7585"></path><path d="M727.508246 1024h-84.783209c-68.202699 0-123.701349-55.46027-123.701349-123.662969s55.46027-123.662969 123.701349-123.662968h173.596402a123.816492 123.816492 0 0 1 123.70135 123.662968 28.785607 28.785607 0 0 1-57.571215 0c0-36.461769-29.629985-66.091754-66.130135-66.091754h-173.596402c-36.461769 0-66.130135 29.629985-66.130134 66.091754s29.629985 66.091754 66.130134 66.091755h84.783209a28.785607 28.785607 0 0 1 0 57.571214z" fill="#FBC400" p-id="7586"></path><path d="M1074.432384 1024h-173.596402a123.816492 123.816492 0 0 1-123.701349-123.662969 28.785607 28.785607 0 0 1 57.571214 0c0 36.461769 29.629985 66.091754 66.130135 66.091755h173.596402c36.461769 0 66.130135-29.629985 66.130135-66.091755s-29.629985-66.091754-66.130135-66.091754h-84.744828a28.785607 28.785607 0 0 1 0-57.571214h84.744828c68.202699 0 123.701349 55.46027 123.701349 123.662968s-55.498651 123.662969-123.701349 123.662969z" fill="#FBC400" p-id="7587"></path></svg>
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1527772052094" class="icon" style="" viewBox="0 0 1198 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7583" xmlns:xlink="http://www.w3.org/1999/xlink" width="60" height="50"><defs><style type="text/css"></style></defs><path d="M515.454273 566.308846c-156.133133 0-283.173613-127.04048-283.173613-283.135233C232.28066 127.04048 359.282759 0 515.454273 0c156.094753 0 283.135232 127.04048 283.135232 283.173613s-127.04048 283.135232-283.135232 283.135233z m0-508.737632a225.871064 225.871064 0 0 0-225.602399 225.602399 225.832684 225.832684 0 0 0 225.602399 225.564018 225.832684 225.832684 0 0 0 225.564018-225.564018A225.871064 225.871064 0 0 0 515.454273 57.571214z" fill="#FBC400" p-id="7584"></path><path d="M28.785607 1024a28.785607 28.785607 0 0 1-28.785607-28.785607c0-268.013193 231.205997-486.092954 515.454273-486.092954 156.094753 0 302.095352 65.631184 400.542129 180.082759a28.785607 28.785607 0 1 1-43.638981 37.536432c-87.469865-101.709145-217.58081-160.047976-356.903148-160.047976-252.468966 0-457.883058 192.211094-457.883059 428.521739a28.785607 28.785607 0 0 1-28.785607 28.785607z" fill="#FBC400" p-id="7585"></path><path d="M727.508246 1024h-84.783209c-68.202699 0-123.701349-55.46027-123.701349-123.662969s55.46027-123.662969 123.701349-123.662968h173.596402a123.816492 123.816492 0 0 1 123.70135 123.662968 28.785607 28.785607 0 0 1-57.571215 0c0-36.461769-29.629985-66.091754-66.130135-66.091754h-173.596402c-36.461769 0-66.130135 29.629985-66.130134 66.091754s29.629985 66.091754 66.130134 66.091755h84.783209a28.785607 28.785607 0 0 1 0 57.571214z" fill="#FBC400" p-id="7586"></path><path d="M1074.432384 1024h-173.596402a123.816492 123.816492 0 0 1-123.701349-123.662969 28.785607 28.785607 0 0 1 57.571214 0c0 36.461769 29.629985 66.091754 66.130135 66.091755h173.596402c36.461769 0 66.130135-29.629985 66.130135-66.091755s-29.629985-66.091754-66.130135-66.091754h-84.744828a28.785607 28.785607 0 0 1 0-57.571214h84.744828c68.202699 0 123.701349 55.46027 123.701349 123.662968s-55.498651 123.662969-123.701349 123.662969z" fill="#FBC400" p-id="7587"></path></svg>
@@ -1 +1 @@
1
- <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1527771984655" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5426" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M596.608 858.944l-85.632 85.568c-100.928 100.864-263.168 103.04-361.536 4.672-98.368-98.432-96.192-260.608 4.672-361.536l185.792-185.856A76.544 76.544 0 1 1 448.192 510.08L262.4 695.808c-41.28 41.344-43.328 106.368-4.672 145.088 38.656 38.72 103.808 36.544 145.088-4.608l85.568-85.632a76.544 76.544 0 1 1 108.224 108.288z" fill="#d4237a" p-id="5427"></path><path d="M869.888 436.416l-185.856 185.792A76.608 76.608 0 0 1 575.744 513.92L761.6 328.128c41.28-41.28 43.392-106.304 4.608-144.96-38.656-38.72-103.616-36.672-144.896 4.608l-85.76 85.632a76.544 76.544 0 1 1-108.224-108.224l85.632-85.632c100.928-100.992 263.168-103.104 361.536-4.736 98.368 98.496 96.32 260.608-4.608 361.6z" fill="#d4237a" p-id="5428"></path></svg>
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1527771984655" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5426" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M596.608 858.944l-85.632 85.568c-100.928 100.864-263.168 103.04-361.536 4.672-98.368-98.432-96.192-260.608 4.672-361.536l185.792-185.856A76.544 76.544 0 1 1 448.192 510.08L262.4 695.808c-41.28 41.344-43.328 106.368-4.672 145.088 38.656 38.72 103.808 36.544 145.088-4.608l85.568-85.632a76.544 76.544 0 1 1 108.224 108.288z" fill="#d4237a" p-id="5427"></path><path d="M869.888 436.416l-185.856 185.792A76.608 76.608 0 0 1 575.744 513.92L761.6 328.128c41.28-41.28 43.392-106.304 4.608-144.96-38.656-38.72-103.616-36.672-144.896 4.608l-85.76 85.632a76.544 76.544 0 1 1-108.224-108.224l85.632-85.632c100.928-100.992 263.168-103.104 361.536-4.736 98.368 98.496 96.32 260.608-4.608 361.6z" fill="#d4237a" p-id="5428"></path></svg>