维护客户基本完善---样式

This commit is contained in:
wanyongkang
2020-11-26 17:23:54 +08:00
parent bc08763843
commit eb9fd0b629

View File

@@ -149,7 +149,7 @@
<el-dialog <el-dialog
title="修改跟进状态" title="修改跟进状态"
:visible.sync="follow_status_change_fall" :visible.sync="follow_status_change_fall"
width="30%"> width="50%">
<el-select size="small" v-model="set_follow_status.status" placeholder="请选择"> <el-select size="small" v-model="set_follow_status.status" placeholder="请选择">
<el-option <el-option
v-for="item in types" v-for="item in types"
@@ -160,9 +160,10 @@
</el-select> </el-select>
<el-input style="margin:5px 0" v-model="set_follow_status.remark" size="small" placeholder="请输入备注"></el-input> <el-input style="margin:5px 0" v-model="set_follow_status.remark" size="small" placeholder="请输入备注"></el-input>
<el-table :data="follow_status_list" border> <el-table :data="follow_status_list" border>
<el-table-column prop="create_time" label="时间"></el-table-column>
<el-table-column v-if="$local.isRoot()" prop="op_user" label="维护经理"></el-table-column>
<el-table-column prop="record" width="230" label="跟进记录"></el-table-column> <el-table-column prop="record" width="230" label="跟进记录"></el-table-column>
<el-table-column prop="remark" label="备注"></el-table-column> <el-table-column prop="remark" label="备注"></el-table-column>
<el-table-column prop="create_time" label="时间"></el-table-column>
</el-table> </el-table>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="follow_status_change_fall = false"> </el-button> <el-button @click="follow_status_change_fall = false"> </el-button>
@@ -185,16 +186,15 @@
title="消费记录" title="消费记录"
:visible.sync="cost_fall" :visible.sync="cost_fall"
v-loading="cost_loading" v-loading="cost_loading"
width="50%"> width="70%">
<el-table height="500px" :data="cost_list" border> <el-table height="500px" :data="cost_list" border>
<el-table-column prop="UpdateTime" label="时间"></el-table-column>
<el-table-column prop="ProductName" label="产品"></el-table-column> <el-table-column prop="ProductName" label="产品"></el-table-column>
<el-table-column prop="PackageName" label="套餐"></el-table-column> <el-table-column prop="PackageName" label="套餐"></el-table-column>
<el-table-column prop="OrderNo" label="订单"></el-table-column>
<el-table-column prop="OrderType" label="类型"></el-table-column> <el-table-column prop="OrderType" label="类型"></el-table-column>
<el-table-column prop="Accounts" label="帐号"></el-table-column>
<el-table-column prop="ConnectCount" label="连接数"></el-table-column> <el-table-column prop="ConnectCount" label="连接数"></el-table-column>
<el-table-column prop="PaymentAmount" label="支付金额"></el-table-column> <el-table-column prop="Accounts" show-overflow-tooltip="true" label="帐号"></el-table-column>
<el-table-column prop="UpdateTime" label="时间"></el-table-column> <el-table-column prop="PaymentAmount" label="实付金额"></el-table-column>
</el-table> </el-table>
</el-dialog> </el-dialog>
@@ -276,7 +276,8 @@ export default {
label: '本月消费' label: '本月消费'
}], }],
sell_detail: {}, sell_detail: {},
sell_detail_month: null sell_detail_month: null,
temps: null
} }
}, },
created () { created () {
@@ -333,6 +334,7 @@ export default {
}) })
}, },
click_follow_status (row) { click_follow_status (row) {
this.temps = row
this.clickOk = false this.clickOk = false
this.follow_status_change_fall = true this.follow_status_change_fall = true
this.set_follow_status.status = row.follow_status this.set_follow_status.status = row.follow_status
@@ -350,6 +352,7 @@ export default {
}) })
return return
} }
this.temps.follow_status = this.setStatus(this.set_follow_status.status)
this.clickOk = true this.clickOk = true
this.$api.post(this.$api.phpURL + 'manager/UserFollow/changeFolowStatus', {data: this.set_follow_status}).then(res => { this.$api.post(this.$api.phpURL + 'manager/UserFollow/changeFolowStatus', {data: this.set_follow_status}).then(res => {
this.follow_status_change_fall = false this.follow_status_change_fall = false
@@ -377,6 +380,43 @@ export default {
this.account_loading = false this.account_loading = false
}) })
}, },
setStatus (status) {
switch (status) {
case 1:
return '待跟进-未购买'
case 2:
return '跟进超时-未购买'
case 3:
return '待跟进-消费减少'
case 4:
return '跟进超时-消费减少'
case 5:
return '流失-需求减少'
case 6:
return '流失-暂时不用'
case 7:
return '流失-价格问题'
case 8:
return '流失-产品问题'
case 9:
return '流失-也可自定义'
case 10:
return '高意向客户'
case 11:
return '已完成'
}
},
dataExport () { dataExport () {
this.$api.getDownloadFile('/course/v1/order/ExportUserConsumeStatistics', this.searchModel) this.$api.getDownloadFile('/course/v1/order/ExportUserConsumeStatistics', this.searchModel)
} }