mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 后管鉴权卡界面状态美化
This commit is contained in:
@@ -81,7 +81,12 @@
|
|||||||
<el-table-column type="selection" width="55" align="center" />
|
<el-table-column type="selection" width="55" align="center" />
|
||||||
<!-- <el-table-column label="主键" align="center" prop="id" />-->
|
<!-- <el-table-column label="主键" align="center" prop="id" />-->
|
||||||
<el-table-column label="逻辑卡号" align="center" prop="logicCard" />
|
<el-table-column label="逻辑卡号" align="center" prop="logicCard" />
|
||||||
<el-table-column label="卡状态" align="center" prop="status" />
|
<el-table-column label="卡状态" align="center" prop="status" >
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<dict-tag :options="dict.type.card_status"
|
||||||
|
:value="scope.row.status"/>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<!-- <el-table-column label="物理卡号" align="center" prop="physicsCard" />-->
|
<!-- <el-table-column label="物理卡号" align="center" prop="physicsCard" />-->
|
||||||
<el-table-column label="所属用户" align="center" prop="nickName" >
|
<el-table-column label="所属用户" align="center" prop="nickName" >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
@@ -110,7 +115,7 @@
|
|||||||
icon="el-icon-delete"
|
icon="el-icon-delete"
|
||||||
@click="handleDelete(scope.row)"
|
@click="handleDelete(scope.row)"
|
||||||
v-hasPermi="['pile:card:remove']"
|
v-hasPermi="['pile:card:remove']"
|
||||||
>删除</el-button>
|
>停用</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -155,6 +160,7 @@ import { listCard, getCard, delCard, addCard, updateCard } from "@/api/pile/card
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "card",
|
name: "card",
|
||||||
|
dicts: ['card_status'],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// 遮罩层
|
// 遮罩层
|
||||||
|
|||||||
Reference in New Issue
Block a user