提交 abe506d2 编写于 作者: kai.wang's avatar kai.wang

修改设置管理员导航

上级 c9d91a50
...@@ -41,6 +41,9 @@ export default { ...@@ -41,6 +41,9 @@ export default {
type: Number | String, type: Number | String,
default: 1 default: 1
}, },
circleName: {
type: String
}
}, },
data() { data() {
return { return {
...@@ -78,7 +81,7 @@ export default { ...@@ -78,7 +81,7 @@ export default {
this.pleTotal = n this.pleTotal = n
}, },
goManger() { goManger() {
this.$router.push(`/admin-manage?circleId=${this.circleId}`) this.$router.push(`/admin-manage?circleId=${this.circleId}&circleName=${this.circleName}`)
} }
} }
} }
......
<template> <template>
<div class="item-shield"> <div class="item-shield">
<bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond" :curmbThird="curmbSecond"></bread-crumb> <bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond" :curmbFouth="curmbFouth" :jumPathThird="jumPathThird" ></bread-crumb>
<div class="component-content screenSet" id="screenSet"> <div class="component-content screenSet" id="screenSet">
<div class="header-title">设置管理员</div> <div class="header-title">设置管理员</div>
<el-row :gutter="30" class="row" type="flex" style="margin-top: 10px"> <el-row :gutter="30" class="row" type="flex" style="margin-top: 10px">
...@@ -85,9 +85,10 @@ export default { ...@@ -85,9 +85,10 @@ export default {
data() { data() {
return { return {
curmbFirst: "云鹊小圈", curmbFirst: "云鹊小圈",
curmbSecond: "设置管理员", curmbFouth: "设置管理员",
circleId: "", circleId: "",
formInline: { formInline: {
blackStatus:0,//默认角色
region: ["0"], region: ["0"],
administrativeId: "", administrativeId: "",
orgName: "", orgName: "",
...@@ -148,7 +149,13 @@ export default { ...@@ -148,7 +149,13 @@ export default {
}, },
created() { created() {
vm = this; vm = this;
this.circleId = this.$route.query.circleId;
this.circleName = this.$route.query.circleName;
this.curmbSecond = "圈子管理-" + this.circleName;
this.jumPathThird = "/range-manage?id=" + this.circleId + "&name=" + this.circleName + "&activeName=first";
vm.circleId = vm.getUrlSearch(window.location.href, "circleId"); vm.circleId = vm.getUrlSearch(window.location.href, "circleId");
vm.formInline.blackStatus = 0 ;
vm.search(); vm.search();
}, },
// 挂载到Dom完成时 // 挂载到Dom完成时
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div v-if="active == 0"> <div v-if="active == 0">
<el-tabs v-model="activeName" @tab-click="tabChangeHandler"> <el-tabs v-model="activeName" @tab-click="tabChangeHandler">
<el-tab-pane label="成员管理" name="first"> <el-tab-pane label="成员管理" name="first">
<mebman :circleId="circleId" :roleType="roleType"></mebman> <mebman :circleId="circleId" :roleType="roleType" :circleName="name"></mebman>
</el-tab-pane> </el-tab-pane>
<!--<el-tab-pane label="分组管理" name="second">--> <!--<el-tab-pane label="分组管理" name="second">-->
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册