system-clients 3.1.85 → 3.1.86-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/package.json +1 -1
  2. package/src/components/Main.vue +1 -1
  3. package/src/components/equipment/EquipmentManage.vue +68 -65
  4. package/src/components/equipment/PcAdd.vue +5 -5
  5. package/src/components/equipment/PcList.vue +5 -5
  6. package/src/components/equipment/PhoneAdd.vue +4 -4
  7. package/src/components/equipment/PhoneList.vue +4 -4
  8. package/src/components/equipment/PosAdd.vue +205 -43
  9. package/src/components/equipment/PosList.vue +153 -63
  10. package/src/components/equipment/PosManage.vue +92 -9
  11. package/src/components/equipment/QCAdd.vue +318 -0
  12. package/src/components/equipment/QCList.vue +230 -0
  13. package/src/components/equipment/QCManage.vue +150 -0
  14. package/src/components/server/Login.vue +642 -687
  15. package/src/components/server/ModifyPw.vue +4 -5
  16. package/src/components/server/ResSelect.vue +5 -1
  17. package/src/components/server/ResSelectGroup.vue +1 -1
  18. package/src/components/server/RightTree.vue +3 -4
  19. package/src/plugins/EncryptUtil.js +53 -0
  20. package/src/plugins/GetLoginInfoService.js +2 -0
  21. package/src/plugins/validation.js +1 -1
  22. package/src/system.js +7 -1
  23. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  24. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  25. package/.gradle/5.5/fileChanges/last-build.bin +0 -0
  26. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  27. package/.gradle/5.5/gc.properties +0 -0
  28. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  29. package/.gradle/buildOutputCleanup/built.bin +0 -0
  30. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  31. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  32. package/.gradle/vcs-1/gc.properties +0 -0
  33. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  34. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  35. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  36. package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
  37. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  38. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  39. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  40. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  41. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  42. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  43. package/src/styles/fonts/trendstrends.ttf +0 -0
  44. 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
  45. package/src/styles/less/.csscomb.json +0 -304
  46. package/src/styles/less/.csslintrc +0 -19
  47. package/src/styles/less/alerts.less +0 -73
  48. package/src/styles/less/aofeng/animate.min.css +0 -11
  49. package/src/styles/less/aofeng/expandcss.less +0 -569
  50. package/src/styles/less/aofeng/standard.less +0 -2121
  51. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
  52. package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
  53. package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
  54. package/src/styles/less/aofeng/themeOne.less +0 -17
  55. package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
  56. package/src/styles/less/aofeng/themeTwo.less +0 -3
  57. package/src/styles/less/badges.less +0 -66
  58. package/src/styles/less/bootstrap.less +0 -66
  59. package/src/styles/less/breadcrumbs.less +0 -26
  60. package/src/styles/less/button-groups.less +0 -247
  61. package/src/styles/less/buttons.less +0 -172
  62. package/src/styles/less/carousel.less +0 -269
  63. package/src/styles/less/close.less +0 -34
  64. package/src/styles/less/code.less +0 -69
  65. package/src/styles/less/component-animations.less +0 -33
  66. package/src/styles/less/dropdowns.less +0 -216
  67. package/src/styles/less/fonts-list.less +0 -25
  68. package/src/styles/less/forms.less +0 -626
  69. package/src/styles/less/glyphicons.less +0 -305
  70. package/src/styles/less/grid.less +0 -84
  71. package/src/styles/less/input-groups.less +0 -167
  72. package/src/styles/less/jumbotron.less +0 -52
  73. package/src/styles/less/labels.less +0 -64
  74. package/src/styles/less/list-group.less +0 -141
  75. package/src/styles/less/manageStyle/manageChile.less +0 -180
  76. package/src/styles/less/manageStyle/manageStyle.less +0 -1102
  77. package/src/styles/less/manageStyle/safeStyle.less +0 -498
  78. package/src/styles/less/media.less +0 -66
  79. package/src/styles/less/mixins/alerts.less +0 -14
  80. package/src/styles/less/mixins/background-variant.less +0 -9
  81. package/src/styles/less/mixins/border-radius.less +0 -18
  82. package/src/styles/less/mixins/buttons.less +0 -69
  83. package/src/styles/less/mixins/center-block.less +0 -7
  84. package/src/styles/less/mixins/clearfix.less +0 -22
  85. package/src/styles/less/mixins/forms.less +0 -90
  86. package/src/styles/less/mixins/gradients.less +0 -59
  87. package/src/styles/less/mixins/grid-framework.less +0 -92
  88. package/src/styles/less/mixins/grid.less +0 -122
  89. package/src/styles/less/mixins/hide-text.less +0 -21
  90. package/src/styles/less/mixins/image.less +0 -33
  91. package/src/styles/less/mixins/labels.less +0 -12
  92. package/src/styles/less/mixins/list-group.less +0 -30
  93. package/src/styles/less/mixins/nav-divider.less +0 -10
  94. package/src/styles/less/mixins/nav-vertical-align.less +0 -9
  95. package/src/styles/less/mixins/opacity.less +0 -8
  96. package/src/styles/less/mixins/pagination.less +0 -24
  97. package/src/styles/less/mixins/panels.less +0 -24
  98. package/src/styles/less/mixins/progress-bar.less +0 -10
  99. package/src/styles/less/mixins/reset-filter.less +0 -8
  100. package/src/styles/less/mixins/reset-text.less +0 -18
  101. package/src/styles/less/mixins/resize.less +0 -6
  102. package/src/styles/less/mixins/responsive-visibility.less +0 -15
  103. package/src/styles/less/mixins/size.less +0 -10
  104. package/src/styles/less/mixins/tab-focus.less +0 -9
  105. package/src/styles/less/mixins/table-row.less +0 -44
  106. package/src/styles/less/mixins/text-emphasis.less +0 -9
  107. package/src/styles/less/mixins/text-overflow.less +0 -8
  108. package/src/styles/less/mixins/vendor-prefixes.less +0 -227
  109. package/src/styles/less/mixins.less +0 -40
  110. package/src/styles/less/modals.less +0 -151
  111. package/src/styles/less/navbar.less +0 -660
  112. package/src/styles/less/navs.less +0 -285
  113. package/src/styles/less/normalize.less +0 -424
  114. package/src/styles/less/pager.less +0 -76
  115. package/src/styles/less/pagination.less +0 -89
  116. package/src/styles/less/panels.less +0 -275
  117. package/src/styles/less/popovers.less +0 -131
  118. package/src/styles/less/print.less +0 -101
  119. package/src/styles/less/progress-bars.less +0 -87
  120. package/src/styles/less/responsive-embed.less +0 -35
  121. package/src/styles/less/responsive-utilities.less +0 -194
  122. package/src/styles/less/scaffolding.less +0 -161
  123. package/src/styles/less/stand.less +0 -207
  124. package/src/styles/less/tables.less +0 -262
  125. package/src/styles/less/theme.less +0 -291
  126. package/src/styles/less/thumbnails.less +0 -36
  127. package/src/styles/less/tooltip.less +0 -102
  128. package/src/styles/less/type.less +0 -303
  129. package/src/styles/less/utilities.less +0 -55
  130. package/src/styles/less/variables.less +0 -896
  131. package/src/styles/less/wells.less +0 -29
  132. package/static/logo.png +0 -0
@@ -18,14 +18,13 @@
18
18
  </div>
19
19
  </div>
20
20
  <div class="has-feedback form-group"
21
- :class="{'has-warning':$v.newpassword.required,'has-error':$v.newpassword.strongpassword && !($v.newpassword.required),
22
- 'has-success': !$v.newpassword.required && !$v.newpassword.strongpassword }">
21
+ :class="{'has-warning':$v.newpassword.required,'has-error':$v.newpassword.required,
22
+ 'has-success': !$v.newpassword.required }">
23
23
  <label for="newpassword" class="col-sm-4 col-sm-offset-1 control-label">新的密码:&nbsp;&nbsp;</label>
24
24
  <div class="col-sm-4">
25
- <input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true, strongpassword: true}'>
26
- <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required && !($v.newpassword.strongpassword && !($v.newpassword.required))"></span>
25
+ <input type="password" v-model="deliver.newpassword" class="form-control" id="newpassword" v-validate:newpassword='{required:true}'>
26
+ <span class="glyphicon glyphicon-ok form-control-feedback" v-if="!$v.newpassword.required"></span>
27
27
  <span v-if="$v.newpassword.required">不能为空</span>
28
- <span v-if="$v.newpassword.strongpassword && !($v.newpassword.required)">密码必须包含英文大小写、阿拉伯数字、字符</span>
29
28
  </div>
30
29
  </div>
31
30
  <div class="has-feedback form-group"
@@ -2,7 +2,7 @@
2
2
  <v-select :options='resoptions' placeholder='请选择'
3
3
  :value.sync="selectres"
4
4
  :multiple="isMul"
5
- search="true"
5
+ :search="search"
6
6
  :close-on-select="!isMul"
7
7
  @change="resChange"
8
8
  >
@@ -23,6 +23,10 @@
23
23
  type: Boolean,
24
24
  default: true
25
25
  },
26
+ search:{
27
+ type: Boolean,
28
+ default: true
29
+ },
26
30
  //资源初始化数据
27
31
  initresid: {
28
32
  type: Array,
@@ -114,7 +114,7 @@
114
114
  else
115
115
  condition = " and f_orgid = " + this.$login.f.orgid;
116
116
  if(this.userresid.length > 0){
117
- condition += " and f_depid in " + plugin.convertToIn(this.userresid);
117
+ condition += " and f_depname in " + plugin.convertToIn(this.obj.depnames);
118
118
  }
119
119
  if(ids && ids.length > 0){
120
120
  condition += " and f_operatorid in " + plugin.convertToIn(ids);
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <dropdown :model='model' class="auto" id="res-tree" v-if="!islist" v-el:dropdown :style="{width:width}">
3
- <button type="button" class="btn btn-default dropdown-toggle select-style" data-toggle="dropdown">
3
+ <button type="button" class="btn btn-default dropdown-toggle select-style" data-toggle="dropdown" style="min-width: 100%;">
4
4
  <span class='btn-content' :style="{textOverflow:'ellipsis',overflow: 'hidden'}">{{ orgnames }}</span>
5
5
  <span class="caret"></span>
6
6
  </button>
@@ -306,10 +306,9 @@
306
306
  text-overflow: ellipsis
307
307
  }
308
308
  .select-style {
309
- border: 0px;
310
309
  /*border-bottom: 2px solid #C9CCCF;*/
311
- border: 1px solid #93B2D3;
312
- border-radius: 0px;
310
+ border: 1px solid #93B2D3 !important;
311
+ border-radius: 0px !important;
313
312
  color: #555;
314
313
  }
315
314
  </style>
@@ -0,0 +1,53 @@
1
+ import AesEncryptJS from "crypto-js"
2
+ import RsaEncryptJS from 'jsencrypt'
3
+
4
+ export default {
5
+ /**
6
+ * AES加密
7
+ * @param word
8
+ * @returns {*}
9
+ */
10
+ AESEncrypt(word, encryKey){
11
+ var key = AesEncryptJS.enc.Utf8.parse(encryKey);
12
+ var srcs = AesEncryptJS.enc.Utf8.parse(word);
13
+ var encrypted = AesEncryptJS.AES.encrypt(srcs, key, {mode:AesEncryptJS.mode.ECB,padding: AesEncryptJS.pad.Pkcs7});
14
+ return encrypted.toString();
15
+ },
16
+ /**
17
+ * AES解密
18
+ * @param word
19
+ * @returns {*}
20
+ */
21
+ AESDecrypt(word, encryKey){
22
+ var key = AesEncryptJS.enc.Utf8.parse(encryKey);
23
+ var decrypt = AesEncryptJS.AES.decrypt(word, key, {mode:AesEncryptJS.mode.ECB,padding: AesEncryptJS.pad.Pkcs7});
24
+ var ret = AesEncryptJS.enc.Utf8.stringify(decrypt).toString();
25
+ try{
26
+ return JSON.parse(ret) ;
27
+ }catch (e){
28
+ return ret
29
+ }
30
+ },
31
+ /**
32
+ * RSA加密
33
+ * @param word
34
+ * @returns {*}
35
+ */
36
+ RSAEncrypt(word){
37
+ let encrypt = new RsaEncryptJS();
38
+ encrypt.setPublicKey('MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCqPvovSfXcwBbW8cKMCgwqNpsYuzF8RPAPFb7LGsnVo44JhM/xxzDyzoYtdfNmtbIuKVi9PzIsyp6rg+09gbuI6UGwBZ5DWBDBMqv5MPdOF5dCQkB2Bbr5yPfURPENypUz+pBFBg41d+BC+rwRiXELwKy7Y9caD/MtJyHydj8OUwIDAQAB');
39
+ let resdata = encrypt.encrypt(word);
40
+ return resdata.toString();
41
+ },
42
+ /**
43
+ * RSA解密
44
+ * @param word
45
+ * @returns {*}
46
+ */
47
+ RSADecrypt(word){
48
+ let encrypt = new RsaEncryptJS();
49
+ encrypt.setPrivateKey('MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAKo++i9J9dzAFtbxwowKDCo2mxi7MXxE8A8VvssaydWjjgmEz/HHMPLOhi1182a1si4pWL0/MizKnquD7T2Bu4jpQbAFnkNYEMEyq/kw904Xl0JCQHYFuvnI99RE8Q3KlTP6kEUGDjV34EL6vBGJcQvArLtj1xoP8y0nIfJ2Pw5TAgMBAAECgYAGGB8IllMwxceLhjf6n1l0IWRH7FuHIUieoZ6k0p6rASHSgWiYNRMxfecbtX8zDAoG0QAWNi7rn40ygpR5gS1fWDAKhmnhKgQIT6wW0VmD4hraaeyP78iy8BLhlvblri2nCPIhDH5+l96v7D47ZZi3ZSOzcj89s1eS/k7/N4peEQJBAPEtGGJY+lBoCxQMhGyzuzDmgcS1Un1ZE2pt+XNCVl2b+T8fxWJH3tRRR8wOY5uvtPiK1HM/IjT0T5qwQeH8Yk0CQQC0tcv3d/bDb7bOe9QzUFDQkUSpTdPWAgMX2OVPxjdq3Sls9oA5+fGNYEy0OgyqTjde0b4iRzlD1O0OhLqPSUMfAkEAh5FIvqezdRU2/PsYSR4yoAdCdLdT+h/jGRVefhqQ/6eYUJJkWp15tTFHQX3pIe9/s6IeT/XyHYAjaxmevxAmlQJBAKSdhvQjf9KAjZKDEsa7vyJ/coCXuQUWSCMNHbcR5aGfXgE4e45UtUoIE1eKGcd6AM6LWhx3rR6xdFDpb9je8BkCQB0SpevGfOQkMk5i8xkEt9eeYP0fi8nv6eOUcK96EXbzs4jV2SAoQJ9oJegPtPROHbhIvVUmNQTbuP10Yjg59+8=');
50
+ let resdata = encrypt.decrypt(word);
51
+ return JSON.parse(resdata.toString()) ;
52
+ },
53
+ }
@@ -1,6 +1,7 @@
1
1
  import Vue from 'vue'
2
2
  import JSEncrypt from 'jsencrypt'
3
3
  import {HttpResetClass} from 'vue-client'
4
+ import cryptJS from './EncryptUtil'
4
5
 
5
6
  let loginGen = async function (name, password) {
6
7
  let data = {name: name, password: password}
@@ -11,6 +12,7 @@ let loginGen = async function (name, password) {
11
12
 
12
13
  let getLogin = await Vue.resetpost('/rs/logic/getLogin', data, {resolveMsg: null, rejectMsg: null}, 'RSA')
13
14
  if (getLogin.data.states === '登录成功') {
15
+ Vue.$login.SinglePageToken = cryptJS.AESEncrypt(JSON.stringify(data), "3KMKqvgwR8ULbR8Z")
14
16
  // 调用远程登录服务,获取所有有权访问的功能
15
17
  data = {username: name, password: password}
16
18
  data = encrypt.encrypt(JSON.stringify(data))
@@ -3,5 +3,5 @@ import Validator from 'vue-validator'
3
3
  Vue.use(Validator)
4
4
  //密码强度验证器(必须为为大小写字母、阿拉伯数字、字符)
5
5
  Vue.validator('strongpassword', function (val) {
6
- return /^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
6
+ return /^(?:(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(val)
7
7
  });
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) })
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Fri Mar 13 10:30:51 GMT+08:00 2020
2
- gradle.version=3.5
File without changes
Binary file