docs
This commit is contained in:
parent
627b718d51
commit
3e2cf300dd
|
@ -97,7 +97,17 @@ export const asyncRoutes = [
|
||||||
name: 'Dict',
|
name: 'Dict',
|
||||||
component: () => import('@/views/system/dict'),
|
component: () => import('@/views/system/dict'),
|
||||||
meta: { title: '数据字典', icon: 'example', perms: ['dict_manage'] }
|
meta: { title: '数据字典', icon: 'example', perms: ['dict_manage'] }
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
path: 'external-link',
|
||||||
|
component: Layout,
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: process.env.VUE_APP_BASE_API + '/docs/',
|
||||||
|
meta: { title: '接口文档', icon: 'link', perms: ['docs'] }
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 404 page must be placed at the end !!!
|
// 404 page must be placed at the end !!!
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<el-card>
|
<el-card>
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>字典类型</span>
|
<span>字典类型</span>
|
||||||
<el-button style="float: right; padding: 3px 0" type="text" icon="el-icon-plus" @click="handleAddDictType" >新增</el-button>
|
<el-button v-if="checkPermission(['dicttype_add'])" style="float: right; padding: 3px 0" type="text" icon="el-icon-plus" @click="handleAddDictType" >新增</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-tree
|
<el-tree
|
||||||
|
@ -26,6 +26,7 @@
|
||||||
<el-button
|
<el-button
|
||||||
type="text"
|
type="text"
|
||||||
size="mini"
|
size="mini"
|
||||||
|
v-if="checkPermission(['dicttype_delete'])"
|
||||||
@click="handleEditDictType(data)">
|
@click="handleEditDictType(data)">
|
||||||
编辑
|
编辑
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
|
@ -233,7 +233,7 @@ export default {
|
||||||
},
|
},
|
||||||
myHeaders: { Authorization: 'JWT ' + getToken() },
|
myHeaders: { Authorization: 'JWT ' + getToken() },
|
||||||
uploadUrl: uploadUrl(),
|
uploadUrl: uploadUrl(),
|
||||||
userList: [],
|
userList: {count:0},
|
||||||
roles: [],
|
roles: [],
|
||||||
listLoading: true,
|
listLoading: true,
|
||||||
listQuery: {
|
listQuery: {
|
||||||
|
|
Loading…
Reference in New Issue