Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
1a80b5cf
Commit
1a80b5cf
authored
Feb 13, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 顶部导航栏添加页面标签栏
parent
c5456bd8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
64 additions
and
18 deletions
+64
-18
src/components/NavMenu.vue
+0
-0
src/router/index.ts
+27
-0
src/router/menu.ts
+29
-13
src/views/Home.vue
+1
-1
src/views/order/pod/index.vue
+7
-4
No files found.
src/components/NavMenu.vue
View file @
1a80b5cf
This diff is collapsed.
Click to expand it.
src/router/index.ts
View file @
1a80b5cf
...
...
@@ -30,38 +30,65 @@ const router = createRouter({
children
:
[
{
path
:
'/dashboard'
,
meta
:
{
title
:
'概览'
,
},
component
:
Dashboard
,
},
{
path
:
'/order/list'
,
meta
:
{
title
:
'定制订单'
,
},
component
:
OrderList
,
},
{
path
:
'/pod-order/list'
,
meta
:
{
title
:
'POD订单'
,
},
component
:
PodOrderList
,
},
{
path
:
'/pod-delivery-note/list'
,
meta
:
{
title
:
'POD发货单'
,
},
component
:
PodDeliveryNoteList
,
},
{
path
:
'/production/complete'
,
meta
:
{
title
:
'生产完成'
,
},
component
:
ProductionComplete
,
},
{
path
:
'/system/user'
,
meta
:
{
title
:
'用户管理'
,
},
component
:
UserPage
,
},
{
path
:
'/system/delivery-note'
,
meta
:
{
title
:
'定制发货单'
,
},
component
:
DeliveryNotePage
,
},
{
path
:
'/account/statement-note'
,
meta
:
{
title
:
'对账单'
,
},
component
:
AccountStatementNote
,
},
{
path
:
'/typesetting-management/list'
,
meta
:
{
title
:
'打版管理'
,
},
component
:
TypeseetingManagement
,
},
],
...
...
src/router/menu.ts
View file @
1a80b5cf
...
...
@@ -12,37 +12,53 @@ const menu: MenuItem[] = [
label
:
'概览'
,
},
{
index
:
'
/order/list
'
,
index
:
'
1
'
,
id
:
2
,
label
:
'订单'
,
children
:
[
{
index
:
'/order/list'
,
id
:
1
,
label
:
'定制订单'
,
},
{
index
:
'/pod-order/list'
,
id
:
7
,
label
:
'POD订单'
,
},
],
},
{
index
:
'/pod-order/list'
,
id
:
7
,
label
:
'POD订单'
,
},
{
index
:
'/account/statement-note'
,
id
:
3
,
label
:
'对账单'
,
},
{
index
:
'
/system/delivery-note
'
,
index
:
'
2
'
,
id
:
4
,
label
:
'发货单'
,
children
:
[
{
index
:
'/system/delivery-note'
,
id
:
1
,
label
:
'定制发货单'
,
},
{
index
:
'/pod-delivery-note/list'
,
id
:
2
,
label
:
'POD发货单'
,
},
],
},
{
index
:
'/pod-delivery-note/list'
,
id
:
8
,
label
:
'POD发货单'
,
},
{
index
:
'/typesetting-management/list'
,
id
:
5
,
label
:
'打版管理'
,
},
{
index
:
''
,
index
:
'
3
'
,
id
:
6
,
label
:
'系统设置'
,
children
:
[
...
...
src/views/Home.vue
View file @
1a80b5cf
...
...
@@ -20,7 +20,7 @@ import NavMenu from '@/components/NavMenu.vue'
.container
{
flex
:
1
;
padding
:
10px
;
padding
:
0
10px
10px
;
background-color
:
#f6f6f6
;
overflow
:
hidden
;
}
...
...
src/views/order/pod/index.vue
View file @
1a80b5cf
...
...
@@ -93,9 +93,6 @@
<ElFormItem>
<ElButton
type=
"primary"
@
click=
"search"
>
查询
</ElButton>
</ElFormItem>
<ElFormItem>
<ElButton
@
click=
"resetSearchForm"
>
重置
</ElButton>
</ElFormItem>
</ElForm>
</div>
<div
class=
"header-filter-tab"
>
...
...
@@ -617,7 +614,7 @@ const changeTab = (item: Tab) => {
searchForm
.
value
.
timeType
=
null
search
()
}
const
[
searchForm
,
resetSearchForm
]
=
useValue
<
SearchForm
>
({
const
[
searchForm
]
=
useValue
<
SearchForm
>
({
timeType
:
null
,
shopNumber
:
''
,
...
...
@@ -978,6 +975,12 @@ onMounted(() => {
}
)
<
/script
>
<
style
lang
=
"scss"
scoped
>
.
header
-
filter
-
form
{
:
deep
(.
el
-
form
-
item
)
{
margin
-
right
:
14
px
;
margin
-
bottom
:
10
px
;
}
}
.
tabs
{
display
:
flex
;
align
-
items
:
center
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment