跟进销售订单
This commit is contained in:
@@ -25,16 +25,25 @@
|
||||
<el-button type="primary" size="small" plain>跟进记录</el-button>
|
||||
</router-link>
|
||||
<el-button type="primary" size="small" @click="click_phone()" plain>号码拨号</el-button>
|
||||
|
||||
<div v-if="$local.isRoot()">
|
||||
{{sell_detail.cost_mogu}}<span style="color:red">|| </span>{{sell_detail.cost_not_mogu}}
|
||||
</div>
|
||||
<div>
|
||||
<p>主动销售:</p>
|
||||
<p>{{sell_detail.other_order_active}}<span style="color:red">|| </span>{{sell_detail.mogu_order_active}}<span style="color:red">|| </span>{{sell_detail.recharge_active}}<span style="color:red">|| </span>{{sell_detail.http_active}}<span style="color:red">|| </span>{{sell_detail.ros_active}}<span style="color:red">|| </span>{{sell_detail.jinqiao_active}}</p>
|
||||
|
||||
<p>被动销售:</p>
|
||||
<p>{{sell_detail.other_order_not_active}}<span style="color:red">|| </span>{{sell_detail.mogu_order_not_active}}<span style="color:red">|| </span>{{sell_detail.recharge_not_active}}<span style="color:red">|| </span>{{sell_detail.http_not_active}}<span style="color:red">|| </span>{{sell_detail.ros_not_active}}<span style="color:red">|| </span>{{sell_detail.jinqiao_not_active}}</p>
|
||||
</div>
|
||||
<p>
|
||||
{{sell_detail.cost_mogu}} <span style="color:red">||</span>
|
||||
{{sell_detail.cost_not_mogu}}<br>
|
||||
{{sell_detail.sell_percent}} <span style="color:red">||</span>
|
||||
{{sell_detail.cost_percent}} <span style="color:red">||</span>
|
||||
{{sell_detail.cost_register}} <span style="color:red">||</span>
|
||||
{{sell_detail.cost_old_user}} <br>
|
||||
{{sell_detail.com_cost}} <span style="color:red">||</span>
|
||||
{{sell_detail.com_percent}} <span style="color:red">||</span>
|
||||
{{sell_detail.today_new_user}} <span style="color:red">||</span>
|
||||
{{sell_detail.sell_percent}}<span style="color:red">|| </span>
|
||||
{{sell_detail.cost_percent}}<span style="color:red">|| </span>
|
||||
{{sell_detail.cost_register}}<span style="color:red">|| </span>
|
||||
{{sell_detail.cost_old_user}}<br>
|
||||
{{sell_detail.com_cost}}<span style="color:red">|| </span>
|
||||
{{sell_detail.com_percent}}<span style="color:red">|| </span>
|
||||
{{sell_detail.today_new_user}}<span style="color:red">|| </span>
|
||||
{{sell_detail.refund}}
|
||||
</p>
|
||||
</el-card>
|
||||
@@ -115,7 +124,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.once="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>
|
||||
@@ -176,6 +185,19 @@
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
|
||||
<el-select size="small" v-model="set_follow_status.product_type" placeholder="请选择">
|
||||
<el-option
|
||||
v-for="item in product_type_list"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-input size="small" v-model="set_follow_status.sell_money" style="width:10%" placeholder="输入金额"></el-input>
|
||||
<el-radio v-model="set_follow_status.sell_type" label="1">主动销售</el-radio>
|
||||
<el-radio v-model="set_follow_status.sell_type" label="0">被动销售</el-radio>
|
||||
|
||||
<el-input style="margin:5px 0" v-model="set_follow_status.remark" size="small" placeholder="请输入跟进记录"></el-input>
|
||||
<el-input
|
||||
class="mb10 input-layout"
|
||||
@@ -201,7 +223,10 @@
|
||||
<el-table :data="follow_status_list" border>
|
||||
<el-table-column prop="create_time" width="200" label="时间"></el-table-column>
|
||||
<el-table-column v-if="$local.isRoot()" width="100" prop="op_user" label="维护经理"></el-table-column>
|
||||
<el-table-column prop="druation" width="90" label="呼叫时长"></el-table-column>
|
||||
<!-- <el-table-column prop="druation" width="90" label="呼叫时长"></el-table-column> -->
|
||||
<el-table-column prop="product_type" label="产品类型"></el-table-column>
|
||||
<el-table-column prop="sell_money" label="销售金额"></el-table-column>
|
||||
<el-table-column prop="sell_type" label="销售类型"></el-table-column>
|
||||
<el-table-column label="跟进截图">
|
||||
<template slot-scope="scope">
|
||||
<el-link type="primary" v-if="scope.row.file" :href="scope.row.file" target="_blank"> {{scope.row.file}} 查看大图</el-link>
|
||||
@@ -341,7 +366,10 @@ export default {
|
||||
old_status: null,
|
||||
status: null,
|
||||
remark: null,
|
||||
file:null
|
||||
file:null,
|
||||
product_type:'other_order',
|
||||
sell_money:0,
|
||||
sell_type:'0'
|
||||
},
|
||||
userinfo_fall: false,
|
||||
phone_fall: false,
|
||||
@@ -371,16 +399,42 @@ export default {
|
||||
value: '选项1',
|
||||
label: '黄金糕'
|
||||
}],
|
||||
manager: 0,
|
||||
isroot:false
|
||||
manager: 0,
|
||||
isroot:false,
|
||||
product_type_list:[
|
||||
{
|
||||
value: 'other_order',
|
||||
label: '其他IP产品订单'
|
||||
},
|
||||
{
|
||||
value: 'mogu_order',
|
||||
label: '蘑菇IP订单'
|
||||
},
|
||||
{
|
||||
value: 'recharge',
|
||||
label: 'IP充值'
|
||||
},
|
||||
{
|
||||
value: 'http',
|
||||
label: 'HTTP充值'
|
||||
},
|
||||
{
|
||||
value: 'ros',
|
||||
label: '软路由订单'
|
||||
},
|
||||
{
|
||||
value: 'jinqiao',
|
||||
label: '金桥投屏订单'
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
created () {
|
||||
this.$store.commit('setCurrentNav', '用户管理>>消费统计')
|
||||
this.get()
|
||||
this.sell_detail_info()
|
||||
var currentUser = this.$local.getUserByCache()
|
||||
this.isroot = currentUser.Manager.IsRootUser
|
||||
this.get()
|
||||
this.sell_detail_info()
|
||||
if (this.isroot) {
|
||||
this.manager_list()
|
||||
}
|
||||
@@ -388,7 +442,8 @@ export default {
|
||||
methods: {
|
||||
sell_detail_info () {
|
||||
if (this.isroot) {
|
||||
this.$api.get(this.$api.phpURL + 'manager/SellInfo/getOne', {sell_month: this.sell_detail_month,manager_id: this.manager}).then(res => {
|
||||
this.$api.get(this.$api.phpURL + 'manager/SellInfo/getOneManager', {sell_month: this.sell_detail_month,manager_id: this.manager}).then(res => {
|
||||
// this.$api.get(this.$api.phpURL + 'manager/SellInfo/getOne', {sell_month: this.sell_detail_month,manager_id: this.manager}).then(res => {
|
||||
this.sell_detail = res.data
|
||||
})
|
||||
} else {
|
||||
@@ -488,6 +543,11 @@ export default {
|
||||
this.follow_status_change_fall = false
|
||||
this.follow_status_change_two = false
|
||||
this.set_follow_status.id = null
|
||||
if (res.Code == 30000) {
|
||||
this.$alert(res.msg, '警告', {
|
||||
confirmButtonText: '确定'
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
click_username (row) {
|
||||
|
||||
@@ -15,27 +15,30 @@
|
||||
<!-- <el-button type="primary" size="small" @click="searchTime()" plain>搜索</el-button> -->
|
||||
</div>
|
||||
<el-table :data="retData.Data" row-key="id" border size="medium" :height="$getHeight(100)">
|
||||
<el-table-column prop="create_time" label="创建时间" width="200"></el-table-column>
|
||||
<el-table-column prop="manager" label="负责人" width="100"></el-table-column>
|
||||
<el-table-column prop="create_time" label="创建时间" ></el-table-column>
|
||||
<el-table-column prop="manager" label="负责人"></el-table-column>
|
||||
<el-table-column label="用户" width="150">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_username(scope.row)">点击查看</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="follow_status" label="状态" width="200">
|
||||
<el-table-column prop="follow_status" label="状态">
|
||||
<template slot-scope="scope">
|
||||
<el-link @click="click_follow_status(scope.row)">{{scope.row.follow_status}}</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="record" label="维护记录" width="300"></el-table-column>
|
||||
<el-table-column prop="record" label="维护记录"></el-table-column>
|
||||
<el-table-column prop="product_type" label="产品类型"></el-table-column>
|
||||
<el-table-column prop="sell_money" label="销售金额"></el-table-column>
|
||||
<el-table-column prop="sell_type" label="销售类型"></el-table-column>
|
||||
|
||||
<el-table-column label="跟进截图">
|
||||
<template slot-scope="scope">
|
||||
<el-link type="primary" v-if="scope.row.file" :href="scope.row.file" target="_blank"> {{scope.row.file}} 查看大图</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="telstarttime" label="呼叫开始时间" width="200"></el-table-column>
|
||||
<el-table-column prop="druation" label="呼叫时长" width="100"></el-table-column>
|
||||
<!-- <el-table-column prop="telstarttime" label="呼叫开始时间"></el-table-column>
|
||||
<el-table-column prop="druation" label="呼叫时长" ></el-table-column> -->
|
||||
<el-table-column prop="remark" label="备注"></el-table-column>
|
||||
|
||||
</el-table>
|
||||
|
||||
Reference in New Issue
Block a user