Commit 2c9cdfa8 authored by chenwei's avatar chenwei

新增跳转逻辑

parent c615e028
...@@ -181,11 +181,17 @@ ...@@ -181,11 +181,17 @@
align="center" align="center"
:prop="isChinese ? 'rewardTitleZh' : 'rewardTitleEn'" :prop="isChinese ? 'rewardTitleZh' : 'rewardTitleEn'"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column :label="$t('会员名称')" align="center">
:label="$t('会员名称')" <template v-slot="{ row }">
align="center" <el-button
:prop="isChinese ? 'memberNameZh' : 'memberNameEn'" type="text"
></el-table-column> @click="
$router.push('/member/member/member-details/' + row.memberId)
"
>{{ isChinese ? row.memberNameZh : row.memberNameEn }}</el-button
>
</template>
</el-table-column>
<el-table-column :label="$t('兑换时间')" align="center"> <el-table-column :label="$t('兑换时间')" align="center">
<template v-slot="{ row }"> <template v-slot="{ row }">
{{ parseTime(row.redemptionTime) || "/" }}</template {{ parseTime(row.redemptionTime) || "/" }}</template
......
...@@ -120,11 +120,17 @@ ...@@ -120,11 +120,17 @@
align="center" align="center"
prop="id" prop="id"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column :label="$t('会员名称')" align="center">
:label="$t('会员名称')" <template v-slot="{ row }">
align="center" <el-button
:prop="isChinese ? 'memberNameZh' : 'memberNameEn'" type="text"
></el-table-column> @click="
$router.push('/member/member/member-details/' + row.memberId)
"
>{{ isChinese ? row.memberNameZh : row.memberNameEn }}</el-button
>
</template></el-table-column
>
<el-table-column <el-table-column
width="140" width="140"
...@@ -138,16 +144,24 @@ ...@@ -138,16 +144,24 @@
:label="$t('国家')" :label="$t('国家')"
:prop="isChinese ? 'countryNameZh' : 'countryNameEn'" :prop="isChinese ? 'countryNameZh' : 'countryNameEn'"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column :label="$t('当前积分')" align="center">
:label="$t('当前积分')" <template v-slot="{ row }">
align="center" <el-button
prop="holdScore" type="text"
></el-table-column> @click="$router.push('/memberManagement/integralRecord')"
<el-table-column >{{ row.holdScore }}</el-button
:label="$t('已兑换积分')" >
align="center" </template>
prop="usedScore" </el-table-column>
></el-table-column> <el-table-column :label="$t('已兑换积分')" align="center">
<template v-slot="{ row }">
<el-button
type="text"
@click="$router.push('/memberManagement/exchangeRecord')"
>{{ row.usedScore }}</el-button
>
</template>
</el-table-column>
<el-table-column <el-table-column
:label="$t('已失效积分')" :label="$t('已失效积分')"
align="center" align="center"
......
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