|
@@ -19,11 +19,11 @@
|
|
|
>
|
|
|
<el-table-column prop="moduleName" label="菜单名称" width="340px" />
|
|
|
<el-table-column prop="code" label="code" width="260px" />
|
|
|
- <el-table-column align="center" prop="status" label="状态" width="80px">
|
|
|
+ <!-- <el-table-column align="center" prop="status" label="状态" width="80px">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ ['显示', '不显示'][[true, false].indexOf(scope.row.status)] || '' }}</span>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column prop="remark" label="描述" />
|
|
|
<el-table-column align="right" label="操作" width="150" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
@@ -201,21 +201,21 @@ export default {
|
|
|
prop: 'remark',
|
|
|
rules: []
|
|
|
}
|
|
|
- },
|
|
|
- {
|
|
|
- name: 'el-switch',
|
|
|
- md: 24,
|
|
|
- attributes: {
|
|
|
- 'active-value': true,
|
|
|
- 'inactive-value': false,
|
|
|
- 'active-color': '#13ce66',
|
|
|
- 'inactive-color': '#ff4949'
|
|
|
- },
|
|
|
- formItemAttributes: {
|
|
|
- label: '是否显示',
|
|
|
- prop: 'status'
|
|
|
- }
|
|
|
}
|
|
|
+ // {
|
|
|
+ // name: 'el-switch',
|
|
|
+ // md: 24,
|
|
|
+ // attributes: {
|
|
|
+ // 'active-value': true,
|
|
|
+ // 'inactive-value': false,
|
|
|
+ // 'active-color': '#13ce66',
|
|
|
+ // 'inactive-color': '#ff4949'
|
|
|
+ // },
|
|
|
+ // formItemAttributes: {
|
|
|
+ // label: '是否显示',
|
|
|
+ // prop: 'status'
|
|
|
+ // }
|
|
|
+ // }
|
|
|
]
|
|
|
}
|
|
|
},
|