|
@@ -81,7 +81,7 @@
|
|
|
<el-table-column label="状态" prop="status" align="center">
|
|
|
<template slot-scope="{ row }">
|
|
|
<el-tag type="warning" v-if="row.status && JSON.parse(row.status).value == 'waiting'">待生成</el-tag>
|
|
|
- <el-tag type="success" v-if="row.status && JSON.parse(row.status).value == 'nonactivated'">未激活</el-tag>
|
|
|
+ <el-tag type="success" v-if="row.status && JSON.parse(row.status).value == 'noactive'">待激活</el-tag>
|
|
|
<el-tag type="" v-if="row.status && JSON.parse(row.status).value == 'activated'">已生效</el-tag>
|
|
|
<el-tag type="info" v-if="row.status && JSON.parse(row.status).value == 'invalid'">已失效</el-tag>
|
|
|
</template>
|
|
@@ -90,7 +90,7 @@
|
|
|
<template slot-scope="{ row }">
|
|
|
<div>
|
|
|
<el-button v-hasPermi="['business:exchange:detail']" type="text" @click="$router.push({ path: '/exchange/detailCode',query: {id: row.groupId} })">查看</el-button>
|
|
|
- <el-button v-if="row.status && JSON.parse(row.status).value == 'nonactivated'" v-hasPermi="['business:exchange:edit']" type="text" @click="setStatus(row)">激活</el-button>
|
|
|
+ <el-button v-if="row.status && JSON.parse(row.status).value == 'noactive'" v-hasPermi="['business:exchange:edit']" type="text" @click="setStatus(row)">激活</el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|