|
@@ -21,12 +21,22 @@
|
|
|
<el-table-column label="用户昵称" prop="nickName" min-width="80" />
|
|
|
<el-table-column label="抽奖码" prop="code" min-width="80" />
|
|
|
<el-table-column label="抽奖码获取时间" prop="createdTime" min-width="85">
|
|
|
- <template slot-scope="row">
|
|
|
- <div>{{ parseTime(row.createdTime) }}</div>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>{{ parseTime(scope.row.createdTime) }}</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="奖级" prop="awardsName" min-width="50" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div v-if="scope.row.prizeName != ''">{{ scope.row.awardsName }}</div>
|
|
|
+ <div v-else> -- </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="奖品名称" prop="prizeName" min-width="85" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div v-if="scope.row.prizeName != ''">{{ scope.row.prizeName }}</div>
|
|
|
+ <div v-else> -- </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="奖级" prop="awardsName" min-width="50" />
|
|
|
- <el-table-column label="奖品名称" prop="prizeName" min-width="85" />
|
|
|
</el-table>
|
|
|
<pagination
|
|
|
v-show="marketingTotal > 0"
|
|
@@ -77,7 +87,6 @@ export default {
|
|
|
getMarketingData() {
|
|
|
this.loading = true;
|
|
|
getMarketingData(this.ids.id ).then((res) => {
|
|
|
- console.log(res.rows)
|
|
|
this.marketingList = res.rows
|
|
|
this.marketingTotal = res.total;
|
|
|
this.loading = false;
|