system-clients 3.1.90 → 3.1.91-xianyang

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 (144) hide show
  1. package/.eslintrc.js +16 -16
  2. package/build/webpack.base.conf.js +75 -85
  3. package/package.json +102 -102
  4. package/src/components/Main.vue +4 -46
  5. package/src/components/equipment/EquipmentManage.vue +68 -65
  6. package/src/components/equipment/PosAdd.vue +299 -322
  7. package/src/components/equipment/PosList.vue +254 -294
  8. package/src/components/equipment/PosManage.vue +150 -138
  9. package/src/components/equipment/QCAdd.vue +333 -0
  10. package/src/components/equipment/QCList.vue +230 -0
  11. package/src/components/equipment/QCManage.vue +150 -0
  12. package/src/components/parammanage/ParamManage.vue +2 -2
  13. package/src/components/parammanage/ParamPage.vue +7 -7
  14. package/src/components/parammanage/SinglePage.vue +4 -4
  15. package/src/components/server/Login.vue +59 -124
  16. package/src/components/server/ModifyPw.vue +16 -6
  17. package/src/components/server/ResSelect.vue +5 -6
  18. package/src/components/server/ResSelectGroup.vue +118 -155
  19. package/src/components/server/RightTree.vue +207 -241
  20. package/src/plugins/EncryptUtil.js +53 -0
  21. package/src/plugins/GetLoginInfoService.js +3 -0
  22. package/src/plugins/validation.js +1 -1
  23. package/src/system.js +89 -93
  24. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  25. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  26. package/.gradle/5.2.1/gc.properties +0 -0
  27. package/.gradle/buildOutputCleanup/built.bin +0 -0
  28. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  29. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  30. package/.gradle/vcs-1/gc.properties +0 -0
  31. package/src/components/TabButton.vue +0 -201
  32. package/src/components/Tabs.vue +0 -67
  33. package/src/components/equipment/PosManageBoth.vue +0 -125
  34. package/src/components/equipment/PosParamAdd.vue +0 -234
  35. package/src/components/equipment/PosParamList.vue +0 -121
  36. package/src/components/equipment/PosParamManage.vue +0 -51
  37. package/src/components/server/ImageVieweTest.vue +0 -56
  38. package/src/components/server/ImageViewer.vue +0 -350
  39. package/src/components/server/PcdBuildingSelect.vue +0 -241
  40. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  41. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  42. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  43. package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
  44. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  45. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  46. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  47. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  48. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  49. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  50. package/src/styles/fonts/trendstrends.ttf +0 -0
  51. package/src/styles/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
  52. package/src/styles/less/.csscomb.json +0 -304
  53. package/src/styles/less/.csslintrc +0 -19
  54. package/src/styles/less/alerts.less +0 -73
  55. package/src/styles/less/aofeng/animate.min.css +0 -11
  56. package/src/styles/less/aofeng/expandcss.less +0 -569
  57. package/src/styles/less/aofeng/standard.less +0 -2507
  58. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
  59. package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
  60. package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
  61. package/src/styles/less/aofeng/themeOne.less +0 -17
  62. package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
  63. package/src/styles/less/aofeng/themeTwo.less +0 -3
  64. package/src/styles/less/badges.less +0 -66
  65. package/src/styles/less/bootstrap.less +0 -66
  66. package/src/styles/less/breadcrumbs.less +0 -26
  67. package/src/styles/less/button-groups.less +0 -247
  68. package/src/styles/less/buttons.less +0 -172
  69. package/src/styles/less/carousel.less +0 -269
  70. package/src/styles/less/close.less +0 -34
  71. package/src/styles/less/code.less +0 -69
  72. package/src/styles/less/component-animations.less +0 -33
  73. package/src/styles/less/dropdowns.less +0 -216
  74. package/src/styles/less/fonts-list.less +0 -25
  75. package/src/styles/less/forms.less +0 -626
  76. package/src/styles/less/glyphicons.less +0 -305
  77. package/src/styles/less/grid.less +0 -84
  78. package/src/styles/less/input-groups.less +0 -167
  79. package/src/styles/less/jumbotron.less +0 -52
  80. package/src/styles/less/labels.less +0 -64
  81. package/src/styles/less/list-group.less +0 -141
  82. package/src/styles/less/manageStyle/manageChile.less +0 -180
  83. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  84. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  85. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  86. package/src/styles/less/manageStyle/manageStyle.less +0 -1102
  87. package/src/styles/less/manageStyle/safeStyle.less +0 -498
  88. package/src/styles/less/media.less +0 -66
  89. package/src/styles/less/mixins/alerts.less +0 -14
  90. package/src/styles/less/mixins/background-variant.less +0 -9
  91. package/src/styles/less/mixins/border-radius.less +0 -18
  92. package/src/styles/less/mixins/buttons.less +0 -69
  93. package/src/styles/less/mixins/center-block.less +0 -7
  94. package/src/styles/less/mixins/clearfix.less +0 -22
  95. package/src/styles/less/mixins/forms.less +0 -90
  96. package/src/styles/less/mixins/gradients.less +0 -59
  97. package/src/styles/less/mixins/grid-framework.less +0 -92
  98. package/src/styles/less/mixins/grid.less +0 -122
  99. package/src/styles/less/mixins/hide-text.less +0 -21
  100. package/src/styles/less/mixins/image.less +0 -33
  101. package/src/styles/less/mixins/labels.less +0 -12
  102. package/src/styles/less/mixins/list-group.less +0 -30
  103. package/src/styles/less/mixins/nav-divider.less +0 -10
  104. package/src/styles/less/mixins/nav-vertical-align.less +0 -9
  105. package/src/styles/less/mixins/opacity.less +0 -8
  106. package/src/styles/less/mixins/pagination.less +0 -24
  107. package/src/styles/less/mixins/panels.less +0 -24
  108. package/src/styles/less/mixins/progress-bar.less +0 -10
  109. package/src/styles/less/mixins/reset-filter.less +0 -8
  110. package/src/styles/less/mixins/reset-text.less +0 -18
  111. package/src/styles/less/mixins/resize.less +0 -6
  112. package/src/styles/less/mixins/responsive-visibility.less +0 -15
  113. package/src/styles/less/mixins/size.less +0 -10
  114. package/src/styles/less/mixins/tab-focus.less +0 -9
  115. package/src/styles/less/mixins/table-row.less +0 -44
  116. package/src/styles/less/mixins/text-emphasis.less +0 -9
  117. package/src/styles/less/mixins/text-overflow.less +0 -8
  118. package/src/styles/less/mixins/vendor-prefixes.less +0 -227
  119. package/src/styles/less/mixins.less +0 -40
  120. package/src/styles/less/modals.less +0 -151
  121. package/src/styles/less/navbar.less +0 -660
  122. package/src/styles/less/navs.less +0 -285
  123. package/src/styles/less/normalize.less +0 -424
  124. package/src/styles/less/pager.less +0 -76
  125. package/src/styles/less/pagination.less +0 -89
  126. package/src/styles/less/panels.less +0 -275
  127. package/src/styles/less/popovers.less +0 -131
  128. package/src/styles/less/print.less +0 -101
  129. package/src/styles/less/progress-bars.less +0 -87
  130. package/src/styles/less/responsive-embed.less +0 -35
  131. package/src/styles/less/responsive-utilities.less +0 -194
  132. package/src/styles/less/scaffolding.less +0 -161
  133. package/src/styles/less/stand.less +0 -207
  134. package/src/styles/less/tables.less +0 -312
  135. package/src/styles/less/theme.less +0 -291
  136. package/src/styles/less/thumbnails.less +0 -36
  137. package/src/styles/less/tooltip.less +0 -102
  138. package/src/styles/less/type.less +0 -316
  139. package/src/styles/less/utilities.less +0 -55
  140. package/src/styles/less/variables.less +0 -899
  141. package/src/styles/less/wells.less +0 -29
  142. package/static/logo.png +0 -0
  143. package/static/newStyle/about-us.png +0 -0
  144. package/yarn-error.log +0 -6896
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
+ }
@@ -1,85 +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/mergeUser'),
11
- publicPath: 'mergeUser/',
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
- 'test': path.resolve(__dirname, '../test')
20
- }
21
- },
22
- resolveLoader: {
23
- fallback: [path.join(__dirname, '../node_modules')]
24
- },
25
- module: {
26
- loaders: [
27
- {
28
- test: /\.vue$/,
29
- loader: 'vue'
30
- },
31
- {
32
- test: /\.js$/,
33
- loader: 'babel',
34
- include: [
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
- }
48
- },
49
- {
50
- test: /\.json$/,
51
- loader: 'json'
52
- },
53
- {
54
- test: /\.html$/,
55
- loader: 'vue-html'
56
- },
57
- {
58
- test: /\.less$/,
59
- loader: 'style!css!less'
60
- },
61
- {
62
- test: /\.css$/,
63
- loader: 'style!css'
64
- },
65
- {
66
- test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
67
- loader: 'url',
68
- query: {
69
- limit: 10000,
70
- name: '[name].[ext]?[hash:7]'
71
- }
72
- }
73
- ]
74
- },
75
- vue: {
76
- loaders: cssLoaders({
77
- sourceMap: false,
78
- extract: false
79
- })
80
- },
81
- plugins: [],
82
- eslint: {
83
- formatter: require('eslint-friendly-formatter')
84
- }
85
- }
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
+ 'test': path.resolve(__dirname, '../test'),
19
+ 'src': path.resolve(__dirname, '../src')
20
+ }
21
+ },
22
+ resolveLoader: {
23
+ fallback: [path.join(__dirname, '../node_modules')]
24
+ },
25
+ module: {
26
+ loaders: [
27
+ {
28
+ test: /\.vue$/,
29
+ loader: 'vue'
30
+ },
31
+ {
32
+ test: /\.js$/,
33
+ loader: 'babel',
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
+ ]
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,102 +1,102 @@
1
- {
2
- "name": "system-clients",
3
- "version": "3.1.90",
4
- "description": "系统基础框架",
5
- "main": "src/index.js",
6
- "directories": {
7
- "example": "examples",
8
- "test": "test"
9
- },
10
- "scripts": {
11
- "example": "node build/example-server.js",
12
- "dev": "node build/dev-server.js",
13
- "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
14
- "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
15
- "e2e": "node test/e2e/runner.js",
16
- "unit": "karma start test/unit/karma.conf.js",
17
- "release": "npm set registry http://registry.npmjs.org && npm publish && npm set registry http://registry.npm.taobao.org"
18
- },
19
- "dependencies": {
20
- "base64-js": "^1.3.0",
21
- "js-base64": "^2.4.9",
22
- "jsencrypt": "^3.0.0-rc.1",
23
- "less": "^2.7.1",
24
- "less-loader": "^2.2.3",
25
- "src": "^1.1.2",
26
- "vue": "^1.0.17"
27
- },
28
- "devDependencies": {
29
- "babel-core": "^6.0.0",
30
- "babel-loader": "^6.0.0",
31
- "babel-plugin-transform-runtime": "^6.0.0",
32
- "babel-preset-es2015": "^6.0.0",
33
- "babel-preset-stage-2": "^6.0.0",
34
- "chai": "^3.5.0",
35
- "connect-history-api-fallback": "^1.1.0",
36
- "cross-env": "^1.0.7",
37
- "cross-spawn": "^2.1.5",
38
- "css-loader": "^0.23.0",
39
- "eslint": "^2.0.0",
40
- "eslint-config-standard": "^5.1.0",
41
- "eslint-friendly-formatter": "^1.2.2",
42
- "eslint-loader": "^1.3.0",
43
- "eslint-plugin-html": "^1.3.0",
44
- "eslint-plugin-promise": "^1.0.8",
45
- "eslint-plugin-standard": "^1.3.2",
46
- "eslint-plugin-vue": "^0.1.1",
47
- "eventsource-polyfill": "^0.9.6",
48
- "express": "^4.13.3",
49
- "extract-text-webpack-plugin": "^1.0.1",
50
- "file-loader": "^0.8.4",
51
- "function-bind": "^1.0.2",
52
- "html-webpack-plugin": "^2.8.1",
53
- "http-proxy-middleware": "^0.11.0",
54
- "inject-loader": "^2.0.1",
55
- "isparta-loader": "^2.0.0",
56
- "jasmine-core": "^2.4.1",
57
- "jquery": "^3.3.1",
58
- "json-loader": "^0.5.4",
59
- "karma": "^1.4.1",
60
- "karma-chrome-launcher": "^2.2.0",
61
- "karma-coverage": "^1.1.1",
62
- "karma-mocha": "^1.3.0",
63
- "karma-sinon-chai": "^1.3.1",
64
- "karma-sourcemap-loader": "^0.3.7",
65
- "karma-spec-reporter": "0.0.31",
66
- "karma-webpack": "^2.0.2",
67
- "manage-client": "^1.4.20",
68
- "mkdirp": "^0.5.1",
69
- "mocha": "^3.2.0",
70
- "ncp": "^2.0.0",
71
- "nightwatch": "^0.8.18",
72
- "rimraf": "^2.5.0",
73
- "selenium-server": "2.52.0",
74
- "sinon": "^2.1.0",
75
- "sinon-chai": "^2.8.0",
76
- "style": "0.0.3",
77
- "style-loader": "^0.20.3",
78
- "url-loader": "^0.5.7",
79
- "vue-client": "1.24.33",
80
- "vue-hot-reload-api": "^1.2.0",
81
- "vue-html-loader": "^1.0.0",
82
- "vue-loader": "^8.2.1",
83
- "vue-resource": "^1.5.0",
84
- "vue-router": "^0.7.13",
85
- "vue-strap": "^1.0.9",
86
- "vue-style-loader": "^1.0.0",
87
- "vue-validator": "2.1.7",
88
- "webpack": "^1.12.2",
89
- "webpack-dev-middleware": "^1.4.0",
90
- "webpack-hot-middleware": "^2.6.0",
91
- "webpack-merge": "^0.8.3"
92
- },
93
- "repository": {
94
- "type": "git",
95
- "url": "https://gitee.com/aotu/System"
96
- },
97
- "keywords": [
98
- "system_clients"
99
- ],
100
- "author": "杨文宇",
101
- "license": "ISC"
102
- }
1
+ {
2
+ "name": "system-clients",
3
+ "version": "3.1.91-xianyang",
4
+ "description": "系统基础框架",
5
+ "main": "src/index.js",
6
+ "directories": {
7
+ "example": "examples",
8
+ "test": "test"
9
+ },
10
+ "scripts": {
11
+ "example": "node build/example-server.js",
12
+ "dev": "node build/dev-server.js",
13
+ "lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
14
+ "build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
15
+ "e2e": "node test/e2e/runner.js",
16
+ "unit": "karma start test/unit/karma.conf.js",
17
+ "release": "npm set registry http://registry.npmjs.org && npm publish && npm set registry http://registry.npm.taobao.org"
18
+ },
19
+ "dependencies": {
20
+ "base64-js": "^1.3.0",
21
+ "js-base64": "^2.4.9",
22
+ "jsencrypt": "^3.0.0-rc.1",
23
+ "less": "^2.7.1",
24
+ "less-loader": "^2.2.3",
25
+ "src": "^1.1.2",
26
+ "vue": "^1.0.17"
27
+ },
28
+ "devDependencies": {
29
+ "babel-core": "^6.0.0",
30
+ "babel-loader": "^6.0.0",
31
+ "babel-plugin-transform-runtime": "^6.0.0",
32
+ "babel-preset-es2015": "^6.0.0",
33
+ "babel-preset-stage-2": "^6.0.0",
34
+ "chai": "^3.5.0",
35
+ "connect-history-api-fallback": "^1.1.0",
36
+ "cross-env": "^1.0.7",
37
+ "cross-spawn": "^2.1.5",
38
+ "css-loader": "^0.23.0",
39
+ "eslint": "^2.0.0",
40
+ "eslint-config-standard": "^5.1.0",
41
+ "eslint-friendly-formatter": "^1.2.2",
42
+ "eslint-loader": "^1.3.0",
43
+ "eslint-plugin-html": "^1.3.0",
44
+ "eslint-plugin-promise": "^1.0.8",
45
+ "eslint-plugin-standard": "^1.3.2",
46
+ "eslint-plugin-vue": "^0.1.1",
47
+ "eventsource-polyfill": "^0.9.6",
48
+ "express": "^4.13.3",
49
+ "extract-text-webpack-plugin": "^1.0.1",
50
+ "file-loader": "^0.8.4",
51
+ "function-bind": "^1.0.2",
52
+ "html-webpack-plugin": "^2.8.1",
53
+ "http-proxy-middleware": "^0.11.0",
54
+ "inject-loader": "^2.0.1",
55
+ "isparta-loader": "^2.0.0",
56
+ "jasmine-core": "^2.4.1",
57
+ "jquery": "^3.3.1",
58
+ "json-loader": "^0.5.4",
59
+ "karma": "^1.4.1",
60
+ "karma-chrome-launcher": "^2.2.0",
61
+ "karma-coverage": "^1.1.1",
62
+ "karma-mocha": "^1.3.0",
63
+ "karma-sinon-chai": "^1.3.1",
64
+ "karma-sourcemap-loader": "^0.3.7",
65
+ "karma-spec-reporter": "0.0.31",
66
+ "karma-webpack": "^2.0.2",
67
+ "manage-client": "^1.4.20",
68
+ "mkdirp": "^0.5.1",
69
+ "mocha": "^3.2.0",
70
+ "ncp": "^2.0.0",
71
+ "nightwatch": "^0.8.18",
72
+ "rimraf": "^2.5.0",
73
+ "selenium-server": "2.52.0",
74
+ "sinon": "^2.1.0",
75
+ "sinon-chai": "^2.8.0",
76
+ "style": "0.0.3",
77
+ "style-loader": "^0.20.3",
78
+ "url-loader": "^0.5.7",
79
+ "vue-client": "1.21.60",
80
+ "vue-hot-reload-api": "^1.2.0",
81
+ "vue-html-loader": "^1.0.0",
82
+ "vue-loader": "^8.2.1",
83
+ "vue-resource": "^1.5.0",
84
+ "vue-router": "^0.7.13",
85
+ "vue-strap": "^1.0.9",
86
+ "vue-style-loader": "^1.0.0",
87
+ "vue-validator": "^3.0.0-alpha.2",
88
+ "webpack": "^1.12.2",
89
+ "webpack-dev-middleware": "^1.4.0",
90
+ "webpack-hot-middleware": "^2.6.0",
91
+ "webpack-merge": "^0.8.3"
92
+ },
93
+ "repository": {
94
+ "type": "git",
95
+ "url": "https://gitee.com/aotu/System"
96
+ },
97
+ "keywords": [
98
+ "system_clients"
99
+ ],
100
+ "author": "杨文宇",
101
+ "license": "ISC"
102
+ }
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div @click="hindsetting1()" :class="{'with-watermark':showwatermakeflag}">
2
+ <div @click="hindsetting1()">
3
3
  <!-- <div class="system-main" id="box" v-el:box v-if="!isManger">-->
4
4
  <!-- <div class="system-logo" style="height: auto">-->
5
5
  <!-- <img :src="imgs.logoimg" alt=""/>-->
@@ -85,7 +85,7 @@
85
85
  <!-- <li>{{name}}</li> -->
86
86
  <li>{{date}}</li>
87
87
  <li @click="show=true">修改密码</li>
88
- <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
88
+ <li @click="AddChangeMsgShow=true">系统版本:{{$login.version?$login.version:'1.0.0'}}</li>
89
89
  </ul>
90
90
 
91
91
  </dropdown>
@@ -121,47 +121,6 @@
121
121
  import vue from 'vue'
122
122
  import co from 'co'
123
123
 
124
- let getwartermakr = async function(self){
125
- let param = {
126
- tablename:'t_singlevalue',
127
- condition: " 1=1 and name=\'水印内容\'"
128
- };
129
- let result =await self.$resetpost('rs/sql/saleSingleTable',{data:param},{resolveMsg: null, rejectMsg: null});
130
- if(result && result.data.length>0){
131
- self.showwatermakeflag = true;
132
- createWaterMark(result.data[0].value);
133
- }else{
134
- self.showwatermakeflag = false;
135
- }
136
- }
137
-
138
- let createWaterMark = function(userName){
139
- let style;
140
- if (style) style.remove();
141
- let width = window.parseInt(document.body.clientWidth);
142
- let canvasWidth = width / window.parseInt(width / 320);
143
- let fontFamily = window.getComputedStyle(document.body)["font-family"];
144
- let canvas = document.createElement("canvas");
145
- canvas.width = canvasWidth;
146
- canvas.height = 200;
147
- let ctx = canvas.getContext("2d");
148
- ctx.rotate((-20 * Math.PI) / 180);
149
- ctx.font = `20px ${fontFamily}`;
150
- ctx.fillStyle = "rgba(8,8,8,.1)";
151
- ctx.fillText(userName, 50, 200);
152
- let imgSrc = canvas.toDataURL("image/png");
153
- style = document.createElement("style");
154
- style.innerHTML = `.with-watermark:before{
155
- content: "";
156
- width: 100%;
157
- height: 100%;
158
- display: block;
159
- position: absolute;
160
- background-image: url("${imgSrc}");
161
- }`;
162
- (document.head.append || document.head.appendChild).apply(document.head, [style]);
163
- }
164
-
165
124
  window.onunload = () => {
166
125
  vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
167
126
  }
@@ -191,8 +150,8 @@
191
150
  tabs:[], //已初始化页签数组
192
151
  selecttab:'',
193
152
  setting:true,
194
- srcsetting:'../../static/newStyle/setting.png',
195
- showwatermakeflag:false,
153
+ srcsetting:'../../static/newStyle/setting.png'
154
+
196
155
  // headerHint: true, // 右侧顶部提示信息
197
156
  // value: 25645.26,
198
157
  // AddChangeMsgShow: false,
@@ -200,7 +159,6 @@
200
159
  }
201
160
  },
202
161
  ready () {
203
- getwartermakr(this);
204
162
  let component = this.$login.getUrlCompileParames('component')
205
163
  if (component) {
206
164
  this.isManger = true
@@ -1,65 +1,68 @@
1
- <template>
2
- <div class="flex">
3
- <div class="auto">
4
- <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
- <div class="row">
6
- <div class="col-sm-2 form-group">
7
- <label class="font_normal_body" title="参数管理:终端类型">终端类型</label>
8
- <v-select id="f_charge_type"
9
- v-model="model.f_equipment_type"
10
- placeholder='终端类型'
11
- :value.sync="model.f_equipment_type"
12
- :options='equipmentType'
13
- close-on-select clear-button>
14
- </v-select>
15
- </div>
16
- </div>
17
- </div>
18
- </div>
19
- <div v-if="model.f_equipment_type[0] === 'PC'">
20
- <pc-manage></pc-manage>
21
- </div>
22
- <div v-if="model.f_equipment_type[0] === 'POS'">
23
- <pos-manage></pos-manage>
24
- </div>
25
- <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
- <phone-manage></phone-manage>
27
- </div>
28
- </div>
29
- </template>
30
-
31
- <script>
32
-
33
- export default {
34
- title: '终端控制',
35
- data () {
36
- return {
37
- filialeNameStr: this.$login.f.f_fengongsi,
38
- filialeCodeStr: this.$login.f.orgid,
39
- userid:this.$login.f.id,
40
- source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
41
- equipmentType: this.$appdata.getParam('终端类型'),
42
- model: {
43
- f_equipment_type: []
44
- }
45
- }
46
- },
47
- ready () {
48
- console.log('看看终端类型', this.equipmentType)
49
- this.model.f_equipment_type = [this.equipmentType[0].value]
50
- },
51
- methods: {
52
- del (row) {
53
- console.log('要删除了', row)
54
- },
55
-
56
- getRes (obj) {
57
- this.filialeNameStr = obj.res
58
- this.filialeCodeStr = obj.resids
59
- },
60
- },
61
- computed: {
62
-
63
- }
64
- }
65
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <div class="auto">
4
+ <div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
5
+ <div class="row">
6
+ <div class="col-sm-2 form-group">
7
+ <label class="font_normal_body">终端类型</label>
8
+ <v-select id="f_charge_type"
9
+ v-model="model.f_equipment_type"
10
+ placeholder='终端类型'
11
+ :value.sync="model.f_equipment_type"
12
+ :options='equipmentType'
13
+ close-on-select clear-button>
14
+ </v-select>
15
+ </div>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ <div v-if="model.f_equipment_type[0] === 'PC'">
20
+ <pc-manage></pc-manage>
21
+ </div>
22
+ <div v-if="model.f_equipment_type[0] === 'POS'">
23
+ <pos-manage></pos-manage>
24
+ </div>
25
+ <div v-if="model.f_equipment_type[0] === 'PHONE'">
26
+ <phone-manage></phone-manage>
27
+ </div>
28
+ <div v-if="model.f_equipment_type[0] === '圈存机'">
29
+ <qc-manage></qc-manage>
30
+ </div>
31
+ </div>
32
+ </template>
33
+
34
+ <script>
35
+
36
+ export default {
37
+ title: '终端控制',
38
+ data () {
39
+ return {
40
+ filialeNameStr: this.$login.f.f_fengongsi,
41
+ filialeCodeStr: this.$login.f.orgid,
42
+ userid:this.$login.f.id,
43
+ source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`,
44
+ equipmentType: this.$appdata.getParam('终端类型'),
45
+ model: {
46
+ f_equipment_type: []
47
+ }
48
+ }
49
+ },
50
+ ready () {
51
+ console.log('看看终端类型', this.equipmentType)
52
+ this.model.f_equipment_type = [this.equipmentType[0].value]
53
+ },
54
+ methods: {
55
+ del (row) {
56
+ console.log('要删除了', row)
57
+ },
58
+
59
+ getRes (obj) {
60
+ this.filialeNameStr = obj.res
61
+ this.filialeCodeStr = obj.resids
62
+ },
63
+ },
64
+ computed: {
65
+
66
+ }
67
+ }
68
+ </script>