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