Commit e641b803 e641b803350c7047501ce570fd1f323b35e07364 by 官美宏

爱奇艺小卡table宽度调整

1 parent 7f20cf2b
......@@ -50,16 +50,16 @@
:max-height="tableHeight"
:data="smallSellList"
>
<el-table-column label="ID" width="125px" prop="id" />
<el-table-column label="vip类型" width="125px" prop="vipType">
<el-table-column label="ID" width="50px" prop="id" />
<el-table-column label="vip类型" width="80px" prop="vipType">
<template slot-scope="scope">
<span v-if="Number(scope.row.vipType) === 1">爱奇艺包月</span>
<span v-if="Number(scope.row.vipType) === 4">爱奇艺包年</span>
</template>
</el-table-column>
<el-table-column label="卡号" width="125px" prop="cardNum" />
<el-table-column label="卡密" width="125px" prop="cardKey" />
<el-table-column label="vip类型" width="125px" prop="status">
<el-table-column label="卡号" width="70px" prop="cardNum" />
<el-table-column label="卡密" width="250px" prop="cardKey" />
<el-table-column label="vip类型" width="80px" prop="status">
<template slot-scope="scope">
<span v-if="Number(scope.row.status) === 0">未兑换</span>
<span v-if="Number(scope.row.status) === 1">已兑换</span>
......@@ -67,14 +67,14 @@
<span v-if="Number(scope.row.status) === 3">已失效</span>
</template>
</el-table-column>
<el-table-column label="地区" width="125px" prop="region" />
<el-table-column label="渠道" width="125px" prop="channel" />
<el-table-column label="批次" width="125px" prop="batch" />
<el-table-column label="产品id" width="125px" prop="productId" />
<el-table-column label="产品" width="125px" prop="productName" />
<el-table-column label="大屏账号" width="125px" prop="account" />
<el-table-column label="订单号" width="125px" prop="bossOrderNo" />
<el-table-column label="备注" width="125px" prop="remark" />
<el-table-column label="地区" show-overflow-tooltip prop="region" />
<el-table-column label="渠道" width="80px" prop="channel" />
<el-table-column label="批次" width="60px" prop="batch" />
<el-table-column label="产品id" width="60px" prop="productId" />
<el-table-column label="产品" width="100px" prop="productName" />
<el-table-column label="大屏账号" width="260px" prop="account" />
<el-table-column label="订单号" width="150px" prop="bossOrderNo" />
<el-table-column label="备注" show-overflow-tooltip prop="remark" />
<el-table-column label="领取手机号" width="125px" prop="rcvMobile" />
</el-table>
<el-pagination
......@@ -109,7 +109,7 @@ export default {
vipTypeList: [{ label: '爱奇艺包月', value: '1' }, { label: '爱奇艺包年', value: '4' }],
statusList: [{ label: '未兑换', value: '0' }, { label: '已兑换', value: '1' }, { label: '兑换失败', value: '2' }, { label: '已失效', value: '3' }],
total: 0,
tableHeight: 800,
tableHeight: 0,
searchObj: {
page: 0,
size: 20,
......@@ -134,7 +134,7 @@ export default {
},
mounted() {
this.$nextTick(() => {
this.tableHeight = window.innerHeight - (window.innerWidth < 1200 ? 280 : 260)
this.tableHeight = window.innerHeight - (window.innerWidth < 1200 ? 320 : 300)
})
},
methods: {
......