Commit 3adda9d6 by 杨北旺

sop编辑

1 parent a457fe13
......@@ -66,6 +66,17 @@ const getSopStaffTaskListApi = params => {
})
}
// 校验当前商户的企微群发任务情况
const getTaskStatusApi = params => {
params.method = 'scrm.api.sop.task.merchantWWMsgTaskStatusCheck'
return http({
url: 'rop-scrm-sop/router',
method: 'POST',
data: params,
sign: true
})
}
// sop营销事件次数分析
const parseEventCountApi = params => {
params.method = 'scrm.api.sop.sopEvent.parseEventCount'
......@@ -180,4 +191,4 @@ const getMomentListApi = params => {
})
}
export default { getCustomerByTagListApi, getSopInfoListApi, getSopBaseInfoApi, getEventListApi, getSopCustomerStatisticsListApi, getSopStaffTaskListApi, parseEventCountApi, deleteSopEventApi, endSopEventApi, batchEditSopEventApi, insertOrUpdateSopApi, getSopInfoDetailApi, getGroupListApi, getMaterialListApi, getMomentListApi }
export default { getCustomerByTagListApi, getSopInfoListApi, getSopBaseInfoApi, getEventListApi, getSopCustomerStatisticsListApi, getSopStaffTaskListApi, getTaskStatusApi, parseEventCountApi, deleteSopEventApi, endSopEventApi, batchEditSopEventApi, insertOrUpdateSopApi, getSopInfoDetailApi, getGroupListApi, getMaterialListApi, getMomentListApi }
......@@ -5,6 +5,11 @@
<div class="container m-b-20">
<p class="edit-title">{{ title }}</p>
<glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" :labelWidth="labelWidth" defaultWidth="320px" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="editFormData" :formRules="editRule">
<div slot="startDate">
<div v-show="editForm.eventList.length">{{ editForm.startDate }}
<span v-show="editForm.endDate">- {{ editForm.endDate }}</span>
</div>
</div>
<div slot="customerInfoList" slot-scope="scope">
<div v-if="!scope.scope.isDisabled">
<el-button class="default-blue-btn" :size="size" @click="handleSelectCustomer">选择客户</el-button>
......@@ -95,7 +100,9 @@ export default {
tagging: [],
editForm: {
sopName: '',
sopTime: '2022-01-01',
// sopTime: '2022-01-01',
startDate: '',
endDate: '',
// tagging: [],
customerInfoList: [],
customerIds: [],
......@@ -117,8 +124,8 @@ export default {
},
{
label: '营销时间',
name: 'sopTime',
type: 'showTxt'
name: 'startDate',
addHtml: 'startDate'
},
{
label: '营销对象',
......
......@@ -10,7 +10,7 @@
<el-tab-pane label="多图文" name="2"></el-tab-pane>
<el-tab-pane label="文字+视频" name="3"></el-tab-pane>
<el-tab-pane label="文字" name="0"></el-tab-pane>
<el-tab-pane label="链接+文" name="4"></el-tab-pane>
<!-- <el-tab-pane label="文字+链接" name="4"></el-tab-pane> -->
</el-tabs>
</div>
<div class="model-item-panel" v-if="modelList.length > 0" v-loading="loading">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!