客户经理拨打电话 禁止重复
This commit is contained in:
@@ -149,11 +149,14 @@
|
||||
:data="onlineClient"
|
||||
:height="$getHeight(300)"
|
||||
>
|
||||
<el-table-column
|
||||
type="index" label="序号"
|
||||
width="50">
|
||||
</el-table-column>
|
||||
<el-table-column prop="Account" label="账号"></el-table-column>
|
||||
<el-table-column prop="LoginTime" label="登录时间"></el-table-column>
|
||||
<el-table-column prop="OnlineTime" label="在线时间"></el-table-column>
|
||||
<el-table-column prop="ServerIP" label="服务器Ip"></el-table-column>
|
||||
<el-table-column prop="LoginIP" label="登录ip"></el-table-column>
|
||||
<el-table-column prop="UpStream" label="上行" ></el-table-column>
|
||||
<el-table-column prop="DownStream" label="下行"></el-table-column>
|
||||
<el-table-column label="操作" width="140px">
|
||||
|
||||
@@ -26,20 +26,7 @@
|
||||
{{scope.row.TestCountLimit==0?'3':scope.row.TestCountLimit}}/{{scope.row.UseTestCount==0?'--':scope.row.UseTestCount}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="一毛钱天卡" >
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip content="请先查看是否已经使用" placement="top">
|
||||
<el-switch
|
||||
v-model="scope.row.ProductAccountCount"
|
||||
active-color="#13ce66"
|
||||
inactive-color="#ff4949"
|
||||
@change="day(scope.row)"
|
||||
active-value="0"
|
||||
inactive-value="1">
|
||||
</el-switch>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column label="操作" width="400px">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.agent_id==0">
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
<router-link :to="{name:'userstatisticsrecord'}">
|
||||
<el-button type="primary" size="small" plain>跟进记录</el-button>
|
||||
</router-link>
|
||||
<el-button type="primary" size="small" @click="click_phone()" plain>号码拨号</el-button>
|
||||
<p>
|
||||
{{sell_detail.cost_mogu}} <span style="color:red">||</span>
|
||||
{{sell_detail.cost_not_mogu}}<br>
|
||||
@@ -114,7 +115,7 @@
|
||||
<el-table-column label="会员号">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_username(scope.row)">{{scope.row.UserName}}</el-link>
|
||||
<br> <span style="color:#409EFF;cursor:pointer;" @click="hujiao(scope.row)">拨号</span>
|
||||
<br> <span style="color:#409EFF;cursor:pointer;" @click.once="hujiao(scope.row)">拨号</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="is_verify" label="是否实名"></el-table-column>
|
||||
@@ -224,6 +225,17 @@
|
||||
</el-card>
|
||||
</el-dialog>
|
||||
|
||||
|
||||
<el-dialog
|
||||
title="通过号码拨打电话"
|
||||
:visible.sync="phone_fall"
|
||||
width="30%">
|
||||
<el-card class="box-card">
|
||||
<el-input v-model="phone_call" size="small" style="width:70%" placeholder="请输入内容"></el-input>
|
||||
<sapn style="color:#409EFF;cursor:pointer;" @click.once="hujiao2()">拨打</sapn>
|
||||
</el-card>
|
||||
</el-dialog>
|
||||
|
||||
<el-dialog
|
||||
title="消费记录"
|
||||
:visible.sync="cost_fall"
|
||||
@@ -295,6 +307,7 @@ export default {
|
||||
follow_status_change_fall: false,
|
||||
follow_status_change_two: false,
|
||||
follow_status_list: [],
|
||||
phone_call: '',
|
||||
set_follow_status: {
|
||||
id: null,
|
||||
user_id: null,
|
||||
@@ -303,6 +316,7 @@ export default {
|
||||
remark: null
|
||||
},
|
||||
userinfo_fall: false,
|
||||
phone_fall: false,
|
||||
clickOk: false,
|
||||
cost_fall: false,
|
||||
cost_list: [],
|
||||
@@ -451,6 +465,9 @@ export default {
|
||||
this.user_info = res.data
|
||||
})
|
||||
},
|
||||
click_phone () {
|
||||
this.phone_fall = true
|
||||
},
|
||||
click_all_amount (row, index) {
|
||||
this.cost_fall = true
|
||||
this.cost_loading = true
|
||||
@@ -540,6 +557,25 @@ export default {
|
||||
|
||||
var phone = r.LoginCode;
|
||||
|
||||
this.$api.post(this.$api.phpURL + 'manager/UserFollow/hujiao', {phone: phone}).then(res => {
|
||||
if (res.Code == 30000) {
|
||||
this.$message({
|
||||
message: res.msg,
|
||||
type: 'error'
|
||||
})
|
||||
} else {
|
||||
this.$message({
|
||||
message: '呼叫成功',
|
||||
type: 'success'
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
hujiao2() {
|
||||
|
||||
var phone = this.phone_call;
|
||||
|
||||
this.$api.post(this.$api.phpURL + 'manager/UserFollow/hujiao', {phone: phone}).then(res => {
|
||||
if (res.Code == 30000) {
|
||||
this.$message({
|
||||
|
||||
Reference in New Issue
Block a user