Commit 9b61632f by 前端

Merge branch 'xuyl_dev_v2.12.0' into 'v2.12.0'

优化

See merge request !17
2 parents 69403a52 3c88d8bc
...@@ -86,7 +86,10 @@ export default { ...@@ -86,7 +86,10 @@ export default {
mixins:[nearlyAMonth], mixins:[nearlyAMonth],
data() { data() {
return { return {
profitSearchForm: {}, profitSearchForm: {
businessScene:'',
channel:''
},
} }
}, },
methods: { methods: {
......
...@@ -822,7 +822,6 @@ export default { ...@@ -822,7 +822,6 @@ export default {
'任务模板管理', '任务模板管理',
'任务管理列表', '任务管理列表',
]) ])
this.$root.close('*添加任务模板')
} }
}) })
return return
...@@ -830,6 +829,7 @@ export default { ...@@ -830,6 +829,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 +837,12 @@ export default { ...@@ -837,12 +837,12 @@ export default {
'任务模板管理', '任务模板管理',
'任务管理列表', '任务管理列表',
]) ])
this.$root.close('*添加任务模板')
} }
}) })
}, },
// 取消 // 取消
cancelSubmit() { cancelSubmit() {
this.$root.close('*添加任务模板')
this.$root.to([ this.$root.to([
'任务中心', '任务中心',
'任务平台', '任务平台',
...@@ -850,7 +850,6 @@ export default { ...@@ -850,7 +850,6 @@ export default {
'任务模板管理', '任务模板管理',
'任务管理列表', '任务管理列表',
]) ])
this.$root.close('*添加任务模板')
}, },
}, },
} }
......
...@@ -38,8 +38,8 @@ export default { ...@@ -38,8 +38,8 @@ export default {
}, },
primaryInfo(id) { primaryInfo(id) {
taskManagementApi.findMissionDeail({ id }).then(res => { taskManagementApi.findMissionDeail({ id }).then(res => {
let { businessScene, merchantName, activityName, crowdName, channelName, remark } = res.data let { businessSceneName, merchantName, activityName, crowdName, channelName, remark } = res.data
this.basicInfo = { businessScene, merchantName, activityName, crowdName, channelName, remark } this.basicInfo = { businessSceneName, merchantName, activityName, crowdName, channelName, remark }
this.hasbasicInfo = Object.values(this.basicInfo).length > 0 ? 'true' : 'false' this.hasbasicInfo = Object.values(this.basicInfo).length > 0 ? 'true' : 'false'
this.taskPlanList = res.data.platformMerchantMissionDateResponseList this.taskPlanList = res.data.platformMerchantMissionDateResponseList
......
...@@ -71,7 +71,9 @@ export default { ...@@ -71,7 +71,9 @@ export default {
mixins: [nearlyAMonth], mixins: [nearlyAMonth],
data() { data() {
return { return {
withdrawalSearchForm: {} withdrawalSearchForm: {
status:''
}
} }
}, },
created() { created() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!