system-clients 3.1.99 → 3.1.100-aode

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 (61) hide show
  1. package/.eslintrc.js +16 -16
  2. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  6. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  7. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  9. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  10. package/.gradle/checksums/checksums.lock +0 -0
  11. package/build/webpack.base.conf.js +10 -17
  12. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  13. package/gradlew +185 -185
  14. package/package.json +4 -4
  15. package/src/components/Main.vue +428 -538
  16. package/src/components/equipment/EquipmentManage.vue +1 -1
  17. package/src/components/equipment/PcAdd.vue +5 -5
  18. package/src/components/equipment/PcList.vue +5 -5
  19. package/src/components/equipment/PhoneAdd.vue +4 -4
  20. package/src/components/equipment/PhoneList.vue +4 -4
  21. package/src/components/equipment/PosAdd.vue +45 -231
  22. package/src/components/equipment/PosList.vue +68 -198
  23. package/src/components/equipment/PosManage.vue +9 -80
  24. package/src/components/parammanage/ParamManage.vue +2 -2
  25. package/src/components/parammanage/ParamPage.vue +8 -30
  26. package/src/components/parammanage/SinglePage.vue +4 -4
  27. package/src/components/server/Login.vue +716 -734
  28. package/src/components/server/ModifyPw.vue +112 -106
  29. package/src/components/server/ResSelect.vue +0 -5
  30. package/src/components/server/ResSelectGroup.vue +118 -155
  31. package/src/components/server/RightTree.vue +257 -262
  32. package/src/components/server/RoleSelector.vue +4 -3
  33. package/src/plugins/GetLoginInfoService.js +84 -107
  34. package/src/plugins/HeatGetLoginInfoService.js +491 -491
  35. package/src/styles/less/aofeng/standard.less +60 -446
  36. package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
  37. package/src/styles/less/aofeng/themeOne/systemStyle.less +18 -18
  38. package/src/styles/less/fonts-list.less +4 -4
  39. package/src/styles/less/stand.less +1 -1
  40. package/src/styles/less/tables.less +0 -50
  41. package/src/styles/less/type.less +3 -16
  42. package/src/styles/less/variables.less +3 -6
  43. package/src/system.js +0 -10
  44. package/static/aodelogo.png +0 -0
  45. package/static/aodenewlogo.png +0 -0
  46. package/.gradle/5.2.1/gc.properties +0 -0
  47. package/src/components/TabButton.vue +0 -201
  48. package/src/components/Tabs.vue +0 -67
  49. package/src/components/equipment/PosManageBoth.vue +0 -125
  50. package/src/components/equipment/PosParamAdd.vue +0 -236
  51. package/src/components/equipment/PosParamList.vue +0 -121
  52. package/src/components/equipment/PosParamManage.vue +0 -51
  53. package/src/components/server/ImageVieweTest.vue +0 -56
  54. package/src/components/server/ImageViewer.vue +0 -350
  55. package/src/components/server/PcdBuildingSelect.vue +0 -241
  56. package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
  57. package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
  58. package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
  59. package/static/newStyle/about-us.png +0 -0
  60. package/yarn-error.log +0 -6896
  61. /package/static/{logo.png → ewmlogo.png} +0 -0
@@ -1,77 +1,25 @@
1
1
  <template>
2
- <div @click="hindsetting1()" :class="{'with-watermark':showwatermakeflag}">
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>-->
2
+ <div @click="hindsetting1()">
30
3
 
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
4
  <div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
60
- <div class="auto login-operator1" v-if="$refs.mic.tabs.length === 0">
61
- <span>
62
- <img
63
- src="../assets/people.png" height="15" width="15">
64
- 登录人:</span>
65
- <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>
66
13
  </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}">
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}" >
69
16
  <div class="span system-left-tree " style="height:85%">
70
- <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>
71
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;">-->
72
- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon"
73
- :tabs="tabs" v-ref:tree></left-tree>
74
- <!--&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>
75
23
  </div>
76
24
 
77
25
  <div class="tree-flex-footer">
@@ -84,14 +32,15 @@
84
32
  <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
85
33
  <li>系统信息及设置</li>
86
34
  <!-- <li>{{name}}</li> -->
87
- <li>{{ date }}</li>
35
+ <li>{{date}}</li>
88
36
  <li @click="show=true">修改密码</li>
37
+ <li @click="clearCache">清除缓存</li>
89
38
  <li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
90
39
  </ul>
91
40
 
92
41
  </dropdown>
93
42
  <a href="index.html" @click.prevent="logOut">
94
- <img :src="imgs.out" alt=""><span v-if="treeOrIcon">退出系统</span>
43
+ <img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
95
44
  </a>
96
45
  </div>
97
46
  </div>
@@ -102,17 +51,16 @@
102
51
  <!-- <operator-badge></operator-badge> -->
103
52
  <div class="span">
104
53
  <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
105
- <dynamic :comps='[]' name='main' :selecttab.sync="selecttab" :orgpathnames="orgpathnames"
106
- @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>
107
55
  </div>
108
56
  </div>
109
57
  </div>
110
58
  <div v-show="isManger">
111
- <route v-ref:route></route>
59
+ <route v-ref:route></route>
112
60
  </div>
113
61
 
114
62
  <!-- 变更录入 模态框 -->
115
- <add-changemsg :show="AddChangeMsgShow" v-on:toggle="AddChangeMsgShow = false"></add-changemsg>
63
+ <add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
116
64
  <!-- 修改密码组件 -->
117
65
  <modify-pw :show.sync="show" v-if="show"></modify-pw>
118
66
  <!-- 修改密码模态框 -->
@@ -120,503 +68,445 @@
120
68
  </template>
121
69
 
122
70
  <script>
123
- import vue from 'vue'
124
- import co from 'co'
125
-
126
- let getwartermakr = async function (self) {
127
- let param = {
128
- tablename: 't_singlevalue',
129
- condition: " 1=1 and name=\'水印内容\'"
130
- };
131
- let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
132
- if (result && result.data.length > 0) {
133
- self.showwatermakeflag = true;
134
- createWaterMark(result.data[0].value);
135
- } else {
136
- self.showwatermakeflag = false;
137
- }
138
- }
139
-
140
- let createWaterMark = function (userName) {
141
- let style;
142
- if (style) style.remove();
143
- let width = window.parseInt(document.body.clientWidth);
144
- let canvasWidth = width / window.parseInt(width / 320);
145
- let fontFamily = window.getComputedStyle(document.body)["font-family"];
146
- let canvas = document.createElement("canvas");
147
- canvas.width = canvasWidth;
148
- canvas.height = 200;
149
- let ctx = canvas.getContext("2d");
150
- ctx.rotate((-20 * Math.PI) / 180);
151
- ctx.font = `20px ${fontFamily}`;
152
- ctx.fillStyle = "rgba(8,8,8,.1)";
153
- ctx.fillText(userName, 50, 200);
154
- let imgSrc = canvas.toDataURL("image/png");
155
- style = document.createElement("style");
156
- style.innerHTML = `.with-watermark:before{
157
- content: "";
158
- width: 100%;
159
- height: 100%;
160
- display: block;
161
- position: absolute;
162
- background-image: url("${imgSrc}");
163
- }`;
164
- (document.head.append || document.head.appendChild).apply(document.head, [style]);
165
- }
71
+ import vue from 'vue'
72
+ import co from 'co'
166
73
 
167
- window.onunload = () => {
168
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
169
- }
170
- window.onbeforeunload = () => {
171
- vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
172
- }
173
- export default {
174
- title: '主界面',
175
- props: ['functions', 'userid'],
176
- data() {
177
- return {
178
- // 左侧树下部三个小图标
179
- imgs: {
180
- open: '/images/lefticon/菜单伸缩.png',
181
- set: '/images/lefticon/系统设置.png',
182
- out: '/images/lefticon/退出系统.png',
183
- img1: '/images/newStyle/login-user.png',
184
- logoimg: '/static/newStyle/fife.png'
185
- // img2: '/images/lefticon/退出系统.png',
186
- },
187
- treeOrIcon: false,
188
- isManger: false,
189
- show: false,
190
- orgpathnames: `${this.$login.f.orgs}-${this.$login.f.deps}-${this.$login.f.name}`,
191
- systemname: '客服系统',
192
- date: this.$login.toStandardDateString(),
193
- tabs: [], //已初始化页签数组
194
- selecttab: '',
195
- setting: true,
196
- srcsetting: '../../static/newStyle/setting.png',
197
- showwatermakeflag: false,
198
- // headerHint: true, // 右侧顶部提示信息
199
- // value: 25645.26,
200
- // AddChangeMsgShow: false,
201
- // showsum: false
202
- }
203
- },
204
- ready() {
205
- getwartermakr(this);
206
- let component = this.$login.getUrlCompileParames('component')
207
- if (component) {
208
- this.isManger = true
209
- this.$refs.route.init(component, {data: this.functions.functions})
210
- }
211
- if (this.$login.f.password == '1') {
212
- this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
213
- if (res == 'confirm')
214
- this.show = true
215
- })
216
- }
217
- console.log("系统名称", this.$appdata.getSingleValue("系统名称"))
218
- this.systemname = this.$appdata.getSingleValue("系统名称") ? this.$appdata.getSingleValue("系统名称") : '客服系统'
219
- // let oBox = this.getElement("box")
220
- // let oTop = this.getElement("top")
221
- // let oBottom = this.getElement("bottom")
222
- // let oLine = this.getElement("line")
223
- // let that = this
224
- // oLine.onmousedown = function(e) {
225
- // let disX = (e || event).clientX
226
- // oLine.left = oLine.offsetLeft
227
- // document.onmousemove = function(e) {
228
- // let iT = oLine.left + ((e || event).clientX - disX)
229
- // var e = e || window.event
230
- // let tarnameb = e.target || e.srcElement
231
- // let maxT = oBox.clientWight - oLine.offsetWidth
232
- // oLine.style.margin = 0
233
- // iT < 0 && (iT = 0)
234
- // iT > maxT && (iT = maxT)
235
- // oLine.style.left = oTop.style.width = iT + "px"
236
- // oBottom.style.width = oBox.clientWidth - iT + "px"
237
- // that.$set('treeWidth', iT)
238
- // return false
239
- // }
240
- // document.onmouseup = function() {
241
- // document.onmousemove = null
242
- // document.onmouseup = null
243
- // oLine.releaseCapture && oLine.releaseCapture()
244
- // }
245
- // oLine.setCapture && oLine.setCapture()
246
- // return false
247
- // }
248
- this.changeShow()
249
- },
250
- methods: {
251
- hindsetting() {
252
-
253
- this.setting = !this.setting
254
- if (this.setting) {
255
- this.srcsetting = '../../static/newStyle/setting.png'
256
- } else {
257
- this.srcsetting = '../../static/newStyle/setting1.png'
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
258
109
  }
259
-
260
110
  },
261
- hindsetting1() {
262
-
263
- if (!this.setting) {
264
- this.srcsetting = '../../static/newStyle/setting.png'
265
- this.setting = true
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})
266
116
  }
267
-
268
- },
269
- isnodo(val) {
270
- console.log(val, 'ss')
271
- this.selecttab = val
272
- },
273
- unfurl() {
274
- if (this.showsum) {
275
- this.showsum = false
276
- } else {
277
- this.showsum = true
117
+ if(this.$login.f.password == '1'){
118
+ this.$showMessage('本地登录系统为此账户的初始密码,请确认修改密码!!!', ['confirm', 'cancel']).then((res) => {
119
+ if(res == 'confirm')
120
+ this.show = true
121
+ })
278
122
  }
279
- },
280
- // getElement(id) {
281
- // return document.getElementById(id)
282
- // },
283
- changeShow() {
284
- // this.treeOrIcon = !this.treeOrIcon
123
+ console.log("系统名称",this.$appdata.getSingleValue("系统名称"))
124
+ this.systemname = this.$appdata.getSingleValue("系统名称")? this.$appdata.getSingleValue("系统名称"):'客服系统'
285
125
  // let oBox = this.getElement("box")
286
126
  // let oTop = this.getElement("top")
287
127
  // let oBottom = this.getElement("bottom")
288
128
  // let oLine = this.getElement("line")
289
- // if (this.treeOrIcon) {
290
- // // oLine.style.left = oTop.style.width = 300 + "px"
291
- // oTop.style.width = 150 + "px"
292
- // oBottom.style.width = oBox.clientWidth - 150 + "px"
293
- // }else {
294
- // oLine.style.left = oTop.style.width = 50 + "px"
295
- // oBottom.style.width = oBox.clientWidth - 50 + "px"
296
- // }
297
- // }
298
- this.treeOrIcon = !this.treeOrIcon
299
- // if (this.treeOrIcon) {
300
- // this.$els.top.style.width = 14 + "%"
301
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 14 + "%"
302
- // }else {
303
- // this.$els.top.style.width = 8 + "%"
304
- // this.$els.bottom.style.width = this.$els.box.clientWidth - 8 + "%"
305
- // }
306
- },
307
- changeMain(userid) {
308
- this.$goto('res-main', {userid: this.userid}, 'self')
309
- },
310
- tabChange(name) {
311
- console.log(name, 'tabchanage')
312
- this.selecttab = name
313
- this.$refs.tree.changeSelect(name)
314
- },
315
- tabcg(val) {
316
- console.log(val)
317
- this.tabs = val
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()
318
155
  },
319
- logOut() {
320
- console.log(this.$login.f)
321
- this.$showMessage('您确定要退出系统吗?', ['confirm', 'cancel']).then(async (res) => {
322
- if (res == 'confirm') {
323
- let data = {
324
- userid: this.$login.f.id,
325
- username: this.$login.f.name,
326
- usertelephone: this.$login.f.f_user_telephone
327
- }
328
- await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
329
- window.location.reload()
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'
330
164
  }
331
- })
332
- }
333
- },
334
- computed: {
335
- nowDate() {
336
- return this.$login.getNowDate()
165
+
166
+ },
167
+ hindsetting1(){
168
+
169
+ if(!this.setting){
170
+ this.srcsetting='../../static/newStyle/setting.png'
171
+ this.setting=true
172
+ }
173
+
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
+ await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
235
+ window.location.reload()
236
+ }
237
+ })
238
+ },
239
+ clearCache() {
240
+ this.$resetpost('/rs/search/clearCache', { userid: this.$login.f.id }, { resolveMsg: '清除缓存成功', rejectMsg: '清除缓存失败,请重试' })
241
+ }
242
+ },
243
+ computed: {
244
+ nowDate () {
245
+ return this.$login.getNowDate()
246
+ }
337
247
  }
338
248
  }
339
- }
340
249
  </script>
341
250
  <style lang="less">
342
- /* 组件内通用样式 */
343
- .select-error {
344
- button {
345
- border-bottom: 1px solid #a94442 !important;
346
- }
347
- }
348
-
349
- // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
350
- // -webkit-appearance:textfield;
351
- // }
352
- /* 表单输入框组 */
353
- .form-input-group {
354
- display: flex;
355
-
356
- label {
357
- width: 100px;
358
- text-align: right;
359
-
360
- + * {
361
- flex: 1;
251
+ /* 组件内通用样式 */
252
+ .select-error {
253
+ button {
254
+ border-bottom: 1px solid #a94442!important;
362
255
  }
363
256
  }
364
- }
365
-
366
- // 日期组件在表单中沾满
367
- .form-horizontal .datepicker {
368
- width: 100%;
369
- }
370
-
371
- // 下拉选择框占据剩余全部空间
372
- .select-overspread {
373
- .form-group {
374
- // margin: 0px 5px 10px 0px;
375
- .form-control {
376
- margin-right: 0px;
257
+ // input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
258
+ // -webkit-appearance:textfield;
259
+ // }
260
+ /* 表单输入框组 */
261
+ .form-input-group {
262
+ display: flex;
263
+
264
+ label {
265
+ width: 100px;
266
+ text-align: right;
267
+ + * {
268
+ flex: 1;
269
+ }
377
270
  }
378
271
  }
379
-
380
- .btn-group, .btn-group-vertical {
272
+ // 日期组件在表单中沾满
273
+ .form-horizontal .datepicker {
381
274
  width: 100%;
382
- // padding-right: 5px;
383
- button {
275
+ }
276
+ // 下拉选择框占据剩余全部空间
277
+ .select-overspread {
278
+ .form-group {
279
+ // margin: 0px 5px 10px 0px;
280
+ .form-control {
281
+ margin-right: 0px;
282
+ }
283
+ }
284
+ .btn-group, .btn-group-vertical {
384
285
  width: 100%;
385
- display: flex;
386
- justify-content: space-between;
387
- align-items: center;
286
+ // padding-right: 5px;
287
+ button {
288
+ width: 100%;
289
+ display: flex;
290
+ justify-content: space-between;
291
+ align-items: center;
292
+ }
293
+ }
294
+ .dropdown-menu {
295
+ width: 100%
388
296
  }
389
297
  }
390
-
391
- .dropdown-menu {
392
- width: 100%
298
+ // 需要特定宽度的的样式
299
+ .width-60 {
300
+ width: 60px;
393
301
  }
394
- }
395
-
396
- // 需要特定宽度的的样式
397
- .width-60 {
398
- width: 60px;
399
- }
400
-
401
- .userpanel {
402
- font-weight: 300;
403
- color: #333;
404
- position: fixed;
405
- right: 30px;
406
- top: 45px;
407
- background-color: white;
408
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
409
- padding: 4px 10px 4px 10px;
410
- border-radius: 2px;
411
- }
412
-
413
- .width-80 {
414
- width: 80px;
415
- }
416
-
417
- .width-100 {
418
- width: 100px;
419
- }
420
-
421
-
422
- /*右侧区域的背景*/
423
- .right-bg {
424
- width: 100%;
425
- flex: 1;
426
- color: #304A66;
427
- }
428
-
429
- .tree-flex {
430
- height: 100%;
431
- // width: 150px;
432
- /*width: 60px;*/
433
- background: #4a7cae;
434
- color: #fff;
435
-
436
- }
437
-
438
- .tree-flex-icon {
439
- width: 50px;
440
- /*transition: 0.5s;*/
441
-
442
- > .span {
443
- overflow-x: visible;
302
+ .userpanel {
303
+ font-weight: 300;
304
+ color: #333;
305
+ position: fixed;
306
+ right: 30px;
307
+ top: 45px;
308
+ background-color: white;
309
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
310
+ padding: 4px 10px 4px 10px;
311
+ border-radius:2px;
312
+ }
313
+ .width-80 {
314
+ width: 80px;
315
+ }
316
+ .width-100 {
317
+ width: 100px;
444
318
  }
445
- }
446
-
447
- .tree-flex h3 {
448
- text-align: center;
449
- margin: 1em 0;
450
- }
451
-
452
- .tree-flex-footer {
453
- height: 50px;
454
- display: flex;
455
- flex-direction: column;
456
- color: #fff;
457
- }
458
-
459
- .tree-flex-footer a, .tree-flex-footer button {
460
- flex: 1;
461
- padding: 8px 5px;
462
- font-size: 1.2em;
463
- // border-top: 1px solid #697D93;
464
- border-top: 1px solid #4a7cae;
465
- text-decoration: none;
466
- color: #fff;
467
- cursor: pointer;
468
- }
469
-
470
- .tree-flex-footer button {
471
- height: auto;
472
- width: 100%;
473
- border-radius: 0px;
474
- background-color: rgba(255, 255, 255, 0);
475
- border: none;
476
- border-top: 1px solid #4a7cae;
477
- // border-top: 1px solid #697D93;
478
- text-align: left;
479
- }
480
-
481
- .tree-flex-footer button:hover {
482
- outline: none;
483
- background-color: rgba(255, 255, 255, 0.2);
484
- }
485
-
486
- .tree-flex-footer button:focus {
487
- outline: none;
488
- background-color: rgba(255, 255, 255, 0.5);
489
- }
490
-
491
- .tree-flex-footer a:hover {
492
- color: #FFF;
493
- background-color: rgba(255, 255, 255, 0.2);
494
- }
495
-
496
- .tree-flex .btn-group {
497
- height: 50px !important;
498
- }
499
-
500
- .tree-flex .dropdown-menu {
501
- /* 控制显示列表的样式 */
502
- background: #4a7cae;
503
- border-radius: 0px;
504
- color: #fff;
505
- width: auto;
506
- margin: 0px;
507
- padding: 0px;
508
- }
509
-
510
- .tree-flex .dropdown-menu-up {
511
- /* bottom,top控制上下,left和right控制左右*/
512
- left: 100% !important;
513
- top: auto !important;
514
- bottom: 0;
515
- }
516
-
517
- .tree-flex .dropdown-menu-down {
518
- /* bottom,top控制上下,left和right控制左右*/
519
- left: 100% !important;
520
- top: 0 !important;
521
- }
522
-
523
- .tree-flex .dropdown-menu li {
524
- text-align: center;
525
- line-height: 50px;
526
- border-bottom: 1px solid #697D93;
527
- font-size: 1.2em;
528
- width: auto;
529
- white-space: nowrap;
530
- cursor: default;
531
-
532
- }
533
-
534
- .tree-flex .dropdown-menu li + li {
535
- text-align: left;
536
- border: 0;
537
- line-height: 40px;
538
- padding-left: 15px;
539
- padding-right: 15px;
540
- font-size: 1em;
541
- cursor: pointer;
542
- }
543
-
544
- .tree-flex .dropdown-menu li + li:hover {
545
- background-color: rgba(255, 255, 255, 0.2);
546
- }
547
319
 
548
- .tree-flex .dropdown-menu li a {
549
- border: none;
550
- color: #fff;
551
- height: 40px;
552
- line-height: 40px;
553
- font-size: 1em;
554
- padding: 0px;
555
- }
556
320
 
557
- .tree-flex .dropdown-menu li a:hover {
558
- color: #fff;
559
- background-color: rgba(255, 255, 255, 0);
560
- }
561
321
 
562
- .tree-flex img {
563
- height: 1.2em;
564
- width: 1.2em;
565
- margin-right: 15px;
566
- margin-left: 5px;
567
- }
322
+ /*右侧区域的背景*/
323
+ .right-bg {
324
+ width: 100%;
325
+ flex: 1;
326
+ color: #304A66;
327
+ }
328
+ .tree-flex {
329
+ height: 100%;
330
+ // width: 150px;
331
+ /*width: 60px;*/
332
+ background: #4a7cae;
333
+ color: #fff;
568
334
 
569
- .line {
570
- height: 100%;
571
- width: 5px;
572
- background: #4C637B;
573
- cursor: e-resize;
574
- }
335
+ }
336
+ .tree-flex-icon {
337
+ width: 50px;
338
+ /*transition: 0.5s;*/
339
+ > .span {
340
+ overflow-x: visible;
341
+ }
342
+ }
343
+ .tree-flex h3 {
344
+ text-align: center;
345
+ margin: 1em 0;
346
+ }
575
347
 
576
- /*为树(tree)组件写的样式*/
577
- .tree-img {
578
- font-size: 1.2em;
579
- }
348
+ .tree-flex-footer {
349
+ height: 50px;
350
+ display: flex;
351
+ flex-direction:column;
352
+ color: #fff;
353
+ }
354
+ .tree-flex-footer a,.tree-flex-footer button{
355
+ flex: 1;
356
+ padding: 8px 5px;
357
+ font-size: 1.2em;
358
+ // border-top: 1px solid #697D93;
359
+ border-top: 1px solid #4a7cae;
360
+ text-decoration: none;
361
+ color: #fff;
362
+ cursor: pointer;
363
+ }
364
+ .tree-flex-footer button {
365
+ height: auto;
366
+ width: 100%;
367
+ border-radius: 0px;
368
+ background-color: rgba(255,255,255,0);
369
+ border: none;
370
+ border-top: 1px solid #4a7cae;
371
+ // border-top: 1px solid #697D93;
372
+ text-align: left;
373
+ }
374
+ .tree-flex-footer button:hover{
375
+ outline: none;
376
+ background-color: rgba(255,255,255,0.2);
377
+ }
378
+ .tree-flex-footer button:focus {
379
+ outline: none;
380
+ background-color: rgba(255,255,255,0.5);
381
+ }
382
+ .tree-flex-footer a:hover {
383
+ color: #FFF;
384
+ background-color: rgba(255,255,255,0.2);
385
+ }
386
+ .tree-flex .btn-group {
387
+ height: 50px!important;
388
+ }
580
389
 
581
- /*将较长信息截断显示,鼠标悬停显示全部信息*/
582
- .cutout50 {
583
- max-width: 50px;
584
- overflow: hidden;
585
- text-overflow: ellipsis;
586
- white-space: nowrap;
587
- }
390
+ .tree-flex .dropdown-menu {
391
+ /* 控制显示列表的样式 */
392
+ background: #4a7cae;
393
+ border-radius: 0px;
394
+ color: #fff;
395
+ width: auto;
396
+ margin: 0px;
397
+ padding: 0px;
398
+ }
399
+ .tree-flex .dropdown-menu-up {
400
+ /* bottom,top控制上下,left和right控制左右*/
401
+ left: 100%!important;
402
+ top: auto!important;
403
+ bottom: 0;
404
+ }
405
+ .tree-flex .dropdown-menu-down {
406
+ /* bottom,top控制上下,left和right控制左右*/
407
+ left: 100%!important;
408
+ top: 0!important;
409
+ }
410
+ .tree-flex .dropdown-menu li{
411
+ text-align: center;
412
+ line-height: 50px;
413
+ border-bottom: 1px solid #697D93;
414
+ font-size: 1.2em;
415
+ width: auto;
416
+ white-space: nowrap;
417
+ cursor: default;
588
418
 
589
- /* 滚动条样式 */
590
- /*---滚动条默认显示样式--*/
591
- ::-webkit-scrollbar-thumb {
592
- // display: none;
593
- background-color: rgba(0, 0, 0, 0.4);
594
- /*background-color:red;*/
595
- height: 50px;
596
- outline-offset: -2px;
597
- /*outline:2px solid #fff;*/
598
- -webkit-border-radius: 4px;
599
- /*border: 2px solid #fff;*/
600
- }
419
+ }
420
+ .tree-flex .dropdown-menu li + li {
421
+ text-align: left;
422
+ border: 0;
423
+ line-height: 40px;
424
+ padding-left: 15px;
425
+ padding-right: 15px;
426
+ font-size: 1em;
427
+ cursor: pointer;
428
+ }
429
+ .tree-flex .dropdown-menu li + li:hover {
430
+ background-color: rgba(255,255,255,0.2);
431
+ }
432
+ .tree-flex .dropdown-menu li a {
433
+ border: none;
434
+ color: #fff;
435
+ height: 40px;
436
+ line-height: 40px;
437
+ font-size: 1em;
438
+ padding: 0px;
439
+ }
440
+ .tree-flex .dropdown-menu li a:hover {
441
+ color: #fff;
442
+ background-color: rgba(255,255,255,0);
443
+ }
444
+ .tree-flex img{
445
+ height: 1.2em;
446
+ width: 1.2em;
447
+ margin-right: 15px;
448
+ margin-left: 5px;
449
+ }
450
+ .line {
451
+ height: 100%;
452
+ width: 5px;
453
+ background: #4C637B;
454
+ cursor: e-resize;
455
+ }
456
+ /*为树(tree)组件写的样式*/
457
+ .tree-img {
458
+ font-size: 1.2em;
459
+ }
460
+ .aodeloginedlogo {
461
+ background:url(../../static/aodenewlogo.png);
462
+ background-size:80%;
463
+ background-repeat: no-repeat;
464
+ }
465
+ .logopicaode{
466
+ width: 100%;
467
+ height: 61px;
468
+ float: left;
469
+ margin-left: 2.5%;
470
+ margin-top: 10px;
471
+ }
601
472
 
602
- /*---鼠标点击滚动条显示样式--*/
603
- ::-webkit-scrollbar-thumb:hover {
604
- // display: inherit;
605
- background-color: rgba(0, 0, 0, 0.4);
606
- height: 50px;
607
- -webkit-border-radius: 4px;
608
- }
473
+ /*将较长信息截断显示,鼠标悬停显示全部信息*/
474
+ .cutout50 {
475
+ max-width: 50px;
476
+ overflow:hidden;
477
+ text-overflow: ellipsis;
478
+ white-space: nowrap;
479
+ }
609
480
 
610
- /*---滚动条大小--*/
611
- ::-webkit-scrollbar {
612
- width: 8px;
613
- height: 8px;
614
- }
481
+ /* 滚动条样式 */
482
+ /*---滚动条默认显示样式--*/
483
+ ::-webkit-scrollbar-thumb{
484
+ // display: none;
485
+ background-color:rgba(0,0,0,0.4);
486
+ /*background-color:red;*/
487
+ height:50px;
488
+ outline-offset:-2px;
489
+ /*outline:2px solid #fff;*/
490
+ -webkit-border-radius:4px;
491
+ /*border: 2px solid #fff;*/
492
+ }
615
493
 
616
- /*---滚动框背景样式--*/
617
- ::-webkit-scrollbar-track-piece {
618
- /* 全透明,不显示 */
619
- background-color: rgba(255, 255, 255, 0);
620
- -webkit-border-radius: 0;
621
- }
494
+ /*---鼠标点击滚动条显示样式--*/
495
+ ::-webkit-scrollbar-thumb:hover{
496
+ // display: inherit;
497
+ background-color:rgba(0,0,0,0.4);
498
+ height:50px;
499
+ -webkit-border-radius:4px;
500
+ }
501
+ /*---滚动条大小--*/
502
+ ::-webkit-scrollbar{
503
+ width:8px;
504
+ height:8px;
505
+ }
506
+ /*---滚动框背景样式--*/
507
+ ::-webkit-scrollbar-track-piece{
508
+ /* 全透明,不显示 */
509
+ background-color:rgba(255,255,255,0);
510
+ -webkit-border-radius:0;
511
+ }
622
512
  </style>