屏蔽功能允许发包时打开

This commit is contained in:
曹磊 2025-03-19 14:13:09 +08:00
parent aaf82dad5e
commit 9694e4d975
13 changed files with 150 additions and 124 deletions

View File

@ -37,24 +37,24 @@ globalRoutes.push({
} }
}); });
// 添加 dashboard 到 globalRoutes // 添加 dashboard 到 globalRoutes 允许发包时打开
globalRoutes.push({ // globalRoutes.push({
path: '/dashboard_', // path: '/dashboard_',
component: _import('common/dashboard'), // component: _import('common/dashboard'),
name: 'dashboard_', // name: 'dashboard_',
meta: { title: '驾驶舱', isTab: true }, // meta: { title: '驾驶舱', isTab: true },
beforeEnter(to, from, next) { // beforeEnter(to, from, next) {
let token = Vue.cookie.get('token') // let token = Vue.cookie.get('token')
if (!token || !/\S/.test(token)) { // if (!token || !/\S/.test(token)) {
clearLoginInfo() // clearLoginInfo()
next({ name: 'login' }) // next({ name: 'login' })
} // }
// next() // // next()
window.open('/dashboard', '_blank'); // window.open('/dashboard', '_blank');
// 取消当前导航 // // 取消当前导航
next(false); // next(false);
} // }
}); // });
// 主入口路由(需嵌套上左右整体布局) // 主入口路由(需嵌套上左右整体布局)
const mainRoutes = { const mainRoutes = {

View File

@ -245,14 +245,15 @@
<el-table-column prop="artificerSales" label="订单数量" width="120"> <el-table-column prop="artificerSales" label="订单数量" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.artificerSales }}</span> <span>{{ scope.row.artificerSales }}</span>
<el-button <!-- 允许发包时打开-->
<!-- <el-button
size="mini" size="mini"
:disabled="!isAuth('userList:updatebl')" :disabled="!isAuth('userList:updatebl')"
style="color: #4f9dec; background: #fff; border: none" style="color: #4f9dec; background: #fff; border: none"
@click="xiugaiSales(scope.row)" @click="xiugaiSales(scope.row)"
> >
修改</el-button 修改</el-button
> >-->
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="creditScore" label="信用分" width="120"> <el-table-column prop="creditScore" label="信用分" width="120">

View File

@ -169,10 +169,11 @@
:disabled="scope.row.status !== 0 || !isAuth('autonym:tongguo')" :disabled="scope.row.status !== 0 || !isAuth('autonym:tongguo')"
@click="passClicks(scope.row)" style="margin: 5px;">通过审核 @click="passClicks(scope.row)" style="margin: 5px;">通过审核
</el-button> </el-button>
<el-button size="mini" type="primary" <!-- 允许发包时打开-->
<!-- <el-button size="mini" type="primary"
:disabled="scope.row.status == 0" :disabled="scope.row.status == 0"
@click="cancelClicks(scope.row)" style="margin: 5px;">取消审核 @click="cancelClicks(scope.row)" style="margin: 5px;">取消审核
</el-button> </el-button>-->
<el-button size="mini" type="primary" :disabled="!isAuth('autonym:tongguo')" <el-button size="mini" type="primary" :disabled="!isAuth('autonym:tongguo')"
@click="updateClicks(scope.row)" style="margin: 5px;">修改 @click="updateClicks(scope.row)" style="margin: 5px;">修改
</el-button> </el-button>

View File

@ -62,6 +62,7 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="qdmName" prop="qdmName"
width="230"
label="渠道码名称" label="渠道码名称"
> >
</el-table-column> </el-table-column>
@ -94,19 +95,23 @@
<span>{{scope.row.rate}}%</span> <span>{{scope.row.rate}}%</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <!-- 允许发包时打开-->
<!-- <el-table-column
prop="xyhsmsl" prop="xyhsmsl"
label="扫码数量-新用户" width="120"
label="新用户扫码数量"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="lyhsmsl" prop="lyhsmsl"
label="扫码数量-老客户" width="120"
> label="老用户扫码数量"
>-->
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="yxzcpts" prop="yxzcpts"
label="有效注册平台数" width="120"
label="有效注册数"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -116,11 +121,13 @@
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="zje" prop="zje"
width="120"
label="订单总金额" label="订单总金额"
> >
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="qdsfy" prop="qdsfy"
width="120"
label="累计获得佣金" label="累计获得佣金"
> >
</el-table-column> </el-table-column>

View File

@ -143,13 +143,14 @@
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="isTg" label="推广"> <!-- 允许发包时打开-->
<!-- <el-table-column prop="isTg" label="推广">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.isTg" @change="changeTg(scope.row.id, scope.row.isTg)" <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"> :active-value="1" :inactive-value="0" active-color="#13ce66" inactive-color="#ff4949">
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>-->
<el-table-column prop="status" label="状态"> <el-table-column prop="status" label="状态">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.status" @change="changeStatus(scope.row.id, scope.row.status)" <el-switch v-model="scope.row.status" @change="changeStatus(scope.row.id, scope.row.status)"
@ -164,8 +165,9 @@
</el-button> </el-button>
<el-button size="mini" type="primary" style="margin: 5px" @click="handleEdit(scope.row)">修改 <el-button size="mini" type="primary" style="margin: 5px" @click="handleEdit(scope.row)">修改
</el-button> </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 size="mini" type="danger" style="margin: 5px" @click="handleDelete(scope.row)">删除
</el-button> </el-button>
<!-- <el-button--> <!-- <el-button-->
@ -301,13 +303,14 @@
<el-radio :label="2">下线</el-radio> <el-radio :label="2">下线</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
<div style="margin-bottom: 10px"> <!-- 允许发包时打开-->
<!-- <div style="margin-bottom: 10px">
<span style="width: 200px; display: inline-block; text-align: right">是否推广</span> <span style="width: 200px; display: inline-block; text-align: right">是否推广</span>
<el-radio-group v-model="isTg"> <el-radio-group v-model="isTg">
<el-radio :label="0">不推广</el-radio> <el-radio :label="0">不推广</el-radio>
<el-radio :label="1">推广</el-radio> <el-radio :label="1">推广</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>-->
<div style="margin-bottom: 10px"> <div style="margin-bottom: 10px">
<span style="width: 200px; display: inline-block; text-align: right">城市</span> <span style="width: 200px; display: inline-block; text-align: right">城市</span>
<el-cascader style="width: 45%" size="large" :options="options" ref="cascaderAddr" <el-cascader style="width: 45%" size="large" :options="options" ref="cascaderAddr"

View File

@ -15,14 +15,15 @@
<el-input style="width: 200px" placeholder="请输入技师姓名" v-model="name"> <el-input style="width: 200px" placeholder="请输入技师姓名" v-model="name">
</el-input> </el-input>
</div> </div>
<div style="display: inline-block"> <!-- 允许发包时打开-->
<!-- <div style="display: inline-block">
<span>置顶</span> <span>置顶</span>
<el-select clearable v-model="isTop" style="width: 150px;"> <el-select clearable v-model="isTop" style="width: 150px;">
<el-option value="" label="全部"></el-option> <el-option value="" label="全部"></el-option>
<el-option value="1" label="已置顶"></el-option> <el-option value="1" label="已置顶"></el-option>
<el-option value="0" label="未置顶"></el-option> <el-option value="0" label="未置顶"></el-option>
</el-select>&nbsp;&nbsp; </el-select>&nbsp;&nbsp;
</div> </div>-->
<el-button style="margin-left: 10px" size="mini" type="primary" icon="document" @click="handleSelect">查询 <el-button style="margin-left: 10px" size="mini" type="primary" icon="document" @click="handleSelect">查询
</el-button> </el-button>
<el-button style="margin-left: 10px" size="mini" type="primary" icon="document" @click="handleClear">重置 <el-button style="margin-left: 10px" size="mini" type="primary" icon="document" @click="handleClear">重置
@ -69,12 +70,13 @@
</el-table-column> </el-table-column>
<el-table-column prop="opinion" label="意见" width="150"> <el-table-column prop="opinion" label="意见" width="150">
</el-table-column> </el-table-column>
<el-table-column prop="topSort" label="置顶" > <!-- 允许发包时打开-->
<!-- <el-table-column prop="topSort" label="置顶" >
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.topSort == 0" style="color:#909399">未置顶</span> <span v-if="scope.row.topSort == 0" style="color:#909399">未置顶</span>
<span v-else style="color:#67C23A">已置顶{{scope.row.topSort}}</span> <span v-else style="color:#67C23A">已置顶{{scope.row.topSort}}</span>
</template> </template>
</el-table-column> </el-table-column>-->
<el-table-column label="操作" prop="id" width="230" fixed="right"> <el-table-column label="操作" prop="id" width="230" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-if="scope.row.status == 0" size="mini" type="primary" style="margin: 5px" <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" <el-button v-if="scope.row.status == 0" size="mini" type="primary" style="margin: 5px"
@click="handleApply(scope.row)">审批 @click="handleApply(scope.row)">审批
</el-button> </el-button>
<el-button size="mini" type="primary" <!-- 允许发包时打开-->
<!-- <el-button size="mini" type="primary"
style="margin: 5px" @click="handleToTop(scope.row,true)"> style="margin: 5px" @click="handleToTop(scope.row,true)">
{{ scope.row.topSort == 0 ? '置顶' : '置顶顺序'}} {{ scope.row.topSort == 0 ? '置顶' : '置顶顺序'}}
</el-button> </el-button>
<el-button v-if="scope.row.topSort > 0 " size="mini" type="primary" <el-button v-if="scope.row.topSort > 0 " size="mini" type="primary"
style="margin: 5px" @click="handleToTop(scope.row,false)">取消置顶 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" <el-button v-if="scope.row.status == 1 || scope.row.status == 2" size="mini" type="primary"
style="margin: 5px" @click="handleCancelApply(scope.row)">取消审批 style="margin: 5px" @click="handleCancelApply(scope.row)">取消审批
</el-button> </el-button>

View File

@ -134,9 +134,10 @@
</el-table-column> </el-table-column>
<el-table-column prop="createAt" label="处理状态" width="120" fixed="right"> <el-table-column prop="createAt" label="处理状态" width="120" fixed="right">
<template slot-scope="scope"> <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" 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-if="scope.row.type=='1'" style="color: #13ce66;">已处理</span>
<span v-else style="color: #ff4949;">待处理</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')" <el-button v-if="scope.row.type!=='1'" size="mini" type="danger" style="margin: 5px;" :disabled="!isAuth('emergencyHelp:chuli')"

View File

@ -113,17 +113,18 @@
<el-radio :label="2">其他</el-radio> <el-radio :label="2">其他</el-radio>
</el-radio-group> </el-radio-group>
</div> </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> <span style="width: 200px; display: inline-block; text-align: right">商城商品</span>
<!-- <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品"> &lt;!&ndash; <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品">
</el-input> --> </el-input> &ndash;&gt;
<el-button v-if="!addMaterialPackageTag.goodsName" size="mini" type="primary" <el-button v-if="!addMaterialPackageTag.goodsName" size="mini" type="primary"
:disabled="!isAuth('shopAdmin:update')" @click="addGoodsBtn()">添加商品 :disabled="!isAuth('shopAdmin:update')" @click="addGoodsBtn()">添加商品
</el-button> </el-button>
<el-tag v-else type="info" closable @close="closeTag" disable-transitions>{{ <el-tag v-else type="info" closable @close="closeTag" disable-transitions>{{
addMaterialPackageTag.goodsName addMaterialPackageTag.goodsName
}}</el-tag> }}</el-tag>
</div> </div>-->
<!-- <div style="margin-bottom: 10px;"> <!-- <div style="margin-bottom: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">排序</span> <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> <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 :label="2">其他</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </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> <span style="width: 200px; display: inline-block; text-align: right">商城商品</span>
<!-- <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品"> &lt;!&ndash; <el-input style="width:50%;" v-model="materialPackageMinNum" type="text" placeholder="请选择商城商品">
</el-input> --> </el-input> &ndash;&gt;
<el-button v-if="!addMaterialPackageTag.goodsName" size="mini" type="primary" <el-button v-if="!addMaterialPackageTag.goodsName" size="mini" type="primary"
:disabled="!isAuth('shopAdmin:update')" @click="addGoodsBtn()">添加商品 :disabled="!isAuth('shopAdmin:update')" @click="addGoodsBtn()">添加商品
</el-button> </el-button>
<el-tag v-else type="info" closable @close="closeTag" disable-transitions>{{ <el-tag v-else type="info" closable @close="closeTag" disable-transitions>{{
addMaterialPackageTag.goodsName addMaterialPackageTag.goodsName
}}</el-tag> }}</el-tag>
</div> </div>-->
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="dialogFormVisible3 = false"> </el-button> <el-button @click="dialogFormVisible3 = false"> </el-button>
@ -294,7 +296,9 @@
</div> --> </div> -->
<div style="margin: 10px;"> <div style="margin: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">赠送数量</span> <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>
<div style="margin: 10px;"> <div style="margin: 10px;">
<span style="width: 200px;display: inline-block;text-align: right;">选择用户</span> <span style="width: 200px;display: inline-block;text-align: right;">选择用户</span>

View File

@ -102,14 +102,15 @@
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="isTg" label="推广"> <!-- 允许发包时打开-->
<!-- <el-table-column prop="isTg" label="推广">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.isTg" @change="changeTg(scope.row.massageTypeId, scope.row.isTg)" <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" :disabled="!isAuth('locality:update')" :active-value="1" :inactive-value="0" active-color="#13ce66"
inactive-color="#ff4949"> inactive-color="#ff4949">
</el-switch> </el-switch>
</template> </template>
</el-table-column> </el-table-column>-->
<el-table-column prop="status" label="状态"> <el-table-column prop="status" label="状态">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-model="scope.row.status" @change="change(scope.row.massageTypeId, scope.row.status)" <el-switch v-model="scope.row.status" @change="change(scope.row.massageTypeId, scope.row.status)"
@ -162,8 +163,9 @@
</el-button> </el-button>
<el-button size="mini" type="primary" style="margin: 5px" @click="handleAddpl(scope.row)">新增评论 <el-button size="mini" type="primary" style="margin: 5px" @click="handleAddpl(scope.row)">新增评论
</el-button> </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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@ -564,13 +566,14 @@
<el-radio :label="2">下线</el-radio> <el-radio :label="2">下线</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
<div style="margin-bottom: 10px"> <!-- 允许发包时打开-->
<!-- <div style="margin-bottom: 10px">
<span style="width: 200px; display: inline-block; text-align: right">是否推广</span> <span style="width: 200px; display: inline-block; text-align: right">是否推广</span>
<el-radio-group v-model="isTg"> <el-radio-group v-model="isTg">
<el-radio :label="0">不推广</el-radio> <el-radio :label="0">不推广</el-radio>
<el-radio :label="1">推广</el-radio> <el-radio :label="1">推广</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>-->
<div style="margin-bottom: 10px"> <div style="margin-bottom: 10px">
<span style="width: 200px; display: inline-block; text-align: right">服务城市</span> <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" <el-cascader style="width: 45%" size="large" :options="options" ref="cascaderAddr" v-model="storeAddress"

View File

@ -599,49 +599,49 @@ export default {
this.userId = window.localStorage.getItem('userId'); this.userId = window.localStorage.getItem('userId');
this.ringOrderId = window.localStorage.getItem('ringOrderId'); this.ringOrderId = window.localStorage.getItem('ringOrderId');
// //
// - 8 60 // - 8 60
// //
this.chatNumJjqz = setInterval(() => { // this.chatNumJjqz = setInterval(() => {
this.dataSelectJjqz() // this.dataSelectJjqz()
}, 60000) // }, 60000)
// // // // //
setTimeout(() => { // setTimeout(() => {
this.chatNumSpq = setInterval(() => { // this.chatNumSpq = setInterval(() => {
this.dataSelectSpq() // this.dataSelectSpq()
}, 60000) // }, 60000)
}, 8000); // }, 8000);
// // // // //
setTimeout(() => { // setTimeout(() => {
this.chatNumQy = setInterval(() => { // this.chatNumQy = setInterval(() => {
this.dataSelectPy() // this.dataSelectPy()
}, 60000) // }, 60000)
}, 16000); // }, 16000);
// // // // //
setTimeout(() => { // setTimeout(() => {
this.chatNumLts = setInterval(() => { // this.chatNumLts = setInterval(() => {
this.dataSelectLts() // this.dataSelectLts()
}, 60000) // }, 60000)
}, 24000); // }, 24000);
// // // // //
setTimeout(() => { // setTimeout(() => {
this.chatNumXxzx = setInterval(() => { // this.chatNumXxzx = setInterval(() => {
this.dataSelectXxzx() // this.dataSelectXxzx()
}, 60000) // }, 60000)
}, 32000); // }, 32000);
// // // // //
setTimeout(() => { // setTimeout(() => {
this.chatNumXyhzc = setInterval(() => { // this.chatNumXyhzc = setInterval(() => {
this.dataSelectXyhzc() // this.dataSelectXyhzc()
}, 60000) // }, 60000)
}, 40000); // }, 40000);
// // // // //
this.chatNumJl = setInterval(() => { // this.chatNumJl = setInterval(() => {
this.dataSelect() // this.dataSelect()
}, 6000) // }, 6000)
this.chatNumYh = setInterval(() => { // this.chatNumYh = setInterval(() => {
this.dataSelectYh() // this.dataSelectYh()
}, 6000) // }, 6000)
// // // //
if ((this.userId && this.ringOrderId) && (this.userId == this.ringOrderId)) { if ((this.userId && this.ringOrderId) && (this.userId == this.ringOrderId)) {
this.chatNumJg = setInterval(() => { this.chatNumJg = setInterval(() => {
@ -656,25 +656,25 @@ export default {
} }
}, },
beforeDestroy() { beforeDestroy() {
// //
// // //
clearInterval(this.chatNumJjqz); // clearInterval(this.chatNumJjqz);
// // // // //
clearInterval(this.chatNumSpq); // clearInterval(this.chatNumSpq);
// // // // //
clearInterval(this.chatNumQy); // clearInterval(this.chatNumQy);
// // // // //
clearInterval(this.chatNumLts); // clearInterval(this.chatNumLts);
// // // // //
clearInterval(this.chatNumXxzx); // clearInterval(this.chatNumXxzx);
// // // // //
clearInterval(this.chatNumXyhzc); // clearInterval(this.chatNumXyhzc);
clearInterval(this.chatNum) // clearInterval(this.chatNum)
clearInterval(this.chatNumJl); // clearInterval(this.chatNumJl);
clearInterval(this.chatNumYh); // clearInterval(this.chatNumYh);
clearInterval(this.chatNumJg); // clearInterval(this.chatNumJg);
clearInterval(this.chatNumCs); // clearInterval(this.chatNumCs);
clearInterval(this.chatNumXdd); // clearInterval(this.chatNumXdd);
} }
} }
</script> </script>

View File

@ -6,9 +6,10 @@
<icon-svg :name="menu.icon || ''" class="site-sidebar__menu-icon"></icon-svg> <icon-svg :name="menu.icon || ''" class="site-sidebar__menu-icon"></icon-svg>
<span>{{ menu.name }}</span> <span>{{ menu.name }}</span>
</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> <span> </span>
</el-badge> </el-badge>-->
<el-badge class="item" v-if="menu.menuId==129&&chatNumLts!=0" is-dot> <el-badge class="item" v-if="menu.menuId==129&&chatNumLts!=0" is-dot>
<span> </span> <span> </span>
</el-badge> </el-badge>

View File

@ -72,7 +72,8 @@
<span v-else style="color: #ff4949;"></span> <span v-else style="color: #ff4949;"></span>
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column prop="state" label="是否停牌" width="100"> <!-- 允许发包时打开-->
<!-- <el-table-column prop="state" label="是否停牌" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-switch v-if="scope.row.user" v-model="scope.row.user.status" <el-switch v-if="scope.row.user" v-model="scope.row.user.status"
@change="changeStatus(scope.row.user.status, scope.row.user.userId)" @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 == 2" style="color: #f56c6c;"></span>
<span v-if="scope.row.user && scope.row.user.status == 1" style="color: #13ce66;"></span> <span v-if="scope.row.user && scope.row.user.status == 1" style="color: #13ce66;"></span>
</template> </template>
</el-table-column> </el-table-column>-->
<el-table-column label="操作" width="100"> <el-table-column label="操作" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="primary" @click="fxjlFunc(scope.row)"> <el-button size="mini" type="primary" @click="fxjlFunc(scope.row)">

View File

@ -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="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="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="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="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')" <el-button size="mini" type="danger" :disabled="!isAuth('userList:delete')"
@click="deleteuser(scope.row)">删除用户</el-button> @click="deleteuser(scope.row)">删除用户</el-button>