0ea195c7 by 田浩浩
2 parents e3fcf551 787da56b
1 <template> 1 <template>
2 <el-menu router :default-active="activeMenu" menu-trigger="click" mode="horizontal"> 2 <el-menu router :default-active="activeMenu" mode="horizontal">
3 <!-- 权限菜单 --> 3 <!-- 权限菜单 -->
4 <sidebar-item v-for="route in permission_routes.slice(1, 4)" :key="route.path" :item="route" 4 <sidebar-item v-for="route in permission_routes.slice(1, 4)" :key="route.path" :item="route"
5 :base-path="route.path" /> 5 :base-path="route.path" />
......
...@@ -132,19 +132,19 @@ export default { ...@@ -132,19 +132,19 @@ export default {
132 // ) 132 // )
133 // } 133 // }
134 // }, 134 // },
135 { 135 // {
136 prop: 'isenable', 136 // prop: 'isenable',
137 width: '160', 137 // width: '160',
138 label: '是否禁用', 138 // label: '是否禁用',
139 render: (h, scope) => { 139 // render: (h, scope) => {
140 return ( 140 // return (
141 <el-radio-group disabled={this.details.isenable == 2} v-model={scope.row.isenable}> 141 // <el-radio-group disabled={this.details.isenable == 2} v-model={scope.row.isenable}>
142 <el-radio label="1">启用</el-radio> 142 // <el-radio label="1">启用</el-radio>
143 <el-radio label="0">禁用</el-radio> 143 // <el-radio label="0">禁用</el-radio>
144 </el-radio-group> 144 // </el-radio-group>
145 ) 145 // )
146 } 146 // }
147 }, 147 // },
148 { 148 {
149 width: '130', 149 width: '130',
150 label: '移动', 150 label: '移动',
......
...@@ -30,21 +30,21 @@ class data extends filter { ...@@ -30,21 +30,21 @@ class data extends filter {
30 prop: "DNAME", 30 prop: "DNAME",
31 label: "字典类型名称", 31 label: "字典类型名称",
32 }, 32 },
33 { 33 // {
34 label: "是否允许修改", 34 // label: "是否允许修改",
35 width: '150', 35 // width: '150',
36 render: (h, scope) => { 36 // render: (h, scope) => {
37 return ( 37 // return (
38 <div> 38 // <div>
39 { 39 // {
40 scope.row.ISENABLE == '1' ? 40 // scope.row.ISENABLE == '1' ?
41 <div class='allow'>允许</div> : 41 // <div class='allow'>允许</div> :
42 <div class='prohibit'>禁止</div> 42 // <div class='prohibit'>禁止</div>
43 } 43 // }
44 </div> 44 // </div>
45 ) 45 // )
46 } 46 // }
47 } 47 // }
48 ] 48 ]
49 } 49 }
50 50
......