Commit 10cbe928 by 前端

更新3.3.1

1 parent 2448320b
...@@ -4,18 +4,6 @@ ...@@ -4,18 +4,6 @@
<div class="sop-base-info"> <div class="sop-base-info">
<div class="container m-b-20"> <div class="container m-b-20">
<p class="edit-title">{{ title }}</p> <p class="edit-title">{{ title }}</p>
<!-- <div v-if="this.routeInfo.addOrEdit =='look'">-->
<!-- <div class="marketing form-sub-block r">-->
<!-- <div class="flex-default">-->
<!-- <p>SOP名称:{{ editForm.sopName }}</p>-->
<!-- <p>营销时间:{{ editForm.startDate }}-{{ editForm.endDate }}</p>-->
<!-- </div>-->
<!-- <div>营销对象:</div>-->
<!-- <div>-->
<!-- 更新人群:{{ editForm.customerOptUpdate == '2' ? '自动更新' : editForm.customerOptUpdate == '1' ? '从不更新' : '' }}-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<div> <div>
<glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit" <glsx-combi-form class="edit-form-container m-r-20" ref="editFormRef" :isEdit="isEdit"
:labelWidth="labelWidth" :labelWidth="labelWidth"
...@@ -1224,7 +1212,6 @@ export default { ...@@ -1224,7 +1212,6 @@ export default {
} }
}) })
} else { } else {
console.log(params.eventList)
params.eventList = JSON.stringify(params.eventList) params.eventList = JSON.stringify(params.eventList)
// 新增事件或者事件未开始,调这里 // 新增事件或者事件未开始,调这里
this.$apis.sop.insertOrUpdateSopApi(params).then(res => { this.$apis.sop.insertOrUpdateSopApi(params).then(res => {
...@@ -1232,10 +1219,10 @@ export default { ...@@ -1232,10 +1219,10 @@ export default {
message: res.code == '0' ? '操作成功' : res.message, message: res.code == '0' ? '操作成功' : res.message,
type: res.code == '0' ? 'success' : 'error' type: res.code == '0' ? 'success' : 'error'
}) })
// this.$tracker.track(Object.assign({}, {pageName: '营销SOP', name: '创建sop事件', params})) this.$tracker.track(Object.assign({}, {pageName: '营销SOP', name: '创建sop事件', params}))
// if (res.code == '0') { if (res.code == '0') {
// this.cancelJump() this.cancelJump()
// } }
}) })
} }
} }
......
...@@ -610,7 +610,9 @@ export default { ...@@ -610,7 +610,9 @@ export default {
val.forEach(item => { val.forEach(item => {
if ([2, 3].includes(item.attType)) { if ([2, 3].includes(item.attType)) {
this.editFormDataChannel[0].optionList[1].isDisabled = true this.editFormDataChannel[0].optionList[1].isDisabled = true
if (this.editForm.pushChannelType == 2){
this.editForm.pushChannelType = '' this.editForm.pushChannelType = ''
}
} else { } else {
this.editFormDataChannel[0].optionList[1].isDisabled = false this.editFormDataChannel[0].optionList[1].isDisabled = false
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!