system-phone 3.0.49-9 → 3.1.0

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 (129) hide show
  1. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  2. package/SystemPhone.iml +8 -8
  3. package/build/dev-server.js +141 -141
  4. package/build/webpack.base.conf.js +82 -82
  5. package/build.gradle +27 -27
  6. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  7. package/gradlew +183 -183
  8. package/gradlew.bat +100 -100
  9. package/index.html +21 -21
  10. package/package.json +1 -1
  11. package/src/App.vue +25 -25
  12. package/src/Util.js +415 -415
  13. package/src/assets//344/277/235/351/231/251/347/231/273/350/256/260.png +0 -0
  14. package/src/assets//345/215/217/345/212/251/345/256/211/346/243/200.png +0 -0
  15. package/src/assets//345/215/241/350/241/250/346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
  16. package/src/assets//345/233/236/350/256/277.png +0 -0
  17. package/src/assets//345/234/260/345/235/200/345/217/230/346/233/264.png +0 -0
  18. package/src/assets//345/242/236/345/200/274/345/276/205/345/212/236.png +0 -0
  19. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/270/212/344/274/240.png +0 -0
  20. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/344/273/243/345/212/236.png +0 -0
  21. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
  22. package/src/assets//345/244/226/351/203/250/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  23. package/src/assets//345/244/226/351/203/250/351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
  24. package/src/assets//345/256/211/346/243/200/345/216/206/345/217/262/346/237/245/347/234/213.png +0 -0
  25. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/346/234/252/351/200/211/344/270/255.png +0 -0
  26. package/src/assets//345/256/211/346/243/200/347/256/241/347/220/206/351/200/211/344/270/255.png +0 -0
  27. package/src/assets//345/256/211/346/243/200/350/275/254/345/215/225/345/256/241/346/240/270.png +0 -0
  28. package/src/assets//345/267/245/345/215/225/345/244/215/346/243/200.png +0 -0
  29. package/src/assets//345/267/245/345/225/206/345/256/211/346/243/200.png +0 -0
  30. package/src/assets//345/276/205/345/212/236/347/273/237/350/256/241.png +0 -0
  31. package/src/assets//346/212/204/350/241/250/351/207/215/344/274/240.png +0 -0
  32. package/src/assets//346/212/245/345/273/272/344/273/243/345/212/236.png +0 -0
  33. package/src/assets//346/226/275/345/260/201.png +0 -0
  34. package/src/assets//346/226/275/345/260/201/347/256/241/347/220/206.png +0 -0
  35. package/src/assets//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/src/assets//347/224/250/346/210/267/345/273/272/346/241/243.png +0 -0
  37. package/src/assets//347/224/250/346/210/267/350/256/260/345/275/225.png +0 -0
  38. package/src/assets//347/273/264/344/277/256/345/234/250/347/272/277/346/237/245/350/257/242.png +0 -0
  39. package/src/assets//347/273/264/344/277/256/347/231/273/350/256/260.png +0 -0
  40. package/src/assets//350/256/241/345/210/222/345/256/211/346/243/200.png +0 -0
  41. package/src/assets//350/256/241/345/210/222/347/273/237/350/256/241.png +0 -0
  42. package/src/assets//351/200/232/346/260/224/346/211/223/345/216/213/347/225/231/345/272/225.png +0 -0
  43. package/src/assets//351/223/205/345/260/201/347/256/241/347/220/206.png +0 -0
  44. package/src/assets//351/230/200/346/216/247/347/256/241/347/220/206.png +0 -0
  45. package/src/assets//351/235/236/345/261/205/346/260/221/345/256/211/346/243/200.png +0 -0
  46. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
  47. package/src/assets//351/246/226/351/241/265/345/244/247/345/233/276.png +0 -0
  48. package/src/components/AloneLoadParams.vue +26 -26
  49. package/src/components/AlreadyService.vue +193 -193
  50. package/src/components/AttendManage.vue +534 -415
  51. package/src/components/LoadAppdata.vue +38 -38
  52. package/src/components/LoginApp.vue +732 -725
  53. package/src/components/LoginAppNew.vue +587 -587
  54. package/src/components/LoginAppV4.vue +732 -0
  55. package/src/components/ModifyPassWord.vue +216 -216
  56. package/src/components/NavBottom.vue +117 -117
  57. package/src/components/NavBottomV.vue +141 -141
  58. package/src/components/NavBottomVVV.vue +185 -185
  59. package/src/components/OnlineManage.vue +256 -256
  60. package/src/components/PhoneAllInfo.vue +68 -68
  61. package/src/components/PhoneChangemeterInfo.vue +116 -116
  62. package/src/components/PhoneImageInfo.vue +102 -0
  63. package/src/components/PhoneInfoTable.vue +39 -39
  64. package/src/components/PhoneMeterInfo.vue +132 -132
  65. package/src/components/PhoneRepairInfo.vue +146 -146
  66. package/src/components/PhoneSafeInfo.vue +101 -101
  67. package/src/components/PhoneSellInfo.vue +148 -123
  68. package/src/components/PhoneSellInfoLite.vue +112 -112
  69. package/src/components/PhoneUser.vue +202 -202
  70. package/src/components/PhoneUserDetil.vue +70 -70
  71. package/src/components/PhoneUserFind.vue +138 -138
  72. package/src/components/RightTree.vue +217 -217
  73. package/src/components/SystemSetUp.vue +2 -0
  74. package/src/components/TabBarPhone.vue +81 -81
  75. package/src/components/Test.vue +14 -14
  76. package/src/components/ToolsPage.vue +199 -180
  77. package/src/components/UploadManage.vue +194 -194
  78. package/src/components/gaomi/NavBottomV.vue +223 -223
  79. package/src/components/gaomi/NavBottomVVVV.vue +210 -210
  80. package/src/components/gaomi/Scroller.vue +63 -63
  81. package/src/components/gaomi/SystemSetUp.vue +186 -186
  82. package/src/components/gaomi/ToolsPage.vue +168 -168
  83. package/src/components/idea/feedBack.vue +150 -150
  84. package/src/components/idea/feedbackAdd.vue +366 -366
  85. package/src/components/info/ConfigInfo.vue +122 -122
  86. package/src/components/info/FindUserInfo.vue +157 -157
  87. package/src/components/info/InfoTable.vue +37 -37
  88. package/src/components/iot/InstructMessage.vue +313 -313
  89. package/src/components/iot/IotBaseInfo.vue +97 -97
  90. package/src/components/iot/IotMeterInfo.vue +77 -77
  91. package/src/components/iot/iotMonitoringMain.vue +501 -501
  92. package/src/components/online/ApplyOnline.vue +581 -581
  93. package/src/components/online/BJZhongRan/ApplyOnline.vue +600 -600
  94. package/src/components/screen/ChargeContentPage.vue +656 -656
  95. package/src/components/screen/ContentPage.vue +611 -611
  96. package/src/components/screen/GongdanContentPage.vue +149 -149
  97. package/src/components/screen/ListCountItem.vue +93 -93
  98. package/src/components/screen/ModuleTitle.vue +48 -48
  99. package/src/components/screen/SafeOrderContentPage.vue +440 -440
  100. package/src/components/screen/SecurityCheckItem.vue +50 -50
  101. package/src/components/screen/TotalItem.vue +76 -76
  102. package/src/components/screen/TotalUserNumber.vue +77 -77
  103. package/src/components/screen/WorkOrderItem.vue +51 -51
  104. package/src/components/screen/WorkOrderRightDownItem.vue +103 -103
  105. package/src/components/screen/WorkOrderRightItem.vue +115 -115
  106. package/src/components/userinfo/paymentQuery.vue +189 -189
  107. package/src/components/userinfo/queryFile.vue +190 -190
  108. package/src/components/wasm.vue +18 -18
  109. package/src/expandcssAndroid.less +521 -521
  110. package/src/filiale/yulinyuchuan/AlreadyService.vue +194 -0
  111. package/src/filiale/yulinyuchuan/AttendManage.vue +537 -0
  112. package/src/filiale/yulinyuchuan/LoginApp.vue +741 -0
  113. package/src/filiale/yulinyuchuan/OnlineManage.vue +256 -0
  114. package/src/filiale/yulinyuchuan/SystemSetUp.vue +332 -0
  115. package/src/filiale/yulinyuchuan/UploadManage.vue +195 -0
  116. package/src/filiale/yulinyuchuan/systemphonegrid.js +9 -0
  117. package/src/index.js +9 -9
  118. package/src/main.js +38 -38
  119. package/src/plugins/const.js +404 -404
  120. package/src/plugins/vue-py.js +37 -37
  121. package/src/stores/AppData.js +91 -63
  122. package/src/systemphone-gaomi.js +105 -105
  123. package/src/systemphone.js +60 -58
  124. package/src/systemphonegrid.js +185 -210
  125. package/src/util/LdapHelper.js +75 -75
  126. package/static/const.js +404 -404
  127. package/static/layui/font/iconfont.svg +554 -554
  128. package/static/vue-py.js +37 -37
  129. package/static/wasm_exec.js +465 -465
@@ -1,217 +1,217 @@
1
- <template>
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">
4
- <span class='btn-content' :style="{textOverflow:'ellipsis',overflow: 'hidden'}">{{ resname }}</span>
5
- <span class="caret"></span>
6
- </button>
7
- <tree :model='model' :is-click="false" slot="dropdown-menu" class="dropdown-menu auto" role="menu">
8
- <span partial>
9
- <span class="glyphicon glyphicon-chevron-down" v-show="row.open&&row.data.children.length>0" style="color:balck;"></span>
10
- <span class="glyphicon glyphicon-chevron-right" v-show="!row.open&&row.data.children.length>0" style="color:balck;"></span>
11
- <span class="RightTreeCanSelect" v-if="row.data.hasright" @click.stop="$parent.$parent.$parent.selectclick(row.data)">{{row.data.name}}</span>
12
- <span class="RightTreeCanNotSelect" v-else>{{row.data.name}}</span>
13
- <span class="glyphicon glyphicon-ok " v-if="$parent.$parent.$parent.isSelect(row.data.id)" style="color:balck;"></span>
14
- </span>
15
- </tree>
16
- </dropdown>
17
- <v-select v-if="islist"
18
- placeholder='请选择'
19
- :options='childrenOptions'
20
- @change="selectclick"
21
- :value-single="true"
22
- close-on-select></v-select>
23
- </template>
24
- <script>
25
- import * as ldapHelper from './../util/LdapHelper'
26
- import Vue from 'vue'
27
- export default {
28
- title: '资源树',
29
- props: {
30
- source: {
31
- type: String,
32
- require: true,
33
- default:`tool.getFullTree(this.getRights().where(row.getType() == $organization$))`
34
- },
35
- resid: {
36
- },
37
- islist: {
38
- type: Boolean,
39
- default: false
40
- },
41
- //是否有查看上级的权限
42
- Url:{
43
- type: String,
44
- default:''
45
- }
46
- },
47
- data () {
48
- return {
49
- width:'100%',
50
- resobj:{res:Vue.user.orgs, resids:Vue.user.orgid},
51
- userid: Vue.user.id,
52
- resname:[Vue.user.orgs],
53
- orgnames : [Vue.user.orgs],
54
- orgids : [Vue.user.orgid],
55
- orgobj:[],
56
- model: [
57
-
58
- ],
59
- childrenOptions: []
60
- }
61
- },
62
- methods: {
63
- selectRes () {
64
- let newobj={
65
- "res": [this.resname],
66
- "resids": [this.orgids],
67
- }
68
- this.$emit('re-res', newobj)
69
- },
70
- //点击资源的方法
71
- selectclick (row) {
72
- if(this.orgids.includes(row.id)){
73
- this.orgnames=[]
74
- this.orgids=[]
75
- this.removeResChild(row)
76
- this.orgnames.push(row.name)
77
- this.orgids.push(row.id)
78
- this.orgobj.push(row)
79
- }else{
80
- this.orgnames=[]
81
- this.orgids=[]
82
- this.orgobj=[]
83
- this.addResChild(row)
84
- }
85
- console.log(this.orgnames.join(','))
86
- this.resname = this.orgnames.length > 0 ? this.orgnames.join(','):'请选择'
87
- let newobj={
88
- "res": this.orgnames,
89
- "resids": this.orgids,
90
- "orgobj": this.orgobj,
91
- }
92
- this.$emit('re-res', newobj)
93
- },
94
- addResChild(val){
95
- // if(this.orgids.includes(val.id)){
96
- // this.orgnames.splice(this.orgnames.indexOf(val.name),1)
97
- // this.orgids.splice(this.orgids.indexOf(val.id),1)
98
- // }
99
- this.orgnames.push(val.name)
100
- this.orgids.push(val.id)
101
- this.orgobj.push(val)
102
- if(val.children && val.children.length>0){
103
- Object.keys(val.children).forEach((key) => {
104
- this.addResChild(val.children[key])
105
- })
106
- }
107
- },
108
- removeResChild(val){
109
- this.orgnames.splice(this.orgnames.indexOf(val.name),1)
110
- this.orgids.splice(this.orgids.indexOf(val.id),1)
111
- this.orgobj.splice(this.orgids.indexOf(val),1)
112
- if(val.children && val.children.length>0){
113
- Object.keys(val.children).forEach((key) => {
114
- this.removeResChild(val.children[key])
115
- })
116
- }
117
- },
118
- //检查是否显示对勾
119
- isSelect(val) {
120
- if(this.orgids.includes(val)){
121
- return true
122
- }else{
123
- return false
124
- }
125
- },
126
- //树形结构变成list
127
- treetoList(val) {
128
- for (let value of val) {
129
- this.ergodicList(value)
130
- }
131
- },
132
- //找到跟节点
133
- ergodicList (val) {
134
- val.children.length > 0 ? this.treetoList(val.children) : this.childrenOptions.push({label: val.name, value: val})
135
- },
136
- //处理显示默认值
137
- dealResObj (val) {
138
- try{
139
- var arr=val.res.split(".")
140
- //截取最后一个分公司名字
141
- this.resname=arr[arr.length-1].toString()
142
- this.resid = val.resids
143
- }catch (e){
144
- this.resname='请选择组织'
145
- }
146
- },
147
- judgBoundary(){
148
- //判断是否超出边界,超出移动
149
- if(document.documentElement.offsetWidth< this.$els.dropdown.getBoundingClientRect().right){
150
- this.left = document.documentElement.offsetWidth - this.$els.dropdown.getBoundingClientRect().right - 25
151
- }
152
- }
153
- },
154
- events: {
155
-
156
- },
157
- ready () {
158
- console.log('righttree ready')
159
- if(this.$els.dropdown){
160
- console.log('righttree1')
161
- this.width = this.$els.dropdown.clientWidth * 0.7 +'px'
162
- }
163
- console.log('righttree2')
164
- this.dealResObj (this.resobj)
165
- console.log('righttree3')
166
- var data = {
167
- source: this.source,
168
- userid: this.userid
169
- }
170
- console.log('向资源服务发送请求')
171
- this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, data,{
172
- resolveMsg : null ,
173
- rejectMsg : null,
174
- }).then((ret) => {
175
- console.log('向资源服务请求结束')
176
- // 去掉前面的两层节点
177
- ret.data[0].children[0].children.forEach((item) => {
178
- this.model.push(item)
179
- })
180
- // 给资源添加父关系
181
- ldapHelper.procParent(this.model)
182
- if (this.islist) {
183
- this.treetoList(this.model)
184
- }
185
- this.selectRes()
186
- })
187
- },
188
- watch: {
189
- }
190
- }
191
- </script>
192
- <style lang="less">
193
- #res-tree {
194
- .list-group-item {
195
- background-color: #FFF;
196
- color: #000;
197
- padding: 5px 10px;
198
- border:0px;
199
- white-space: nowrap;
200
- }
201
- }
202
- #res-tree .list-group {
203
- width: auto;
204
- min-width: 100%;
205
- }
206
- .hide-text-overflow{
207
- overflow: hidden;
208
- text-overflow: ellipsis
209
- }
210
- .select-style {
211
- border: 0px;
212
- /*border-bottom: 2px solid #C9CCCF;*/
213
- border: 1px solid #93B2D3;
214
- border-radius: 0px;
215
- color: #555;
216
- }
217
- </style>
1
+ <template>
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">
4
+ <span class='btn-content' :style="{textOverflow:'ellipsis',overflow: 'hidden'}">{{ resname }}</span>
5
+ <span class="caret"></span>
6
+ </button>
7
+ <tree :model='model' :is-click="false" slot="dropdown-menu" class="dropdown-menu auto" role="menu">
8
+ <span partial>
9
+ <span class="glyphicon glyphicon-chevron-down" v-show="row.open&&row.data.children.length>0" style="color:balck;"></span>
10
+ <span class="glyphicon glyphicon-chevron-right" v-show="!row.open&&row.data.children.length>0" style="color:balck;"></span>
11
+ <span class="RightTreeCanSelect" v-if="row.data.hasright" @click.stop="$parent.$parent.$parent.selectclick(row.data)">{{row.data.name}}</span>
12
+ <span class="RightTreeCanNotSelect" v-else>{{row.data.name}}</span>
13
+ <span class="glyphicon glyphicon-ok " v-if="$parent.$parent.$parent.isSelect(row.data.id)" style="color:balck;"></span>
14
+ </span>
15
+ </tree>
16
+ </dropdown>
17
+ <v-select v-if="islist"
18
+ placeholder='请选择'
19
+ :options='childrenOptions'
20
+ @change="selectclick"
21
+ :value-single="true"
22
+ close-on-select></v-select>
23
+ </template>
24
+ <script>
25
+ import * as ldapHelper from './../util/LdapHelper'
26
+ import Vue from 'vue'
27
+ export default {
28
+ title: '资源树',
29
+ props: {
30
+ source: {
31
+ type: String,
32
+ require: true,
33
+ default:`tool.getFullTree(this.getRights().where(row.getType() == $organization$))`
34
+ },
35
+ resid: {
36
+ },
37
+ islist: {
38
+ type: Boolean,
39
+ default: false
40
+ },
41
+ //是否有查看上级的权限
42
+ Url:{
43
+ type: String,
44
+ default:''
45
+ }
46
+ },
47
+ data () {
48
+ return {
49
+ width:'100%',
50
+ resobj:{res:Vue.user.orgs, resids:Vue.user.orgid},
51
+ userid: Vue.user.id,
52
+ resname:[Vue.user.orgs],
53
+ orgnames : [Vue.user.orgs],
54
+ orgids : [Vue.user.orgid],
55
+ orgobj:[],
56
+ model: [
57
+
58
+ ],
59
+ childrenOptions: []
60
+ }
61
+ },
62
+ methods: {
63
+ selectRes () {
64
+ let newobj={
65
+ "res": [this.resname],
66
+ "resids": [this.orgids],
67
+ }
68
+ this.$emit('re-res', newobj)
69
+ },
70
+ //点击资源的方法
71
+ selectclick (row) {
72
+ if(this.orgids.includes(row.id)){
73
+ this.orgnames=[]
74
+ this.orgids=[]
75
+ this.removeResChild(row)
76
+ this.orgnames.push(row.name)
77
+ this.orgids.push(row.id)
78
+ this.orgobj.push(row)
79
+ }else{
80
+ this.orgnames=[]
81
+ this.orgids=[]
82
+ this.orgobj=[]
83
+ this.addResChild(row)
84
+ }
85
+ console.log(this.orgnames.join(','))
86
+ this.resname = this.orgnames.length > 0 ? this.orgnames.join(','):'请选择'
87
+ let newobj={
88
+ "res": this.orgnames,
89
+ "resids": this.orgids,
90
+ "orgobj": this.orgobj,
91
+ }
92
+ this.$emit('re-res', newobj)
93
+ },
94
+ addResChild(val){
95
+ // if(this.orgids.includes(val.id)){
96
+ // this.orgnames.splice(this.orgnames.indexOf(val.name),1)
97
+ // this.orgids.splice(this.orgids.indexOf(val.id),1)
98
+ // }
99
+ this.orgnames.push(val.name)
100
+ this.orgids.push(val.id)
101
+ this.orgobj.push(val)
102
+ if(val.children && val.children.length>0){
103
+ Object.keys(val.children).forEach((key) => {
104
+ this.addResChild(val.children[key])
105
+ })
106
+ }
107
+ },
108
+ removeResChild(val){
109
+ this.orgnames.splice(this.orgnames.indexOf(val.name),1)
110
+ this.orgids.splice(this.orgids.indexOf(val.id),1)
111
+ this.orgobj.splice(this.orgids.indexOf(val),1)
112
+ if(val.children && val.children.length>0){
113
+ Object.keys(val.children).forEach((key) => {
114
+ this.removeResChild(val.children[key])
115
+ })
116
+ }
117
+ },
118
+ //检查是否显示对勾
119
+ isSelect(val) {
120
+ if(this.orgids.includes(val)){
121
+ return true
122
+ }else{
123
+ return false
124
+ }
125
+ },
126
+ //树形结构变成list
127
+ treetoList(val) {
128
+ for (let value of val) {
129
+ this.ergodicList(value)
130
+ }
131
+ },
132
+ //找到跟节点
133
+ ergodicList (val) {
134
+ val.children.length > 0 ? this.treetoList(val.children) : this.childrenOptions.push({label: val.name, value: val})
135
+ },
136
+ //处理显示默认值
137
+ dealResObj (val) {
138
+ try{
139
+ var arr=val.res.split(".")
140
+ //截取最后一个分公司名字
141
+ this.resname=arr[arr.length-1].toString()
142
+ this.resid = val.resids
143
+ }catch (e){
144
+ this.resname='请选择组织'
145
+ }
146
+ },
147
+ judgBoundary(){
148
+ //判断是否超出边界,超出移动
149
+ if(document.documentElement.offsetWidth< this.$els.dropdown.getBoundingClientRect().right){
150
+ this.left = document.documentElement.offsetWidth - this.$els.dropdown.getBoundingClientRect().right - 25
151
+ }
152
+ }
153
+ },
154
+ events: {
155
+
156
+ },
157
+ ready () {
158
+ console.log('righttree ready')
159
+ if(this.$els.dropdown){
160
+ console.log('righttree1')
161
+ this.width = this.$els.dropdown.clientWidth * 0.7 +'px'
162
+ }
163
+ console.log('righttree2')
164
+ this.dealResObj (this.resobj)
165
+ console.log('righttree3')
166
+ var data = {
167
+ source: this.source,
168
+ userid: this.userid
169
+ }
170
+ console.log('向资源服务发送请求')
171
+ this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/search`, data,{
172
+ resolveMsg : null ,
173
+ rejectMsg : null,
174
+ }).then((ret) => {
175
+ console.log('向资源服务请求结束')
176
+ // 去掉前面的两层节点
177
+ ret.data[0].children[0].children.forEach((item) => {
178
+ this.model.push(item)
179
+ })
180
+ // 给资源添加父关系
181
+ ldapHelper.procParent(this.model)
182
+ if (this.islist) {
183
+ this.treetoList(this.model)
184
+ }
185
+ this.selectRes()
186
+ })
187
+ },
188
+ watch: {
189
+ }
190
+ }
191
+ </script>
192
+ <style lang="less">
193
+ #res-tree {
194
+ .list-group-item {
195
+ background-color: #FFF;
196
+ color: #000;
197
+ padding: 5px 10px;
198
+ border:0px;
199
+ white-space: nowrap;
200
+ }
201
+ }
202
+ #res-tree .list-group {
203
+ width: auto;
204
+ min-width: 100%;
205
+ }
206
+ .hide-text-overflow{
207
+ overflow: hidden;
208
+ text-overflow: ellipsis
209
+ }
210
+ .select-style {
211
+ border: 0px;
212
+ /*border-bottom: 2px solid #C9CCCF;*/
213
+ border: 1px solid #93B2D3;
214
+ border-radius: 0px;
215
+ color: #555;
216
+ }
217
+ </style>
@@ -147,6 +147,8 @@
147
147
  if (res === 'confirm') {
148
148
  this.$androidUtil.setPreference('f_repairman_id', 'x')
149
149
  this.$androidUtil.setPreference('f_repairman_name', 'x')
150
+ this.$androidUtil.setPreference('f_orgid', '')
151
+ this.$androidUtil.setPreference('f_role_name', '')
150
152
  this.$dispatch('gologin')
151
153
  }
152
154
  })
@@ -1,81 +1,81 @@
1
- <template>
2
- <div id="TabBar" class="tab-bar flex-row">
3
- <div style="text-align: center;width:{{shuclass}}" @click="didClickedItem(tab.link,tab.name,$index)" v-for="tab in tabs" :class="{active: ($index == actives)}">
4
- <div class="row">
5
- <img class="butt" :src="imgback(tab.name,'选中')" v-if="$index == actives">
6
- <img class="butt" :src="imgback(tab.name,'未选中')" v-if="$index != actives">
7
- <p class="navimagesfoot" style="padding-top:5px">{{tab.name}}</p>
8
- </div>
9
- </div>
10
- </div>
11
- </template>
12
-
13
- <script>
14
- import * as Util from '../Util'
15
- import Vue from 'vue'
16
- export default {
17
- title: "TabBar",
18
- props: {
19
-
20
- },
21
- data: function () {
22
- return {
23
- actives:0,
24
- shuclass:'100%',
25
- tabs: Vue.functions,
26
- // tabs:[{link:'attend-manage',name:'待办工单'},{link:'modify-pass-word',name:'已办工单'},{link:'repair-first',name:'工单上传'}]
27
- }
28
- },
29
- methods: {
30
- didClickedItem(link,name,tag) {
31
- this.actives = tag
32
- var data = {
33
- link:link,
34
- name:name,
35
- tag:tag
36
- }
37
- this.$emit('select-item', data);
38
- },
39
- imgback(val,flag){
40
- return require('../assets/'+ val+ flag +'.png')
41
- },
42
- },
43
- ready () {
44
- this.actives = 0
45
- var number = this.tabs.length
46
- var number1 = 100/number
47
- this.shuclass = number1 +'%'
48
- this.didClickedItem(this.tabs[0].link,this.tabs[0].name,0)
49
- },
50
- }
51
- </script>
52
-
53
- <style scoped>
54
- .tab-bar {
55
- background-color: white;
56
- height: 10%;
57
- border: 0 solid rgb(210, 210, 210);
58
- border-top-width: 1px;
59
- position: fixed;
60
- margin: auto;
61
- bottom: 0;
62
- width: 100%;
63
- }
64
-
65
- .tab-bar-item {
66
- height: 54px;
67
- }
68
-
69
- .active {
70
- color: #1E90FF;
71
- }
72
-
73
- i {
74
- font-size: 25px;
75
- }
76
- .navimagesfoot{
77
- font-size: 10px;
78
- /* font-family: "Pingfhs";*/
79
- }
80
- .butt {margin-left: 20%; margin-right: 20%; margin-top: 10%; width: 25px; border-radius: 5%; text-align: center;align-items:center;}
81
- </style>
1
+ <template>
2
+ <div id="TabBar" class="tab-bar flex-row">
3
+ <div style="text-align: center;width:{{shuclass}}" @click="didClickedItem(tab.link,tab.name,$index)" v-for="tab in tabs" :class="{active: ($index == actives)}">
4
+ <div class="row">
5
+ <img class="butt" :src="imgback(tab.name,'选中')" v-if="$index == actives">
6
+ <img class="butt" :src="imgback(tab.name,'未选中')" v-if="$index != actives">
7
+ <p class="navimagesfoot" style="padding-top:5px">{{tab.name}}</p>
8
+ </div>
9
+ </div>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+ import * as Util from '../Util'
15
+ import Vue from 'vue'
16
+ export default {
17
+ title: "TabBar",
18
+ props: {
19
+
20
+ },
21
+ data: function () {
22
+ return {
23
+ actives:0,
24
+ shuclass:'100%',
25
+ tabs: Vue.functions,
26
+ // tabs:[{link:'attend-manage',name:'待办工单'},{link:'modify-pass-word',name:'已办工单'},{link:'repair-first',name:'工单上传'}]
27
+ }
28
+ },
29
+ methods: {
30
+ didClickedItem(link,name,tag) {
31
+ this.actives = tag
32
+ var data = {
33
+ link:link,
34
+ name:name,
35
+ tag:tag
36
+ }
37
+ this.$emit('select-item', data);
38
+ },
39
+ imgback(val,flag){
40
+ return require('../assets/'+ val+ flag +'.png')
41
+ },
42
+ },
43
+ ready () {
44
+ this.actives = 0
45
+ var number = this.tabs.length
46
+ var number1 = 100/number
47
+ this.shuclass = number1 +'%'
48
+ this.didClickedItem(this.tabs[0].link,this.tabs[0].name,0)
49
+ },
50
+ }
51
+ </script>
52
+
53
+ <style scoped>
54
+ .tab-bar {
55
+ background-color: white;
56
+ height: 10%;
57
+ border: 0 solid rgb(210, 210, 210);
58
+ border-top-width: 1px;
59
+ position: fixed;
60
+ margin: auto;
61
+ bottom: 0;
62
+ width: 100%;
63
+ }
64
+
65
+ .tab-bar-item {
66
+ height: 54px;
67
+ }
68
+
69
+ .active {
70
+ color: #1E90FF;
71
+ }
72
+
73
+ i {
74
+ font-size: 25px;
75
+ }
76
+ .navimagesfoot{
77
+ font-size: 10px;
78
+ /* font-family: "Pingfhs";*/
79
+ }
80
+ .butt {margin-left: 20%; margin-right: 20%; margin-top: 10%; width: 25px; border-radius: 5%; text-align: center;align-items:center;}
81
+ </style>
@@ -1,14 +1,14 @@
1
- <template>
2
- <div>
3
- <h1>Hello Test {{msg}}</h1>
4
- </div>
5
- </template>
6
- <script>
7
- export default {
8
- title: "test",
9
- props: ['msg'],
10
- data () {
11
- return {}
12
- }
13
- }
14
- </script>
1
+ <template>
2
+ <div>
3
+ <h1>Hello Test {{msg}}</h1>
4
+ </div>
5
+ </template>
6
+ <script>
7
+ export default {
8
+ title: "test",
9
+ props: ['msg'],
10
+ data () {
11
+ return {}
12
+ }
13
+ }
14
+ </script>