system-clients 3.1.89-9 → 3.1.89-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 +2 -2
  2. package/src/components/Main.vue +547 -589
  3. package/src/components/equipment/EquipmentManage.vue +3 -0
  4. package/src/components/equipment/QCAdd.vue +333 -0
  5. package/src/components/equipment/QCList.vue +230 -0
  6. package/src/components/equipment/QCManage.vue +150 -0
  7. package/src/components/parammanage/ParamManage.vue +2 -2
  8. package/src/components/parammanage/ParamPage.vue +4 -4
  9. package/src/components/parammanage/SinglePage.vue +2 -2
  10. package/src/components/server/Login.vue +56 -103
  11. package/src/components/server/ModifyPw.vue +4 -5
  12. package/src/components/server/ResSelect.vue +5 -1
  13. package/src/components/server/ResSelectGroup.vue +159 -174
  14. package/src/components/server/RightTree.vue +207 -236
  15. package/src/plugins/EncryptUtil.js +53 -0
  16. package/src/plugins/GetLoginInfoService.js +3 -0
  17. package/src/plugins/validation.js +1 -1
  18. package/src/system.js +7 -5
  19. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  20. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  21. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  22. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  23. package/.gradle/5.2.1/gc.properties +0 -0
  24. package/.gradle/buildOutputCleanup/built.bin +0 -0
  25. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  26. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  27. package/.gradle/vcs-1/gc.properties +0 -0
  28. package/src/components/server/ImageVieweTest.vue +0 -56
  29. package/src/components/server/ImageViewer.vue +0 -350
  30. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  31. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  32. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  33. package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
  34. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  35. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  36. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  37. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  38. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  39. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  40. package/src/styles/fonts/trendstrends.ttf +0 -0
  41. 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
  42. package/src/styles/less/.csscomb.json +0 -304
  43. package/src/styles/less/.csslintrc +0 -19
  44. package/src/styles/less/alerts.less +0 -73
  45. package/src/styles/less/aofeng/animate.min.css +0 -11
  46. package/src/styles/less/aofeng/expandcss.less +0 -569
  47. package/src/styles/less/aofeng/standard.less +0 -2121
  48. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
  49. package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
  50. package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
  51. package/src/styles/less/aofeng/themeOne.less +0 -17
  52. package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
  53. package/src/styles/less/aofeng/themeTwo.less +0 -3
  54. package/src/styles/less/badges.less +0 -66
  55. package/src/styles/less/bootstrap.less +0 -66
  56. package/src/styles/less/breadcrumbs.less +0 -26
  57. package/src/styles/less/button-groups.less +0 -247
  58. package/src/styles/less/buttons.less +0 -172
  59. package/src/styles/less/carousel.less +0 -269
  60. package/src/styles/less/close.less +0 -34
  61. package/src/styles/less/code.less +0 -69
  62. package/src/styles/less/component-animations.less +0 -33
  63. package/src/styles/less/dropdowns.less +0 -216
  64. package/src/styles/less/fonts-list.less +0 -25
  65. package/src/styles/less/forms.less +0 -626
  66. package/src/styles/less/glyphicons.less +0 -305
  67. package/src/styles/less/grid.less +0 -84
  68. package/src/styles/less/input-groups.less +0 -167
  69. package/src/styles/less/jumbotron.less +0 -52
  70. package/src/styles/less/labels.less +0 -64
  71. package/src/styles/less/list-group.less +0 -141
  72. package/src/styles/less/manageStyle/manageChile.less +0 -180
  73. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  74. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  75. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  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
@@ -1,174 +1,159 @@
1
- <template>
2
- <div :class="style" v-show="companyshow">
3
- <label class="font_normal_body">公&emsp;&emsp;司</label>
4
- <right-tree @re-res="getorg"
5
- :initresid='initres.org'></right-tree>
6
- </div>
7
- <div :class="style" v-show="departmentshow">
8
- <label class="font_normal_body">部&emsp;&emsp;门</label>
9
- <res-select restype='department'
10
- @res-select="getdep"
11
- :parentresid="depresid"
12
- :initresid='initres.dep'
13
- :is-mul="mul">
14
- </res-select>
15
- </div>
16
- <div :class="style" v-show="operatorshow && (!cascade)">
17
- <label class="font_normal_body">人&emsp;&emsp;员</label>
18
- <res-select restype='user'
19
- @res-select="getuser"
20
- :parentresid="depresid"
21
- :initresid='initres.user'
22
- :is-mul="mul">
23
- </res-select>
24
- </div>
25
- <div :class="style" v-show="operatorshow && cascade">
26
- <label class="font_normal_body">人&emsp;&emsp;员</label>
27
- <res-select restype='user'
28
- @res-select="getuser"
29
- :parentresid="userresid"
30
- :initresid='initres.user'
31
- :is-mul="mul">
32
- </res-select>
33
- </div>
34
- <div :class="style " v-if="sliceareashow" >
35
- <label class="font_normal_body">片&emsp;&emsp;区</label>
36
- <v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
37
- :options='sliceArea' placeholder='片区/管理站' filer-key="name"
38
- close-on-select v-ref:slice>
39
- </v-select>
40
- </div>
41
- </template>
42
- <script>
43
- import plugin from '../../plugins/GetLoginInfoService'
44
- import { HttpResetClass } from 'vue-client'
45
- export default {
46
- title: '资源选择测试',
47
- props: {
48
- style: {
49
- type: String,
50
- default: 'col-sm-2 form-group'
51
- },
52
- mul: {
53
- type: Boolean,
54
- default: true
55
- },
56
- //初始值
57
- initres: {
58
- type: Object,
59
- default: null,
60
- },
61
- showComponent:{
62
- default:['company','department','operator','slicearea']
63
- },
64
- //人员是否和部门关联
65
- cascade: {
66
- type: Boolean,
67
- default: false
68
- }
69
- },
70
- data () {
71
- return {
72
- orgresid:[this.$login.f.orgid],
73
- depresid:[],
74
- userresid:[],
75
- sliceArea: [],
76
- slice_area:[],
77
- companyshow:false,
78
- departmentshow:false,
79
- operatorshow:false,
80
- sliceareashow:false,
81
- obj:{
82
- orgnames:[],
83
- depnames:[],
84
- operatornames:[]
85
- }
86
- }
87
- },
88
- ready () {
89
- console.log('开始获取组织结构。。。')
90
- this.initComponent();
91
- this.initAreas(this.$login.f.orgid)
92
- },
93
- methods:{
94
- initComponent(){
95
- let self=this;
96
- this.showComponent.find((item)=>{
97
- switch(item){
98
- case 'company': self.companyshow=true; break;
99
- case 'department': self.departmentshow=true; break;
100
- case 'operator': self.operatorshow=true; break;
101
- case 'slicearea': self.sliceareashow=true; break;
102
- }
103
- })
104
- },
105
- // 初始化片区
106
- async initAreas (val) {
107
- if (val) {
108
- let http = new HttpResetClass()
109
- let getAllArea = await http.load('POST', '/rs/search', {
110
- source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
111
- userid: this.$login.f.id
112
- }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
113
- let arr = getAllArea.data.filter((res) => {
114
- return res.parentid == val
115
- })
116
- console.log('过滤之后的片区', arr)
117
- this.sliceArea = []
118
- this.slice_area = []
119
- arr.forEach((res) => {
120
- this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
121
- })
122
- }
123
- },
124
- returnOrg(ids){
125
-
126
- let condition;
127
- if(this.depresid.length > 0)
128
- condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
129
- else
130
- condition = " and f_orgid = " + this.$login.f.orgid;
131
- if(this.userresid.length > 0){
132
- condition += " and f_depid in " + plugin.convertToIn(this.userresid);
133
- }
134
- if(ids && ids.length > 0){
135
- condition += " and f_operatorid in " + plugin.convertToIn(ids);
136
- }
137
- if(this.slice_area.length>0){
138
- condition += " and f_zones = '" + this.slice_area[0].name+"'"
139
- }
140
- this.$dispatch('re-res',condition,this.obj)
141
- },
142
- getorg (obj) {
143
- console.log("选中公司的数据11",obj.resids)
144
- this.depresid=obj.resids
145
- this.obj.orgnames = obj.res
146
- this.initAreas(obj.resids)
147
- this.returnOrg();
148
- },
149
- getdep(obj,val) {
150
- console.log("选中部门的数据22",obj)
151
- this.obj.depnames = val
152
- this.userresid=obj
153
- this.returnOrg();
154
- },
155
- getuser(obj) {
156
- this.obj.operatornames = obj
157
- console.log("选中用户的数据33",obj)
158
- this.returnOrg(obj);
159
- },
160
- getarea(val) {
161
- this.slice_area=val
162
- console.log("选中的大区",val)
163
- if(this.obj.operatornames){
164
- this.returnOrg(this.obj.operatornames);
165
- }else{
166
- this.returnOrg();
167
- }
168
- }
169
- },
170
- watch: {
171
-
172
- }
173
- }
174
- </script>
1
+ <template>
2
+ <div :class="style" v-show="companyshow">
3
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
4
+ <right-tree @re-res="getorg"
5
+ :initresid='initres.org'></right-tree>
6
+ </div>
7
+ <div :class="style" v-show="departmentshow">
8
+ <label class="font_normal_body">部&emsp;&emsp;门</label>
9
+ <res-select restype='department'
10
+ @res-select="getdep"
11
+ :parentresid="depresid"
12
+ :initresid='initres.dep'
13
+ :is-mul="mul">
14
+ </res-select>
15
+ </div>
16
+ <div :class="style" v-show="operatorshow">
17
+ <label class="font_normal_body">人&emsp;&emsp;员</label>
18
+ <res-select restype='user'
19
+ @res-select="getuser"
20
+ :parentresid="depresid"
21
+ :initresid='initres.user'
22
+ :is-mul="mul">
23
+ </res-select>
24
+ </div>
25
+ <div :class="style " v-show="sliceareashow" >
26
+ <label class="font_normal_body">片&emsp;&emsp;区</label>
27
+ <v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
28
+ :options='sliceArea' placeholder='片区/管理站' filer-key="name"
29
+ close-on-select v-ref:slice>
30
+ </v-select>
31
+ </div>
32
+ </template>
33
+ <script>
34
+ import plugin from '../../plugins/GetLoginInfoService'
35
+ import { HttpResetClass } from 'vue-client'
36
+ export default {
37
+ title: '资源选择测试',
38
+ props: {
39
+ style: {
40
+ type: String,
41
+ default: 'col-sm-2 form-group'
42
+ },
43
+ mul: {
44
+ type: Boolean,
45
+ default: true
46
+ },
47
+ //初始值
48
+ initres: {
49
+ type: Object,
50
+ default: null,
51
+ },
52
+ showComponent:{
53
+ default:['company','department','operator','slicearea']
54
+ }
55
+ },
56
+ data () {
57
+ return {
58
+ orgresid:[this.$login.f.orgid],
59
+ depresid:[],
60
+ userresid:[],
61
+ sliceArea: [],
62
+ slice_area:[],
63
+ companyshow:false,
64
+ departmentshow:false,
65
+ operatorshow:false,
66
+ sliceareashow:false,
67
+ obj:{
68
+ orgnames:[],
69
+ depnames:[],
70
+ operatornames:[]
71
+ }
72
+ }
73
+ },
74
+ ready () {
75
+ console.log('开始获取组织结构。。。')
76
+ this.initComponent();
77
+ this.initAreas(this.$login.f.orgid)
78
+ },
79
+ methods:{
80
+ initComponent(){
81
+ let self=this;
82
+ this.showComponent.find((item)=>{
83
+ switch(item){
84
+ case 'company': self.companyshow=true; break;
85
+ case 'department': self.departmentshow=true; break;
86
+ case 'operator': self.operatorshow=true; break;
87
+ case 'slicearea': self.sliceareashow=true; break;
88
+ }
89
+ })
90
+ },
91
+ // 初始化片区
92
+ async initAreas (val) {
93
+ if (val) {
94
+ let http = new HttpResetClass()
95
+ let getAllArea = await http.load('POST', '/rs/search', {
96
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
97
+ userid: this.$login.f.id
98
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
99
+ let arr = getAllArea.data.filter((res) => {
100
+ return res.parentid == val
101
+ })
102
+ console.log('过滤之后的片区', arr)
103
+ this.sliceArea = []
104
+ arr.forEach((res) => {
105
+ this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
106
+ })
107
+ }
108
+ },
109
+ returnOrg(ids){
110
+
111
+ let condition;
112
+ if(this.depresid.length > 0)
113
+ condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
114
+ else
115
+ condition = " and f_orgid = " + this.$login.f.orgid;
116
+ if(this.userresid.length > 0){
117
+ condition += " and f_depname in " + plugin.convertToIn(this.obj.depnames);
118
+ }
119
+ if(ids && ids.length > 0){
120
+ condition += " and f_operatorid in " + plugin.convertToIn(ids);
121
+ }
122
+ if(this.slice_area.length>0){
123
+ condition += " and f_zones = '" + this.slice_area[0].name+"'"
124
+ }
125
+ this.$dispatch('re-res',condition,this.obj)
126
+ },
127
+ getorg (obj) {
128
+ console.log("选中公司的数据11",obj.resids)
129
+ this.depresid=obj.resids
130
+ this.obj.orgnames = obj.res
131
+ this.initAreas(obj.resids)
132
+ this.returnOrg();
133
+ },
134
+ getdep(obj,val) {
135
+ console.log("选中部门的数据22",obj)
136
+ this.obj.depnames = val
137
+ this.userresid=obj
138
+ this.returnOrg();
139
+ },
140
+ getuser(obj) {
141
+ this.obj.operatornames = obj
142
+ console.log("选中用户的数据33",obj)
143
+ this.returnOrg(obj);
144
+ },
145
+ getarea(val) {
146
+ this.slice_area=val
147
+ console.log("选中的大区",val)
148
+ if(this.obj.operatornames){
149
+ this.returnOrg(this.obj.operatornames);
150
+ }else{
151
+ this.returnOrg();
152
+ }
153
+ }
154
+ },
155
+ watch: {
156
+
157
+ }
158
+ }
159
+ </script>