Commit a3b2702e by chenwq

sop,跟进员工

1 parent 2e9d616b
......@@ -119,7 +119,7 @@ const getCrowdTreeListApi = params => {
// 跟进员工类型
const getStaffTypeListApi = params => {
params.method = 'entmicro.api.staff.findStaffByMerchantId'
params.method = 'entmicro.api.staff.listEntBusinessType'
return http({
url: '/rop-scrm-entmicro/router',
method: 'POST',
......
......@@ -4,7 +4,6 @@ const defaultPath = 'scrm.api.coupon.'
//优惠券列表
const getCouponListApi = params => {
// params.method = `${defaultPath}list.merchant`
params.method = 'scrm.backstage.coupon.list.merchant'
return http({
url: 'rop-scrm-coupon/router',
......
......@@ -173,7 +173,7 @@ export default {
eventContent: [{ required: true, message: '请输入营销内容', trigger: 'change' }],
repeatFlag: [{ required: true, message: '请选择是否重复', trigger: 'change' }],
pushChannelType: [{ required: true, message: '请选择营销渠道', trigger: 'change' }],
// followerTypeId: [{ required: true, message: '请选择跟进员工类型', trigger: 'change' }],
followerTypeId: [{ required: true, message: '请选择跟进员工类型', trigger: 'change' }],
reachesType: [{ required: true, message: '请选择参与次数', trigger: 'change' }],
reachesTypeSet: [{ required: true, message: '请输入参与次数', trigger: 'change' }]
},
......@@ -341,8 +341,8 @@ export default {
tips: '系统优先按照跟进员工类型匹配营销对象的跟进员工',
type: 'select',
optionList: [],
optionId: 'userOneid',
optionLabel: 'staffName',
optionId: 'id',
optionLabel: 'businessName',
optionsName: 'staffTypeList'
},
{
......@@ -480,7 +480,7 @@ export default {
},
getStaffTypeList() {
this.$apis.common.getStaffTypeListApi({}).then(res => {
this.$apis.common.getStaffTypeListApi({ flag: 0 }).then(res => {
this.baseData.staffTypeList = res
this.getOptionsList('editFormDataChannel', false, 'followerTypeId')
})
......
......@@ -47,8 +47,13 @@
<!-- 表格区域 开始 -->
<GLTable ref="completeListRef" :getListApi="getListApi" :noDataImg="url" :searchForm="searchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<template slot="finishEventCount" slot-scope="scope">
<el-popover placement="bottom-end" width="200" trigger="click" content="因企微、短信等限制无法正常执行的事件">
<span class="cursor-pointer" slot="reference">{{ scope.scope.eventStatistics ? scope.scope.eventStatistics.finishEventCount : '-' }}</span>
</el-popover>
</template>
<template slot="failEventCount" slot-scope="scope">
<el-popover placement="bottom-end" width="200" trigger="hover" content="因企微、短信等限制无法正常执行的事件">
<el-popover placement="bottom-end" width="200" trigger="click" content="因企微、短信等限制无法正常执行的事件">
<span class="cursor-pointer" slot="reference">{{ scope.scope.eventStatistics ? scope.scope.eventStatistics.failEventCount : '-' }}</span>
</el-popover>
</template>
......@@ -129,20 +134,18 @@ export default {
},
{
label: '已完成事件数',
prop: 'eventStatistics',
prop: 'finishEventCount',
width: '140',
formatter: cellValue => {
return cellValue.eventStatistics ? cellValue.eventStatistics.finishEventCount : '-'
}
addHtml: 'finishEventCount'
// formatter: cellValue => {
// return cellValue.eventStatistics ? cellValue.eventStatistics.finishEventCount : '-'
// }
},
{
label: '失败事件数',
prop: 'failEventCount',
width: '140',
addHtml: 'failEventCount'
// formatter: cellValue => {
// return cellValue.eventStatistics ? cellValue.eventStatistics.finishEventCount : '-'
// }
}
]
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!