Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sample-form-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
sample-form-platform
Commits
5bff9990
Commit
5bff9990
authored
Sep 27, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf:修改路由
parent
6314f069
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
25 deletions
+42
-25
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
...le-form-client-ui/admin/src/pages/showpage/MatterList.vue
+1
-1
sample-form-client-ui/admin/src/router/index.js
sample-form-client-ui/admin/src/router/index.js
+41
-24
No files found.
sample-form-client-ui/admin/src/pages/showpage/MatterList.vue
View file @
5bff9990
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"matter-page flex flexc"
>
<div
class=
"matter-page flex flexc"
>
<!-- 头部 -->
<!-- 头部 -->
<Header>
<Header>
<div
slot=
"title"
class=
"title"
>
快速
填单
</div>
<div
slot=
"title"
class=
"title"
>
快速
查看
</div>
</Header>
</Header>
<!-- 主体 -->
<!-- 主体 -->
<div
class=
"main flex1 flex"
>
<div
class=
"main flex1 flex"
>
...
...
sample-form-client-ui/admin/src/router/index.js
View file @
5bff9990
...
@@ -9,47 +9,64 @@ VueRouter.prototype.push = function (location) {
...
@@ -9,47 +9,64 @@ VueRouter.prototype.push = function (location) {
Vue
.
use
(
VueRouter
);
Vue
.
use
(
VueRouter
);
const
routes
=
[
const
routes
=
[
// 首页
{
{
path
:
"
/
"
,
path
:
"
/
"
,
redirect
:
"
/home
"
,
component
:
()
=>
import
(
"
@/pages/home/Home.vue
"
),
meta
:
{
name
:
"
首页
"
,
},
},
// 快速查看
{
path
:
"
/matterList
"
,
component
:
Layouts
,
component
:
Layouts
,
children
:
[
children
:
[
// 首页
{
path
:
"
/home
"
,
component
:
()
=>
import
(
"
@/pages/home/Home.vue
"
),
meta
:
{
name
:
"
首页
"
,
},
},
// 快速查看
{
{
path
:
"
/matterList
"
,
path
:
""
,
component
:
()
=>
import
(
"
@/pages/showpage/MatterList.vue
"
),
component
:
()
=>
import
(
"
@/pages/showpage/MatterList.vue
"
),
meta
:
{
meta
:
{
name
:
"
快速查看
"
,
name
:
"
快速查看
"
,
},
},
},
},
// 快速搜索
],
},
// 快速搜索
{
path
:
"
/searchpage
"
,
component
:
Layouts
,
children
:
[
{
{
path
:
"
/searchpage
"
,
path
:
""
,
name
:
"
快速搜索
"
,
component
:
()
=>
import
(
"
@/pages/searchpage/SearchPage.vue
"
),
component
:
()
=>
import
(
"
@/pages/searchpage/SearchPage.vue
"
),
meta
:
{
meta
:
{
name
:
"
快速搜索
"
,
name
:
"
快速搜索
"
,
},
},
},
},
// 事项分类
],
// {
},
// path: "/matterify",
// 事项分类
// component: () => import("@/pages/showpage/MatterIfy.vue"),
{
// meta:{
path
:
"
/matterify
"
,
// name: "事项分类",
component
:
Layouts
,
// }
children
:
[
// },
{
// 材料展示
path
:
""
,
component
:
()
=>
import
(
"
@/pages/showpage/MatterIfy.vue
"
),
meta
:
{
name
:
"
事项分类
"
,
},
},
],
},
// 材料展示
{
path
:
"
/showmaterials
"
,
component
:
Layouts
,
children
:
[
{
{
path
:
"
/showmaterials
"
,
path
:
""
,
component
:
()
=>
import
(
"
@/pages/showpage/ShowMaterials.vue
"
),
component
:
()
=>
import
(
"
@/pages/showpage/ShowMaterials.vue
"
),
meta
:
{
meta
:
{
name
:
"
材料展示
"
,
name
:
"
材料展示
"
,
...
...
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