Commit 3c88d8bc by xuyl

优化

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