Commit 3ad8dd56 authored by 小费同学阿's avatar 小费同学阿 💬

添加lint代码校验

parent 9912f3fe
import request from '@/utils/request'
// 查询挂号列表
export function listRegister(query) {
return request({
url: '/business/register/list',
method: 'get',
params: query
})
}
// 查询挂号详细
export function getRegister(id) {
return request({
url: '/business/register/' + id,
method: 'get'
})
}
// 新增挂号
export function addRegister(data) {
return request({
url: '/business/register',
method: 'post',
data: data
})
}
// 修改挂号
export function updateRegister(data) {
return request({
url: '/business/register',
method: 'put',
data: data
})
}
// 删除挂号
export function delRegister(id) {
return request({
url: '/business/register/' + id,
method: 'delete'
})
}
...@@ -199,6 +199,51 @@ export const constantRoutes = [ ...@@ -199,6 +199,51 @@ export const constantRoutes = [
} }
] ]
}, },
// 文章
{
path: '/article-management',
component: Layout,
hidden: true,
permissions: ['*:*:*'],
children: [
{
path: 'index',
props: true,
component: () => import('@/views/article-management/article-management'),
name: 'Article-management',
meta: { title: '文章管理', icon: 'component' }
},
// 文章编辑路由
{
path: 'article-edit/:id',
props: true,
component: () => import('@/views/article-management/article-edit'),
name: 'Article-edit',
meta: { title: '文章编辑', icon: 'component' }
},
// 文章详情路由
{
path: 'article-detail/:id',
component: () => import('@/views/article-management/article-detail'),
name: 'ArticleDetail',
props: true,
meta: {
title: '文章详情', icon: 'component'
}
},
// 文章添加路由
{
path: 'article-insert',
component: () => import('@/views/article-management/article-insert'),
name: 'ArticleInsert',
props: true,
meta: {
title: '新增文章',
activeMenu: '/article-management'
}
}
]
},
// 业务管理 // 业务管理
{ {
path: '/service-management', path: '/service-management',
...@@ -210,26 +255,20 @@ export const constantRoutes = [ ...@@ -210,26 +255,20 @@ export const constantRoutes = [
{ {
path: 'registration-queue', path: 'registration-queue',
props: true, props: true,
permissions: ['*:*:*'],
component: () => import('@/views/service-management/registration-queue/registration-queue'), component: () => import('@/views/service-management/registration-queue/registration-queue'),
name: 'RegistrationQueue', name: 'RegistrationQueue',
meta: { meta: {
title: '挂号管理', title: '挂号管理', icon: 'component'
icon: 'dashboard',
activeMenu: '/service-management/registration-queue'
} }
}, },
// 挂号新增 // 挂号详情路由
{ {
path: 'registration-add', path: 'registration-detail/:id',
component: () => import('@/views/service-management/registration-queue/registration-detail'),
name: 'RegistrationDetail',
props: true, props: true,
permissions: ['*:*:*'],
component: () => import('@/views/service-management/registration-queue/registration-add'),
name: 'RegistrationAdd',
meta: { meta: {
title: '新增挂号', title: '挂号详情', icon: 'component'
icon: 'dashboard',
activeMenu: '/service-management/registration-add'
} }
} }
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment