|
@@ -173,7 +173,7 @@
|
|
|
<dict-tag :options="qwStatusOptions" :value="scope.row.qwStatus"/>
|
|
<dict-tag :options="qwStatusOptions" :value="scope.row.qwStatus"/>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column label="客服语音回复方式" align="center">
|
|
|
|
|
|
|
+ <el-table-column label="客服语音回复方式" align="center" v-if="projectFrom != 'hst'">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<span v-if="scope.row.isCustomerVoice === 1" style="color: #67C23A;">客户语音销售回复语音</span>
|
|
<span v-if="scope.row.isCustomerVoice === 1" style="color: #67C23A;">客户语音销售回复语音</span>
|
|
|
<span v-else-if="scope.row.isCustomerVoice === 2" style="color: #409EFF;">客户语音销售回复文本</span>
|
|
<span v-else-if="scope.row.isCustomerVoice === 2" style="color: #409EFF;">客户语音销售回复文本</span>
|
|
@@ -250,7 +250,7 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-connection"
|
|
icon="el-icon-connection"
|
|
|
plain
|
|
plain
|
|
|
- v-if="scope.row.doctorId!=null"
|
|
|
|
|
|
|
+ v-if="scope.row.doctorId!=null && projectFrom != 'hst'"
|
|
|
@click="handleUpdateDoctor(scope.row)"
|
|
@click="handleUpdateDoctor(scope.row)"
|
|
|
>换绑医生</el-button>
|
|
>换绑医生</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -258,7 +258,7 @@
|
|
|
type="text"
|
|
type="text"
|
|
|
plain
|
|
plain
|
|
|
icon="el-icon-link"
|
|
icon="el-icon-link"
|
|
|
- v-else
|
|
|
|
|
|
|
+ v-else-if="scope.row.doctorId == null && projectFrom != 'hst'"
|
|
|
@click="handleUpdateDoctor(scope.row)"
|
|
@click="handleUpdateDoctor(scope.row)"
|
|
|
>绑定医生</el-button>
|
|
>绑定医生</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -293,6 +293,7 @@
|
|
|
icon="el-icon-user"
|
|
icon="el-icon-user"
|
|
|
@click="handleBindMember(scope.row)"
|
|
@click="handleBindMember(scope.row)"
|
|
|
v-hasPermi="['company:user:bindUser']"
|
|
v-hasPermi="['company:user:bindUser']"
|
|
|
|
|
+ v-if = "projectFrom != 'hst'"
|
|
|
>绑定员工用户</el-button>
|
|
>绑定员工用户</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
@@ -301,10 +302,11 @@
|
|
|
icon="el-icon-user"
|
|
icon="el-icon-user"
|
|
|
plain
|
|
plain
|
|
|
@click="handleBindUser(scope.row)"
|
|
@click="handleBindUser(scope.row)"
|
|
|
|
|
+ v-if=" projectFrom != 'hst'"
|
|
|
>绑定用户</el-button>
|
|
>绑定用户</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="!!scope.row.cidServerId"
|
|
|
|
|
|
|
+ v-if="!!scope.row.cidServerId && projectFrom != 'hst'"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-s-platform"
|
|
icon="el-icon-s-platform"
|
|
@@ -313,7 +315,7 @@
|
|
|
@click="handleUnbindCidServer(scope.row)"
|
|
@click="handleUnbindCidServer(scope.row)"
|
|
|
>取消绑定cid服务</el-button>
|
|
>取消绑定cid服务</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-else
|
|
|
|
|
|
|
+ v-else-if="!!scope.row.cidServerId && projectFrom != 'hst'"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-s-platform"
|
|
icon="el-icon-s-platform"
|
|
@@ -326,10 +328,10 @@
|
|
|
<el-button v-if="scope.row.userType !== '00'" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['company:user:edit']">修改</el-button>
|
|
<el-button v-if="scope.row.userType !== '00'" size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" v-hasPermi="['company:user:edit']">修改</el-button>
|
|
|
<el-button v-if="scope.row.userType !== '00'" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['company:user:remove']">删除</el-button>
|
|
<el-button v-if="scope.row.userType !== '00'" size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['company:user:remove']">删除</el-button>
|
|
|
<el-button size="mini" type="text" icon="el-icon-key" @click="handleResetPwd(scope.row)" v-hasPermi="['company:user:resetPwd']">重置密码</el-button>
|
|
<el-button size="mini" type="text" icon="el-icon-key" @click="handleResetPwd(scope.row)" v-hasPermi="['company:user:resetPwd']">重置密码</el-button>
|
|
|
- <el-button size="mini" type="text" icon="el-icon-edit" @click="checkBindSipCallUser(scope.row)" v-if="scope.row.aiSipCallUserId==null">绑定sip角色</el-button>
|
|
|
|
|
- <el-button size="mini" type="text" icon="el-icon-search" @click="checkChangeSipCallUser(scope.row)" v-if="scope.row.aiSipCallUserId">修改sip角色</el-button>
|
|
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-edit" @click="checkBindSipCallUser(scope.row)" v-if="scope.row.aiSipCallUserId==null && projectFrom != 'hst'">绑定sip角色</el-button>
|
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-search" @click="checkChangeSipCallUser(scope.row)" v-if="scope.row.aiSipCallUserId && projectFrom != 'hst'">修改sip角色</el-button>
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="!scope.row.accountId"
|
|
|
|
|
|
|
+ v-if="!scope.row.accountId && projectFrom != 'hst'"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-link"
|
|
icon="el-icon-link"
|
|
@@ -337,7 +339,7 @@
|
|
|
>绑定销售易</el-button>
|
|
>绑定销售易</el-button>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
|
- v-if="scope.row.accountId"
|
|
|
|
|
|
|
+ v-if="scope.row.accountId && projectFrom != 'hst'"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
type="text"
|
|
type="text"
|
|
|
icon="el-icon-close"
|
|
icon="el-icon-close"
|