system-clients 3.1.81 → 3.1.82-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 (132) hide show
  1. package/CHANGELOG.md +51 -51
  2. package/package.json +1 -1
  3. package/src/components/Main.vue +1 -1
  4. package/src/components/equipment/EquipmentManage.vue +68 -65
  5. package/src/components/equipment/PcAdd.vue +5 -5
  6. package/src/components/equipment/PcList.vue +5 -5
  7. package/src/components/equipment/PhoneAdd.vue +4 -4
  8. package/src/components/equipment/PhoneList.vue +4 -4
  9. package/src/components/equipment/PosAdd.vue +205 -43
  10. package/src/components/equipment/PosList.vue +153 -63
  11. package/src/components/equipment/PosManage.vue +92 -9
  12. package/src/components/equipment/QCAdd.vue +320 -0
  13. package/src/components/equipment/QCList.vue +227 -0
  14. package/src/components/equipment/QCManage.vue +150 -0
  15. package/src/components/server/Login.vue +642 -657
  16. package/src/components/server/ModifyPw.vue +4 -5
  17. package/src/components/server/ResSelect.vue +5 -1
  18. package/src/components/server/ResSelectGroup.vue +1 -1
  19. package/src/components/server/RightTree.vue +3 -4
  20. package/src/plugins/HeatGetLoginInfoService.js +491 -491
  21. package/src/plugins/validation.js +7 -7
  22. package/src/stores/HeatAppData.js +38 -38
  23. package/src/system.js +7 -1
  24. package/test/unit/karma.conf.js +49 -49
  25. package/test/unit/specs/components/parammanage/ParamPage.spec.js +20 -20
  26. package/test/unit/specs/components/server/LeftTree/LeftTree.spec.js +22 -22
  27. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  28. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  29. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  30. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  31. package/.gradle/buildOutputCleanup/built.bin +0 -0
  32. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  33. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  34. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  35. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  36. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  37. package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
  38. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  39. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  40. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  41. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  42. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  43. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  44. package/src/styles/fonts/trendstrends.ttf +0 -0
  45. 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
  46. package/src/styles/less/.csscomb.json +0 -304
  47. package/src/styles/less/.csslintrc +0 -19
  48. package/src/styles/less/alerts.less +0 -73
  49. package/src/styles/less/aofeng/animate.min.css +0 -11
  50. package/src/styles/less/aofeng/expandcss.less +0 -569
  51. package/src/styles/less/aofeng/standard.less +0 -2121
  52. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
  53. package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
  54. package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
  55. package/src/styles/less/aofeng/themeOne.less +0 -14
  56. package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
  57. package/src/styles/less/aofeng/themeTwo.less +0 -3
  58. package/src/styles/less/badges.less +0 -66
  59. package/src/styles/less/bootstrap.less +0 -66
  60. package/src/styles/less/breadcrumbs.less +0 -26
  61. package/src/styles/less/button-groups.less +0 -247
  62. package/src/styles/less/buttons.less +0 -172
  63. package/src/styles/less/carousel.less +0 -269
  64. package/src/styles/less/close.less +0 -34
  65. package/src/styles/less/code.less +0 -69
  66. package/src/styles/less/component-animations.less +0 -33
  67. package/src/styles/less/dropdowns.less +0 -216
  68. package/src/styles/less/fonts-list.less +0 -25
  69. package/src/styles/less/forms.less +0 -626
  70. package/src/styles/less/glyphicons.less +0 -305
  71. package/src/styles/less/grid.less +0 -84
  72. package/src/styles/less/input-groups.less +0 -167
  73. package/src/styles/less/jumbotron.less +0 -52
  74. package/src/styles/less/labels.less +0 -64
  75. package/src/styles/less/list-group.less +0 -141
  76. package/src/styles/less/manageStyle/manageChile.less +0 -180
  77. package/src/styles/less/manageStyle/manageStyle.less +0 -1102
  78. package/src/styles/less/manageStyle/safeStyle.less +0 -498
  79. package/src/styles/less/media.less +0 -66
  80. package/src/styles/less/mixins/alerts.less +0 -14
  81. package/src/styles/less/mixins/background-variant.less +0 -9
  82. package/src/styles/less/mixins/border-radius.less +0 -18
  83. package/src/styles/less/mixins/buttons.less +0 -69
  84. package/src/styles/less/mixins/center-block.less +0 -7
  85. package/src/styles/less/mixins/clearfix.less +0 -22
  86. package/src/styles/less/mixins/forms.less +0 -90
  87. package/src/styles/less/mixins/gradients.less +0 -59
  88. package/src/styles/less/mixins/grid-framework.less +0 -92
  89. package/src/styles/less/mixins/grid.less +0 -122
  90. package/src/styles/less/mixins/hide-text.less +0 -21
  91. package/src/styles/less/mixins/image.less +0 -33
  92. package/src/styles/less/mixins/labels.less +0 -12
  93. package/src/styles/less/mixins/list-group.less +0 -30
  94. package/src/styles/less/mixins/nav-divider.less +0 -10
  95. package/src/styles/less/mixins/nav-vertical-align.less +0 -9
  96. package/src/styles/less/mixins/opacity.less +0 -8
  97. package/src/styles/less/mixins/pagination.less +0 -24
  98. package/src/styles/less/mixins/panels.less +0 -24
  99. package/src/styles/less/mixins/progress-bar.less +0 -10
  100. package/src/styles/less/mixins/reset-filter.less +0 -8
  101. package/src/styles/less/mixins/reset-text.less +0 -18
  102. package/src/styles/less/mixins/resize.less +0 -6
  103. package/src/styles/less/mixins/responsive-visibility.less +0 -15
  104. package/src/styles/less/mixins/size.less +0 -10
  105. package/src/styles/less/mixins/tab-focus.less +0 -9
  106. package/src/styles/less/mixins/table-row.less +0 -44
  107. package/src/styles/less/mixins/text-emphasis.less +0 -9
  108. package/src/styles/less/mixins/text-overflow.less +0 -8
  109. package/src/styles/less/mixins/vendor-prefixes.less +0 -227
  110. package/src/styles/less/mixins.less +0 -40
  111. package/src/styles/less/modals.less +0 -151
  112. package/src/styles/less/navbar.less +0 -660
  113. package/src/styles/less/navs.less +0 -285
  114. package/src/styles/less/normalize.less +0 -424
  115. package/src/styles/less/pager.less +0 -76
  116. package/src/styles/less/pagination.less +0 -89
  117. package/src/styles/less/panels.less +0 -275
  118. package/src/styles/less/popovers.less +0 -131
  119. package/src/styles/less/print.less +0 -101
  120. package/src/styles/less/progress-bars.less +0 -87
  121. package/src/styles/less/responsive-embed.less +0 -35
  122. package/src/styles/less/responsive-utilities.less +0 -194
  123. package/src/styles/less/scaffolding.less +0 -161
  124. package/src/styles/less/stand.less +0 -207
  125. package/src/styles/less/tables.less +0 -262
  126. package/src/styles/less/theme.less +0 -291
  127. package/src/styles/less/thumbnails.less +0 -36
  128. package/src/styles/less/tooltip.less +0 -102
  129. package/src/styles/less/type.less +0 -303
  130. package/src/styles/less/utilities.less +0 -55
  131. package/src/styles/less/variables.less +0 -896
  132. package/src/styles/less/wells.less +0 -29
@@ -1,7 +1,7 @@
1
- import Vue from 'vue'
2
- import Validator from 'vue-validator'
3
- Vue.use(Validator)
4
- //密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
5
- Vue.validator('strongpassword', function (val) {
6
- return /^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
7
- });
1
+ import Vue from 'vue'
2
+ import Validator from 'vue-validator'
3
+ Vue.use(Validator)
4
+ //密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
5
+ Vue.validator('strongpassword', function (val) {
6
+ return /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
7
+ });
@@ -1,38 +1,38 @@
1
- import Vue from 'vue'
2
-
3
- let GetAppDataService = {
4
- install(Vue, options) {
5
- // 给vue增添对话框显示方法
6
-
7
- Vue.$appdataHeat = Vue.prototype.$appdataHeat = GetAppDataService
8
- },
9
-
10
- // 开启卡监听
11
- load () {
12
- return Vue.resetpost('rs/heat/logic/getInitData', {data: {f_filialeids: Vue.$loginHeat.f.f_orgids}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
13
- res.data.singleValues.forEach((item) => {
14
- this.singleValues[item.name] = item.value
15
- })
16
- res.data.params.forEach((item) => {
17
- let value = []
18
- item.f_paramvalues.forEach((item, index) => {
19
- value[index] = {}
20
- value[index].label = item.name
21
- value[index].value = item.name
22
- })
23
- this.params[item.name] = value
24
- })
25
- })
26
- },
27
-
28
- params: {},
29
- singleValues: {},
30
-
31
- getParam(key) {
32
- return this.params[key]
33
- },
34
- getSingleValue(key) {
35
- return this.singleValues[key]
36
- }
37
- }
38
- export default GetAppDataService
1
+ import Vue from 'vue'
2
+
3
+ let GetAppDataService = {
4
+ install(Vue, options) {
5
+ // 给vue增添对话框显示方法
6
+
7
+ Vue.$appdataHeat = Vue.prototype.$appdataHeat = GetAppDataService
8
+ },
9
+
10
+ // 开启卡监听
11
+ load () {
12
+ return Vue.resetpost('rs/heat/logic/getInitData', {data: {f_filialeids: Vue.$loginHeat.f.f_orgids}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
13
+ res.data.singleValues.forEach((item) => {
14
+ this.singleValues[item.name] = item.value
15
+ })
16
+ res.data.params.forEach((item) => {
17
+ let value = []
18
+ item.f_paramvalues.forEach((item, index) => {
19
+ value[index] = {}
20
+ value[index].label = item.name
21
+ value[index].value = item.name
22
+ })
23
+ this.params[item.name] = value
24
+ })
25
+ })
26
+ },
27
+
28
+ params: {},
29
+ singleValues: {},
30
+
31
+ getParam(key) {
32
+ return this.params[key]
33
+ },
34
+ getSingleValue(key) {
35
+ return this.singleValues[key]
36
+ }
37
+ }
38
+ export default GetAppDataService
package/src/system.js CHANGED
@@ -26,11 +26,15 @@ import ResSelectGroup from './components/server/ResSelectGroup'
26
26
  //资源选择测试
27
27
  import TestResSelect from './components/server/TestResSelect'
28
28
  import RoleSelector from "./components/server/RoleSelector";
29
- export default function (val) {
29
+ export default function (val,version) {
30
30
  //验证码开关赋值
31
31
  if(val!=null){
32
32
  GetLoginInfoService.Verification=val
33
33
  }
34
+ //版本号赋值
35
+ if(val!=null){
36
+ GetLoginInfoService.version=version
37
+ }
34
38
  Vue.use(GetLoginInfoService)
35
39
  Vue.use(GetAppDataService)
36
40
  Vue.use(HeatGetLoginInfoService)
@@ -75,6 +79,8 @@ export default function (val) {
75
79
  Vue.component('phone-manage', (resolve) => { require(['./components/equipment/PhoneManage'], resolve) })
76
80
  // pos端控制
77
81
  Vue.component('pos-manage', (resolve) => { require(['./components/equipment/PosManage'], resolve) })
82
+ // pos端控制
83
+ Vue.component('qc-manage', (resolve) => { require(['./components/equipment/QCManage'], resolve) })
78
84
 
79
85
  // 材料字典
80
86
  Vue.component('material-data', (resolve) => { require(['./components/materialManage/materialData.vue'], resolve) })
@@ -1,49 +1,49 @@
1
- // This is a karma config file. For more details see
2
- // http://karma-runner.github.io/0.13/config/configuration-file.html
3
- // we are also using it with karma-webpack
4
- // https://github.com/webpack/karma-webpack
5
-
6
- var webpackConfig = require('../../build/webpack.test.conf')
7
-
8
- module.exports = function (config) {
9
- config.set({
10
- customContextFile: './test.html',
11
- // to run in additional browsers:
12
- // 1. install corresponding karma launcher
13
- // http://karma-runner.github.io/0.13/config/browsers.html
14
- // 2. add it to the `browsers` array below.
15
- browsers: ['Chrome_without_security'],
16
- customLaunchers: {
17
- Chrome_without_security: {
18
- base: 'Chrome',
19
- flags: ['--disable-web-security']
20
- }
21
- },
22
- proxies: {
23
- //'/rs': 'http://202.108.65.218:9001/rs',
24
- // '/rs': 'http://127.0.0.1:8080/rs',
25
- '/rs': 'http://192.168.50.222:8300/rs',
26
- //'/rs/report': 'http://127.0.0.1:8080/rs/report',
27
- //'/rs/logic/getLogin': 'http://127.0.0.1:8080/rs/logic/getLogin'
28
- // '/rs/logic': 'http://127.0.0.1:8888/product/rs/logic',
29
- },
30
- autoWatch: true,
31
- frameworks: ['mocha', 'sinon-chai'],
32
- reporters: ['spec', 'coverage'],
33
- files: ['./index.js'],
34
- preprocessors: {
35
- './index.js': ['webpack', 'sourcemap']
36
- },
37
- webpack: webpackConfig,
38
- webpackMiddleware: {
39
- noInfo: true
40
- },
41
- coverageReporter: {
42
- dir: './coverage',
43
- reporters: [
44
- { type: 'lcov', subdir: '.' },
45
- { type: 'text-summary' }
46
- ]
47
- }
48
- })
49
- }
1
+ // This is a karma config file. For more details see
2
+ // http://karma-runner.github.io/0.13/config/configuration-file.html
3
+ // we are also using it with karma-webpack
4
+ // https://github.com/webpack/karma-webpack
5
+
6
+ var webpackConfig = require('../../build/webpack.test.conf')
7
+
8
+ module.exports = function (config) {
9
+ config.set({
10
+ customContextFile: './test.html',
11
+ // to run in additional browsers:
12
+ // 1. install corresponding karma launcher
13
+ // http://karma-runner.github.io/0.13/config/browsers.html
14
+ // 2. add it to the `browsers` array below.
15
+ browsers: ['Chrome_without_security'],
16
+ customLaunchers: {
17
+ Chrome_without_security: {
18
+ base: 'Chrome',
19
+ flags: ['--disable-web-security']
20
+ }
21
+ },
22
+ proxies: {
23
+ //'/rs': 'http://202.108.65.218:9001/rs',
24
+ // '/rs': 'http://127.0.0.1:8080/rs',
25
+ '/rs': 'http://192.168.50.222:8300/rs',
26
+ //'/rs/report': 'http://127.0.0.1:8080/rs/report',
27
+ //'/rs/logic/getLogin': 'http://127.0.0.1:8080/rs/logic/getLogin'
28
+ // '/rs/logic': 'http://127.0.0.1:8888/product/rs/logic',
29
+ },
30
+ autoWatch: true,
31
+ frameworks: ['mocha', 'sinon-chai'],
32
+ reporters: ['spec', 'coverage'],
33
+ files: ['./index.js'],
34
+ preprocessors: {
35
+ './index.js': ['webpack', 'sourcemap']
36
+ },
37
+ webpack: webpackConfig,
38
+ webpackMiddleware: {
39
+ noInfo: true
40
+ },
41
+ coverageReporter: {
42
+ dir: './coverage',
43
+ reporters: [
44
+ { type: 'lcov', subdir: '.' },
45
+ { type: 'text-summary' }
46
+ ]
47
+ }
48
+ })
49
+ }
@@ -1,20 +1,20 @@
1
- import Vue from 'vue'
2
- import init from 'test/unit/init'
3
- import { TestUtil } from 'vue-client'
4
-
5
- import ParamPage from 'src/components/parammanage/ParamPage'
6
-
7
- describe('ParamPage: 参数管理', () => {
8
- let vm = null
9
- before(async function () {
10
- init()
11
- await Vue.$login.login('cdy', '1')
12
- })
13
-
14
- it.only('正确显示', async function() {
15
- vm = await TestUtil.createAsyncTest(ParamPage, {
16
- })
17
- })
18
-
19
- })
20
-
1
+ import Vue from 'vue'
2
+ import init from 'test/unit/init'
3
+ import { TestUtil } from 'vue-client'
4
+
5
+ import ParamPage from 'src/components/parammanage/ParamPage'
6
+
7
+ describe('ParamPage: 参数管理', () => {
8
+ let vm = null
9
+ before(async function () {
10
+ init()
11
+ await Vue.$login.login('cdy', '1')
12
+ })
13
+
14
+ it.only('正确显示', async function() {
15
+ vm = await TestUtil.createAsyncTest(ParamPage, {
16
+ })
17
+ })
18
+
19
+ })
20
+
@@ -1,22 +1,22 @@
1
- import Vue from 'vue'
2
- import init from 'test/unit/init'
3
- import { TestUtil } from 'vue-client'
4
- import App from './App'
5
-
6
- describe('LeftTree: 功能树', () => {
7
- let vm = null
8
-
9
- before(async function() {
10
- init()
11
- await Vue.$login.login('hns', '1')
12
- })
13
-
14
- it('正确显示', function() {
15
- vm = TestUtil.createTest(App, {})
16
- let row = {data: {navigate: 'http://127.0.0.1:8084', name: '百度'}}
17
- vm.$refs.tree.open(row)
18
- })
19
- })
20
-
21
- // also see example testing a component with mocks at
22
- // https://github.com/vuejs/vue-loader-example/blob/master/test/unit/a.spec.js#L24-L49
1
+ import Vue from 'vue'
2
+ import init from 'test/unit/init'
3
+ import { TestUtil } from 'vue-client'
4
+ import App from './App'
5
+
6
+ describe('LeftTree: 功能树', () => {
7
+ let vm = null
8
+
9
+ before(async function() {
10
+ init()
11
+ await Vue.$login.login('hns', '1')
12
+ })
13
+
14
+ it('正确显示', function() {
15
+ vm = TestUtil.createTest(App, {})
16
+ let row = {data: {navigate: 'http://127.0.0.1:8084', name: '百度'}}
17
+ vm.$refs.tree.open(row)
18
+ })
19
+ })
20
+
21
+ // also see example testing a component with mocks at
22
+ // https://github.com/vuejs/vue-loader-example/blob/master/test/unit/a.spec.js#L24-L49
File without changes
@@ -1,2 +0,0 @@
1
- #Fri Mar 13 10:30:51 GMT+08:00 2020
2
- gradle.version=3.5
Binary file