Commit 261cfe44 authored by honghy's avatar honghy Committed by wux

【后台-会员等级-查询列表】不同状态的记录可操作按钮需要修改

parent a49308c9
......@@ -75,10 +75,10 @@
</el-table-column>
<el-table-column :label="$t('操作')" align="center">
<template slot-scope="scope">
<el-button size="mini" type="text" @click="handleUpdate(scope.row)">{{ $t("修改") }}</el-button>
<el-button size="mini" type="text" @click="handleDelete(scope.row)">{{ $t("删除") }}</el-button>
<el-button size="mini" v-if="scope.row.status==0||scope.row.status==2" type="text" @click="handleEnable(scope.row)">{{ $t("启用") }}</el-button>
<el-button size="mini" v-if="scope.row.status==1" type="text" @click="handleCloseButton(scope.row)">{{ $t("停用") }}</el-button>
<el-button size="mini" type="text" v-if="scope.row.status==0" @click="handleUpdate(scope.row)">{{ $t("修改") }}</el-button>
<el-button size="mini" type="text" v-if="scope.row.status==0" @click="handleDelete(scope.row)">{{ $t("删除") }}</el-button>
<el-button size="mini" v-if="(scope.row.status==0||scope.row.status==2)&&scope.row.status!=3" type="text" @click="handleEnable(scope.row)">{{ $t("启用") }}</el-button>
<el-button size="mini" v-if="scope.row.status==1&&scope.row.status!=3" type="text" @click="handleCloseButton(scope.row)">{{ $t("停用") }}</el-button>
<el-button size="mini" type="text" @click="handleCopyButton(scope.row)">{{ $t("复制") }}</el-button>
</template>
</el-table-column>
......
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