Commit a1ad4e54 by 前端

Merge branch 'v2.12.0' of http://192.168.3.233:8090/glsx-web/glsx-oss-task into kyq_dev

2 parents e6d3e25d f657aa7b
......@@ -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
......
......@@ -5,21 +5,21 @@
<p>{{ item.missonTypeName }}</p>
<p>{{ item.missionName }}</p>
<p>{{ item.missonDesc }}</p>
<template
v-if=" item.platformMerchantMissionMaterialResponseList && item.platformMerchantMissionMaterialResponseList[0].materialType == '1'">
<p>{{ item.platformMerchantMissionMaterialResponseList[0].materialContent }}</p>
</template>
<template
v-if="item.platformMerchantMissionMaterialResponseList &&item.platformMerchantMissionMaterialResponseList[0].materialType == '2'">
<img :src='item.platformMerchantMissionMaterialResponseList[0].materialContent'>
</template>
<template
v-if="item.platformMerchantMissionMaterialResponseList &&item.platformMerchantMissionMaterialResponseList[0].materialType == '3'">
<video :src='item.platformMerchantMissionMaterialResponseList[0].materialContent' />
</template>
<template
v-if="item.platformMerchantMissionMaterialResponseList && item.platformMerchantMissionMaterialResponseList[0].materialType == '4'">
<p>{{ item.platformMerchantMissionMaterialResponseList[0].materialContent }}</p>
<template v-if='item.platformMerchantMissionMaterialResponseList && item.platformMerchantMissionMaterialResponseList.length'>
<div v-for='(sub,idx,) in item.platformMerchantMissionMaterialResponseList' :key='idx'>
<template v-if="sub.materialType == '1'">
<p>{{sub.materialContent}}</p>
</template>
<template v-if="sub.materialType == '2'">
<img class='displayImg' :src='sub.materialContent'>
</template>
<template v-if="sub.materialType == '3'">
<video class='displayImg' :src='sub.materialContent' />-->
</template>
<template v-if="sub.materialType == '4'">
<p>{{sub.materialContent}}</p>
</template>
</div>
</template>
<div class='taskAward'>
<div class='awardMode'>
......@@ -96,4 +96,8 @@ export default {
color: #409EFF;
cursor: pointer;
}
.displayImg{
width: 500px;
height: 300px;
}
</style>
......@@ -65,6 +65,11 @@ export default {
this.taskInfo = { businessSceneName, merchantName, activityName, crowdName, channelName }
this.hastaskInfo = Object.values(this.taskInfo).length > 0 ? 'true' : 'false'
this.taskSelect = copeWithRes
this.taskSelect.forEach(item => {
if (item.activityTime == '-1'){
item.activityTime = '完整周期'
}
})
this.taskSelectMap = JSON.parse(JSON.stringify(copeWithRes))
this.taskTime.activityTime = copeWithRes[0].activityTime
this.taskTime.missonTypeName = copeWithRes[0].platformMerchantMissionResponseList[0].missonTypeName
......
......@@ -20,7 +20,7 @@ export default {
data(){
return{
basicInfoList:[
{infoName:'业务场景:',infoVal:'businessScene'},
{infoName:'业务场景:',infoVal:'businessSceneName'},
{infoName:'商户:',infoVal:'merchantName'},
{infoName:'活动/产品:',infoVal:'activityName'},
{infoName:'任务指定人群:',infoVal:'crowdName'},
......
......@@ -2,7 +2,8 @@
<div class='taskPlan'>
<div class='headline'>任务计划</div>
<el-tabs v-model='activeName' type='card'>
<el-tab-pane v-for='(item,index) in taskPlanList' :key='index' :label='item.activityTime' :name='item.activityTime'>
<el-tab-pane v-for='(item,index) in taskPlanList' :key='index'
:label="item.activityTime =='-1'?'完整周期' : item.activityTime" :name='item.activityTime'>
<div class='taskInfo' v-for='(displayList,idx) in item.platformMerchantMissionResponseList' :key='idx'>
<p class='taskType'>{{ displayList.missonTypeName }}</p>
<p>{{ displayList.missionName }}</p>
......@@ -39,15 +40,18 @@ export default {
font-weight: 600;
padding-bottom: 20px;
}
.taskInfo{
.taskInfo {
border: 1px solid #E4E7ED;
padding-left: 20px;
margin-bottom: 16px;
}
.taskType{
.taskType {
font-weight: 600;
}
.taskScore{
.taskScore {
margin-top: 30px;
}
</style>
......@@ -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!