system-clients 3.2.1-ycapply-1 → 3.2.2-aodeToV4

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 (179) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.gradle/3.5/file-changes/last-build.bin +0 -0
  3. package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
  4. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  6. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/.gradle/checksums/checksums.lock +0 -0
  13. package/.gradle/vcs-1/gc.properties +0 -0
  14. package/SystemClient.iml +11 -8
  15. package/build/webpack.base.conf.js +78 -85
  16. package/build.gradle +6 -6
  17. package/gradlew.bat +89 -89
  18. package/index.html +21 -21
  19. package/package.json +4 -5
  20. package/src/App.vue +1 -1
  21. package/src/LodopFuncs.js +123 -123
  22. package/src/components/Main.vue +432 -699
  23. package/src/components/Util.js +343 -343
  24. package/src/components/equipment/EquipmentManage.vue +65 -65
  25. package/src/components/equipment/PcAdd.vue +105 -105
  26. package/src/components/equipment/PcList.vue +119 -119
  27. package/src/components/equipment/PcManage.vue +60 -60
  28. package/src/components/equipment/PhoneAdd.vue +94 -107
  29. package/src/components/equipment/PhoneList.vue +102 -112
  30. package/src/components/equipment/PhoneManage.vue +60 -60
  31. package/src/components/equipment/PosAdd.vue +156 -323
  32. package/src/components/equipment/PosList.vue +164 -294
  33. package/src/components/equipment/PosManage.vue +68 -138
  34. package/src/components/materialManage/materialData.vue +44 -44
  35. package/src/components/materialManage/materialList.vue +255 -255
  36. package/src/components/parammanage/ParamManage.vue +42 -42
  37. package/src/components/parammanage/ParamPage.vue +314 -336
  38. package/src/components/parammanage/ParamPages.vue +222 -222
  39. package/src/components/parammanage/SinglePage.vue +235 -235
  40. package/src/components/parammanage/SinglePages.vue +167 -167
  41. package/src/components/server/AddChangeMsg.vue +66 -66
  42. package/src/components/server/ChangeDeclare.vue +45 -45
  43. package/src/components/server/LeftTree.vue +111 -111
  44. package/src/components/server/LoadData.vue +36 -55
  45. package/src/components/server/Login.vue +726 -844
  46. package/src/components/server/Menu.vue +188 -188
  47. package/src/components/server/ModifyPw.vue +112 -111
  48. package/src/components/server/NewResSelectGroup.vue +211 -0
  49. package/src/components/server/ResSelect.vue +153 -155
  50. package/src/components/server/ResSelectGroup.vue +159 -198
  51. package/src/components/server/RightTree.vue +343 -348
  52. package/src/components/server/RoleSelector.vue +90 -89
  53. package/src/components/server/TestResSelect.vue +58 -58
  54. package/src/components/server/TestResSelectGroup.vue +388 -388
  55. package/src/plugins/EncryptUtil.js +53 -53
  56. package/src/plugins/GetLoginInfoService.js +499 -515
  57. package/src/plugins/HeatGetLoginInfoService.js +491 -491
  58. package/src/plugins/validation.js +7 -15
  59. package/src/project/State.js +1 -1
  60. package/src/stores/AppData.js +38 -38
  61. package/src/stores/HeatAppData.js +38 -38
  62. package/src/styles/fonts/glyphicons-halflings-regular.svg +287 -287
  63. package/src/styles/less/.csscomb.json +304 -304
  64. package/src/styles/less/.csslintrc +19 -19
  65. package/src/styles/less/alerts.less +73 -73
  66. package/src/styles/less/aofeng/animate.min.css +10 -10
  67. package/src/styles/less/aofeng/expandcss.less +569 -569
  68. package/src/styles/less/aofeng/standard.less +2121 -2507
  69. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
  70. package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -1586
  71. package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -2650
  72. package/src/styles/less/aofeng/themeOne.less +17 -17
  73. package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -415
  74. package/src/styles/less/aofeng/themeTwo.less +3 -3
  75. package/src/styles/less/badges.less +66 -66
  76. package/src/styles/less/bootstrap.less +66 -66
  77. package/src/styles/less/breadcrumbs.less +26 -26
  78. package/src/styles/less/button-groups.less +247 -247
  79. package/src/styles/less/buttons.less +172 -172
  80. package/src/styles/less/carousel.less +269 -269
  81. package/src/styles/less/close.less +34 -34
  82. package/src/styles/less/code.less +69 -69
  83. package/src/styles/less/component-animations.less +33 -33
  84. package/src/styles/less/dropdowns.less +216 -216
  85. package/src/styles/less/fonts-list.less +25 -25
  86. package/src/styles/less/forms.less +626 -626
  87. package/src/styles/less/glyphicons.less +305 -305
  88. package/src/styles/less/grid.less +84 -84
  89. package/src/styles/less/input-groups.less +167 -167
  90. package/src/styles/less/jumbotron.less +52 -52
  91. package/src/styles/less/labels.less +64 -64
  92. package/src/styles/less/list-group.less +141 -141
  93. package/src/styles/less/manageStyle/manageChile.less +180 -180
  94. package/src/styles/less/manageStyle/manageStyle.less +1102 -1102
  95. package/src/styles/less/manageStyle/safeStyle.less +498 -498
  96. package/src/styles/less/media.less +66 -66
  97. package/src/styles/less/mixins/alerts.less +14 -14
  98. package/src/styles/less/mixins/background-variant.less +9 -9
  99. package/src/styles/less/mixins/border-radius.less +18 -18
  100. package/src/styles/less/mixins/buttons.less +69 -69
  101. package/src/styles/less/mixins/center-block.less +7 -7
  102. package/src/styles/less/mixins/clearfix.less +22 -22
  103. package/src/styles/less/mixins/forms.less +90 -90
  104. package/src/styles/less/mixins/gradients.less +59 -59
  105. package/src/styles/less/mixins/grid-framework.less +92 -92
  106. package/src/styles/less/mixins/grid.less +122 -122
  107. package/src/styles/less/mixins/hide-text.less +21 -21
  108. package/src/styles/less/mixins/image.less +33 -33
  109. package/src/styles/less/mixins/labels.less +12 -12
  110. package/src/styles/less/mixins/list-group.less +30 -30
  111. package/src/styles/less/mixins/nav-divider.less +10 -10
  112. package/src/styles/less/mixins/nav-vertical-align.less +9 -9
  113. package/src/styles/less/mixins/opacity.less +8 -8
  114. package/src/styles/less/mixins/pagination.less +24 -24
  115. package/src/styles/less/mixins/panels.less +24 -24
  116. package/src/styles/less/mixins/progress-bar.less +10 -10
  117. package/src/styles/less/mixins/reset-filter.less +8 -8
  118. package/src/styles/less/mixins/reset-text.less +18 -18
  119. package/src/styles/less/mixins/resize.less +6 -6
  120. package/src/styles/less/mixins/responsive-visibility.less +15 -15
  121. package/src/styles/less/mixins/size.less +10 -10
  122. package/src/styles/less/mixins/tab-focus.less +9 -9
  123. package/src/styles/less/mixins/table-row.less +44 -44
  124. package/src/styles/less/mixins/text-emphasis.less +9 -9
  125. package/src/styles/less/mixins/text-overflow.less +8 -8
  126. package/src/styles/less/mixins/vendor-prefixes.less +227 -227
  127. package/src/styles/less/mixins.less +40 -40
  128. package/src/styles/less/modals.less +151 -151
  129. package/src/styles/less/navbar.less +660 -660
  130. package/src/styles/less/navs.less +285 -285
  131. package/src/styles/less/normalize.less +424 -424
  132. package/src/styles/less/pager.less +76 -76
  133. package/src/styles/less/pagination.less +89 -89
  134. package/src/styles/less/panels.less +275 -275
  135. package/src/styles/less/popovers.less +131 -131
  136. package/src/styles/less/print.less +101 -101
  137. package/src/styles/less/progress-bars.less +87 -87
  138. package/src/styles/less/responsive-embed.less +35 -35
  139. package/src/styles/less/responsive-utilities.less +194 -194
  140. package/src/styles/less/scaffolding.less +161 -161
  141. package/src/styles/less/stand.less +207 -207
  142. package/src/styles/less/tables.less +262 -312
  143. package/src/styles/less/theme.less +291 -291
  144. package/src/styles/less/thumbnails.less +36 -36
  145. package/src/styles/less/tooltip.less +102 -102
  146. package/src/styles/less/type.less +303 -316
  147. package/src/styles/less/utilities.less +55 -55
  148. package/src/styles/less/variables.less +896 -899
  149. package/src/styles/less/wells.less +29 -29
  150. package/src/system.js +85 -109
  151. package/static/aodelogo.png +0 -0
  152. package/static/aodenewlogo.png +0 -0
  153. package/static/ewmlogo.png +0 -0
  154. package/src/components/TabButton.vue +0 -201
  155. package/src/components/Tabs.vue +0 -67
  156. package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
  157. package/src/components/equipment/PosManageBoth.vue +0 -125
  158. package/src/components/equipment/PosParamAdd.vue +0 -236
  159. package/src/components/equipment/PosParamList.vue +0 -121
  160. package/src/components/equipment/PosParamManage.vue +0 -51
  161. package/src/components/server/ImageVieweTest.vue +0 -56
  162. package/src/components/server/ImageViewer.vue +0 -350
  163. package/src/components/server/PcdBuildingSelect.vue +0 -241
  164. package/src/filiale/konggang/Login.vue +0 -840
  165. package/src/filiale/konggang/system.js +0 -7
  166. package/src/filiale/qianneng/ModifyPw.vue +0 -107
  167. package/src/filiale/qianneng/system.js +0 -7
  168. package/src/filiale/rizhao/LeftTree.vue +0 -111
  169. package/src/filiale/rizhao/Login.vue +0 -791
  170. package/src/filiale/rizhao/Main.vue +0 -606
  171. package/src/filiale/rizhao/system.js +0 -14
  172. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  173. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  174. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  175. package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
  176. package/static/logo.png +0 -0
  177. package/static/newStyle/about-us.png +0 -0
  178. package/static/rizhao.png +0 -0
  179. package/yarn-error.log +0 -6896
@@ -1,80 +1,25 @@
1
1
  <template>
2
- <div @click="hindsetting1()" :class="{'with-watermark':showwatermakeflag}">
3
- <span class="newTip" transition="newTip" @click="tipClick" v-if="newTipShow">
4
- <span>您有一条新提醒</span>
5
- </span>
6
- <!-- <div class="system-main" id="box" v-el:box v-if="!isManger">-->
7
- <!-- <div class="system-logo" style="height: auto">-->
8
- <!-- <img :src="imgs.logoimg" alt=""/>-->
9
- <!-- <label>{{systemname}}</label>-->
10
- <!-- <div class="system-logo-chi" >-->
11
- <!-- <div v-if="userpane" class="auto system-logo-prompt" style="float: right">-->
12
- <!-- <span>{{orgpathnames}}</span>-->
13
- <!-- </div>-->
14
- <!-- &lt;!&ndash;<div class="system-logo-chi-img1" style="float: right" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"></div>&ndash;&gt;-->
15
- <!-- <span style="float: right; padding-top: 2px" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()" class="system-logo-chi-span-1">{{$login.f.name}}</span>-->
16
- <!-- <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>-->
17
- <!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');" style="float: right;padding-top: 2px">-->
18
- <!-- <img src="../../static/newStyle/system-off.png" alt="" >-->
19
- <!-- <span class="system-logo-chi-span-1">退出系统</span>-->
20
- <!-- </a>-->
21
- <!-- <div style="float: right" :class="{'dropstyle':setting,'dropstyle-1':!setting}">-->
22
- <!-- <dropdown class="auto" >-->
23
- <!-- <span data-toggle="dropdown" @click="hindsetting()" >-->
24
- <!-- <img :src="srcsetting" alt=""><span>系统设置</span>-->
25
- <!-- </span>-->
26
- <!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up dropstyle-chi" >-->
27
- <!-- &lt;!&ndash; <li>系统信息及设置</li>&ndash;&gt;-->
28
- <!-- <li style="color: #ffffff;white-space: nowrap" @click="show=true">修改密码</li>-->
29
- <!-- <li style="color: #ffffff;white-space: nowrap" @click="AddChangeMsgShow=true">系统版本</li>-->
30
- <!-- </ul>-->
31
- <!-- </dropdown>-->
32
- <!-- </div>-->
2
+ <div @click="hindsetting1()">
33
3
 
34
- <!-- </div>-->
35
- <!-- </div>-->
36
- <!-- <div class="system-left tree-flex" :class="{'system-left-1': !treeOrIcon}" id="top" v-el:top >-->
37
- <!-- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >-->
38
- <!-- <div class="span system-left-tree" >-->
39
- <!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" :treeOrIcon="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
40
- <!-- &lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
41
- <!-- </div>-->
42
- <!-- </div>-->
43
- <!-- <div class="system-foot-stretch" >-->
44
- <!-- <a @click="changeShow()"><img src="../../static/images/lefticon/菜单伸缩.png" alt=""></a>-->
45
- <!-- </div>-->
46
- <!-- </div>-->
47
-
48
-
49
- <!-- <div class="system-right" :class="{'system-right-1': !treeOrIcon}" id="bottom" v-el:bottom>-->
50
- <!-- <div class="span">-->
51
- <!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
52
- <!-- <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>-->
53
- <!-- </div>-->
54
- <!-- </div>-->
55
- <!-- <div class="system-foot" v-el:bottom>-->
56
-
57
- <!-- <div class="system-foot-box">-->
58
-
59
- <!-- </div>-->
60
- <!-- </div>-->
61
- <!-- </div>-->
62
4
  <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
63
- <div class="auto login-operator1" v-if="$refs.mic.tabs.length === 0">
64
- <span>
65
- <img
66
- src="../assets/people.png" height="15" width="15">
67
- 登录人:</span>
68
- <label>{{ orgpathnames }}</label>
5
+
6
+ <div class="auto " :class="{'login-operator1':$refs.mic.tabs.length === 0,'login-operator':$refs.mic.tabs.length != 0}">
7
+ <span class="glyphicon glyphicon-asterisk" style="color:#a1d0f5"></span>
8
+ <span>组织编码:</span>
9
+ <label style="margin-right:14px;">{{$login.f.number}}</label>
10
+ <span class="glyphicon glyphicon-user" style="color:#a1d0f5"></span>
11
+ <span>登录人:</span>
12
+ <label>{{orgpathnames}}</label>
69
13
  </div>
70
- <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top>
71
- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}">
14
+ <div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
15
+ <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >
72
16
  <div class="span system-left-tree " style="height:85%">
73
- <h3>{{ systemname }}</h3>
17
+ <div class="logopicaode" >
18
+ <div class="aodeloginedlogo"></div>
19
+ </div>
20
+ <h3 style="margin-bottom: 12px;height: 35px;">&nbsp;&nbsp;</h3>
74
21
  <!-- <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;">-->
75
- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon"
76
- :tabs="tabs" v-ref:tree></left-tree>
77
- <!--&lt;!&ndash; <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>&ndash;&gt;-->
22
+ <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
78
23
  </div>
79
24
 
80
25
  <div class="tree-flex-footer">
@@ -87,18 +32,16 @@
87
32
  <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
88
33
  <li>系统信息及设置</li>
89
34
  <!-- <li>{{name}}</li> -->
90
- <li>{{ date }}</li>
91
- <li @click="openUrl()">售后服务</li>
35
+ <li>{{date}}</li>
92
36
  <li @click="show=true">修改密码</li>
93
- <li @click="AddChangeMsgShow=true">系统版本:V3.0</li>
37
+ <li @click="clearCache">清除缓存</li>
38
+ <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
94
39
  </ul>
95
40
 
96
41
  </dropdown>
97
- <dropdown class="auto">
98
- <a href="index.html" @click.prevent="logOut">
99
- <img :src="imgs.out" alt=""><span v-if="treeOrIcon">退出系统</span>
100
- </a>
101
- </dropdown>
42
+ <a href="index.html" @click.prevent="logOut">
43
+ <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
44
+ </a>
102
45
  </div>
103
46
  </div>
104
47
  </div>
@@ -108,37 +51,16 @@
108
51
  <!-- <operator-badge></operator-badge> -->
109
52
  <div class="span">
110
53
  <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
111
- <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" :orgpathnames="orgpathnames"
112
- @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
54
+ <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
113
55
  </div>
114
56
  </div>
115
57
  </div>
116
58
  <div v-show="isManger">
117
- <route v-ref:route></route>
59
+ <route v-ref:route></route>
118
60
  </div>
119
- <modal v-if="newTipContextShow" :show.sync="newTipContextShow" :backdrop="false">
120
- <header slot="modal-header" style="display:none"></header>
121
- <article slot="modal-body" class="modal-body">
122
- <form class="form-horizontal">
123
- <div class="row">
124
- <div class="col-sm-12 " v-if="AppDaiBan !==''">
125
- <label class="col-sm-2">报装待办:</label>
126
- <span style="font-weight:normal">{{ AppDaiBan }}</span>
127
- </div>
128
- <div class="col-sm-12 " v-if="OrderDaiBan !==''">
129
- <label class="col-sm-2">预约待办:</label>
130
- <span style="font-weight:normal">{{ OrderDaiBan }}</span>
131
- </div>
132
- </div>
133
- </form>
134
- </article>
135
- <footer slot="modal-footer" style="height: 8vh" class="modal-footer">
136
- <button class="button_search" @click="newTipContextShow = false">确认</button>
137
- </footer>
138
- </modal>
139
61
 
140
62
  <!-- 变更录入 模态框 -->
141
- <add-changemsg :show="AddChangeMsgShow" v-on:toggle="AddChangeMsgShow = false"></add-changemsg>
63
+ <add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
142
64
  <!-- 修改密码组件 -->
143
65
  <modify-pw :show.sync="show" v-if="show"></modify-pw>
144
66
  <!-- 修改密码模态框 -->
@@ -146,637 +68,448 @@
146
68
  </template>
147
69
 
148
70
  <script>
149
- import vue from 'vue'
150
- import co from 'co'
151
- import {HttpResetClass} from "vue-client";
152
-
153
- let getwartermakr = async function (self) {
154
- let param = {
155
- tablename: 't_singlevalue',
156
- condition: " 1=1 and name=\'水印内容\'"
157
- };
158
- let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
159
- if (result && result.data.length > 0) {
160
- self.showwatermakeflag = true;
161
- createWaterMark(result.data[0].value);
162
- } else {
163
- self.showwatermakeflag = false;
164
- }
165
- }
71
+ import vue from 'vue'
72
+ import co from 'co'
166
73
 
167
- let createWaterMark = function (userName) {
168
- let style;
169
- if (style) style.remove();
170
- let width = window.parseInt(document.body.clientWidth);
171
- let canvasWidth = width / window.parseInt(width / 320);
172
- let fontFamily = window.getComputedStyle(document.body)["font-family"];
173
- let canvas = document.createElement("canvas");
174
- canvas.width = canvasWidth;
175
- canvas.height = 200;
176
- let ctx = canvas.getContext("2d");
177
- ctx.rotate((-20 * Math.PI) / 180);
178
- ctx.font = `20px ${fontFamily}`;
179
- ctx.fillStyle = "rgba(8,8,8,.1)";
180
- ctx.fillText(userName, 50, 200);
181
- let imgSrc = canvas.toDataURL("image/png");
182
- style = document.createElement("style");
183
- style.innerHTML = `.with-watermark:before{
184
- content: "";
185
- width: 100%;
186
- height: 100%;
187
- display: block;
188
- position: absolute;
189
- background-image: url("${imgSrc}");
190
- }`;
191
- (document.head.append || document.head.appendChild).apply(document.head, [style]);
192
- }
193
-
194
- window.onunload = () => {
195
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
196
- }
197
- window.onbeforeunload = () => {
198
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
199
- }
200
- export default {
201
- title: '主界面',
202
- props: ['functions', 'userid', 'config'],
203
- data() {
204
- return {
205
- // 页面提示信息定时器
206
- interval: null,
207
- newTipShow: false,
208
- newTipContextShow: false,
209
- AppDaiBan: '',
210
- OrderDaiBan: '',
211
- // 左侧树下部三个小图标
212
- imgs: {
213
- open: '/images/lefticon/菜单伸缩.png',
214
- set: '/images/lefticon/系统设置.png',
215
- out: '/images/lefticon/退出系统.png',
216
- img1: '/images/newStyle/login-user.png',
217
- logoimg: '/static/newStyle/fife.png'
218
- // img2: '/images/lefticon/退出系统.png',
219
- },
220
- treeOrIcon: false,
221
- isManger: false,
222
- show: false,
223
- orgpathnames: `${this.$login.f.f_fengongsi}-${this.$login.f.f_parentname}-${this.$login.f.name}`,
224
- systemname: '客服系统',
225
- date: this.$login.toStandardDateString(),
226
- tabs: [], //已初始化页签数组
227
- selecttab: '',
228
- setting: true,
229
- srcsetting: '../../static/newStyle/setting.png',
230
- showwatermakeflag: false,
231
- // headerHint: true, // 右侧顶部提示信息
232
- // value: 25645.26,
233
- // AddChangeMsgShow: false,
234
- // showsum: false
235
- }
236
- },
237
- ready() {
238
- getwartermakr(this);
239
- let component = this.$login.getUrlCompileParames('component')
240
- if (component) {
241
- this.isManger = true
242
- this.$refs.route.init(component, {data: this.functions.functions})
243
- }
244
- if (this.$login.f.password == '1') {
245
- this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
246
- if (res == 'confirm')
247
- this.show = true
248
- })
249
- }
250
- console.log("系统名称", this.$appdata.getSingleValue("系统名称"))
251
- this.systemname = this.$appdata.getSingleValue("系统名称") ? this.$appdata.getSingleValue("系统名称") : '客服系统'
252
- // let oBox = this.getElement("box")
253
- // let oTop = this.getElement("top")
254
- // let oBottom = this.getElement("bottom")
255
- // let oLine = this.getElement("line")
256
- // let that = this
257
- // oLine.onmousedown = function(e) {
258
- // let disX = (e || event).clientX
259
- // oLine.left = oLine.offsetLeft
260
- // document.onmousemove = function(e) {
261
- // let iT = oLine.left + ((e || event).clientX - disX)
262
- // var e = e || window.event
263
- // let tarnameb = e.target || e.srcElement
264
- // let maxT = oBox.clientWight - oLine.offsetWidth
265
- // oLine.style.margin = 0
266
- // iT < 0 && (iT = 0)
267
- // iT > maxT && (iT = maxT)
268
- // oLine.style.left = oTop.style.width = iT + "px"
269
- // oBottom.style.width = oBox.clientWidth - iT + "px"
270
- // that.$set('treeWidth', iT)
271
- // return false
272
- // }
273
- // document.onmouseup = function() {
274
- // document.onmousemove = null
275
- // document.onmouseup = null
276
- // oLine.releaseCapture && oLine.releaseCapture()
277
- // }
278
- // oLine.setCapture && oLine.setCapture()
279
- // return false
280
- // }
281
- this.changeShow()
282
- this.gotoWorkOrderSite()
283
- // 获取预约列表
284
- this.functions.f_role_name && this.functions.f_role_name.includes(this.config.msgRole) && this.config.isTip && this.getOrderList()
285
- },
286
- methods: {
287
- getOrderList() {
288
- let times = this.config.times * 60 * 1000
289
- console.log("=定时提示间隔=", times)
290
- try {
291
- this.interval = setInterval(() => {
292
- this.getDaiBan()
293
- }, times)
294
- } catch (error) {
295
- console.log('捕获到异常', error)
74
+ window.onunload = () => {
75
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
76
+ }
77
+ window.onbeforeunload = () => {
78
+ vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
79
+ }
80
+ export default {
81
+ title: '主界面',
82
+ props: ['functions', 'userid'],
83
+ data () {
84
+ return {
85
+ // 左侧树下部三个小图标
86
+ imgs: {
87
+ open: '/images/lefticon/菜单伸缩.png',
88
+ set: '/images/lefticon/系统设置.png',
89
+ out: '/images/lefticon/退出系统.png',
90
+ img1: '/images/newStyle/login-user.png',
91
+ logoimg: '/static/newStyle/fife.png'
92
+ // img2: '/images/lefticon/退出系统.png',
93
+ },
94
+ treeOrIcon: false,
95
+ isManger: false,
96
+ show: false,
97
+ orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
98
+ systemname: '客服系统',
99
+ date: this.$login.toStandardDateString(),
100
+ tabs:[], //已初始化页签数组
101
+ selecttab:'',
102
+ setting:true,
103
+ srcsetting:'../../static/newStyle/setting.png'
104
+
105
+ // headerHint: true, // 右侧顶部提示信息
106
+ // value: 25645.26,
107
+ // AddChangeMsgShow: false,
108
+ // showsum: false
296
109
  }
297
110
  },
298
- async getDaiBan() {
299
- this.OrderDaiBan = ''
300
- this.AppDaiBan = ''
301
- let http = new HttpResetClass()
302
- await http.load('POST', '/rs/sql/singleTable', {
303
- data: {
304
- tablename: 't_order_center',
305
- condition: ` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
306
- }
307
- }, {
308
- resolveMsg: null,
309
- rejectMsg: null
310
- }).then((res) => {
311
- let OrderDaiBan = {}
312
- res.data.forEach(item => {
313
- OrderDaiBan[item.f_ordertype] = OrderDaiBan[item.f_ordertype] || []
314
- OrderDaiBan[item.f_ordertype].push(item)
315
- })
316
- if (res.data.length > 0) {
317
- this.OrderDaiBan = `您有${res.data.length}条需要处理的微信预约业务!`
318
- this.OrderDaiBan += `其中 ${Object.keys(OrderDaiBan).map(key => `${key}:${OrderDaiBan[key].length}条`).join(', ')}`
319
- }
320
- })
321
- let data = {
322
- condition: '1 = 1',
323
- data: {
324
- orgid: this.$login.f.orgid,
325
- id: this.$login.f.id
326
- }
111
+ ready () {
112
+ let component = this.$login.getUrlCompileParames('component')
113
+ if (component) {
114
+ this.isManger = true
115
+ this.$refs.route.init(component, {data: this.functions.functions})
327
116
  }
328
- await http.load('POST', '/rs/sql/checkuser', {data: data}, {
329
- resolveMsg: null,
330
- rejectMsg: null
331
- }).then((res) => {
332
- let AppDaiBan = {}
333
- res.data.forEach(item => {
334
- AppDaiBan[item.defname] = AppDaiBan[item.defname] || []
335
- AppDaiBan[item.defname].push(item)
117
+ if(this.$login.f.password == '1'){
118
+ this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
119
+ if(res == 'confirm')
120
+ this.show = true
336
121
  })
337
- if (res.data.length > 0) {
338
- this.AppDaiBan = `您有${res.data.length}条需要处理的报建待办业务!`
339
- this.AppDaiBan += `其中 ${Object.keys(AppDaiBan).map(key => `${key}:${AppDaiBan[key].length}条`).join(', ')}`
340
- }
341
- }).catch((e) => {
342
- console.error(e)
343
- })
344
- if (this.AppDaiBan || this.OrderDaiBan) {
345
- this.newTipShow = true
346
122
  }
123
+ console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
124
+ this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
125
+ // let oBox = this.getElement("box")
126
+ // let oTop = this.getElement("top")
127
+ // let oBottom = this.getElement("bottom")
128
+ // let oLine = this.getElement("line")
129
+ // let that = this
130
+ // oLine.onmousedown = function(e) {
131
+ // let disX = (e || event).clientX
132
+ // oLine.left = oLine.offsetLeft
133
+ // document.onmousemove = function(e) {
134
+ // let iT = oLine.left + ((e || event).clientX - disX)
135
+ // var e = e || window.event
136
+ // let tarnameb = e.target || e.srcElement
137
+ // let maxT = oBox.clientWight - oLine.offsetWidth
138
+ // oLine.style.margin = 0
139
+ // iT < 0 && (iT = 0)
140
+ // iT > maxT && (iT = maxT)
141
+ // oLine.style.left = oTop.style.width = iT + "px"
142
+ // oBottom.style.width = oBox.clientWidth - iT + "px"
143
+ // that.$set('treeWidth', iT)
144
+ // return false
145
+ // }
146
+ // document.onmouseup = function() {
147
+ // document.onmousemove = null
148
+ // document.onmouseup = null
149
+ // oLine.releaseCapture && oLine.releaseCapture()
150
+ // }
151
+ // oLine.setCapture && oLine.setCapture()
152
+ // return false
153
+ // }
154
+ this.changeShow()
347
155
  },
348
- // 提醒框被点击
349
- tipClick() {
350
- this.newTipShow = false
351
- this.newTipContextShow = true
352
- },
353
- gotoWorkOrderSite() {
354
- const isRemind = this.$appdata.getSingleValue("站点工单提醒")
355
- console.log('站点工单是否提醒', isRemind)
356
- if (isRemind && isRemind !== '是') {
357
- return
358
- }
359
- if (this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('派单员') !== -1) {
360
- const data = {
361
- "condition":
362
- {
363
- "condition": " 1=1 ",
364
- "sign": "1=1"
365
- },
366
- "userid": this.functions.name
156
+ methods: {
157
+ hindsetting(){
158
+
159
+ this.setting=!this.setting
160
+ if(this.setting){
161
+ this.srcsetting='../../static/newStyle/setting.png'
162
+ }else {
163
+ this.srcsetting='../../static/newStyle/setting1.png'
367
164
  }
368
- new HttpResetClass().load('POST', 'rs/path/operatorService/n', {data}, {
369
- resolveMsg: null,
370
- rejectMsg: null
371
- }).then(res => {
372
- if (res.data && res.data.n !== 0) {
373
- this.$showMessage('你有' + res.data.n + '个工单待处理,请尽快前往站点工单页面进行处理')
374
- }
375
- })
376
- }
377
- },
378
- openUrl() {
379
- var url = `http://123.60.214.109:8406/submitTicket?personName=${this.$login.f.name}&orgName=${this.$login.f.orgs}`
380
- window.open(url, '_blank')
381
- },
382
- hindsetting() {
383
- this.setting = !this.setting
384
- if (this.setting) {
385
- this.srcsetting = '../../static/newStyle/setting.png'
386
- } else {
387
- this.srcsetting = '../../static/newStyle/setting1.png'
388
- }
389
165
 
390
- },
391
- hindsetting1() {
166
+ },
167
+ hindsetting1(){
392
168
 
393
- if (!this.setting) {
394
- this.srcsetting = '../../static/newStyle/setting.png'
395
- this.setting = true
396
- }
169
+ if(!this.setting){
170
+ this.srcsetting='../../static/newStyle/setting.png'
171
+ this.setting=true
172
+ }
397
173
 
398
- },
399
- isnodo(val) {
400
- console.log(val, 'ss')
401
- this.selecttab = val
402
- },
403
- unfurl() {
404
- if (this.showsum) {
405
- this.showsum = false
406
- } else {
407
- this.showsum = true
174
+ },
175
+ isnodo(val){
176
+ console.log(val,'ss')
177
+ this.selecttab = val
178
+ },
179
+ unfurl () {
180
+ if(this.showsum){
181
+ this.showsum = false
182
+ } else {
183
+ this.showsum = true
184
+ }
185
+ },
186
+ // getElement(id) {
187
+ // return document.getElementById(id)
188
+ // },
189
+ changeShow () {
190
+ // this.treeOrIcon = !this.treeOrIcon
191
+ // let oBox = this.getElement("box")
192
+ // let oTop = this.getElement("top")
193
+ // let oBottom = this.getElement("bottom")
194
+ // let oLine = this.getElement("line")
195
+ // if (this.treeOrIcon) {
196
+ // // oLine.style.left = oTop.style.width = 300 + "px"
197
+ // oTop.style.width = 150 + "px"
198
+ // oBottom.style.width = oBox.clientWidth - 150 + "px"
199
+ // }else {
200
+ // oLine.style.left = oTop.style.width = 50 + "px"
201
+ // oBottom.style.width = oBox.clientWidth - 50 + "px"
202
+ // }
203
+ // }
204
+ this.treeOrIcon = !this.treeOrIcon
205
+ // if (this.treeOrIcon) {
206
+ // this.$els.top.style.width = 14 + "%"
207
+ // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
208
+ // }else {
209
+ // this.$els.top.style.width = 8 + "%"
210
+ // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
211
+ // }
212
+ },
213
+ changeMain(userid) {
214
+ this.$goto('res-main', {userid: this.userid}, 'self')
215
+ },
216
+ tabChange (name) {
217
+ console.log(name,'tabchanage')
218
+ this.selecttab = name
219
+ this.$refs.tree.changeSelect(name)
220
+ },
221
+ tabcg(val){
222
+ console.log(val)
223
+ this.tabs = val
224
+ },
225
+ logOut () {
226
+ console.log(this.$login.f)
227
+ this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
228
+ if (res == 'confirm') {
229
+ let data = {
230
+ userid: this.$login.f.id,
231
+ username: this.$login.f.name,
232
+ usertelephone: this.$login.f.f_user_telephone
233
+ }
234
+ try {
235
+ await this.$resetget('api/af-system/user/logout', {resolveMsg: '退出成功', rejectMsg: null})
236
+ }catch(e){
237
+ }
238
+ window.location.reload()
239
+ }
240
+ })
241
+ },
242
+ clearCache() {
243
+ this.$resetpost('/rs/search/clearCache', { userid: this.$login.f.id }, { resolveMsg: '清除缓存成功', rejectMsg: '清除缓存失败,请重试' })
408
244
  }
409
245
  },
410
- // getElement(id) {
411
- // return document.getElementById(id)
412
- // },
413
- changeShow() {
414
- // this.treeOrIcon = !this.treeOrIcon
415
- // let oBox = this.getElement("box")
416
- // let oTop = this.getElement("top")
417
- // let oBottom = this.getElement("bottom")
418
- // let oLine = this.getElement("line")
419
- // if (this.treeOrIcon) {
420
- // // oLine.style.left = oTop.style.width = 300 + "px"
421
- // oTop.style.width = 150 + "px"
422
- // oBottom.style.width = oBox.clientWidth - 150 + "px"
423
- // }else {
424
- // oLine.style.left = oTop.style.width = 50 + "px"
425
- // oBottom.style.width = oBox.clientWidth - 50 + "px"
426
- // }
427
- // }
428
- this.treeOrIcon = !this.treeOrIcon
429
- // if (this.treeOrIcon) {
430
- // this.$els.top.style.width = 14 + "%"
431
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
432
- // }else {
433
- // this.$els.top.style.width = 8 + "%"
434
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
435
- // }
436
- },
437
- changeMain(userid) {
438
- this.$goto('res-main', {userid: this.userid}, 'self')
439
- },
440
- tabChange(name) {
441
- console.log(name, 'tabchanage')
442
- this.selecttab = name
443
- this.$refs.tree.changeSelect(name)
444
- },
445
- tabcg(val) {
446
- console.log(val)
447
- this.tabs = val
448
- },
449
- logOut() {
450
- console.log(this.$login.f)
451
- this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
452
- if (res == 'confirm') {
453
- let data = {
454
- userid: this.$login.f.id,
455
- username: this.$login.f.name,
456
- usertelephone: this.$login.f.f_user_telephone
457
- }
458
- await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
459
- window.location.reload()
460
- }
461
- })
462
- }
463
- },
464
- computed: {
465
- nowDate() {
466
- return this.$login.getNowDate()
246
+ computed: {
247
+ nowDate () {
248
+ return this.$login.getNowDate()
249
+ }
467
250
  }
468
251
  }
469
- }
470
252
  </script>
471
253
  <style lang="less">
472
- .newTip-transition {
473
- transition: all .4s ease;
474
- }
475
-
476
- .newTip-enter, .newTip-leave {
477
- height: 0;
478
- padding: 0 10px;
479
- opacity: 0;
480
- }
481
-
482
- .newTip a {
483
- color: #333;
484
- }
485
-
486
- .newTip {
487
- cursor: pointer;
488
- text-align: center;
489
- position: absolute;
490
- top: 3em;
491
- margin: 0 auto;
492
- width: 200px;
493
- left: 48%;
494
- line-height: 2;
495
- z-index: 10010;
496
- box-shadow: 0 4px 12px rgba(0, 0, 0, 0.38);
497
- pointer-events: all;
498
- border-radius: 4px;
499
- background-color: whitesmoke;
500
- }
501
-
502
- /* 组件内通用样式 */
503
- .select-error {
504
- button {
505
- border-bottom: 1px solid #a94442 !important;
506
- }
507
- }
508
-
509
- // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
510
- // -webkit-appearance:textfield;
511
- // }
512
- /* 表单输入框组 */
513
- .form-input-group {
514
- display: flex;
515
-
516
- label {
517
- width: 100px;
518
- text-align: right;
519
-
520
- + * {
521
- flex: 1;
254
+ /* 组件内通用样式 */
255
+ .select-error {
256
+ button {
257
+ border-bottom: 1px solid #a94442!important;
522
258
  }
523
259
  }
524
- }
525
-
526
- // 日期组件在表单中沾满
527
- .form-horizontal .datepicker {
528
- width: 100%;
529
- }
530
-
531
- // 下拉选择框占据剩余全部空间
532
- .select-overspread {
533
- .form-group {
534
- // margin: 0px 5px 10px 0px;
535
- .form-control {
536
- margin-right: 0px;
260
+ // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
261
+ // -webkit-appearance:textfield;
262
+ // }
263
+ /* 表单输入框组 */
264
+ .form-input-group {
265
+ display: flex;
266
+
267
+ label {
268
+ width: 100px;
269
+ text-align: right;
270
+ + * {
271
+ flex: 1;
272
+ }
537
273
  }
538
274
  }
539
-
540
- .btn-group, .btn-group-vertical {
275
+ // 日期组件在表单中沾满
276
+ .form-horizontal .datepicker {
541
277
  width: 100%;
542
- // padding-right: 5px;
543
- button {
278
+ }
279
+ // 下拉选择框占据剩余全部空间
280
+ .select-overspread {
281
+ .form-group {
282
+ // margin: 0px 5px 10px 0px;
283
+ .form-control {
284
+ margin-right: 0px;
285
+ }
286
+ }
287
+ .btn-group, .btn-group-vertical {
544
288
  width: 100%;
545
- display: flex;
546
- justify-content: space-between;
547
- align-items: center;
289
+ // padding-right: 5px;
290
+ button {
291
+ width: 100%;
292
+ display: flex;
293
+ justify-content: space-between;
294
+ align-items: center;
295
+ }
296
+ }
297
+ .dropdown-menu {
298
+ width: 100%
548
299
  }
549
300
  }
550
-
551
- .dropdown-menu {
552
- width: 100%
301
+ // 需要特定宽度的的样式
302
+ .width-60 {
303
+ width: 60px;
553
304
  }
554
- }
555
-
556
- // 需要特定宽度的的样式
557
- .width-60 {
558
- width: 60px;
559
- }
560
-
561
- .userpanel {
562
- font-weight: 300;
563
- color: #333;
564
- position: fixed;
565
- right: 30px;
566
- top: 45px;
567
- background-color: white;
568
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
569
- padding: 4px 10px 4px 10px;
570
- border-radius: 2px;
571
- }
572
-
573
- .width-80 {
574
- width: 80px;
575
- }
576
-
577
- .width-100 {
578
- width: 100px;
579
- }
580
-
581
-
582
- /*右侧区域的背景*/
583
- .right-bg {
584
- width: 100%;
585
- flex: 1;
586
- color: #304A66;
587
- }
588
-
589
- .tree-flex {
590
- height: 100%;
591
- // width: 150px;
592
- /*width: 60px;*/
593
- background: #4a7cae;
594
- color: #fff;
595
-
596
- }
597
-
598
- .tree-flex-icon {
599
- width: 50px;
600
- /*transition: 0.5s;*/
601
-
602
- > .span {
603
- overflow-x: visible;
305
+ .userpanel {
306
+ font-weight: 300;
307
+ color: #333;
308
+ position: fixed;
309
+ right: 30px;
310
+ top: 45px;
311
+ background-color: white;
312
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
313
+ padding: 4px 10px 4px 10px;
314
+ border-radius:2px;
315
+ }
316
+ .width-80 {
317
+ width: 80px;
318
+ }
319
+ .width-100 {
320
+ width: 100px;
604
321
  }
605
- }
606
-
607
- .tree-flex h3 {
608
- text-align: center;
609
- margin: 1em 0;
610
- }
611
-
612
- .tree-flex-footer {
613
- height: 50px;
614
- display: flex;
615
- flex-direction: column;
616
- color: #fff;
617
- }
618
-
619
- .tree-flex-footer a, .tree-flex-footer button {
620
- flex: 1;
621
- padding: 8px 5px;
622
- font-size: 1.2em;
623
- // border-top: 1px solid #697D93;
624
- border-top: 1px solid #4a7cae;
625
- text-decoration: none;
626
- color: #fff;
627
- cursor: pointer;
628
- }
629
-
630
- .tree-flex-footer button {
631
- height: auto;
632
- width: 100%;
633
- border-radius: 0px;
634
- background-color: rgba(255, 255, 255, 0);
635
- border: none;
636
- border-top: 1px solid #4a7cae;
637
- // border-top: 1px solid #697D93;
638
- text-align: left;
639
- }
640
-
641
- .tree-flex-footer button:hover {
642
- outline: none;
643
- background-color: rgba(255, 255, 255, 0.2);
644
- }
645
-
646
- .tree-flex-footer button:focus {
647
- outline: none;
648
- background-color: rgba(255, 255, 255, 0.5);
649
- }
650
-
651
- .tree-flex-footer a:hover {
652
- color: #FFF;
653
- background-color: rgba(255, 255, 255, 0.2);
654
- }
655
-
656
- .tree-flex .btn-group {
657
- height: 50px !important;
658
- }
659
-
660
- .tree-flex .dropdown-menu {
661
- /* 控制显示列表的样式 */
662
- background: #4a7cae;
663
- border-radius: 0px;
664
- color: #fff;
665
- width: auto;
666
- margin: 0px;
667
- padding: 0px;
668
- }
669
-
670
- .tree-flex .dropdown-menu-up {
671
- /* bottom,top控制上下,left和right控制左右*/
672
- left: 100% !important;
673
- top: auto !important;
674
- bottom: 0;
675
- }
676
-
677
- .tree-flex .dropdown-menu-down {
678
- /* bottom,top控制上下,left和right控制左右*/
679
- left: 100% !important;
680
- top: 0 !important;
681
- }
682
-
683
- .tree-flex .dropdown-menu li {
684
- text-align: center;
685
- line-height: 50px;
686
- border-bottom: 1px solid #697D93;
687
- font-size: 1.2em;
688
- width: auto;
689
- white-space: nowrap;
690
- cursor: default;
691
-
692
- }
693
-
694
- .tree-flex .dropdown-menu li + li {
695
- text-align: left;
696
- border: 0;
697
- line-height: 40px;
698
- padding-left: 15px;
699
- padding-right: 15px;
700
- font-size: 1em;
701
- cursor: pointer;
702
- }
703
-
704
- .tree-flex .dropdown-menu li + li:hover {
705
- background-color: rgba(255, 255, 255, 0.2);
706
- }
707
322
 
708
- .tree-flex .dropdown-menu li a {
709
- border: none;
710
- color: #fff;
711
- height: 40px;
712
- line-height: 40px;
713
- font-size: 1em;
714
- padding: 0px;
715
- }
716
323
 
717
- .tree-flex .dropdown-menu li a:hover {
718
- color: #fff;
719
- background-color: rgba(255, 255, 255, 0);
720
- }
721
324
 
722
- .tree-flex img {
723
- height: 1.2em;
724
- width: 1.2em;
725
- margin-right: 15px;
726
- margin-left: 5px;
727
- }
325
+ /*右侧区域的背景*/
326
+ .right-bg {
327
+ width: 100%;
328
+ flex: 1;
329
+ color: #304A66;
330
+ }
331
+ .tree-flex {
332
+ height: 100%;
333
+ // width: 150px;
334
+ /*width: 60px;*/
335
+ background: #4a7cae;
336
+ color: #fff;
728
337
 
729
- .line {
730
- height: 100%;
731
- width: 5px;
732
- background: #4C637B;
733
- cursor: e-resize;
734
- }
338
+ }
339
+ .tree-flex-icon {
340
+ width: 50px;
341
+ /*transition: 0.5s;*/
342
+ > .span {
343
+ overflow-x: visible;
344
+ }
345
+ }
346
+ .tree-flex h3 {
347
+ text-align: center;
348
+ margin: 1em 0;
349
+ }
735
350
 
736
- /*为树(tree)组件写的样式*/
737
- .tree-img {
738
- font-size: 1.2em;
739
- }
351
+ .tree-flex-footer {
352
+ height: 50px;
353
+ display: flex;
354
+ flex-direction:column;
355
+ color: #fff;
356
+ }
357
+ .tree-flex-footer a,.tree-flex-footer button{
358
+ flex: 1;
359
+ padding: 8px 5px;
360
+ font-size: 1.2em;
361
+ // border-top: 1px solid #697D93;
362
+ border-top: 1px solid #4a7cae;
363
+ text-decoration: none;
364
+ color: #fff;
365
+ cursor: pointer;
366
+ }
367
+ .tree-flex-footer button {
368
+ height: auto;
369
+ width: 100%;
370
+ border-radius: 0px;
371
+ background-color: rgba(255,255,255,0);
372
+ border: none;
373
+ border-top: 1px solid #4a7cae;
374
+ // border-top: 1px solid #697D93;
375
+ text-align: left;
376
+ }
377
+ .tree-flex-footer button:hover{
378
+ outline: none;
379
+ background-color: rgba(255,255,255,0.2);
380
+ }
381
+ .tree-flex-footer button:focus {
382
+ outline: none;
383
+ background-color: rgba(255,255,255,0.5);
384
+ }
385
+ .tree-flex-footer a:hover {
386
+ color: #FFF;
387
+ background-color: rgba(255,255,255,0.2);
388
+ }
389
+ .tree-flex .btn-group {
390
+ height: 50px!important;
391
+ }
740
392
 
741
- /*将较长信息截断显示,鼠标悬停显示全部信息*/
742
- .cutout50 {
743
- max-width: 50px;
744
- overflow: hidden;
745
- text-overflow: ellipsis;
746
- white-space: nowrap;
747
- }
393
+ .tree-flex .dropdown-menu {
394
+ /* 控制显示列表的样式 */
395
+ background: #4a7cae;
396
+ border-radius: 0px;
397
+ color: #fff;
398
+ width: auto;
399
+ margin: 0px;
400
+ padding: 0px;
401
+ }
402
+ .tree-flex .dropdown-menu-up {
403
+ /* bottom,top控制上下,left和right控制左右*/
404
+ left: 100%!important;
405
+ top: auto!important;
406
+ bottom: 0;
407
+ }
408
+ .tree-flex .dropdown-menu-down {
409
+ /* bottom,top控制上下,left和right控制左右*/
410
+ left: 100%!important;
411
+ top: 0!important;
412
+ }
413
+ .tree-flex .dropdown-menu li{
414
+ text-align: center;
415
+ line-height: 50px;
416
+ border-bottom: 1px solid #697D93;
417
+ font-size: 1.2em;
418
+ width: auto;
419
+ white-space: nowrap;
420
+ cursor: default;
748
421
 
749
- /* 滚动条样式 */
750
- /*---滚动条默认显示样式--*/
751
- ::-webkit-scrollbar-thumb {
752
- // display: none;
753
- background-color: rgba(0, 0, 0, 0.4);
754
- /*background-color:red;*/
755
- height: 50px;
756
- outline-offset: -2px;
757
- /*outline:2px solid #fff;*/
758
- -webkit-border-radius: 4px;
759
- /*border: 2px solid #fff;*/
760
- }
422
+ }
423
+ .tree-flex .dropdown-menu li + li {
424
+ text-align: left;
425
+ border: 0;
426
+ line-height: 40px;
427
+ padding-left: 15px;
428
+ padding-right: 15px;
429
+ font-size: 1em;
430
+ cursor: pointer;
431
+ }
432
+ .tree-flex .dropdown-menu li + li:hover {
433
+ background-color: rgba(255,255,255,0.2);
434
+ }
435
+ .tree-flex .dropdown-menu li a {
436
+ border: none;
437
+ color: #fff;
438
+ height: 40px;
439
+ line-height: 40px;
440
+ font-size: 1em;
441
+ padding: 0px;
442
+ }
443
+ .tree-flex .dropdown-menu li a:hover {
444
+ color: #fff;
445
+ background-color: rgba(255,255,255,0);
446
+ }
447
+ .tree-flex img{
448
+ height: 1.2em;
449
+ width: 1.2em;
450
+ margin-right: 15px;
451
+ margin-left: 5px;
452
+ }
453
+ .line {
454
+ height: 100%;
455
+ width: 5px;
456
+ background: #4C637B;
457
+ cursor: e-resize;
458
+ }
459
+ /*为树(tree)组件写的样式*/
460
+ .tree-img {
461
+ font-size: 1.2em;
462
+ }
463
+ .aodeloginedlogo {
464
+ background:url(../../static/aodenewlogo.png);
465
+ background-size:80%;
466
+ background-repeat: no-repeat;
467
+ }
468
+ .logopicaode{
469
+ width: 100%;
470
+ height: 61px;
471
+ float: left;
472
+ margin-left: 2.5%;
473
+ margin-top: 10px;
474
+ }
761
475
 
762
- /*---鼠标点击滚动条显示样式--*/
763
- ::-webkit-scrollbar-thumb:hover {
764
- // display: inherit;
765
- background-color: rgba(0, 0, 0, 0.4);
766
- height: 50px;
767
- -webkit-border-radius: 4px;
768
- }
476
+ /*将较长信息截断显示,鼠标悬停显示全部信息*/
477
+ .cutout50 {
478
+ max-width: 50px;
479
+ overflow:hidden;
480
+ text-overflow: ellipsis;
481
+ white-space: nowrap;
482
+ }
769
483
 
770
- /*---滚动条大小--*/
771
- ::-webkit-scrollbar {
772
- width: 8px;
773
- height: 8px;
774
- }
484
+ /* 滚动条样式 */
485
+ /*---滚动条默认显示样式--*/
486
+ ::-webkit-scrollbar-thumb{
487
+ // display: none;
488
+ background-color:rgba(0,0,0,0.4);
489
+ /*background-color:red;*/
490
+ height:50px;
491
+ outline-offset:-2px;
492
+ /*outline:2px solid #fff;*/
493
+ -webkit-border-radius:4px;
494
+ /*border: 2px solid #fff;*/
495
+ }
775
496
 
776
- /*---滚动框背景样式--*/
777
- ::-webkit-scrollbar-track-piece {
778
- /* 全透明,不显示 */
779
- background-color: rgba(255, 255, 255, 0);
780
- -webkit-border-radius: 0;
781
- }
497
+ /*---鼠标点击滚动条显示样式--*/
498
+ ::-webkit-scrollbar-thumb:hover{
499
+ // display: inherit;
500
+ background-color:rgba(0,0,0,0.4);
501
+ height:50px;
502
+ -webkit-border-radius:4px;
503
+ }
504
+ /*---滚动条大小--*/
505
+ ::-webkit-scrollbar{
506
+ width:8px;
507
+ height:8px;
508
+ }
509
+ /*---滚动框背景样式--*/
510
+ ::-webkit-scrollbar-track-piece{
511
+ /* 全透明,不显示 */
512
+ background-color:rgba(255,255,255,0);
513
+ -webkit-border-radius:0;
514
+ }
782
515
  </style>