Toggle navigation
Toggle navigation
This project
Loading...
Sign in
zhouhui.jiang
/
test_cursor
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jiaxing.zhou
2025-09-29 11:36:09 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
3fb42b2ab47e0d69b6ad62ae30d7cf5f6aa97572
3fb42b2a
2 parents
5ec54805
05615af1
Merge branch 'dev'
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
0 deletions
frontend/components.d.ts
frontend/src/layouts/MainLayout.vue
frontend/src/router/index.ts
frontend/src/views/exceptionWorkorder/index.vue
frontend/components.d.ts
View file @
3fb42b2
...
...
@@ -7,10 +7,32 @@ export {}
declare
module
'vue'
{
export
interface
GlobalComponents
{
ElButton
:
typeof
import
(
'element-plus/es'
)[
'ElButton'
]
ElCard
:
typeof
import
(
'element-plus/es'
)[
'ElCard'
]
ElDatePicker
:
typeof
import
(
'element-plus/es'
)[
'ElDatePicker'
]
ElDescriptions
:
typeof
import
(
'element-plus/es'
)[
'ElDescriptions'
]
ElDescriptionsItem
:
typeof
import
(
'element-plus/es'
)[
'ElDescriptionsItem'
]
ElDialog
:
typeof
import
(
'element-plus/es'
)[
'ElDialog'
]
ElForm
:
typeof
import
(
'element-plus/es'
)[
'ElForm'
]
ElFormItem
:
typeof
import
(
'element-plus/es'
)[
'ElFormItem'
]
ElIcon
:
typeof
import
(
'element-plus/es'
)[
'ElIcon'
]
ElInput
:
typeof
import
(
'element-plus/es'
)[
'ElInput'
]
ElInputNumber
:
typeof
import
(
'element-plus/es'
)[
'ElInputNumber'
]
ElOption
:
typeof
import
(
'element-plus/es'
)[
'ElOption'
]
ElPagination
:
typeof
import
(
'element-plus/es'
)[
'ElPagination'
]
ElRadio
:
typeof
import
(
'element-plus/es'
)[
'ElRadio'
]
ElRadioGroup
:
typeof
import
(
'element-plus/es'
)[
'ElRadioGroup'
]
ElSelect
:
typeof
import
(
'element-plus/es'
)[
'ElSelect'
]
ElTable
:
typeof
import
(
'element-plus/es'
)[
'ElTable'
]
ElTableColumn
:
typeof
import
(
'element-plus/es'
)[
'ElTableColumn'
]
ElTag
:
typeof
import
(
'element-plus/es'
)[
'ElTag'
]
Header
:
typeof
import
(
'./src/components/layout/Header.vue'
)[
'default'
]
RouterLink
:
typeof
import
(
'vue-router'
)[
'RouterLink'
]
RouterView
:
typeof
import
(
'vue-router'
)[
'RouterView'
]
Sidebar
:
typeof
import
(
'./src/components/layout/Sidebar.vue'
)[
'default'
]
SidebarItem
:
typeof
import
(
'./src/components/layout/SidebarItem.vue'
)[
'default'
]
}
export
interface
ComponentCustomProperties
{
vLoading
:
typeof
import
(
'element-plus/es'
)[
'ElLoadingDirective'
]
}
}
...
...
frontend/src/layouts/MainLayout.vue
View file @
3fb42b2
...
...
@@ -147,6 +147,7 @@ const menuItems = ref([
{ name: '产品管理', path: '/main/product', icon: '📦' },
{ name: '经销商管理', path: '/main/dealer', icon: '🏢' },
{ name: '返利管理', path: '/main/rebate', icon: '💰' },
{ name: '异常工单', path: '/main/exception-workorder', icon: '⚠️' },
{
name: '系统设置',
icon: '⚙️',
...
...
frontend/src/router/index.ts
View file @
3fb42b2
...
...
@@ -153,6 +153,24 @@ const staticRoutes: RouteRecordRaw[] = [
}
},
{
path
:
'exception-workorder'
,
name
:
'ExceptionWorkorder'
,
component
:
()
=>
import
(
'@/views/exceptionWorkorder/index.vue'
),
meta
:
{
title
:
'异常工单'
,
requiresAuth
:
true
}
},
{
path
:
'test-menu'
,
name
:
'TestMenu'
,
component
:
()
=>
import
(
'@/views/test-menu.vue'
),
meta
:
{
title
:
'菜单测试'
,
requiresAuth
:
true
}
},
{
path
:
'settings'
,
name
:
'Settings'
,
component
:
()
=>
import
(
'@/views/settings/index.vue'
),
...
...
frontend/src/views/exceptionWorkorder/index.vue
View file @
3fb42b2
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment