Commit efe110d1 by 前端

修改

1 parent 25132942
......@@ -58,10 +58,10 @@
placeholder="请选择任务指定人群"
size="small"
>
<el-option label="1.0新车权益销售" value="0"></el-option>
<el-option label="1.1次新车精品升级" value="1"></el-option>
<el-option label="1.2次新车线上转化" value="2"></el-option>
<el-option label="1.3存量用户众筹" value="3"></el-option>
<el-option label="1.0 新车权益升级" value="0"></el-option>
<el-option label="1.1 新车精品升级" value="1"></el-option>
<el-option label="1.2 次新车膨胀金活动" value="2"></el-option>
<el-option label="1.3 售后直播众筹活动" value="3"></el-option>
</el-select>
</el-form-item>
<el-form-item label="发放渠道:" prop="channel">
......@@ -236,7 +236,7 @@
</el-radio-group>
</el-form-item>
<el-form-item
v-if="itm.missonType && itm.missonType != 1"
v-if="itm.rewardType == 2"
label="最低指标:"
:prop="'missionList.' + index1 + '.minTriggerValue'"
:rules="taskFormRules.minTriggerValue"
......@@ -788,12 +788,6 @@ export default {
// 任务类型=浏览、访客、成单时,默认添加活动专属链接
if (taskItem.missonType != 1 && taskItem.missonType != 2) {
taskItem.linkStatus = true
// this.$set(taskItem, 'missionMaterialList', [
// {
// materialType: 4,
// materialContent: '#活动专属链接#',
// },
// ])
} else {
taskItem.linkStatus = false
}
......@@ -804,7 +798,6 @@ export default {
)
if (box) {
var editName = 'missionList' + task.taskid + 'welcome'
console.log(this.$refs[editName])
this.$refs[editName][0].resetItem()
}
})
......@@ -824,7 +817,6 @@ export default {
},
shareMatrial(val) {
this.shareEditor = val
// this.getEditor()
},
// 删除任务
delTask(dateTask, dateTaskIndex, task, taskIndex) {
......@@ -996,6 +988,11 @@ export default {
if (itm.repeatCount || itm.repeatFlag) {
itm.repeatCount = itm.repeatCount ? itm.repeatCount : -1
}
// 最低指标处理
if (itm.rewardType == 1 && !itm.minTriggerValue) {
itm.minTriggerValue = 1
}
// 自定义uuid删除
delete itm.id
})
})
......@@ -1078,7 +1075,7 @@ export default {
}
)
},
// 取消s
// 取消
cancelSubmit() {
this.$root.to([
'任务中心',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!