Commit d60e81b8 by chenwq

核销详情,核销列表

1 parent d7293cc4
...@@ -179,6 +179,14 @@ html { ...@@ -179,6 +179,14 @@ html {
background-color: #999999; background-color: #999999;
} }
.marketing .back-green {
background-color: #2CCA74;
}
.marketing .back-red {
background-color: #EB4E4E;
}
.marketing .el-table .cell { .marketing .el-table .cell {
line-height: 16px; line-height: 16px;
} }
......
...@@ -32,7 +32,12 @@ ...@@ -32,7 +32,12 @@
<el-button :size="size" class="default-blue-btn" type="default" @click="exportExcel">全部导出</el-button> <el-button :size="size" class="default-blue-btn" type="default" @click="exportExcel">全部导出</el-button>
</div> </div>
<!-- 表格区域 开始 --> <!-- 表格区域 开始 -->
<GLTable ref="receiveList" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun"></GLTable> <GLTable ref="receiveList" :getListApi="getListApi" :noDataImg="url" :searchForm="tableSearchForm" :tableParams="tableParams" :pageConf="pageConf" :beforeSearchFn="beforeSearchFn" @setTableFinishFun="setTableFinishFun">
<div slot="userStatus" slot-scope="scope">
<span :class="['table-cicle', 'm-r-8', scope.scope.userStatus == 1 ? 'back-green' : scope.scope.userStatus == 2 ? 'back-red' : 'back-grey']"></span>
<span>{{ baseData.userStatusList.find(item => item.confId == scope.scope.userStatus).confName }}</span>
</div>
</GLTable>
<!-- 表格区域 end --> <!-- 表格区域 end -->
</div> </div>
</div> </div>
...@@ -175,9 +180,10 @@ export default { ...@@ -175,9 +180,10 @@ export default {
{ {
label: '使用状态', label: '使用状态',
prop: 'userStatus', prop: 'userStatus',
formatter: cellValue => { addHtml: 'userStatus'
return this.baseData.userStatusList.find(item => +item.confId == cellValue.userStatus).confName // formatter: cellValue => {
} // return this.baseData.userStatusList.find(item => +item.confId == cellValue.userStatus).confName
// }
}, },
{ {
label: '领取日期', label: '领取日期',
......
...@@ -233,7 +233,7 @@ export default { ...@@ -233,7 +233,7 @@ export default {
label: '券来源', label: '券来源',
prop: 'packageName', prop: 'packageName',
formatter: cellValue => { formatter: cellValue => {
return cellValue.packageName || cellValue.directionalGiftName || '-' return cellValue.packageId ? cellValue.packageName : cellValue.directionalGiftId ? cellValue.directionalGiftName : '-'
} }
}, },
{ {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!