Commit 3b3c3243 authored by xhx's avatar xhx

用户跳转

parent 82a0c019
...@@ -152,6 +152,15 @@ export default Vue.extend({ ...@@ -152,6 +152,15 @@ export default Vue.extend({
this.$router.push({path: '/backend/user/secondarySub', query: { address: arr }}) this.$router.push({path: '/backend/user/secondarySub', query: { address: arr }})
} else { } else {
const count = arr.length const count = arr.length
if (this.search === eNewRoleRelatedToBackEnd.ACM && count >= 3) {
switch (count) {
case 3:
this.$router.push({path: '/backend/user/firstSubClientManager', query: { rankVal: JSON.stringify(arr), role: this.search }})
break
case 4:
this.$router.push({path: '/backend/user/secondarySubClientManager', query: { rankVal: JSON.stringify(arr), role: this.search }})
}
} else {
switch (count) { switch (count) {
case 1: case 1:
this.$router.push({path: '/backend/user/firstLevel', query: { rankVal: JSON.stringify(arr), role: this.search }}) this.$router.push({path: '/backend/user/firstLevel', query: { rankVal: JSON.stringify(arr), role: this.search }})
...@@ -166,6 +175,7 @@ export default Vue.extend({ ...@@ -166,6 +175,7 @@ export default Vue.extend({
this.$router.push({path: '/backend/user/secondarySub', query: { rankVal: JSON.stringify(arr), role: this.search }}) this.$router.push({path: '/backend/user/secondarySub', query: { rankVal: JSON.stringify(arr), role: this.search }})
} }
} }
}
}, },
reset(){ reset(){
(this.$refs.headerSelect as any).init(); (this.$refs.headerSelect as any).init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment