屏蔽功能允许发包时打开
This commit is contained in:
parent
aaf82dad5e
commit
9694e4d975
|
@ -37,24 +37,24 @@ globalRoutes.push({
|
|||
}
|
||||
});
|
||||
|
||||
// 添加 dashboard 到 globalRoutes
|
||||
globalRoutes.push({
|
||||
path: '/dashboard_',
|
||||
component: _import('common/dashboard'),
|
||||
name: 'dashboard_',
|
||||
meta: { title: '驾驶舱', isTab: true },
|
||||
beforeEnter(to, from, next) {
|
||||
let token = Vue.cookie.get('token')
|
||||
if (!token || !/\S/.test(token)) {
|
||||
clearLoginInfo()
|
||||
next({ name: 'login' })
|
||||
}
|
||||
// next()
|
||||
window.open('/dashboard', '_blank');
|
||||
// 取消当前导航
|
||||
next(false);
|
||||
}
|
||||
});
|
||||
// 添加 dashboard 到 globalRoutes 允许发包时打开
|
||||
// globalRoutes.push({
|
||||
// path: '/dashboard_',
|
||||
// component: _import('common/dashboard'),
|
||||
// name: 'dashboard_',
|
||||
// meta: { title: '驾驶舱', isTab: true },
|
||||
// beforeEnter(to, from, next) {
|
||||
// let token = Vue.cookie.get('token')
|
||||
// if (!token || !/\S/.test(token)) {
|
||||
// clearLoginInfo()
|
||||
// next({ name: 'login' })
|
||||
// }
|
||||
// // next()
|
||||
// window.open('/dashboard', '_blank');
|
||||
// // 取消当前导航
|
||||
// next(false);
|
||||
// }
|
||||
// });
|
||||
|
||||
// 主入口路由(需嵌套上左右整体布局)
|
||||
const mainRoutes = {
|
||||
|
|
|
@ -245,14 +245,15 @@
|
|||
<el-table-column prop="artificerSales" label="订单数量" width="120">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ scope.row.artificerSales }}</span>
|
||||
<el-button
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button
|
||||
size="mini"
|
||||
:disabled="!isAuth('userList:updatebl')"
|
||||
style="color: #4f9dec; background: #fff; border: none"
|
||||
@click="xiugaiSales(scope.row)"
|
||||
>
|
||||
修改</el-button
|
||||
>
|
||||
>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="creditScore" label="信用分" width="120">
|
||||
|
|
|
@ -169,10 +169,11 @@
|
|||
:disabled="scope.row.status !== 0 || !isAuth('autonym:tongguo')"
|
||||
@click="passClicks(scope.row)" style="margin: 5px;">通过审核
|
||||
</el-button>
|
||||
<el-button size="mini" type="primary"
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button size="mini" type="primary"
|
||||
:disabled="scope.row.status == 0"
|
||||
@click="cancelClicks(scope.row)" style="margin: 5px;">取消审核
|
||||
</el-button>
|
||||
</el-button>-->
|
||||
<el-button size="mini" type="primary" :disabled="!isAuth('autonym:tongguo')"
|
||||
@click="updateClicks(scope.row)" style="margin: 5px;">修改
|
||||
</el-button>
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="qdmName"
|
||||
width="230"
|
||||
label="渠道码名称"
|
||||
>
|
||||
</el-table-column>
|
||||
|
@ -94,19 +95,23 @@
|
|||
<span>{{scope.row.rate}}%</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-table-column
|
||||
prop="xyhsmsl"
|
||||
label="扫码数量-新用户"
|
||||
width="120"
|
||||
label="新用户扫码数量"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="lyhsmsl"
|
||||
label="扫码数量-老客户"
|
||||
>
|
||||
width="120"
|
||||
label="老用户扫码数量"
|
||||
>-->
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="yxzcpts"
|
||||
label="有效注册平台数"
|
||||
width="120"
|
||||
label="有效注册数"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
|
@ -116,11 +121,13 @@
|
|||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="zje"
|
||||
width="120"
|
||||
label="订单总金额"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="qdsfy"
|
||||
width="120"
|
||||
label="累计获得佣金"
|
||||
>
|
||||
</el-table-column>
|
||||
|
|
|
@ -143,13 +143,14 @@
|
|||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="isTg" label="推广">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-table-column prop="isTg" label="推广">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-model="scope.row.isTg" @change="changeTg(scope.row.id, scope.row.isTg)"
|
||||
:active-value="1" :inactive-value="0" active-color="#13ce66" inactive-color="#ff4949">
|
||||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
<el-table-column prop="status" label="状态">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-model="scope.row.status" @change="changeStatus(scope.row.id, scope.row.status)"
|
||||
|
@ -164,8 +165,9 @@
|
|||
</el-button>
|
||||
<el-button size="mini" type="primary" style="margin: 5px" @click="handleEdit(scope.row)">修改
|
||||
</el-button>
|
||||
<el-button size="mini" type="primary" style="margin: 5px" @click="tglj(scope.row)">推广链接
|
||||
</el-button>
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button size="mini" type="primary" style="margin: 5px" @click="tglj(scope.row)">推广链接
|
||||
</el-button>-->
|
||||
<el-button size="mini" type="danger" style="margin: 5px" @click="handleDelete(scope.row)">删除
|
||||
</el-button>
|
||||
<!-- <el-button-->
|
||||
|
@ -301,13 +303,14 @@
|
|||
<el-radio :label="2">下线</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <div style="margin-bottom: 10px">
|
||||
<span style="width: 200px; display: inline-block; text-align: right">是否推广:</span>
|
||||
<el-radio-group v-model="isTg">
|
||||
<el-radio :label="0">不推广</el-radio>
|
||||
<el-radio :label="1">推广</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
</div>-->
|
||||
<div style="margin-bottom: 10px">
|
||||
<span style="width: 200px; display: inline-block; text-align: right">城市:</span>
|
||||
<el-cascader style="width: 45%" size="large" :options="options" ref="cascaderAddr"
|
||||
|
|
|
@ -15,14 +15,15 @@
|
|||
<el-input style="width: 200px" placeholder="请输入技师姓名" v-model="name">
|
||||
</el-input>
|
||||
</div>
|
||||
<div style="display: inline-block">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <div style="display: inline-block">
|
||||
<span>置顶:</span>
|
||||
<el-select clearable v-model="isTop" style="width: 150px;">
|
||||
<el-option value="" label="全部"></el-option>
|
||||
<el-option value="1" label="已置顶"></el-option>
|
||||
<el-option value="0" label="未置顶"></el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
</div>-->
|
||||
<el-button style="margin-left: 10px" size="mini" type="primary" icon="document" @click="handleSelect">查询
|
||||
</el-button>
|
||||
<el-button style="margin-left: 10px" size="mini" type="primary" icon="document" @click="handleClear">重置
|
||||
|
@ -69,12 +70,13 @@
|
|||
</el-table-column>
|
||||
<el-table-column prop="opinion" label="意见" width="150">
|
||||
</el-table-column>
|
||||
<el-table-column prop="topSort" label="置顶" >
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-table-column prop="topSort" label="置顶" >
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.topSort == 0" style="color:#909399">未置顶</span>
|
||||
<span v-else style="color:#67C23A">已置顶({{scope.row.topSort}})</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
<el-table-column label="操作" prop="id" width="230" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button v-if="scope.row.status == 0" size="mini" type="primary" style="margin: 5px"
|
||||
|
@ -83,13 +85,14 @@
|
|||
<el-button v-if="scope.row.status == 0" size="mini" type="primary" style="margin: 5px"
|
||||
@click="handleApply(scope.row)">审批
|
||||
</el-button>
|
||||
<el-button size="mini" type="primary"
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button size="mini" type="primary"
|
||||
style="margin: 5px" @click="handleToTop(scope.row,true)">
|
||||
{{ scope.row.topSort == 0 ? '置顶' : '置顶顺序'}}
|
||||
</el-button>
|
||||
<el-button v-if="scope.row.topSort > 0 " size="mini" type="primary"
|
||||
style="margin: 5px" @click="handleToTop(scope.row,false)">取消置顶
|
||||
</el-button>
|
||||
</el-button>-->
|
||||
<el-button v-if="scope.row.status == 1 || scope.row.status == 2" size="mini" type="primary"
|
||||
style="margin: 5px" @click="handleCancelApply(scope.row)">取消审批
|
||||
</el-button>
|
||||
|
@ -337,7 +340,7 @@ export default {
|
|||
}
|
||||
});
|
||||
}).catch(() => {
|
||||
|
||||
|
||||
});
|
||||
},
|
||||
// 获取列表数据
|
||||
|
|
|
@ -134,9 +134,10 @@
|
|||
</el-table-column>
|
||||
<el-table-column prop="createAt" label="处理状态" width="120" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="danger" :disabled="!isAuth('orderCenter:wancheng')"
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button size="mini" type="danger" :disabled="!isAuth('orderCenter:wancheng')"
|
||||
v-if="scope.row.status == 2 || scope.row.status == 6 || scope.row.status == 7 || scope.row.status == 8"
|
||||
@click="wancheng(scope.row)" style="margin:5px;" plain>完成订单</el-button>
|
||||
@click="wancheng(scope.row)" style="margin:5px;" plain>完成订单</el-button>-->
|
||||
<!-- <span v-if="scope.row.type=='1'" style="color: #13ce66;">已处理</span>
|
||||
<span v-else style="color: #ff4949;">待处理</span>
|
||||
<el-button v-if="scope.row.type!=='1'" size="mini" type="danger" style="margin: 5px;" :disabled="!isAuth('emergencyHelp:chuli')"
|
||||
|
|
|
@ -113,17 +113,18 @@
|
|||
<el-radio :label="2">其他</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px; display: flex; align-items: center">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <div style="margin-bottom: 10px; display: flex; align-items: center">
|
||||
<span style="width: 200px; display: inline-block; text-align: right">商城商品:</span>
|
||||
<!-- <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品">
|
||||
</el-input> -->
|
||||
<!– <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品">
|
||||
</el-input> –>
|
||||
<el-button v-if="!addMaterialPackageTag.goodsName" size="mini" type="primary"
|
||||
:disabled="!isAuth('shopAdmin:update')" @click="addGoodsBtn()">添加商品
|
||||
</el-button>
|
||||
<el-tag v-else type="info" closable @close="closeTag" disable-transitions>{{
|
||||
addMaterialPackageTag.goodsName
|
||||
}}</el-tag>
|
||||
</div>
|
||||
</div>-->
|
||||
<!-- <div style="margin-bottom: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">排序:</span>
|
||||
<el-input style="width:50%;" v-model="sort" type="number" :min="0" placeholder="请输入排序号"></el-input>
|
||||
|
@ -175,17 +176,18 @@
|
|||
<el-radio :label="2">其他</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<div style="margin-bottom: 10px; display: flex; align-items: center">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <div style="margin-bottom: 10px; display: flex; align-items: center">
|
||||
<span style="width: 200px; display: inline-block; text-align: right">商城商品:</span>
|
||||
<!-- <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品">
|
||||
</el-input> -->
|
||||
<!– <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品">
|
||||
</el-input> –>
|
||||
<el-button v-if="!addMaterialPackageTag.goodsName" size="mini" type="primary"
|
||||
:disabled="!isAuth('shopAdmin:update')" @click="addGoodsBtn()">添加商品
|
||||
</el-button>
|
||||
<el-tag v-else type="info" closable @close="closeTag" disable-transitions>{{
|
||||
addMaterialPackageTag.goodsName
|
||||
}}</el-tag>
|
||||
</div>
|
||||
</div>-->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button @click="dialogFormVisible3 = false">取 消</el-button>
|
||||
|
@ -294,7 +296,9 @@
|
|||
</div> -->
|
||||
<div style="margin: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">赠送数量:</span>
|
||||
<el-input-number v-model="yhqzssl" size="small" :min="1" :step="1" :precision="0"></el-input-number>
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-input-number v-model="yhqzssl" size="small" :min="1" :step="1" :precision="0"></el-input-number>-->
|
||||
<el-input-number v-model="yhqzssl" size="small" :min="1" :step="1" :precision="0" disabled="true"></el-input-number>
|
||||
</div>
|
||||
<div style="margin: 10px;">
|
||||
<span style="width: 200px;display: inline-block;text-align: right;">选择用户:</span>
|
||||
|
|
|
@ -102,14 +102,15 @@
|
|||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="isTg" label="推广">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-table-column prop="isTg" label="推广">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-model="scope.row.isTg" @change="changeTg(scope.row.massageTypeId, scope.row.isTg)"
|
||||
:disabled="!isAuth('locality:update')" :active-value="1" :inactive-value="0" active-color="#13ce66"
|
||||
inactive-color="#ff4949">
|
||||
</el-switch>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
<el-table-column prop="status" label="状态">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-model="scope.row.status" @change="change(scope.row.massageTypeId, scope.row.status)"
|
||||
|
@ -162,8 +163,9 @@
|
|||
</el-button>
|
||||
<el-button size="mini" type="primary" style="margin: 5px" @click="handleAddpl(scope.row)">新增评论
|
||||
</el-button>
|
||||
<el-button size="mini" type="primary" style="margin: 5px" @click="tglj(scope.row)">推广链接
|
||||
</el-button>
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button size="mini" type="primary" style="margin: 5px" @click="tglj(scope.row)">推广链接
|
||||
</el-button>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -564,13 +566,14 @@
|
|||
<el-radio :label="2">下线</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
<div style="margin-bottom: 10px">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <div style="margin-bottom: 10px">
|
||||
<span style="width: 200px; display: inline-block; text-align: right">是否推广:</span>
|
||||
<el-radio-group v-model="isTg">
|
||||
<el-radio :label="0">不推广</el-radio>
|
||||
<el-radio :label="1">推广</el-radio>
|
||||
</el-radio-group>
|
||||
</div>
|
||||
</div>-->
|
||||
<div style="margin-bottom: 10px">
|
||||
<span style="width: 200px; display: inline-block; text-align: right">服务城市:</span>
|
||||
<el-cascader style="width: 45%" size="large" :options="options" ref="cascaderAddr" v-model="storeAddress"
|
||||
|
|
|
@ -599,49 +599,49 @@ export default {
|
|||
this.userId = window.localStorage.getItem('userId');
|
||||
this.ringOrderId = window.localStorage.getItem('ringOrderId');
|
||||
|
||||
//生产需替换
|
||||
//生产需替换 允许发包时打开
|
||||
//互动管理菜单 - 每8秒检查一个功能下是否有未处理信息 单个重复检测时间为60秒
|
||||
//紧急求助
|
||||
this.chatNumJjqz = setInterval(() => {
|
||||
this.dataSelectJjqz()
|
||||
}, 60000)
|
||||
// //视频圈
|
||||
setTimeout(() => {
|
||||
this.chatNumSpq = setInterval(() => {
|
||||
this.dataSelectSpq()
|
||||
}, 60000)
|
||||
}, 8000);
|
||||
// //投诉中心
|
||||
setTimeout(() => {
|
||||
this.chatNumQy = setInterval(() => {
|
||||
this.dataSelectPy()
|
||||
}, 60000)
|
||||
}, 16000);
|
||||
// //聊天室
|
||||
setTimeout(() => {
|
||||
this.chatNumLts = setInterval(() => {
|
||||
this.dataSelectLts()
|
||||
}, 60000)
|
||||
}, 24000);
|
||||
// //消息中心
|
||||
setTimeout(() => {
|
||||
this.chatNumXxzx = setInterval(() => {
|
||||
this.dataSelectXxzx()
|
||||
}, 60000)
|
||||
}, 32000);
|
||||
// // 新用户注册
|
||||
setTimeout(() => {
|
||||
this.chatNumXyhzc = setInterval(() => {
|
||||
this.dataSelectXyhzc()
|
||||
}, 60000)
|
||||
}, 40000);
|
||||
// //实名认证
|
||||
this.chatNumJl = setInterval(() => {
|
||||
this.dataSelect()
|
||||
}, 6000)
|
||||
this.chatNumYh = setInterval(() => {
|
||||
this.dataSelectYh()
|
||||
}, 6000)
|
||||
// this.chatNumJjqz = setInterval(() => {
|
||||
// this.dataSelectJjqz()
|
||||
// }, 60000)
|
||||
// // //视频圈
|
||||
// setTimeout(() => {
|
||||
// this.chatNumSpq = setInterval(() => {
|
||||
// this.dataSelectSpq()
|
||||
// }, 60000)
|
||||
// }, 8000);
|
||||
// // //投诉中心
|
||||
// setTimeout(() => {
|
||||
// this.chatNumQy = setInterval(() => {
|
||||
// this.dataSelectPy()
|
||||
// }, 60000)
|
||||
// }, 16000);
|
||||
// // //聊天室
|
||||
// setTimeout(() => {
|
||||
// this.chatNumLts = setInterval(() => {
|
||||
// this.dataSelectLts()
|
||||
// }, 60000)
|
||||
// }, 24000);
|
||||
// // //消息中心
|
||||
// setTimeout(() => {
|
||||
// this.chatNumXxzx = setInterval(() => {
|
||||
// this.dataSelectXxzx()
|
||||
// }, 60000)
|
||||
// }, 32000);
|
||||
// // // 新用户注册
|
||||
// setTimeout(() => {
|
||||
// this.chatNumXyhzc = setInterval(() => {
|
||||
// this.dataSelectXyhzc()
|
||||
// }, 60000)
|
||||
// }, 40000);
|
||||
// // //实名认证
|
||||
// this.chatNumJl = setInterval(() => {
|
||||
// this.dataSelect()
|
||||
// }, 6000)
|
||||
// this.chatNumYh = setInterval(() => {
|
||||
// this.dataSelectYh()
|
||||
// }, 6000)
|
||||
// // 目前的逻辑是只有客服账号才有订单相关(新订单、警告订单、超时订单)的提示
|
||||
if ((this.userId && this.ringOrderId) && (this.userId == this.ringOrderId)) {
|
||||
this.chatNumJg = setInterval(() => {
|
||||
|
@ -656,25 +656,25 @@ export default {
|
|||
}
|
||||
},
|
||||
beforeDestroy() {
|
||||
//生产需替换
|
||||
//紧急求助定时任务
|
||||
clearInterval(this.chatNumJjqz);
|
||||
// //视频圈定时任务
|
||||
clearInterval(this.chatNumSpq);
|
||||
// //投诉中心定时任务
|
||||
clearInterval(this.chatNumQy);
|
||||
// //聊天室定时任务
|
||||
clearInterval(this.chatNumLts);
|
||||
// //消息中心定时任务
|
||||
clearInterval(this.chatNumXxzx);
|
||||
// //新用户注册定时任务
|
||||
clearInterval(this.chatNumXyhzc);
|
||||
clearInterval(this.chatNum)
|
||||
clearInterval(this.chatNumJl);
|
||||
clearInterval(this.chatNumYh);
|
||||
clearInterval(this.chatNumJg);
|
||||
clearInterval(this.chatNumCs);
|
||||
clearInterval(this.chatNumXdd);
|
||||
//生产需替换 允许发包时打开
|
||||
// //紧急求助定时任务
|
||||
// clearInterval(this.chatNumJjqz);
|
||||
// // //视频圈定时任务
|
||||
// clearInterval(this.chatNumSpq);
|
||||
// // //投诉中心定时任务
|
||||
// clearInterval(this.chatNumQy);
|
||||
// // //聊天室定时任务
|
||||
// clearInterval(this.chatNumLts);
|
||||
// // //消息中心定时任务
|
||||
// clearInterval(this.chatNumXxzx);
|
||||
// // //新用户注册定时任务
|
||||
// clearInterval(this.chatNumXyhzc);
|
||||
// clearInterval(this.chatNum)
|
||||
// clearInterval(this.chatNumJl);
|
||||
// clearInterval(this.chatNumYh);
|
||||
// clearInterval(this.chatNumJg);
|
||||
// clearInterval(this.chatNumCs);
|
||||
// clearInterval(this.chatNumXdd);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -6,9 +6,10 @@
|
|||
<icon-svg :name="menu.icon || ''" class="site-sidebar__menu-icon"></icon-svg>
|
||||
<span>{{ menu.name }}</span>
|
||||
</span>
|
||||
<el-badge class="item" v-if="menu.menuId==311&&havaMsg(311)" is-dot>
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-badge class="item" v-if="menu.menuId==311&&havaMsg(311)" is-dot>
|
||||
<span> </span>
|
||||
</el-badge>
|
||||
</el-badge>-->
|
||||
<el-badge class="item" v-if="menu.menuId==129&&chatNumLts!=0" is-dot>
|
||||
<span> </span>
|
||||
</el-badge>
|
||||
|
@ -111,10 +112,10 @@ export default {
|
|||
//检测菜单下是否有消息
|
||||
havaMsg(index){
|
||||
if(index == 311){
|
||||
return this.chatNumDrz != 0 || this.chatNumDts != 0 || this.chatNumJjqz != 0 || this.chatNumDsm != 0 || this.chatNumFwz != 0 || this.chatNumLts != 0 || this.chatNumSpq != 0 || this.chatNumXxzx != 0 || this.chatNumXyhzc != 0
|
||||
return this.chatNumDrz != 0 || this.chatNumDts != 0 || this.chatNumJjqz != 0 || this.chatNumDsm != 0 || this.chatNumFwz != 0 || this.chatNumLts != 0 || this.chatNumSpq != 0 || this.chatNumXxzx != 0 || this.chatNumXyhzc != 0
|
||||
}
|
||||
if(index == 323){
|
||||
return this.chatNumXxzx != 0 || this.chatNumXyhzc != 0
|
||||
return this.chatNumXxzx != 0 || this.chatNumXyhzc != 0
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
|
|
@ -72,7 +72,8 @@
|
|||
<span v-else style="color: #ff4949;">否</span>
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
<el-table-column prop="state" label="是否停牌" width="100">
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-table-column prop="state" label="是否停牌" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-switch v-if="scope.row.user" v-model="scope.row.user.status"
|
||||
@change="changeStatus(scope.row.user.status, scope.row.user.userId)"
|
||||
|
@ -82,7 +83,7 @@
|
|||
<span v-if="scope.row.user && scope.row.user.status == 2" style="color: #f56c6c;">是</span>
|
||||
<span v-if="scope.row.user && scope.row.user.status == 1" style="color: #13ce66;">否</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table-column>-->
|
||||
<el-table-column label="操作" width="100">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="primary" @click="fxjlFunc(scope.row)">
|
||||
|
|
|
@ -141,7 +141,8 @@
|
|||
<el-button size="mini" type="primary" @click="updateJs(scope.row)" :disabled="!isAuth('userList:updateJs')" v-if="scope.row.isAuthentication!=2">设置师傅</el-button>
|
||||
<el-button size="mini" type="primary" @click="quxiaoJs(scope.row)" :disabled="!isAuth('userList:updateJs')" v-if="scope.row.isAuthentication==2" plain>取消师傅</el-button>
|
||||
<el-button size="mini" type="primary" @click="updates(scope.row)">用户详情</el-button>
|
||||
<el-button size="mini" type="warning" @click="changehyDialog(scope.row,true)" :disabled="!isAuth('userList:updateVip')" v-if="scope.row.member!=1">设置会员</el-button>
|
||||
<!-- 允许发包时打开-->
|
||||
<!-- <el-button size="mini" type="warning" @click="changehyDialog(scope.row,true)" :disabled="!isAuth('userList:updateVip')" v-if="scope.row.member!=1">设置会员</el-button>-->
|
||||
<el-button size="mini" type="warning" @click="quxiaoVip(scope.row)" :disabled="!isAuth('userList:updateVip')" v-if="scope.row.member==1" plain>取消会员</el-button>
|
||||
<el-button size="mini" type="danger" :disabled="!isAuth('userList:delete')"
|
||||
@click="deleteuser(scope.row)">删除用户</el-button>
|
||||
|
|
Loading…
Reference in New Issue