|
|
@@ -51,7 +51,10 @@ const columns: NaiveUI.TableColumn<Api.goods.ShopSku>[] = [
|
|
|
key: 'openSource',
|
|
|
title: '来源',
|
|
|
align: 'center',
|
|
|
- width: 100
|
|
|
+ width: 100,
|
|
|
+ render: row => {
|
|
|
+ return <dictTag value={row.openSource} dictCode="open_channel" immediate={true}></dictTag>;
|
|
|
+ }
|
|
|
}
|
|
|
];
|
|
|
|
|
|
@@ -107,7 +110,7 @@ const [registerTable, { getTableData }] = useTable({
|
|
|
tableConfig: {
|
|
|
opWdith: 160,
|
|
|
keyField: 'skuId',
|
|
|
- title: '活动列表',
|
|
|
+ title: '用户列表',
|
|
|
showAddButton: false,
|
|
|
scrollX: 1800,
|
|
|
fieldMapToTime: [['createTime', ['effectiveTimeStart', 'effectiveTimeEnd']]]
|
|
|
@@ -205,7 +208,7 @@ const openColumns: NaiveUI.TableColumn<Api.government.PointsFailureRecordVO>[] =
|
|
|
title: '来源',
|
|
|
align: 'center',
|
|
|
render: row => {
|
|
|
- return <dictSelect value={row.source} disabled dictCode="open_channel" immediate={true}></dictSelect>;
|
|
|
+ return <dictTag value={row.source} dictCode="open_channel" immediate={true}></dictTag>;
|
|
|
}
|
|
|
}
|
|
|
];
|
|
|
@@ -322,7 +325,7 @@ async function openRecordModal(id: string) {
|
|
|
</NSpace>
|
|
|
</template>
|
|
|
<template #op="{ row }">
|
|
|
- <NButton size="small" @click="openRecordModal(row.id)">开通记录</NButton>
|
|
|
+ <NButton size="small" @click="openRecordModal(row.mobile)">开通记录</NButton>
|
|
|
</template>
|
|
|
</ZTable>
|
|
|
|