system-clients 3.2.72-yc-1 → 3.2.72-yc-3

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 (52) hide show
  1. package/package.json +1 -1
  2. package/src/components/Main.vue +923 -923
  3. package/src/components/equipment/EquipmentManage.vue +65 -65
  4. package/src/components/equipment/PcAdd.vue +105 -105
  5. package/src/components/equipment/PcList.vue +119 -119
  6. package/src/components/equipment/PcManage.vue +60 -60
  7. package/src/components/equipment/PhoneAdd.vue +107 -107
  8. package/src/components/equipment/PhoneList.vue +112 -112
  9. package/src/components/equipment/PhoneManage.vue +60 -60
  10. package/src/components/equipment/PosAdd.vue +323 -323
  11. package/src/components/equipment/PosList.vue +294 -294
  12. package/src/components/equipment/PosParamAdd.vue +236 -236
  13. package/src/components/equipment/PosParamList.vue +121 -121
  14. package/src/components/parammanage/ParamPage.vue +337 -337
  15. package/src/components/parammanage/SinglePage.vue +235 -235
  16. package/src/components/server/LoadData.vue +58 -58
  17. package/src/components/server/Login.vue +566 -566
  18. package/src/components/server/ModifyPw.vue +125 -125
  19. package/src/components/server/PcdBuildingSelect.vue +241 -241
  20. package/src/components/server/ResSelect.vue +155 -155
  21. package/src/components/server/ResSelectGroup.vue +198 -198
  22. package/src/components/server/RightTree.vue +348 -348
  23. package/src/components/server/RoleSelector.vue +88 -88
  24. package/src/filiale/baole/Login.vue +568 -568
  25. package/src/filiale/chengtou/Login.vue +537 -537
  26. package/src/filiale/dongguan/Login.vue +900 -900
  27. package/src/filiale/dongguan/Main.vue +715 -715
  28. package/src/filiale/furuike/Login.vue +583 -583
  29. package/src/filiale/furuike/Main.vue +827 -827
  30. package/src/filiale/gehua/Main.vue +807 -807
  31. package/src/filiale/konggang/Login.vue +470 -470
  32. package/src/filiale/konggang/system.js +7 -7
  33. package/src/filiale/qianneng/Login.vue +566 -566
  34. package/src/filiale/qianneng/Main.vue +816 -816
  35. package/src/filiale/qianneng/ModifyPw.vue +107 -107
  36. package/src/filiale/rizhao/Login.vue +791 -791
  37. package/src/filiale/rizhao/Main.vue +611 -611
  38. package/src/filiale/shiquan/Login.vue +564 -564
  39. package/src/filiale/tianyi/Login.vue +571 -571
  40. package/src/filiale/tongchuan/Login.vue +561 -561
  41. package/src/filiale/tongchuan/system.js +7 -7
  42. package/src/filiale/wenxi/Login.vue +535 -535
  43. package/src/filiale/wenxi/Main.vue +785 -785
  44. package/src/filiale/wuhai/Main.vue +807 -807
  45. package/src/filiale/yuchuan/Login.vue +889 -889
  46. package/src/filiale/yuchuan/Main.vue +864 -864
  47. package/src/filiale/zhoukou/Main.vue +807 -807
  48. package/src/plugins/GetLoginInfoService.js +2 -0
  49. package/src/plugins/validation.js +15 -15
  50. package/src/stores/AppData.js +38 -38
  51. package/src/styles/less/aofeng/standard.less +2507 -2507
  52. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
@@ -25,8 +25,10 @@ let loginGen = async function (name, password, cue) {
25
25
 
26
26
  // 兼容旧版ldao,旧版不返回code
27
27
  if ((JSON.stringify(resource.data).startsWith("{") || JSON.stringify(resource.data).startsWith("[")) && resource.data.code && resource.data.msg) {
28
+ resource.data.data.orgstr="榆林."+ resource.data.data.orgs
28
29
  Vue.$login.f = resource.data.data
29
30
  } else {
31
+ resource.data.orgstr="榆林."+ resource.data.orgs
30
32
  Vue.$login.f = resource.data
31
33
  }
32
34
  // 把登录用户添加到cookie里
@@ -1,15 +1,15 @@
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
- });
8
- Vue.validator('chinesePassword', function (val) {
9
- var testBealoon=/.*?[\u4E00-\u9FFF]+.*$/.test(val)
10
- return !(/.*?[\u4E00-\u9FFF]+.*$/.test(val))
11
- });
12
- // 潜能要求8~16位数字字母组合;
13
- Vue.validator('numbersAndLetter8to16', function (val) {
14
- return /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(.)(\1)+)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(val)
15
- });
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
+ });
8
+ Vue.validator('chinesePassword', function (val) {
9
+ var testBealoon=/.*?[\u4E00-\u9FFF]+.*$/.test(val)
10
+ return !(/.*?[\u4E00-\u9FFF]+.*$/.test(val))
11
+ });
12
+ // 潜能要求8~16位数字字母组合;
13
+ Vue.validator('numbersAndLetter8to16', function (val) {
14
+ return /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(.)(\1)+)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(val)
15
+ });
@@ -1,38 +1,38 @@
1
- import Vue from 'vue'
2
-
3
- let GetAppDataService = {
4
- install(Vue, options) {
5
- // 给vue增添对话框显示方法
6
-
7
- Vue.$appdata = Vue.prototype.$appdata = GetAppDataService
8
- },
9
-
10
- // 开启卡监听
11
- load () {
12
- return Vue.resetpost('rs/logic/getInitData', {data: {f_filialeids: Vue.$login.f.orgid}}, {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.$appdata = Vue.prototype.$appdata = GetAppDataService
8
+ },
9
+
10
+ // 开启卡监听
11
+ load () {
12
+ return Vue.resetpost('rs/logic/getInitData', {data: {f_filialeids: Vue.$login.f.orgid}}, {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