system-clients 3.2.5 → 3.2.6

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 (76) hide show
  1. package/.eslintrc.js +16 -16
  2. package/SystemClient.iml +2 -5
  3. package/build/webpack.base.conf.js +21 -11
  4. package/package.json +6 -4
  5. package/src/App.vue +24 -24
  6. package/src/components/Main.vue +626 -476
  7. package/src/components/TabButton.vue +201 -0
  8. package/src/components/Tabs.vue +67 -0
  9. package/src/components/addressManage/AddressCascadingMenu.vue +145 -0
  10. package/src/components/equipment/EquipmentManage.vue +1 -1
  11. package/src/components/equipment/PcAdd.vue +5 -5
  12. package/src/components/equipment/PcList.vue +5 -5
  13. package/src/components/equipment/PhoneAdd.vue +26 -13
  14. package/src/components/equipment/PhoneList.vue +31 -21
  15. package/src/components/equipment/PosAdd.vue +231 -45
  16. package/src/components/equipment/PosList.vue +198 -68
  17. package/src/components/equipment/PosManage.vue +80 -9
  18. package/src/components/equipment/PosManageBoth.vue +125 -0
  19. package/src/components/equipment/PosParamAdd.vue +236 -0
  20. package/src/components/equipment/PosParamList.vue +121 -0
  21. package/src/components/equipment/PosParamManage.vue +51 -0
  22. package/src/components/parammanage/ParamManage.vue +2 -2
  23. package/src/components/parammanage/ParamPage.vue +30 -8
  24. package/src/components/parammanage/SinglePage.vue +4 -4
  25. package/src/components/server/ImageVieweTest.vue +56 -0
  26. package/src/components/server/ImageViewer.vue +350 -0
  27. package/src/components/server/LoadData.vue +21 -2
  28. package/src/components/server/Login.vue +784 -519
  29. package/src/components/server/ModifyPw.vue +12 -7
  30. package/src/components/server/PcdBuildingSelect.vue +241 -0
  31. package/src/components/server/ResSelect.vue +5 -0
  32. package/src/components/server/ResSelectGroup.vue +159 -103
  33. package/src/components/server/RightTree.vue +289 -204
  34. package/src/filiale/dongguan/Main.vue +715 -0
  35. package/src/filiale/dongguan/system.js +5 -0
  36. package/src/filiale/konggang/Login.vue +840 -0
  37. package/src/filiale/konggang/system.js +7 -0
  38. package/src/filiale/qianneng/ModifyPw.vue +107 -0
  39. package/src/filiale/qianneng/system.js +7 -0
  40. package/src/filiale/rizhao/LeftTree.vue +111 -0
  41. package/src/filiale/rizhao/Login.vue +791 -0
  42. package/src/filiale/rizhao/Main.vue +606 -0
  43. package/src/filiale/rizhao/system.js +14 -0
  44. package/src/filiale/yuchuan/Login.vue +889 -0
  45. package/src/filiale/yuchuan/Main.vue +773 -0
  46. package/src/filiale/yuchuan/system.js +10 -0
  47. package/src/plugins/EncryptUtil.js +53 -0
  48. package/src/plugins/GetLoginInfoService.js +76 -70
  49. package/src/plugins/HeatGetLoginInfoService.js +491 -0
  50. package/src/plugins/validation.js +9 -1
  51. package/src/stores/HeatAppData.js +38 -0
  52. package/src/styles/less/aofeng/standard.less +446 -60
  53. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
  54. package/src/styles/less/aofeng/themeOne/systemStyle.less +12 -12
  55. package/src/styles/less/aofeng/themeOne.less +4 -1
  56. package/src/styles/less/manageStyle/manageStyle/manageChile.less +180 -0
  57. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +1102 -0
  58. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +498 -0
  59. package/src/styles/less/tables.less +50 -0
  60. package/src/styles/less/type.less +16 -3
  61. package/src/styles/less/variables.less +6 -3
  62. package/src/system.js +34 -1
  63. package/src/util/Daiban.json +12 -0
  64. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  65. package/static/logo.png +0 -0
  66. package/static/newStyle/about-us.png +0 -0
  67. package/static/rizhao.png +0 -0
  68. package/yarn-error.log +6896 -0
  69. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  70. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  71. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  72. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  73. package/.gradle/5.2.1/gc.properties +0 -0
  74. package/.gradle/buildOutputCleanup/built.bin +0 -0
  75. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  76. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
package/.eslintrc.js CHANGED
@@ -1,16 +1,16 @@
1
- module.exports = {
2
- root: true,
3
- // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
4
- extends: 'standard',
5
- // required to lint *.vue files
6
- plugins: [
7
- 'eslint-plugin-html'
8
- ],
9
- // add your custom rules here
10
- 'rules': {
11
- // allow paren-less arrow functions
12
- 'arrow-parens': 0,
13
- // allow debugger during development
14
- 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
15
- }
16
- }
1
+ // module.exports = {
2
+ // root: true,
3
+ // // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
4
+ // extends: 'standard',
5
+ // // required to lint *.vue files
6
+ // plugins: [
7
+ // 'eslint-plugin-html'
8
+ // ],
9
+ // // add your custom rules here
10
+ // 'rules': {
11
+ // // allow paren-less arrow functions
12
+ // 'arrow-parens': 0,
13
+ // // allow debugger during development
14
+ // 'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
15
+ // }
16
+ // }
package/SystemClient.iml CHANGED
@@ -1,11 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="1.6.18" type="JAVA_MODULE" version="4">
2
+ <module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
3
  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
4
  <exclude-output />
5
- <content url="file://$MODULE_DIR$">
6
- <excludeFolder url="file://$MODULE_DIR$/.gradle" />
7
- <excludeFolder url="file://$MODULE_DIR$/build" />
8
- </content>
5
+ <content url="file://$MODULE_DIR$" />
9
6
  <orderEntry type="inheritedJdk" />
10
7
  <orderEntry type="sourceFolder" forTests="false" />
11
8
  </component>
@@ -7,16 +7,16 @@ module.exports = {
7
7
  app: './src/main.js'
8
8
  },
9
9
  output: {
10
- path: path.resolve(__dirname, '../dist/static'),
11
- publicPath: 'static/',
10
+ path: path.resolve(__dirname, '../dist/mergeUser'),
11
+ publicPath: 'mergeUser/',
12
12
  filename: '[name].js'
13
13
  },
14
14
  resolve: {
15
15
  extensions: ['', '.js', '.vue'],
16
16
  fallback: [path.join(__dirname, '../node_modules')],
17
17
  alias: {
18
- 'test': path.resolve(__dirname, '../test'),
19
- 'src': path.resolve(__dirname, '../src')
18
+ 'src': path.resolve(__dirname, '../src'),
19
+ 'test': path.resolve(__dirname, '../test')
20
20
  }
21
21
  },
22
22
  resolveLoader: {
@@ -32,13 +32,19 @@ module.exports = {
32
32
  test: /\.js$/,
33
33
  loader: 'babel',
34
34
  include: [
35
- `${projectRoot}\\src`,
36
- `${projectRoot}\\build`,
37
- `${projectRoot}\\examples`,
38
- `${projectRoot}\\test`,
39
- `${projectRoot}\\node_modules\\vue-client\\src`,
40
- `${projectRoot}\\node_modules\\vue-strap\\src`
41
- ]
35
+ /src/,
36
+ /build/,
37
+ /examples/,
38
+ /test/,
39
+ /node_modules\/vue-client\/src/,
40
+ /node_modules\/vue-strap\/src/,
41
+ /node_modules\/system-clients\/src/,
42
+ /node_modules\/ldap-clients\/src/,
43
+ /node_modules\/address-client\/src/
44
+ ],
45
+ options: {
46
+ presets: ['es2015']
47
+ }
42
48
  },
43
49
  {
44
50
  test: /\.json$/,
@@ -52,6 +58,10 @@ module.exports = {
52
58
  test: /\.less$/,
53
59
  loader: 'style!css!less'
54
60
  },
61
+ {
62
+ test: /\.css$/,
63
+ loader: 'style!css'
64
+ },
55
65
  {
56
66
  test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
57
67
  loader: 'url',
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.2.5",
3
+ "version": "3.2.6",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
7
+ "doc": "doc",
7
8
  "example": "examples",
8
9
  "test": "test"
9
10
  },
@@ -19,9 +20,9 @@
19
20
  "dependencies": {
20
21
  "base64-js": "^1.3.0",
21
22
  "js-base64": "^2.4.9",
22
- "jsencrypt": "^3.0.0-rc.1",
23
23
  "less": "^2.7.1",
24
24
  "less-loader": "^2.2.3",
25
+ "nyc": "^15.1.0",
25
26
  "src": "^1.1.2",
26
27
  "vue": "^1.0.17"
27
28
  },
@@ -55,6 +56,7 @@
55
56
  "isparta-loader": "^2.0.0",
56
57
  "jasmine-core": "^2.4.1",
57
58
  "jquery": "^3.3.1",
59
+ "jsencrypt": "^3.0.0-rc.1",
58
60
  "json-loader": "^0.5.4",
59
61
  "karma": "^1.4.1",
60
62
  "karma-chrome-launcher": "^2.2.0",
@@ -76,7 +78,7 @@
76
78
  "style": "0.0.3",
77
79
  "style-loader": "^0.20.3",
78
80
  "url-loader": "^0.5.7",
79
- "vue-client": "1.21.60",
81
+ "vue-client": "1.24.53",
80
82
  "vue-hot-reload-api": "^1.2.0",
81
83
  "vue-html-loader": "^1.0.0",
82
84
  "vue-loader": "^8.2.1",
@@ -84,7 +86,7 @@
84
86
  "vue-router": "^0.7.13",
85
87
  "vue-strap": "^1.0.9",
86
88
  "vue-style-loader": "^1.0.0",
87
- "vue-validator": "^3.0.0-alpha.2",
89
+ "vue-validator": "2.1.7",
88
90
  "webpack": "^1.12.2",
89
91
  "webpack-dev-middleware": "^1.4.0",
90
92
  "webpack-hot-middleware": "^2.6.0",
package/src/App.vue CHANGED
@@ -1,24 +1,24 @@
1
- <template>
2
- <app-base class="bg">
3
- <div class='flex'>
4
- <article>
5
- <!--<route :comp="{name: 'check-model'}"></route>-->
6
- <!--<route :comp="{name: 'vender-management'}"></route>-->
7
- <route :comp="{name: 'login'}"></route>
8
- <!-- <route :comp="{name: 'load-data'}"></route> -->
9
- <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
- <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
- </article>
12
- </div>
13
- </app-base>
14
- </template>
15
-
16
- <script>
17
- // import cardListen from './plugins/CardListen'
18
-
19
- export default {
20
- // ready () {
21
- // cardListen.startListen()
22
- // }
23
- }
24
- </script>
1
+ <template>
2
+ <app-base class="bg">
3
+ <div class='flex'>
4
+ <article>
5
+ <!--<route :comp="{name: 'check-model'}"></route>-->
6
+ <!--<route :comp="{name: 'vender-management'}"></route>-->
7
+ <route :comp="{name: 'login'}"></route>
8
+ <!-- <route :comp="{name: 'load-data'}"></route> -->
9
+ <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
+ <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
+ </article>
12
+ </div>
13
+ </app-base>
14
+ </template>
15
+
16
+ <script>
17
+ // import cardListen from './plugins/CardListen'
18
+
19
+ export default {
20
+ // ready () {
21
+ // cardListen.startListen()
22
+ // }
23
+ }
24
+ </script>