diff --git a/src/constant/statusMap.js b/src/constant/statusMap.js index 48a066f..df3c216 100644 --- a/src/constant/statusMap.js +++ b/src/constant/statusMap.js @@ -68,6 +68,12 @@ export const memberTypeList = [ { value: 1, label: '超级会员' ,listClass: listClass.danger}, ] +export const memberStatusList = [ + { value: 0, label: '可用' ,listClass: listClass.info}, + { value: 1, label: '过期' ,listClass: listClass.warning}, + { value: 1, label: '不可用' ,listClass: listClass.danger}, +] + export const yesOrNoList = [ { value: 1, label: '是',listClass: listClass.danger}, { value: 0, label: '否',listClass: listClass.info}, @@ -88,11 +94,39 @@ export const userRiskLowList = [ { value: 2, label: '高风险',listClass: listClass.danger}, ] +export const videoStatusList = [ + { value: 0, label: '休息中',listClass: listClass.info}, + { value: 1, label: '视频中',listClass: listClass.danger}, +] + +export const onlineStatusList = [ + { value: 0, label: '离线',listClass: listClass.info}, + { value: 1, label: '在线',listClass: listClass.danger}, +] + export const anchorApplyStatus = [ { value: 1, label: '审核中',listClass: listClass.info}, { value: 2, label: '审核不通过',listClass: listClass.danger}, { value: 3, label: '审核通过',listClass: listClass.primary}, ] +/** + * 开启视频接听 + */ +export const openVideoStatusList = [ + { value: 0, label: '未开启',listClass: listClass.danger}, + { value: 1, label: '已开启',listClass: listClass.info}, +] + +export const orderSwitchList = [ + { value: 1, label: '隐藏',listClass: listClass.warning}, + { value: 2, label: '不隐藏',listClass: listClass.info}, +] + +export const indexDisplayList = [ + { value: 0, label: '不展示',listClass: listClass.warning}, + { value: 1, label: '展示',listClass: listClass.info}, +] + diff --git a/src/views/cai/user/index.vue b/src/views/cai/user/index.vue index 517e960..eb64c2d 100644 --- a/src/views/cai/user/index.vue +++ b/src/views/cai/user/index.vue @@ -112,7 +112,7 @@ size="mini" type="text" icon="el-icon-info" - @click="handleDelete(scope.row)" + @click="handleInfo(scope.row)" >详情 + +