system-clients 3.2.72-yc → 3.2.72-yc-2

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 +105 -105
  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 +2 -0
  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 +533 -533
  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
@@ -1,89 +1,89 @@
1
- <template>
2
- <div style="width: 100%;height: 100%">
3
- <div class="col-sm-6">
4
- <label class="font_normal_body">&nbsp;公&nbsp;&nbsp;&nbsp;&nbsp;司&nbsp;</label>
5
- <right-tree :width="leftWidth" @re-res="getRes"></right-tree>
6
- </div>
7
- <div class="col-sm-6 ">
8
- <label class="font_normal_body">{{roleLable}}</label>
9
- <v-select :value.sync="value" v-model='model.f_checker_id'
10
- :value-single="true"
11
- class="select_list select"
12
- :options='users' :placeholder='roleName'
13
- close-on-select
14
- :width="rightWidth">
15
- </v-select>
16
- </div>
17
- </div>
18
- </template>
19
-
20
- <script>
21
- export default {
22
- name: "RoleSelector",
23
- props: {
24
- roleName: {
25
- type: String,
26
- default: '安检员'
27
- },
28
- roleLable: {
29
- type: String,
30
- default: '安检员'
31
- },
32
- leftWidth: {
33
- type: String,
34
- default: '60%'
35
- },
36
- rightWidth: {
37
- type: String,
38
- default: '60%'
39
- },
40
- value: {
41
- type: String,
42
- default: ''
43
- }
44
- },
45
- data() {
46
- return {
47
- source: `tool.getChildrenOfResName($${this.roleName}$)`,
48
- allUsers: [],
49
- users: [],
50
- resids: []
51
- }
52
- },
53
- ready() {
54
- this.$resetpost('/rs/search', {data: {source: this.source, userid: this.$login.f.id}}, {resolveMsg: null, rejectMsg: null})
55
- .then(res => {
56
- console.log('res-->' + JSON.stringify(res))
57
- this.allUsers = res.data
58
- })
59
- },
60
- methods: {
61
- getRes(obj) {
62
- this.resids = obj.resids
63
- console.log(this.resids)
64
- this.filterUser(this.resids)
65
- this.$dispatch('re-res',obj)
66
- },
67
- filterUser(resids) {
68
- // 处理第一次进入页面值异常问题
69
- if(resids.length > 0 && typeof resids[0] == "object"){
70
- resids = resids[0]
71
- }
72
- this.users = []
73
- this.allUsers.forEach(user => {
74
- if (resids.indexOf(user.orgid) != -1) {
75
- this.users.push({label: user.name, value: user.name})
76
- }
77
- })
78
- if(this.users.length > 0){
79
- this.users = [{label: '全部', value: ''},...this.users]
80
- }
81
- console.log(this.users)
82
- }
83
- }
84
- }
85
- </script>
86
-
87
- <style scoped>
88
-
1
+ <template>
2
+ <div style="width: 100%;height: 100%">
3
+ <div class="col-sm-6">
4
+ <label class="font_normal_body">&nbsp;公&nbsp;&nbsp;&nbsp;&nbsp;司&nbsp;</label>
5
+ <right-tree :width="leftWidth" @re-res="getRes"></right-tree>
6
+ </div>
7
+ <div class="col-sm-6 ">
8
+ <label class="font_normal_body">{{roleLable}}</label>
9
+ <v-select :value.sync="value" v-model='model.f_checker_id'
10
+ :value-single="true"
11
+ class="select_list select"
12
+ :options='users' :placeholder='roleName'
13
+ close-on-select
14
+ :width="rightWidth">
15
+ </v-select>
16
+ </div>
17
+ </div>
18
+ </template>
19
+
20
+ <script>
21
+ export default {
22
+ name: "RoleSelector",
23
+ props: {
24
+ roleName: {
25
+ type: String,
26
+ default: '安检员'
27
+ },
28
+ roleLable: {
29
+ type: String,
30
+ default: '安检员'
31
+ },
32
+ leftWidth: {
33
+ type: String,
34
+ default: '60%'
35
+ },
36
+ rightWidth: {
37
+ type: String,
38
+ default: '60%'
39
+ },
40
+ value: {
41
+ type: String,
42
+ default: ''
43
+ }
44
+ },
45
+ data() {
46
+ return {
47
+ source: `tool.getChildrenOfResName($${this.roleName}$)`,
48
+ allUsers: [],
49
+ users: [],
50
+ resids: []
51
+ }
52
+ },
53
+ ready() {
54
+ this.$resetpost('/rs/search', {data: {source: this.source, userid: this.$login.f.id}}, {resolveMsg: null, rejectMsg: null})
55
+ .then(res => {
56
+ console.log('res-->' + JSON.stringify(res))
57
+ this.allUsers = res.data
58
+ })
59
+ },
60
+ methods: {
61
+ getRes(obj) {
62
+ this.resids = obj.resids
63
+ console.log(this.resids)
64
+ this.filterUser(this.resids)
65
+ this.$dispatch('re-res',obj)
66
+ },
67
+ filterUser(resids) {
68
+ // 处理第一次进入页面值异常问题
69
+ if(resids.length > 0 && typeof resids[0] == "object"){
70
+ resids = resids[0]
71
+ }
72
+ this.users = []
73
+ this.allUsers.forEach(user => {
74
+ if (resids.indexOf(user.orgid) != -1) {
75
+ this.users.push({label: user.name, value: user.name})
76
+ }
77
+ })
78
+ if(this.users.length > 0){
79
+ this.users = [{label: '全部', value: ''},...this.users]
80
+ }
81
+ console.log(this.users)
82
+ }
83
+ }
84
+ }
85
+ </script>
86
+
87
+ <style scoped>
88
+
89
89
  </style>