Commit a94ca9cf by 前端

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

修复查看任务和任务分析展示问题

See merge request !23
2 parents 831564f1 19b3d91f
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<img class='displayImg' :src='sub.materialContent'> <img class='displayImg' :src='sub.materialContent'>
</template> </template>
<template v-if="sub.materialType == '3'"> <template v-if="sub.materialType == '3'">
<video class='displayImg' :src='sub.materialContent' />--> <video class='displayImg' :src='sub.materialContent' />
</template> </template>
<template v-if="sub.materialType == '4'"> <template v-if="sub.materialType == '4'">
<p>{{sub.materialContent}}</p> <p>{{sub.materialContent}}</p>
...@@ -22,13 +22,14 @@ ...@@ -22,13 +22,14 @@
</div> </div>
</template> </template>
<div class='taskAward'> <div class='taskAward'>
<div class='awardMode'> <div class='showInfoForm'>
<p>奖励模式:{{ item.rewardTypeName }}</p> <span v-if='item.rewardTypeName'>奖励模式:{{ item.rewardTypeName }}</span>
<p>触发值:{{ item.triggerValue }}</p> <span v-if='item.rewardCountName'>奖励次数:{{ item.rewardCountName }}</span>
</div> <span v-if="item.rewardCountName == '重复累计'">
<div> 重复次数:{{ item.repeatCount }}
<p>奖励次数:{{ item.rewardCount == 1 ? '单次' : '重复累计' }}</p> </span>
<p>奖励积分值:{{ item.rewardScore }}</p> <span v-if='item.triggerValue'>触发值:{{ item.triggerValue }}</span>
<span v-if='item.rewardScore'>奖励积分值:{{ item.rewardScore }}</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -88,10 +89,17 @@ export default { ...@@ -88,10 +89,17 @@ export default {
justify-content: space-between; justify-content: space-between;
} }
.awardMode {
padding-right: 20px; .showInfoForm {
margin-top: 10px;
width: 500px;
} }
.showInfoForm > span {
display: inline-block;
padding-bottom: 8px;
width: 50%;
}
.copyLine { .copyLine {
color: #409EFF; color: #409EFF;
cursor: pointer; cursor: pointer;
......
...@@ -7,8 +7,34 @@ ...@@ -7,8 +7,34 @@
<div class='taskInfo' v-for='(displayList,idx) in item.platformMerchantMissionResponseList' :key='idx'> <div class='taskInfo' v-for='(displayList,idx) in item.platformMerchantMissionResponseList' :key='idx'>
<p class='taskType'>{{ displayList.missonTypeName }}</p> <p class='taskType'>{{ displayList.missonTypeName }}</p>
<p>{{ displayList.missionName }}</p> <p>{{ displayList.missionName }}</p>
<p>{{ displayList.missionDesc }}</p> <p>{{ displayList.missonDesc }}</p>
<p class='taskScore'>奖励积分值:{{ displayList.rewardScore }}</p>
<template
v-if='displayList.platformMerchantMissionMaterialResponseList && displayList.platformMerchantMissionMaterialResponseList.length'>
<div v-for='(sub,idx,) in displayList.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='showInfoForm'>
<span v-if='displayList.rewardTypeName'>奖励模式:{{ displayList.rewardTypeName }}</span>
<span v-if='displayList.rewardCountName'>奖励次数:{{ displayList.rewardCountName }}</span>
<span v-if="displayList.rewardCountName == '重复累计'">
重复次数:{{ displayList.repeatCount }}
</span>
<span v-if='displayList.triggerValue'>触发值:{{ displayList.triggerValue }}</span>
<span v-if='displayList.rewardScore'>奖励积分值:{{ displayList.rewardScore }}</span>
</div>
</div> </div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
...@@ -44,6 +70,7 @@ export default { ...@@ -44,6 +70,7 @@ export default {
.taskInfo { .taskInfo {
border: 1px solid #E4E7ED; border: 1px solid #E4E7ED;
padding-left: 20px; padding-left: 20px;
padding-right: 20px;
margin-bottom: 16px; margin-bottom: 16px;
} }
...@@ -51,7 +78,19 @@ export default { ...@@ -51,7 +78,19 @@ export default {
font-weight: 600; font-weight: 600;
} }
.taskScore { .displayImg {
margin-top: 30px; width: 500px;
height: 300px
}
.showInfoForm {
margin-top: 10px;
width: 500px;
}
.showInfoForm > span {
display: inline-block;
padding-bottom: 8px;
width: 50%;
} }
</style> </style>
...@@ -29,7 +29,8 @@ ...@@ -29,7 +29,8 @@
<p>累计提现金额:{{ collectionCash.totalAmount }};</p> <p>累计提现金额:{{ collectionCash.totalAmount }};</p>
<p>待审核:{{ collectionCash.reviewingAmount }};</p> <p>待审核:{{ collectionCash.reviewingAmount }};</p>
<p>到账中:{{ collectionCash.receivingAmount }};</p> <p>到账中:{{ collectionCash.receivingAmount }};</p>
<p>已到账:{{ collectionCash.receivedAmount }}</p> <p>已到账:{{ collectionCash.receivedAmount }};</p>
<p>到账失败:{{ collectionCash.failureAmount }}</p>
</div> </div>
<WithdrawalTable ref='table' :searchForm='searchForm' @sendCollection='getCollection' /> <WithdrawalTable ref='table' :searchForm='searchForm' @sendCollection='getCollection' />
<WithdrawalDialog :textTooltip='textTooltip' :auditId='auditId' ref='dialogRef' /> <WithdrawalDialog :textTooltip='textTooltip' :auditId='auditId' ref='dialogRef' />
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!