|
@@ -9,6 +9,9 @@
|
|
|
@page-change="paginationChange"
|
|
|
@sort-change="onSortChange"
|
|
|
>
|
|
|
+ <template #status="{ row }">
|
|
|
+ <el-tag :type="row.status === 0 ? 'success' : 'danger'" size="small">{{ row.status === 0 ? '启用' : '禁用'}}</el-tag>
|
|
|
+ </template>
|
|
|
<template #card-tools>
|
|
|
<m-button type="orange" size="small" icon="el-icon-plus" @click="onAdd">新增</m-button>
|
|
|
</template>
|