system-clients 3.2.64 → 3.2.65-wuhai
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.
- package/package.json +1 -1
- package/src/components/Main.vue +785 -791
- package/src/filiale/wuhai/LeftTree.vue +152 -141
- package/src/filiale/wuhai/Main.vue +823 -807
- package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/6.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/gradlew +0 -183
- package/gradlew.bat +0 -100
@@ -1,141 +1,152 @@
|
|
1
|
-
<template>
|
2
|
-
<div class='over'>
|
3
|
-
<tree :model='functions' :flagres="false" :is-click="false" v-ref:tree @toggle="toggled" >
|
4
|
-
<span partial class="row" :class="{ 'tree-img': isFolder(row), 'tree-span': !isFolder(row) }">
|
5
|
-
<div class="col-sm-2" >
|
6
|
-
<img v-if="isFolder(row)" :src="row.data.icon" alt="">
|
7
|
-
</div>
|
8
|
-
<div class="col-sm-
|
9
|
-
<span class="unreadResumeWarning11" v-show="row.data.name === '微信管理' && $parent.$parent.
|
10
|
-
<span class="unreadResumeWarning" v-show="row.data.name === '投诉咨询' && $parent.$parent.wechatnub">{{$parent.$parent.wechatnub}}</span>
|
11
|
-
</
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
</
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
}
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
if (
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
}
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
.
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
}
|
141
|
-
|
1
|
+
<template>
|
2
|
+
<div class='over'>
|
3
|
+
<tree :model='functions' :flagres="false" :is-click="false" v-ref:tree @toggle="toggled" >
|
4
|
+
<span partial class="row" :class="{ 'tree-img': isFolder(row), 'tree-span': !isFolder(row) }">
|
5
|
+
<div class="col-sm-2" >
|
6
|
+
<img v-if="isFolder(row)" :src="row.data.icon" alt="">
|
7
|
+
</div>
|
8
|
+
<div class="col-sm-10" style="padding-left:6%;text-align: left" title="{{row.data.name}}">{{row.data.name}}
|
9
|
+
<span class="unreadResumeWarning11" v-show="row.data.name === '微信管理' && $parent.$parent.todo"></span>
|
10
|
+
<span class="unreadResumeWarning" v-show="row.data.name === '投诉咨询' && $parent.$parent.wechatnub">{{$parent.$parent.wechatnub}}</span>
|
11
|
+
<span class="unreadResumeWarning" v-show="row.data.name === '预约中心' && $parent.$parent.ordernum">{{$parent.$parent.ordernum}}</span>
|
12
|
+
</div>
|
13
|
+
</span>
|
14
|
+
</tree>
|
15
|
+
</div>
|
16
|
+
</template>
|
17
|
+
<script>
|
18
|
+
import Vue from 'vue'
|
19
|
+
|
20
|
+
export default {
|
21
|
+
props: ['functions', 'userid','tabs'],
|
22
|
+
title: '左侧树菜单',
|
23
|
+
data () {
|
24
|
+
return {
|
25
|
+
todo: false,
|
26
|
+
index: -1,
|
27
|
+
wechatnub: 0,
|
28
|
+
ordernum: 0,
|
29
|
+
name: null,
|
30
|
+
tbcg:[]
|
31
|
+
}
|
32
|
+
},
|
33
|
+
methods: {
|
34
|
+
setNum(type,val){
|
35
|
+
this.todo = true
|
36
|
+
console.log("=====",val)
|
37
|
+
if (type === '投诉咨询') {
|
38
|
+
this.wechatnub = val
|
39
|
+
} else if (type === '预约中心') {
|
40
|
+
this.ordernum = val
|
41
|
+
}
|
42
|
+
},
|
43
|
+
open (row) {
|
44
|
+
if (row.data.name === '资源管理') {
|
45
|
+
this.$parent.changeMain(row.data.id)
|
46
|
+
return
|
47
|
+
}
|
48
|
+
console.log(row.data.navigate)
|
49
|
+
if (row.data.navigate) {
|
50
|
+
|
51
|
+
let isExist = false
|
52
|
+
this.tbcg.forEach((tab) => {
|
53
|
+
if(tab.comp.name == row.data.link) {
|
54
|
+
isExist = true
|
55
|
+
}
|
56
|
+
})
|
57
|
+
if (!isExist){
|
58
|
+
this.$goto('embbed-page', {domainName: row.data.navigate, title: row.data.name, compName: row.data.link, login: Vue.$login, param: Vue.$appdata}, 'main')
|
59
|
+
}else {
|
60
|
+
console.log(isExist,'aa')
|
61
|
+
this.$emit('isnodo',row.data.link)
|
62
|
+
}
|
63
|
+
} else if (row.data.link) {
|
64
|
+
let isExist = false
|
65
|
+
this.tbcg.forEach((tab) => {
|
66
|
+
if(tab.comp.name == row.data.link) {
|
67
|
+
isExist = true
|
68
|
+
}
|
69
|
+
})
|
70
|
+
if (!isExist){
|
71
|
+
this.$goto(row.data.link, {f: this.functions}, 'main')
|
72
|
+
}else {
|
73
|
+
console.log(isExist,'saaa')
|
74
|
+
this.$emit('isnodo',row.data.link)
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
changeSelect(name) {
|
79
|
+
if (!name) {
|
80
|
+
this.$refs.tree.selectStore.select(null)
|
81
|
+
return
|
82
|
+
}
|
83
|
+
this.name = name
|
84
|
+
let index = this.selfFindIndex(name)
|
85
|
+
this.index = index
|
86
|
+
// 当前激活页签有,index为-1,说明菜单收缩
|
87
|
+
this.changeSelected(index)
|
88
|
+
},
|
89
|
+
selfFindIndex (name) {
|
90
|
+
|
91
|
+
return this.$refs.tree.toNode.findIndex((item) => {
|
92
|
+
return item.data.link === name
|
93
|
+
})
|
94
|
+
},
|
95
|
+
changeSelected (index) {
|
96
|
+
|
97
|
+
if (index === -1) {
|
98
|
+
this.$refs.tree.selectStore.select(null)
|
99
|
+
}else {
|
100
|
+
this.$refs.tree.selectStore.select(this.$refs.tree.toNode[index])
|
101
|
+
}
|
102
|
+
|
103
|
+
},
|
104
|
+
toggled () {
|
105
|
+
|
106
|
+
if (this.name && this.index === -1) {
|
107
|
+
let index = this.selfFindIndex(this.name)
|
108
|
+
if (index !== -1) {
|
109
|
+
this.changeSelected(index)
|
110
|
+
}
|
111
|
+
}
|
112
|
+
}
|
113
|
+
},
|
114
|
+
events: {
|
115
|
+
'select-changed': function (data) {
|
116
|
+
|
117
|
+
// 事件回调内的 `this` 自动绑定到注册它的实例上
|
118
|
+
this.open(data.val)
|
119
|
+
}
|
120
|
+
},
|
121
|
+
watch:{
|
122
|
+
'tabs'(val){
|
123
|
+
this.tbcg = val
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
</script>
|
128
|
+
|
129
|
+
<style>
|
130
|
+
|
131
|
+
.unreadResumeWarning11 {
|
132
|
+
width: 10px;
|
133
|
+
height: 10px;
|
134
|
+
border-radius: 7px;
|
135
|
+
background-color: #FF3B30;
|
136
|
+
position: absolute;
|
137
|
+
left: 70px;
|
138
|
+
top: 0px;
|
139
|
+
margin-left: 10px;
|
140
|
+
}
|
141
|
+
.unreadResumeWarning {
|
142
|
+
text-align: center;
|
143
|
+
min-width: 20px;
|
144
|
+
height: 20px;
|
145
|
+
border-radius: 10px;
|
146
|
+
background-color: #FF3B30;
|
147
|
+
position: absolute;
|
148
|
+
left: 60px;
|
149
|
+
top: 0px;
|
150
|
+
margin-left: 10px;
|
151
|
+
}
|
152
|
+
</style>
|