Commit 6bcc79ea authored by Smile's avatar Smile Committed by wux

会员等级详情页面无等级时修改

parent 86e9f5c7
...@@ -75,18 +75,18 @@ ...@@ -75,18 +75,18 @@
</el-descriptions-item </el-descriptions-item
> --> > -->
<el-descriptions-item :label="$t('会员等级')"> <el-descriptions-item :label="$t('会员等级')">
<el-image :src="details.userScoreLevelInfo.levelIcon" style="width: 20px; height: 20px">{{ $t("") }}</el-image> <el-image :src="details.userScoreLevelInfo!=null?details.userScoreLevelInfo.levelIcon:null" style="width: 20px; height: 20px">{{ $t("") }}</el-image>
{{ isChinese ? handleMemberShipLevels(details.userScoreLevelInfo.level).label : handleMemberShipLevels(details.userScoreLevelInfo.level).labelEn }} {{ details.userScoreLevelInfo.level!=null?(isChinese ? handleMemberShipLevels(details.userScoreLevelInfo.level).label : handleMemberShipLevels(details.userScoreLevelInfo.level).labelEn):null }}
<el-button type="primary" class="copy-btn" @click="openLevelDetail()"> <el-button type="primary" class="copy-btn" v-if="this.levelDetails.configId" @click="openLevelDetail()">
{{ $t("详情") }} {{ $t("详情") }}
</el-button> </el-button>
<el-button type="primary" @click="openLevelDetail(1)"> <el-button type="primary" v-if="this.levelDetails.configId" @click="openLevelDetail(1)">
{{ $t("更新") }} {{ $t("更新") }}
</el-button> </el-button>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item :label="$t('当前积分')">{{ details.userScoreLevelInfo.holdScore }}</el-descriptions-item> <el-descriptions-item :label="$t('当前积分')">{{details.userScoreLevelInfo!=null? details.userScoreLevelInfo.holdScore:null }}</el-descriptions-item>
<el-descriptions-item :label="$t('已兑换积分')">{{ details.userScoreLevelInfo.usedScore }}</el-descriptions-item> <el-descriptions-item :label="$t('已兑换积分')">{{details.userScoreLevelInfo!=null? details.userScoreLevelInfo.usedScore :null}}</el-descriptions-item>
<el-descriptions-item :label="$t('推荐码')">{{ details.userScoreLevelInfo.memberCode }}</el-descriptions-item> <el-descriptions-item :label="$t('推荐码')">{{ details.userScoreLevelInfo!=null?details.userScoreLevelInfo.memberCode:null }}</el-descriptions-item>
<el-descriptions-item :label="$t('操作')"> <el-descriptions-item :label="$t('操作')">
<el-button type="text" class="copy-btn" :data-clipboard-text="details.memberCode"> <el-button type="text" class="copy-btn" :data-clipboard-text="details.memberCode">
{{ $t("复制推荐码") }} {{ $t("复制推荐码") }}
......
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