Commit 556531ff authored by 黄奎's avatar 黄奎

页面修改

parent d1c2656f
...@@ -150,7 +150,6 @@ ...@@ -150,7 +150,6 @@
methods: { methods: {
//兑换奖品 //兑换奖品
exchangeKudo(item) { exchangeKudo(item) {
console.log(item,"item");
var postMsg = { var postMsg = {
Id:item.Id, Id:item.Id,
CustomerId: item.CustomerId, CustomerId: item.CustomerId,
...@@ -173,10 +172,12 @@ ...@@ -173,10 +172,12 @@
}) })
}, },
goToDetail(item) { goToDetail(item) {
console.log("item",item)
this.OpenNewUrl('/sale/finishTaskDetails', { this.OpenNewUrl('/sale/finishTaskDetails', {
TaskId: item.TaskId, TaskId: item.TaskId,
DetailsId: item.DetailsId, DetailsId: item.DetailsId,
CustomerId: item.CustomerId CustomerId: item.CustomerId,
FinishId:item.Id
}) })
}, },
resetSearch() { resetSearch() {
......
...@@ -16,20 +16,8 @@ ...@@ -16,20 +16,8 @@
<div class="page-option"> <div class="page-option">
</div> </div>
</template> </template>
<template v-slot:body-cell-ExchangeNum="props">
<q-td>
<template v-if="props.row.FinishType==1">
{{props.row.ExchangeNum}}
</template>
</q-td>
</template>
<template v-slot:body-cell-ExchangeMoney="props">
<q-td>
<template v-if="props.row.FinishType==2">
{{props.row.ExchangeMoney}}
</template>
</q-td>
</template>
<template v-slot:bottom> <template v-slot:bottom>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount" <q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" /> :input="true" @input="changePage" />
...@@ -70,18 +58,7 @@ ...@@ -70,18 +58,7 @@
field: 'FinishValue', field: 'FinishValue',
align: 'left', align: 'left',
}, },
{
name: 'ExchangeNum',
label: '使用人数',
align: "left",
field: 'ExchangeNum',
},
{
name: 'ExchangeMoney',
label: '使用金额',
align: "left",
field: 'ExchangeMoney',
},
], ],
dataList: [], dataList: [],
loading: true, loading: true,
...@@ -92,6 +69,7 @@ ...@@ -92,6 +69,7 @@
TaskId: "", //任务编号 TaskId: "", //任务编号
DetailsId: "", //任务详情编号 DetailsId: "", //任务详情编号
CustomerId: "", //客户编号 CustomerId: "", //客户编号
FinishId: "", //完成任务编号
}, },
pageCount: 0, pageCount: 0,
} }
...@@ -106,6 +84,9 @@ ...@@ -106,6 +84,9 @@
if (this.$route.query.CustomerId) { if (this.$route.query.CustomerId) {
this.msg.CustomerId = this.$route.query.CustomerId; this.msg.CustomerId = this.$route.query.CustomerId;
} }
if (this.$route.query.FinishId) {
this.msg.FinishId = this.$route.query.FinishId;
}
}, },
mounted() { mounted() {
this.getList() this.getList()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment