Commit 3adda9d6 by 杨北旺

sop编辑

1 parent a457fe13
...@@ -66,6 +66,17 @@ const getSopStaffTaskListApi = params => { ...@@ -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营销事件次数分析 // sop营销事件次数分析
const parseEventCountApi = params => { const parseEventCountApi = params => {
params.method = 'scrm.api.sop.sopEvent.parseEventCount' params.method = 'scrm.api.sop.sopEvent.parseEventCount'
...@@ -180,4 +191,4 @@ const getMomentListApi = params => { ...@@ -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 @@ ...@@ -5,6 +5,11 @@
<div class="container m-b-20"> <div class="container m-b-20">
<p class="edit-title">{{ title }}</p> <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"> <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 slot="customerInfoList" slot-scope="scope">
<div v-if="!scope.scope.isDisabled"> <div v-if="!scope.scope.isDisabled">
<el-button class="default-blue-btn" :size="size" @click="handleSelectCustomer">选择客户</el-button> <el-button class="default-blue-btn" :size="size" @click="handleSelectCustomer">选择客户</el-button>
...@@ -95,7 +100,9 @@ export default { ...@@ -95,7 +100,9 @@ export default {
tagging: [], tagging: [],
editForm: { editForm: {
sopName: '', sopName: '',
sopTime: '2022-01-01', // sopTime: '2022-01-01',
startDate: '',
endDate: '',
// tagging: [], // tagging: [],
customerInfoList: [], customerInfoList: [],
customerIds: [], customerIds: [],
...@@ -117,8 +124,8 @@ export default { ...@@ -117,8 +124,8 @@ export default {
}, },
{ {
label: '营销时间', label: '营销时间',
name: 'sopTime', name: 'startDate',
type: 'showTxt' addHtml: 'startDate'
}, },
{ {
label: '营销对象', label: '营销对象',
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<el-tab-pane label="多图文" name="2"></el-tab-pane> <el-tab-pane label="多图文" name="2"></el-tab-pane>
<el-tab-pane label="文字+视频" name="3"></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="0"></el-tab-pane>
<el-tab-pane label="链接+文" name="4"></el-tab-pane> <!-- <el-tab-pane label="文字+链接" name="4"></el-tab-pane> -->
</el-tabs> </el-tabs>
</div> </div>
<div class="model-item-panel" v-if="modelList.length > 0" v-loading="loading"> <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!