system-clients 3.1.86-aode → 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 (156) hide show
  1. package/build/webpack.base.conf.js +75 -78
  2. package/package.json +2 -2
  3. package/src/components/Main.vue +547 -549
  4. package/src/components/equipment/EquipmentManage.vue +68 -65
  5. package/src/components/equipment/PcAdd.vue +5 -5
  6. package/src/components/equipment/PcList.vue +5 -5
  7. package/src/components/equipment/PhoneAdd.vue +4 -4
  8. package/src/components/equipment/PhoneList.vue +4 -4
  9. package/src/components/equipment/PosAdd.vue +205 -43
  10. package/src/components/equipment/PosList.vue +153 -63
  11. package/src/components/equipment/PosManage.vue +92 -9
  12. package/src/components/equipment/QCAdd.vue +318 -0
  13. package/src/components/equipment/QCList.vue +230 -0
  14. package/src/components/equipment/QCManage.vue +150 -0
  15. package/src/components/server/LeftTree.vue +111 -111
  16. package/src/components/server/Login.vue +642 -693
  17. package/src/components/server/ModifyPw.vue +4 -5
  18. package/src/components/server/ResSelect.vue +5 -1
  19. package/src/components/server/ResSelectGroup.vue +1 -1
  20. package/src/components/server/RightTree.vue +3 -4
  21. package/src/plugins/EncryptUtil.js +53 -0
  22. package/src/plugins/GetLoginInfoService.js +2 -0
  23. package/src/plugins/validation.js +1 -1
  24. package/src/system.js +89 -83
  25. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  26. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  27. package/.gradle/5.5/fileChanges/last-build.bin +0 -0
  28. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  29. package/.gradle/5.5/gc.properties +0 -0
  30. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  31. package/.gradle/buildOutputCleanup/built.bin +0 -0
  32. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  33. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
  34. package/.gradle/vcs-1/gc.properties +0 -0
  35. package/dist/static/.gitkeep +0 -0
  36. package/dist/static/batchleft.png +0 -0
  37. package/dist/static/batchright.png +0 -0
  38. package/dist/static/bluemainbg.jpg +0 -0
  39. package/dist/static/huangtengbiaozhi.png +0 -0
  40. package/dist/static/login_bg.jpg +0 -0
  41. package/dist/static/login_title.png +0 -0
  42. package/dist/static/login_title1.png +0 -0
  43. package/dist/static/loginbg.jpg +0 -0
  44. package/dist/static/loginlogo.png +0 -0
  45. package/dist/static/main_logo.png +0 -0
  46. package/dist/static/mainbg.jpg +0 -0
  47. package/dist/static/menulogo.png +0 -0
  48. package/dist/static/newmainbg.jpg +0 -0
  49. package/dist/static/psicon.png +0 -0
  50. package/dist/static/singleleft.png +0 -0
  51. package/dist/static/singleright.png +0 -0
  52. package/dist/static/treeopen.png +0 -0
  53. package/dist/static/treeout.png +0 -0
  54. package/dist/static/treeset.png +0 -0
  55. package/dist/static/usericon.png +0 -0
  56. package/dist/static/xinxi.png +0 -0
  57. package/src/styles/fonts/PINGFANG LIGHT.TTF +0 -0
  58. package/src/styles/fonts/PingFangSC-Regular.ttf +0 -0
  59. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  60. package/src/styles/fonts/glyphicons-halflings-regular.svg +0 -288
  61. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  62. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  63. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  64. package/src/styles/fonts/pingfang-bold.ttf +0 -0
  65. package/src/styles/fonts/pingfang-medium.ttf +0 -0
  66. package/src/styles/fonts/pingfang-regular.ttf +0 -0
  67. package/src/styles/fonts/trendstrends.ttf +0 -0
  68. 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
  69. package/src/styles/less/.csscomb.json +0 -304
  70. package/src/styles/less/.csslintrc +0 -19
  71. package/src/styles/less/alerts.less +0 -73
  72. package/src/styles/less/aofeng/animate.min.css +0 -11
  73. package/src/styles/less/aofeng/expandcss.less +0 -569
  74. package/src/styles/less/aofeng/standard.less +0 -2121
  75. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +0 -686
  76. package/src/styles/less/aofeng/themeOne/loginStyle.less +0 -1586
  77. package/src/styles/less/aofeng/themeOne/systemStyle.less +0 -2650
  78. package/src/styles/less/aofeng/themeOne.less +0 -17
  79. package/src/styles/less/aofeng/themeTwo/newStyle1.less +0 -415
  80. package/src/styles/less/aofeng/themeTwo.less +0 -3
  81. package/src/styles/less/badges.less +0 -66
  82. package/src/styles/less/bootstrap.less +0 -66
  83. package/src/styles/less/breadcrumbs.less +0 -26
  84. package/src/styles/less/button-groups.less +0 -247
  85. package/src/styles/less/buttons.less +0 -172
  86. package/src/styles/less/carousel.less +0 -269
  87. package/src/styles/less/close.less +0 -34
  88. package/src/styles/less/code.less +0 -69
  89. package/src/styles/less/component-animations.less +0 -33
  90. package/src/styles/less/dropdowns.less +0 -216
  91. package/src/styles/less/fonts-list.less +0 -25
  92. package/src/styles/less/forms.less +0 -626
  93. package/src/styles/less/glyphicons.less +0 -305
  94. package/src/styles/less/grid.less +0 -84
  95. package/src/styles/less/input-groups.less +0 -167
  96. package/src/styles/less/jumbotron.less +0 -52
  97. package/src/styles/less/labels.less +0 -64
  98. package/src/styles/less/list-group.less +0 -141
  99. package/src/styles/less/manageStyle/manageChile.less +0 -180
  100. package/src/styles/less/manageStyle/manageStyle.less +0 -1102
  101. package/src/styles/less/manageStyle/safeStyle.less +0 -498
  102. package/src/styles/less/media.less +0 -66
  103. package/src/styles/less/mixins/alerts.less +0 -14
  104. package/src/styles/less/mixins/background-variant.less +0 -9
  105. package/src/styles/less/mixins/border-radius.less +0 -18
  106. package/src/styles/less/mixins/buttons.less +0 -69
  107. package/src/styles/less/mixins/center-block.less +0 -7
  108. package/src/styles/less/mixins/clearfix.less +0 -22
  109. package/src/styles/less/mixins/forms.less +0 -90
  110. package/src/styles/less/mixins/gradients.less +0 -59
  111. package/src/styles/less/mixins/grid-framework.less +0 -92
  112. package/src/styles/less/mixins/grid.less +0 -122
  113. package/src/styles/less/mixins/hide-text.less +0 -21
  114. package/src/styles/less/mixins/image.less +0 -33
  115. package/src/styles/less/mixins/labels.less +0 -12
  116. package/src/styles/less/mixins/list-group.less +0 -30
  117. package/src/styles/less/mixins/nav-divider.less +0 -10
  118. package/src/styles/less/mixins/nav-vertical-align.less +0 -9
  119. package/src/styles/less/mixins/opacity.less +0 -8
  120. package/src/styles/less/mixins/pagination.less +0 -24
  121. package/src/styles/less/mixins/panels.less +0 -24
  122. package/src/styles/less/mixins/progress-bar.less +0 -10
  123. package/src/styles/less/mixins/reset-filter.less +0 -8
  124. package/src/styles/less/mixins/reset-text.less +0 -18
  125. package/src/styles/less/mixins/resize.less +0 -6
  126. package/src/styles/less/mixins/responsive-visibility.less +0 -15
  127. package/src/styles/less/mixins/size.less +0 -10
  128. package/src/styles/less/mixins/tab-focus.less +0 -9
  129. package/src/styles/less/mixins/table-row.less +0 -44
  130. package/src/styles/less/mixins/text-emphasis.less +0 -9
  131. package/src/styles/less/mixins/text-overflow.less +0 -8
  132. package/src/styles/less/mixins/vendor-prefixes.less +0 -227
  133. package/src/styles/less/mixins.less +0 -40
  134. package/src/styles/less/modals.less +0 -151
  135. package/src/styles/less/navbar.less +0 -660
  136. package/src/styles/less/navs.less +0 -285
  137. package/src/styles/less/normalize.less +0 -424
  138. package/src/styles/less/pager.less +0 -76
  139. package/src/styles/less/pagination.less +0 -89
  140. package/src/styles/less/panels.less +0 -275
  141. package/src/styles/less/popovers.less +0 -131
  142. package/src/styles/less/print.less +0 -101
  143. package/src/styles/less/progress-bars.less +0 -87
  144. package/src/styles/less/responsive-embed.less +0 -35
  145. package/src/styles/less/responsive-utilities.less +0 -194
  146. package/src/styles/less/scaffolding.less +0 -161
  147. package/src/styles/less/stand.less +0 -207
  148. package/src/styles/less/tables.less +0 -262
  149. package/src/styles/less/theme.less +0 -291
  150. package/src/styles/less/thumbnails.less +0 -36
  151. package/src/styles/less/tooltip.less +0 -102
  152. package/src/styles/less/type.less +0 -303
  153. package/src/styles/less/utilities.less +0 -55
  154. package/src/styles/less/variables.less +0 -896
  155. package/src/styles/less/wells.less +0 -29
  156. package/static/logo.png +0 -0
@@ -1,549 +1,547 @@
1
- <template>
2
- <div @click="hindsetting1()">
3
- <!-- <div class="system-main" id="box" v-el:box v-if="!isManger">-->
4
- <!-- <div class="system-logo" style="height: auto">-->
5
- <!-- <img :src="imgs.logoimg" alt=""/>-->
6
- <!-- <label>{{systemname}}</label>-->
7
- <!-- <div class="system-logo-chi" >-->
8
- <!-- <div v-if="userpane" class="auto system-logo-prompt" style="float: right">-->
9
- <!-- <span>{{orgpathnames}}</span>-->
10
- <!-- </div>-->
11
- <!-- &lt;!&ndash;<div class="system-logo-chi-img1" style="float: right" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"></div>&ndash;&gt;-->
12
- <!-- <span style="float: right; padding-top: 2px" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()" class="system-logo-chi-span-1">{{$login.f.name}}</span>-->
13
- <!-- <span style="border-left: 1px solid;float: right;padding-top: 2px" class="system-logo-chi-span-1"> <img src="../../static/newStyle/login-f.png" height="20" width="20"> </span>-->
14
- <!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');" style="float: right;padding-top: 2px">-->
15
- <!-- <img src="../../static/newStyle/system-off.png" alt="" >-->
16
- <!-- <span class="system-logo-chi-span-1">退出系统</span>-->
17
- <!-- </a>-->
18
- <!-- <div style="float: right" :class="{'dropstyle':setting,'dropstyle-1':!setting}">-->
19
- <!-- <dropdown class="auto" >-->
20
- <!-- <span data-toggle="dropdown" @click="hindsetting()" >-->
21
- <!-- <img :src="srcsetting" alt=""><span>系统设置</span>-->
22
- <!-- </span>-->
23
- <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up dropstyle-chi" >-->
24
- <!-- &lt;!&ndash; <li>系统信息及设置</li>&ndash;&gt;-->
25
- <!-- <li style="color: #ffffff;white-space: nowrap" @click="show=true">修改密码</li>-->
26
- <!-- <li style="color: #ffffff;white-space: nowrap" @click="AddChangeMsgShow=true">系统版本</li>-->
27
- <!-- </ul>-->
28
- <!-- </dropdown>-->
29
- <!-- </div>-->
30
-
31
- <!-- </div>-->
32
- <!-- </div>-->
33
- <!-- <div class="system-left tree-flex" :class="{'system-left-1': !treeOrIcon}" id="top" v-el:top >-->
34
- <!-- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >-->
35
- <!-- <div class="span system-left-tree" >-->
36
- <!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" :treeOrIcon="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
37
- <!-- &lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
38
- <!-- </div>-->
39
- <!-- </div>-->
40
- <!-- <div class="system-foot-stretch" >-->
41
- <!-- <a @click="changeShow()"><img src="../../static/images/lefticon/菜单伸缩.png" alt=""></a>-->
42
- <!-- </div>-->
43
- <!-- </div>-->
44
-
45
-
46
- <!-- <div class="system-right" :class="{'system-right-1': !treeOrIcon}" id="bottom" v-el:bottom>-->
47
- <!-- <div class="span">-->
48
- <!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
49
- <!-- <dynamic :comps='[]' :showup="true" :showhide="false" name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>-->
50
- <!-- </div>-->
51
- <!-- </div>-->
52
- <!-- <div class="system-foot" v-el:bottom>-->
53
-
54
- <!-- <div class="system-foot-box">-->
55
-
56
- <!-- </div>-->
57
- <!-- </div>-->
58
- <!-- </div>-->
59
- <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
60
-
61
- <div class="auto " :class="{'login-operator1':$refs.mic.tabs.length === 0,'login-operator':$refs.mic.tabs.length != 0}">
62
- <span class="glyphicon glyphicon-asterisk" style="color:#a1d0f5"></span>
63
- <span>组织编码:</span>
64
- <label style="margin-right:14px;">{{$login.f.number}}</label>
65
- <span class="glyphicon glyphicon-user" style="color:#a1d0f5"></span>
66
- <span>登录人:</span>
67
- <label>{{orgpathnames}}</label>
68
- </div>
69
- <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
70
- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >
71
- <div class="span system-left-tree " style="height:85%">
72
- <h3>{{systemname}}</h3>
73
- <!-- <div class="span" style="margin-bottom:10px;padding-bottom:5px;padding-top:5px;flex: 1;border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5;">-->
74
- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
75
- <!--&lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
76
- </div>
77
-
78
- <div class="tree-flex-footer">
79
- <!-- <a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>-->
80
- <!-- <a><img src="../../../static/treeset.png" alt="">系统设置</a> -->
81
- <dropdown class="auto">
82
- <button type="button" data-toggle="dropdown">
83
- <img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>
84
- </button>
85
- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
86
- <li>系统信息及设置</li>
87
- <!-- <li>{{name}}</li> -->
88
- <li>{{date}}</li>
89
- <li @click="show=true">修改密码</li>
90
- <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
91
- </ul>
92
-
93
- </dropdown>
94
- <a href="index.html" @click.prevent="logOut">
95
- <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
96
- </a>
97
- </div>
98
- </div>
99
- </div>
100
- <!-- <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> -->
101
-
102
- <div class="flex right-bg system-right" id="bottom" v-el:bottom>
103
- <!-- <operator-badge></operator-badge> -->
104
- <div class="span">
105
- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
106
- <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
107
- </div>
108
- </div>
109
- </div>
110
- <div v-show="isManger">
111
- <route v-ref:route></route>
112
- </div>
113
-
114
- <!-- 变更录入 模态框 -->
115
- <add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
116
- <!-- 修改密码组件 -->
117
- <modify-pw :show.sync="show" v-if="show"></modify-pw>
118
- <!-- 修改密码模态框 -->
119
- </div>
120
- </template>
121
-
122
- <script>
123
- import vue from 'vue'
124
- import co from 'co'
125
-
126
- window.onunload = () => {
127
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
128
- }
129
- window.onbeforeunload = () => {
130
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
131
- }
132
- export default {
133
- title: '主界面',
134
- props: ['functions', 'userid'],
135
- data () {
136
- return {
137
- // 左侧树下部三个小图标
138
- imgs: {
139
- open: '/images/lefticon/菜单伸缩.png',
140
- set: '/images/lefticon/系统设置.png',
141
- out: '/images/lefticon/退出系统.png',
142
- img1: '/images/newStyle/login-user.png',
143
- logoimg: '/static/newStyle/fife.png'
144
- // img2: '/images/lefticon/退出系统.png',
145
- },
146
- treeOrIcon: false,
147
- isManger: false,
148
- show: false,
149
- orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
150
- systemname: '客服系统',
151
- date: this.$login.toStandardDateString(),
152
- tabs:[], //已初始化页签数组
153
- selecttab:'',
154
- setting:true,
155
- srcsetting:'../../static/newStyle/setting.png'
156
-
157
- // headerHint: true, // 右侧顶部提示信息
158
- // value: 25645.26,
159
- // AddChangeMsgShow: false,
160
- // showsum: false
161
- }
162
- },
163
- ready () {
164
- let component = this.$login.getUrlCompileParames('component')
165
- if (component) {
166
- this.isManger = true
167
- this.$refs.route.init(component, {data: this.functions.functions})
168
- }
169
- if(this.$login.f.password == '1'){
170
- this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
171
- if(res == 'confirm')
172
- this.show = true
173
- })
174
- }
175
- console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
176
- this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
177
- // let oBox = this.getElement("box")
178
- // let oTop = this.getElement("top")
179
- // let oBottom = this.getElement("bottom")
180
- // let oLine = this.getElement("line")
181
- // let that = this
182
- // oLine.onmousedown = function(e) {
183
- // let disX = (e || event).clientX
184
- // oLine.left = oLine.offsetLeft
185
- // document.onmousemove = function(e) {
186
- // let iT = oLine.left + ((e || event).clientX - disX)
187
- // var e = e || window.event
188
- // let tarnameb = e.target || e.srcElement
189
- // let maxT = oBox.clientWight - oLine.offsetWidth
190
- // oLine.style.margin = 0
191
- // iT < 0 && (iT = 0)
192
- // iT > maxT && (iT = maxT)
193
- // oLine.style.left = oTop.style.width = iT + "px"
194
- // oBottom.style.width = oBox.clientWidth - iT + "px"
195
- // that.$set('treeWidth', iT)
196
- // return false
197
- // }
198
- // document.onmouseup = function() {
199
- // document.onmousemove = null
200
- // document.onmouseup = null
201
- // oLine.releaseCapture && oLine.releaseCapture()
202
- // }
203
- // oLine.setCapture && oLine.setCapture()
204
- // return false
205
- // }
206
- this.changeShow()
207
- },
208
- methods: {
209
- hindsetting(){
210
-
211
- this.setting=!this.setting
212
- if(this.setting){
213
- this.srcsetting='../../static/newStyle/setting.png'
214
- }else {
215
- this.srcsetting='../../static/newStyle/setting1.png'
216
- }
217
-
218
- },
219
- hindsetting1(){
220
-
221
- if(!this.setting){
222
- this.srcsetting='../../static/newStyle/setting.png'
223
- this.setting=true
224
- }
225
-
226
- },
227
- isnodo(val){
228
- console.log(val,'ss')
229
- this.selecttab = val
230
- },
231
- unfurl () {
232
- if(this.showsum){
233
- this.showsum = false
234
- } else {
235
- this.showsum = true
236
- }
237
- },
238
- // getElement(id) {
239
- // return document.getElementById(id)
240
- // },
241
- changeShow () {
242
- // this.treeOrIcon = !this.treeOrIcon
243
- // let oBox = this.getElement("box")
244
- // let oTop = this.getElement("top")
245
- // let oBottom = this.getElement("bottom")
246
- // let oLine = this.getElement("line")
247
- // if (this.treeOrIcon) {
248
- // // oLine.style.left = oTop.style.width = 300 + "px"
249
- // oTop.style.width = 150 + "px"
250
- // oBottom.style.width = oBox.clientWidth - 150 + "px"
251
- // }else {
252
- // oLine.style.left = oTop.style.width = 50 + "px"
253
- // oBottom.style.width = oBox.clientWidth - 50 + "px"
254
- // }
255
- // }
256
- this.treeOrIcon = !this.treeOrIcon
257
- // if (this.treeOrIcon) {
258
- // this.$els.top.style.width = 14 + "%"
259
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
260
- // }else {
261
- // this.$els.top.style.width = 8 + "%"
262
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
263
- // }
264
- },
265
- changeMain(userid) {
266
- this.$goto('res-main', {userid: this.userid}, 'self')
267
- },
268
- tabChange (name) {
269
- console.log(name,'tabchanage')
270
- this.selecttab = name
271
- this.$refs.tree.changeSelect(name)
272
- },
273
- tabcg(val){
274
- console.log(val)
275
- this.tabs = val
276
- },
277
- logOut () {
278
- console.log(this.$login.f)
279
- this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
280
- if (res == 'confirm') {
281
- let data = {
282
- userid: this.$login.f.id,
283
- username: this.$login.f.name,
284
- usertelephone: this.$login.f.f_user_telephone
285
- }
286
- await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
287
- window.location.reload()
288
- }
289
- })
290
- }
291
- },
292
- computed: {
293
- nowDate () {
294
- return this.$login.getNowDate()
295
- }
296
- }
297
- }
298
- </script>
299
- <style lang="less">
300
- /* 组件内通用样式 */
301
- .select-error {
302
- button {
303
- border-bottom: 1px solid #a94442!important;
304
- }
305
- }
306
- // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
307
- // -webkit-appearance:textfield;
308
- // }
309
- /* 表单输入框组 */
310
- .form-input-group {
311
- display: flex;
312
-
313
- label {
314
- width: 100px;
315
- text-align: right;
316
- + * {
317
- flex: 1;
318
- }
319
- }
320
- }
321
- // 日期组件在表单中沾满
322
- .form-horizontal .datepicker {
323
- width: 100%;
324
- }
325
- // 下拉选择框占据剩余全部空间
326
- .select-overspread {
327
- .form-group {
328
- // margin: 0px 5px 10px 0px;
329
- .form-control {
330
- margin-right: 0px;
331
- }
332
- }
333
- .btn-group, .btn-group-vertical {
334
- width: 100%;
335
- // padding-right: 5px;
336
- button {
337
- width: 100%;
338
- display: flex;
339
- justify-content: space-between;
340
- align-items: center;
341
- }
342
- }
343
- .dropdown-menu {
344
- width: 100%
345
- }
346
- }
347
- // 需要特定宽度的的样式
348
- .width-60 {
349
- width: 60px;
350
- }
351
- .userpanel {
352
- font-weight: 300;
353
- color: #333;
354
- position: fixed;
355
- right: 30px;
356
- top: 45px;
357
- background-color: white;
358
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
359
- padding: 4px 10px 4px 10px;
360
- border-radius:2px;
361
- }
362
- .width-80 {
363
- width: 80px;
364
- }
365
- .width-100 {
366
- width: 100px;
367
- }
368
-
369
-
370
-
371
- /*右侧区域的背景*/
372
- .right-bg {
373
- width: 100%;
374
- flex: 1;
375
- color: #304A66;
376
- }
377
- .tree-flex {
378
- height: 100%;
379
- // width: 150px;
380
- /*width: 60px;*/
381
- background: #4a7cae;
382
- color: #fff;
383
-
384
- }
385
- .tree-flex-icon {
386
- width: 50px;
387
- /*transition: 0.5s;*/
388
- > .span {
389
- overflow-x: visible;
390
- }
391
- }
392
- .tree-flex h3 {
393
- text-align: center;
394
- margin: 1em 0;
395
- }
396
-
397
- .tree-flex-footer {
398
- height: 50px;
399
- display: flex;
400
- flex-direction:column;
401
- color: #fff;
402
- }
403
- .tree-flex-footer a,.tree-flex-footer button{
404
- flex: 1;
405
- padding: 8px 5px;
406
- font-size: 1.2em;
407
- // border-top: 1px solid #697D93;
408
- border-top: 1px solid #4a7cae;
409
- text-decoration: none;
410
- color: #fff;
411
- cursor: pointer;
412
- }
413
- .tree-flex-footer button {
414
- height: auto;
415
- width: 100%;
416
- border-radius: 0px;
417
- background-color: rgba(255,255,255,0);
418
- border: none;
419
- border-top: 1px solid #4a7cae;
420
- // border-top: 1px solid #697D93;
421
- text-align: left;
422
- }
423
- .tree-flex-footer button:hover{
424
- outline: none;
425
- background-color: rgba(255,255,255,0.2);
426
- }
427
- .tree-flex-footer button:focus {
428
- outline: none;
429
- background-color: rgba(255,255,255,0.5);
430
- }
431
- .tree-flex-footer a:hover {
432
- color: #FFF;
433
- background-color: rgba(255,255,255,0.2);
434
- }
435
- .tree-flex .btn-group {
436
- height: 50px!important;
437
- }
438
-
439
- .tree-flex .dropdown-menu {
440
- /* 控制显示列表的样式 */
441
- background: #4a7cae;
442
- border-radius: 0px;
443
- color: #fff;
444
- width: auto;
445
- margin: 0px;
446
- padding: 0px;
447
- }
448
- .tree-flex .dropdown-menu-up {
449
- /* bottom,top控制上下,left和right控制左右*/
450
- left: 100%!important;
451
- top: auto!important;
452
- bottom: 0;
453
- }
454
- .tree-flex .dropdown-menu-down {
455
- /* bottom,top控制上下,left和right控制左右*/
456
- left: 100%!important;
457
- top: 0!important;
458
- }
459
- .tree-flex .dropdown-menu li{
460
- text-align: center;
461
- line-height: 50px;
462
- border-bottom: 1px solid #697D93;
463
- font-size: 1.2em;
464
- width: auto;
465
- white-space: nowrap;
466
- cursor: default;
467
-
468
- }
469
- .tree-flex .dropdown-menu li + li {
470
- text-align: left;
471
- border: 0;
472
- line-height: 40px;
473
- padding-left: 15px;
474
- padding-right: 15px;
475
- font-size: 1em;
476
- cursor: pointer;
477
- }
478
- .tree-flex .dropdown-menu li + li:hover {
479
- background-color: rgba(255,255,255,0.2);
480
- }
481
- .tree-flex .dropdown-menu li a {
482
- border: none;
483
- color: #fff;
484
- height: 40px;
485
- line-height: 40px;
486
- font-size: 1em;
487
- padding: 0px;
488
- }
489
- .tree-flex .dropdown-menu li a:hover {
490
- color: #fff;
491
- background-color: rgba(255,255,255,0);
492
- }
493
- .tree-flex img{
494
- height: 1.2em;
495
- width: 1.2em;
496
- margin-right: 15px;
497
- margin-left: 5px;
498
- }
499
- .line {
500
- height: 100%;
501
- width: 5px;
502
- background: #4C637B;
503
- cursor: e-resize;
504
- }
505
- /*为树(tree)组件写的样式*/
506
- .tree-img {
507
- font-size: 1.2em;
508
- }
509
-
510
- /*将较长信息截断显示,鼠标悬停显示全部信息*/
511
- .cutout50 {
512
- max-width: 50px;
513
- overflow:hidden;
514
- text-overflow: ellipsis;
515
- white-space: nowrap;
516
- }
517
-
518
- /* 滚动条样式 */
519
- /*---滚动条默认显示样式--*/
520
- ::-webkit-scrollbar-thumb{
521
- // display: none;
522
- background-color:rgba(0,0,0,0.4);
523
- /*background-color:red;*/
524
- height:50px;
525
- outline-offset:-2px;
526
- /*outline:2px solid #fff;*/
527
- -webkit-border-radius:4px;
528
- /*border: 2px solid #fff;*/
529
- }
530
-
531
- /*---鼠标点击滚动条显示样式--*/
532
- ::-webkit-scrollbar-thumb:hover{
533
- // display: inherit;
534
- background-color:rgba(0,0,0,0.4);
535
- height:50px;
536
- -webkit-border-radius:4px;
537
- }
538
- /*---滚动条大小--*/
539
- ::-webkit-scrollbar{
540
- width:8px;
541
- height:8px;
542
- }
543
- /*---滚动框背景样式--*/
544
- ::-webkit-scrollbar-track-piece{
545
- /* 全透明,不显示 */
546
- background-color:rgba(255,255,255,0);
547
- -webkit-border-radius:0;
548
- }
549
- </style>
1
+ <template>
2
+ <div @click="hindsetting1()">
3
+ <!-- <div class="system-main" id="box" v-el:box v-if="!isManger">-->
4
+ <!-- <div class="system-logo" style="height: auto">-->
5
+ <!-- <img :src="imgs.logoimg" alt=""/>-->
6
+ <!-- <label>{{systemname}}</label>-->
7
+ <!-- <div class="system-logo-chi" >-->
8
+ <!-- <div v-if="userpane" class="auto system-logo-prompt" style="float: right">-->
9
+ <!-- <span>{{orgpathnames}}</span>-->
10
+ <!-- </div>-->
11
+ <!-- &lt;!&ndash;<div class="system-logo-chi-img1" style="float: right" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"></div>&ndash;&gt;-->
12
+ <!-- <span style="float: right; padding-top: 2px" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()" class="system-logo-chi-span-1">{{$login.f.name}}</span>-->
13
+ <!-- <span style="border-left: 1px solid;float: right;padding-top: 2px" class="system-logo-chi-span-1"> <img src="../../static/newStyle/login-f.png" height="20" width="20"> </span>-->
14
+ <!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');" style="float: right;padding-top: 2px">-->
15
+ <!-- <img src="../../static/newStyle/system-off.png" alt="" >-->
16
+ <!-- <span class="system-logo-chi-span-1">退出系统</span>-->
17
+ <!-- </a>-->
18
+ <!-- <div style="float: right" :class="{'dropstyle':setting,'dropstyle-1':!setting}">-->
19
+ <!-- <dropdown class="auto" >-->
20
+ <!-- <span data-toggle="dropdown" @click="hindsetting()" >-->
21
+ <!-- <img :src="srcsetting" alt=""><span>系统设置</span>-->
22
+ <!-- </span>-->
23
+ <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up dropstyle-chi" >-->
24
+ <!-- &lt;!&ndash; <li>系统信息及设置</li>&ndash;&gt;-->
25
+ <!-- <li style="color: #ffffff;white-space: nowrap" @click="show=true">修改密码</li>-->
26
+ <!-- <li style="color: #ffffff;white-space: nowrap" @click="AddChangeMsgShow=true">系统版本</li>-->
27
+ <!-- </ul>-->
28
+ <!-- </dropdown>-->
29
+ <!-- </div>-->
30
+
31
+ <!-- </div>-->
32
+ <!-- </div>-->
33
+ <!-- <div class="system-left tree-flex" :class="{'system-left-1': !treeOrIcon}" id="top" v-el:top >-->
34
+ <!-- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >-->
35
+ <!-- <div class="span system-left-tree" >-->
36
+ <!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" :treeOrIcon="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
37
+ <!-- &lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
38
+ <!-- </div>-->
39
+ <!-- </div>-->
40
+ <!-- <div class="system-foot-stretch" >-->
41
+ <!-- <a @click="changeShow()"><img src="../../static/images/lefticon/菜单伸缩.png" alt=""></a>-->
42
+ <!-- </div>-->
43
+ <!-- </div>-->
44
+
45
+
46
+ <!-- <div class="system-right" :class="{'system-right-1': !treeOrIcon}" id="bottom" v-el:bottom>-->
47
+ <!-- <div class="span">-->
48
+ <!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
49
+ <!-- <dynamic :comps='[]' :showup="true" :showhide="false" name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>-->
50
+ <!-- </div>-->
51
+ <!-- </div>-->
52
+ <!-- <div class="system-foot" v-el:bottom>-->
53
+
54
+ <!-- <div class="system-foot-box">-->
55
+
56
+ <!-- </div>-->
57
+ <!-- </div>-->
58
+ <!-- </div>-->
59
+ <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
60
+ <div class="auto " :class="{'login-operator1':$refs.mic.tabs.length === 0,'login-operator':$refs.mic.tabs.length != 0}">
61
+ <span>
62
+ <img
63
+ src="../assets/people.png" height="15" width="15">
64
+ 登录人:</span>
65
+ <label>{{orgpathnames}}</label>
66
+ </div>
67
+ <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
68
+ <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >
69
+ <div class="span system-left-tree " style="height:85%">
70
+ <h3>{{systemname}}</h3>
71
+ <!-- <div class="span" style="margin-bottom:10px;padding-bottom:5px;padding-top:5px;flex: 1;border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5;">-->
72
+ <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
73
+ <!--&lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
74
+ </div>
75
+
76
+ <div class="tree-flex-footer">
77
+ <!-- <a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>-->
78
+ <!-- <a><img src="../../../static/treeset.png" alt="">系统设置</a> -->
79
+ <dropdown class="auto">
80
+ <button type="button" data-toggle="dropdown">
81
+ <img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>
82
+ </button>
83
+ <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
84
+ <li>系统信息及设置</li>
85
+ <!-- <li>{{name}}</li> -->
86
+ <li>{{date}}</li>
87
+ <li @click="show=true">修改密码</li>
88
+ <li @click="AddChangeMsgShow=true">系统版本:{{$login.version?$login.version:'1.0.0'}}</li>
89
+ </ul>
90
+
91
+ </dropdown>
92
+ <a href="index.html" @click.prevent="logOut">
93
+ <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
94
+ </a>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ <!-- <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> -->
99
+
100
+ <div class="flex right-bg system-right" id="bottom" v-el:bottom>
101
+ <!-- <operator-badge></operator-badge> -->
102
+ <div class="span">
103
+ <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
104
+ <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ <div v-show="isManger">
109
+ <route v-ref:route></route>
110
+ </div>
111
+
112
+ <!-- 变更录入 模态框 -->
113
+ <add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
114
+ <!-- 修改密码组件 -->
115
+ <modify-pw :show.sync="show" v-if="show"></modify-pw>
116
+ <!-- 修改密码模态框 -->
117
+ </div>
118
+ </template>
119
+
120
+ <script>
121
+ import vue from 'vue'
122
+ import co from 'co'
123
+
124
+ window.onunload = () => {
125
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
126
+ }
127
+ window.onbeforeunload = () => {
128
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
129
+ }
130
+ export default {
131
+ title: '主界面',
132
+ props: ['functions', 'userid'],
133
+ data () {
134
+ return {
135
+ // 左侧树下部三个小图标
136
+ imgs: {
137
+ open: '/images/lefticon/菜单伸缩.png',
138
+ set: '/images/lefticon/系统设置.png',
139
+ out: '/images/lefticon/退出系统.png',
140
+ img1: '/images/newStyle/login-user.png',
141
+ logoimg: '/static/newStyle/fife.png'
142
+ // img2: '/images/lefticon/退出系统.png',
143
+ },
144
+ treeOrIcon: false,
145
+ isManger: false,
146
+ show: false,
147
+ orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
148
+ systemname: '客服系统',
149
+ date: this.$login.toStandardDateString(),
150
+ tabs:[], //已初始化页签数组
151
+ selecttab:'',
152
+ setting:true,
153
+ srcsetting:'../../static/newStyle/setting.png'
154
+
155
+ // headerHint: true, // 右侧顶部提示信息
156
+ // value: 25645.26,
157
+ // AddChangeMsgShow: false,
158
+ // showsum: false
159
+ }
160
+ },
161
+ ready () {
162
+ let component = this.$login.getUrlCompileParames('component')
163
+ if (component) {
164
+ this.isManger = true
165
+ this.$refs.route.init(component, {data: this.functions.functions})
166
+ }
167
+ if(this.$login.f.password == '1'){
168
+ this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
169
+ if(res == 'confirm')
170
+ this.show = true
171
+ })
172
+ }
173
+ console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
174
+ this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
175
+ // let oBox = this.getElement("box")
176
+ // let oTop = this.getElement("top")
177
+ // let oBottom = this.getElement("bottom")
178
+ // let oLine = this.getElement("line")
179
+ // let that = this
180
+ // oLine.onmousedown = function(e) {
181
+ // let disX = (e || event).clientX
182
+ // oLine.left = oLine.offsetLeft
183
+ // document.onmousemove = function(e) {
184
+ // let iT = oLine.left + ((e || event).clientX - disX)
185
+ // var e = e || window.event
186
+ // let tarnameb = e.target || e.srcElement
187
+ // let maxT = oBox.clientWight - oLine.offsetWidth
188
+ // oLine.style.margin = 0
189
+ // iT < 0 && (iT = 0)
190
+ // iT > maxT && (iT = maxT)
191
+ // oLine.style.left = oTop.style.width = iT + "px"
192
+ // oBottom.style.width = oBox.clientWidth - iT + "px"
193
+ // that.$set('treeWidth', iT)
194
+ // return false
195
+ // }
196
+ // document.onmouseup = function() {
197
+ // document.onmousemove = null
198
+ // document.onmouseup = null
199
+ // oLine.releaseCapture && oLine.releaseCapture()
200
+ // }
201
+ // oLine.setCapture && oLine.setCapture()
202
+ // return false
203
+ // }
204
+ this.changeShow()
205
+ },
206
+ methods: {
207
+ hindsetting(){
208
+
209
+ this.setting=!this.setting
210
+ if(this.setting){
211
+ this.srcsetting='../../static/newStyle/setting.png'
212
+ }else {
213
+ this.srcsetting='../../static/newStyle/setting1.png'
214
+ }
215
+
216
+ },
217
+ hindsetting1(){
218
+
219
+ if(!this.setting){
220
+ this.srcsetting='../../static/newStyle/setting.png'
221
+ this.setting=true
222
+ }
223
+
224
+ },
225
+ isnodo(val){
226
+ console.log(val,'ss')
227
+ this.selecttab = val
228
+ },
229
+ unfurl () {
230
+ if(this.showsum){
231
+ this.showsum = false
232
+ } else {
233
+ this.showsum = true
234
+ }
235
+ },
236
+ // getElement(id) {
237
+ // return document.getElementById(id)
238
+ // },
239
+ changeShow () {
240
+ // this.treeOrIcon = !this.treeOrIcon
241
+ // let oBox = this.getElement("box")
242
+ // let oTop = this.getElement("top")
243
+ // let oBottom = this.getElement("bottom")
244
+ // let oLine = this.getElement("line")
245
+ // if (this.treeOrIcon) {
246
+ // // oLine.style.left = oTop.style.width = 300 + "px"
247
+ // oTop.style.width = 150 + "px"
248
+ // oBottom.style.width = oBox.clientWidth - 150 + "px"
249
+ // }else {
250
+ // oLine.style.left = oTop.style.width = 50 + "px"
251
+ // oBottom.style.width = oBox.clientWidth - 50 + "px"
252
+ // }
253
+ // }
254
+ this.treeOrIcon = !this.treeOrIcon
255
+ // if (this.treeOrIcon) {
256
+ // this.$els.top.style.width = 14 + "%"
257
+ // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
258
+ // }else {
259
+ // this.$els.top.style.width = 8 + "%"
260
+ // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
261
+ // }
262
+ },
263
+ changeMain(userid) {
264
+ this.$goto('res-main', {userid: this.userid}, 'self')
265
+ },
266
+ tabChange (name) {
267
+ console.log(name,'tabchanage')
268
+ this.selecttab = name
269
+ this.$refs.tree.changeSelect(name)
270
+ },
271
+ tabcg(val){
272
+ console.log(val)
273
+ this.tabs = val
274
+ },
275
+ logOut () {
276
+ console.log(this.$login.f)
277
+ this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
278
+ if (res == 'confirm') {
279
+ let data = {
280
+ userid: this.$login.f.id,
281
+ username: this.$login.f.name,
282
+ usertelephone: this.$login.f.f_user_telephone
283
+ }
284
+ await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
285
+ window.location.reload()
286
+ }
287
+ })
288
+ }
289
+ },
290
+ computed: {
291
+ nowDate () {
292
+ return this.$login.getNowDate()
293
+ }
294
+ }
295
+ }
296
+ </script>
297
+ <style lang="less">
298
+ /* 组件内通用样式 */
299
+ .select-error {
300
+ button {
301
+ border-bottom: 1px solid #a94442!important;
302
+ }
303
+ }
304
+ // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
305
+ // -webkit-appearance:textfield;
306
+ // }
307
+ /* 表单输入框组 */
308
+ .form-input-group {
309
+ display: flex;
310
+
311
+ label {
312
+ width: 100px;
313
+ text-align: right;
314
+ + * {
315
+ flex: 1;
316
+ }
317
+ }
318
+ }
319
+ // 日期组件在表单中沾满
320
+ .form-horizontal .datepicker {
321
+ width: 100%;
322
+ }
323
+ // 下拉选择框占据剩余全部空间
324
+ .select-overspread {
325
+ .form-group {
326
+ // margin: 0px 5px 10px 0px;
327
+ .form-control {
328
+ margin-right: 0px;
329
+ }
330
+ }
331
+ .btn-group, .btn-group-vertical {
332
+ width: 100%;
333
+ // padding-right: 5px;
334
+ button {
335
+ width: 100%;
336
+ display: flex;
337
+ justify-content: space-between;
338
+ align-items: center;
339
+ }
340
+ }
341
+ .dropdown-menu {
342
+ width: 100%
343
+ }
344
+ }
345
+ // 需要特定宽度的的样式
346
+ .width-60 {
347
+ width: 60px;
348
+ }
349
+ .userpanel {
350
+ font-weight: 300;
351
+ color: #333;
352
+ position: fixed;
353
+ right: 30px;
354
+ top: 45px;
355
+ background-color: white;
356
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
357
+ padding: 4px 10px 4px 10px;
358
+ border-radius:2px;
359
+ }
360
+ .width-80 {
361
+ width: 80px;
362
+ }
363
+ .width-100 {
364
+ width: 100px;
365
+ }
366
+
367
+
368
+
369
+ /*右侧区域的背景*/
370
+ .right-bg {
371
+ width: 100%;
372
+ flex: 1;
373
+ color: #304A66;
374
+ }
375
+ .tree-flex {
376
+ height: 100%;
377
+ // width: 150px;
378
+ /*width: 60px;*/
379
+ background: #4a7cae;
380
+ color: #fff;
381
+
382
+ }
383
+ .tree-flex-icon {
384
+ width: 50px;
385
+ /*transition: 0.5s;*/
386
+ > .span {
387
+ overflow-x: visible;
388
+ }
389
+ }
390
+ .tree-flex h3 {
391
+ text-align: center;
392
+ margin: 1em 0;
393
+ }
394
+
395
+ .tree-flex-footer {
396
+ height: 50px;
397
+ display: flex;
398
+ flex-direction:column;
399
+ color: #fff;
400
+ }
401
+ .tree-flex-footer a,.tree-flex-footer button{
402
+ flex: 1;
403
+ padding: 8px 5px;
404
+ font-size: 1.2em;
405
+ // border-top: 1px solid #697D93;
406
+ border-top: 1px solid #4a7cae;
407
+ text-decoration: none;
408
+ color: #fff;
409
+ cursor: pointer;
410
+ }
411
+ .tree-flex-footer button {
412
+ height: auto;
413
+ width: 100%;
414
+ border-radius: 0px;
415
+ background-color: rgba(255,255,255,0);
416
+ border: none;
417
+ border-top: 1px solid #4a7cae;
418
+ // border-top: 1px solid #697D93;
419
+ text-align: left;
420
+ }
421
+ .tree-flex-footer button:hover{
422
+ outline: none;
423
+ background-color: rgba(255,255,255,0.2);
424
+ }
425
+ .tree-flex-footer button:focus {
426
+ outline: none;
427
+ background-color: rgba(255,255,255,0.5);
428
+ }
429
+ .tree-flex-footer a:hover {
430
+ color: #FFF;
431
+ background-color: rgba(255,255,255,0.2);
432
+ }
433
+ .tree-flex .btn-group {
434
+ height: 50px!important;
435
+ }
436
+
437
+ .tree-flex .dropdown-menu {
438
+ /* 控制显示列表的样式 */
439
+ background: #4a7cae;
440
+ border-radius: 0px;
441
+ color: #fff;
442
+ width: auto;
443
+ margin: 0px;
444
+ padding: 0px;
445
+ }
446
+ .tree-flex .dropdown-menu-up {
447
+ /* bottom,top控制上下,left和right控制左右*/
448
+ left: 100%!important;
449
+ top: auto!important;
450
+ bottom: 0;
451
+ }
452
+ .tree-flex .dropdown-menu-down {
453
+ /* bottom,top控制上下,left和right控制左右*/
454
+ left: 100%!important;
455
+ top: 0!important;
456
+ }
457
+ .tree-flex .dropdown-menu li{
458
+ text-align: center;
459
+ line-height: 50px;
460
+ border-bottom: 1px solid #697D93;
461
+ font-size: 1.2em;
462
+ width: auto;
463
+ white-space: nowrap;
464
+ cursor: default;
465
+
466
+ }
467
+ .tree-flex .dropdown-menu li + li {
468
+ text-align: left;
469
+ border: 0;
470
+ line-height: 40px;
471
+ padding-left: 15px;
472
+ padding-right: 15px;
473
+ font-size: 1em;
474
+ cursor: pointer;
475
+ }
476
+ .tree-flex .dropdown-menu li + li:hover {
477
+ background-color: rgba(255,255,255,0.2);
478
+ }
479
+ .tree-flex .dropdown-menu li a {
480
+ border: none;
481
+ color: #fff;
482
+ height: 40px;
483
+ line-height: 40px;
484
+ font-size: 1em;
485
+ padding: 0px;
486
+ }
487
+ .tree-flex .dropdown-menu li a:hover {
488
+ color: #fff;
489
+ background-color: rgba(255,255,255,0);
490
+ }
491
+ .tree-flex img{
492
+ height: 1.2em;
493
+ width: 1.2em;
494
+ margin-right: 15px;
495
+ margin-left: 5px;
496
+ }
497
+ .line {
498
+ height: 100%;
499
+ width: 5px;
500
+ background: #4C637B;
501
+ cursor: e-resize;
502
+ }
503
+ /*为树(tree)组件写的样式*/
504
+ .tree-img {
505
+ font-size: 1.2em;
506
+ }
507
+
508
+ /*将较长信息截断显示,鼠标悬停显示全部信息*/
509
+ .cutout50 {
510
+ max-width: 50px;
511
+ overflow:hidden;
512
+ text-overflow: ellipsis;
513
+ white-space: nowrap;
514
+ }
515
+
516
+ /* 滚动条样式 */
517
+ /*---滚动条默认显示样式--*/
518
+ ::-webkit-scrollbar-thumb{
519
+ // display: none;
520
+ background-color:rgba(0,0,0,0.4);
521
+ /*background-color:red;*/
522
+ height:50px;
523
+ outline-offset:-2px;
524
+ /*outline:2px solid #fff;*/
525
+ -webkit-border-radius:4px;
526
+ /*border: 2px solid #fff;*/
527
+ }
528
+
529
+ /*---鼠标点击滚动条显示样式--*/
530
+ ::-webkit-scrollbar-thumb:hover{
531
+ // display: inherit;
532
+ background-color:rgba(0,0,0,0.4);
533
+ height:50px;
534
+ -webkit-border-radius:4px;
535
+ }
536
+ /*---滚动条大小--*/
537
+ ::-webkit-scrollbar{
538
+ width:8px;
539
+ height:8px;
540
+ }
541
+ /*---滚动框背景样式--*/
542
+ ::-webkit-scrollbar-track-piece{
543
+ /* 全透明,不显示 */
544
+ background-color:rgba(255,255,255,0);
545
+ -webkit-border-radius:0;
546
+ }
547
+ </style>