Commit e6d3e25d by 前端

高度调整

1 parent 31320453
...@@ -307,7 +307,7 @@ export default { ...@@ -307,7 +307,7 @@ export default {
merchantName: '', merchantName: '',
activityId: '', activityId: '',
activityName: '', activityName: '',
crowd: ['4'], crowd: ['3'],
channel: 1, channel: 1,
remark: '', remark: '',
}, },
...@@ -457,7 +457,7 @@ export default { ...@@ -457,7 +457,7 @@ export default {
}, },
mounted() { mounted() {
this.$root.eventBus.$on('params', (params) => { this.$root.eventBus.$on('params', (params) => {
console.log(params) console.log(params, '000')
// 判断是否是编辑 // 判断是否是编辑
if (params && params.type) { if (params && params.type) {
this.isEditor = true this.isEditor = true
...@@ -822,7 +822,7 @@ export default { ...@@ -822,7 +822,7 @@ export default {
'任务模板管理', '任务模板管理',
'任务管理列表', '任务管理列表',
]) ])
this.$root.close('*添加任务模板') // this.$root.close('*添加任务模板')
} }
}) })
return return
...@@ -830,6 +830,7 @@ export default { ...@@ -830,6 +830,7 @@ export default {
// 编辑 // 编辑
taskApi.updateMission(params).then((res) => { taskApi.updateMission(params).then((res) => {
if (res && res.code == 0) { if (res && res.code == 0) {
this.$root.close('*添加任务模板')
this.$root.to([ this.$root.to([
'任务中心', '任务中心',
'任务平台', '任务平台',
...@@ -837,12 +838,12 @@ export default { ...@@ -837,12 +838,12 @@ export default {
'任务模板管理', '任务模板管理',
'任务管理列表', '任务管理列表',
]) ])
this.$root.close('*添加任务模板')
} }
}) })
}, },
// 取消 // 取消
cancelSubmit() { cancelSubmit() {
this.$root.close('*添加任务模板')
this.$root.to([ this.$root.to([
'任务中心', '任务中心',
'任务平台', '任务平台',
...@@ -850,7 +851,6 @@ export default { ...@@ -850,7 +851,6 @@ export default {
'任务模板管理', '任务模板管理',
'任务管理列表', '任务管理列表',
]) ])
this.$root.close('*添加任务模板')
}, },
}, },
} }
...@@ -860,7 +860,7 @@ export default { ...@@ -860,7 +860,7 @@ export default {
.task-box { .task-box {
padding: 0 20px; padding: 0 20px;
.task-content { .task-content {
margin-bottom: 60px; margin-bottom: 120px;
} }
} }
.task-title { .task-title {
......
...@@ -258,18 +258,6 @@ export default { ...@@ -258,18 +258,6 @@ export default {
this.$refs.taskTable.refreshTable() this.$refs.taskTable.refreshTable()
}) })
}, },
handleObserve() {
this.$root.to(
['任务中心', '任务平台', '任务管理', '任务模板管理', '*查看任务'],
{ taskId: scope.id }
)
},
handleAnalyse() {
this.$root.to(
['任务中心', '任务平台', '任务管理', '任务模板管理', '*任务分析'],
{ taskId: scope.id }
)
},
// 编辑 // 编辑
handleEdit(item, type) { handleEdit(item, type) {
this.status = true this.status = true
...@@ -317,7 +305,7 @@ export default { ...@@ -317,7 +305,7 @@ export default {
['任务中心', '任务平台', '任务管理', '任务模板管理', '*添加任务模板'], ['任务中心', '任务平台', '任务管理', '任务模板管理', '*添加任务模板'],
scope scope
) )
this.$root.close('任务模板管理列表') this.$root.close('任务管理列表')
}, },
// 跳转查看详情 // 跳转查看详情
handleViewDetail(scope) { handleViewDetail(scope) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!