提交 8a510d7b 编写于 作者: bo.dang's avatar bo.dang

增加成员管理和圈子列表改动

上级 f2a6e05b
......@@ -10,11 +10,11 @@
<div v-if="active == 0">
<el-tabs v-model="activeName" @tab-click="tabChangeHandler">
<el-tab-pane label="成员管理" name="first">
<mebman :circleId="circleId" :roleType="roleType"></mebman>
</el-tab-pane>
<el-tab-pane label="分组管理" name="second">
<!--<el-tab-pane label="分组管理" name="second">-->
</el-tab-pane>
<!--</el-tab-pane>-->
<el-tab-pane label="直播管理" name="third">
<live-manage @setActive="setActive" :circleName="name"></live-manage>
</el-tab-pane>
......@@ -38,10 +38,10 @@ import BreadCrumb from "@/components/yqrange/breadcrumb-range.vue";
import { getRangeList,updateRangeStatus, getCircleSettingList, saveCircleSetting} from "../../utils/yqrange/yqrangeApi";
import LiveManage from "./live-manage";
import RangeSetting from "./range-setting";
import CreateLive from "./create-live";
import Mebman from "../../components/yqrange/mebman";
export default {
components: {
CreateLive,
Mebman,
RangeSetting,
LiveManage,
BreadCrumb
......@@ -70,14 +70,16 @@ export default {
dialogSettingVisible: false,
circleId: null,
name: "",
active: 0
active: 0,
roleType: ''
}
},
created() {
const {id, name, activeName} = this.$route.query;
const {id, name, activeName, roleType} = this.$route.query;
this.circleId = id;
this.name = name;
this.activeName = activeName;
this.roleType = roleType;
this.curmbSecond = "圈子管理-" + name;
this.curmbThird = this.curmbSecond;
this.active = 0;
......
......@@ -57,11 +57,11 @@
<div v-if="scope.row.status != 50">
<el-button @click="publishRange(scope.row)" v-if="scope.row.status != 30 && scope.row.status != 0" type="text" size="small">上线</el-button>
<el-button @click="unPublishRange(scope.row)" v-if="scope.row.status == 30 && scope.row.status != 0" type="text" size="small">下线</el-button>
<el-button @click="liveManage(scope.row)" type="text" size="small" v-if="scope.row.status != 0">直播管理</el-button>
<el-button @click="roleManage(scope.row)" type="text" size="small" v-if="scope.row.status != 0">成员管理</el-button>
<!--<el-button @click="liveManage(scope.row)" type="text" size="small" v-if="scope.row.status != 0">直播管理</el-button>-->
<!--<el-button @click="roleManage(scope.row)" type="text" size="small" v-if="scope.row.status != 0">成员管理</el-button>-->
<el-button @click="editRange(scope.row)" type="text" size="small">编辑</el-button>
<el-button @click="deleteRange(scope.row)" type="text" size="small" v-if="showAllFlag && scope.row.status != 0">解散圈子</el-button>
<el-button @click="setting(scope.row)" type="text" size="small" v-if="scope.row.status != 0 && showNewFlag">应用配置</el-button>
<!--<el-button @click="setting(scope.row)" type="text" size="small" v-if="scope.row.status != 0 && showNewFlag">应用配置</el-button>-->
<el-button @click="rangeManage(scope.row)" type="text" size="small" v-if="scope.row.status != 0">管理</el-button>
</div>
</template>
......@@ -315,7 +315,9 @@ export default {
path: '/range-manage',
query: {
id: row.id,
name: row.name
name: row.name,
activeName: 'first',
roleType: row.roleId
}
})
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册