Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1
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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1
Commits
eade3126
Commit
eade3126
authored
Dec 14, 2021
by
林家欣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改条码公告传参
parent
1a26e386
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
16 deletions
+16
-16
mock.js
src/components/layout/header/mock.js
+5
-5
Notice.vue
src/views/Business/Notice.vue
+5
-5
index.vue
src/views/Business/index.vue
+4
-4
index.vue
src/views/Home/index.vue
+2
-2
No files found.
src/components/layout/header/mock.js
View file @
eade3126
...
@@ -223,9 +223,9 @@ export const nav = [
...
@@ -223,9 +223,9 @@ export const nav = [
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"条码注册公告"
,
name
:
"条码注册公告"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Notice?
id
=zhuce"
,
link
:
"/Business/Notice?
type
=zhuce"
,
query
:
{
query
:
{
id
:
'zhuce'
type
:
'zhuce'
},
},
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
...
@@ -237,9 +237,9 @@ export const nav = [
...
@@ -237,9 +237,9 @@ export const nav = [
id
:
uuid
(
"gs_nav"
),
id
:
uuid
(
"gs_nav"
),
name
:
"条码注销公告"
,
name
:
"条码注销公告"
,
index
:
2
,
index
:
2
,
link
:
"/Business/Notice?
id
=zhuxiao"
,
link
:
"/Business/Notice?
type
=zhuxiao"
,
query
:
{
query
:
{
id
:
'zhuxiao'
type
:
'zhuxiao'
},
},
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
...
@@ -364,7 +364,7 @@ export const nav = [
...
@@ -364,7 +364,7 @@ export const nav = [
breadcrumb
:
[
breadcrumb
:
[
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"业务大厅"
,
path
:
"/Business"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
{
name
:
"我还不是系统成员"
,
path
:
"/Business/Register"
},
{
name
:
"条码公告"
,
path
:
"/Business/Notice?
id
=zhuce"
},
{
name
:
"条码公告"
,
path
:
"/Business/Notice?
type
=zhuce"
},
{
name
:
"企业信息"
},
{
name
:
"企业信息"
},
],
],
},
},
...
...
src/views/Business/Notice.vue
View file @
eade3126
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
:key=
"i"
:key=
"i"
>
>
<button
<button
:class=
"['nav-link',
{ active: $route.query.
id
=== tmp.type }]"
:class=
"['nav-link',
{ active: $route.query.
type
=== tmp.type }]"
:id="tmp.type + '-tab'"
:id="tmp.type + '-tab'"
data-bs-toggle="tab"
data-bs-toggle="tab"
:data-bs-target="'#' + tmp.type"
:data-bs-target="'#' + tmp.type"
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
:class=
"[
:class=
"[
'tab-pane',
'tab-pane',
'fade',
'fade',
{ 'show active': $route.query.
id
=== tmp.type },
{ 'show active': $route.query.
type
=== tmp.type },
]"
]"
:id="tmp.type"
:id="tmp.type"
role="tabpanel"
role="tabpanel"
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
this
.
setLogoutFlag
(
this
.
$route
.
query
.
id
);
this
.
setLogoutFlag
(
this
.
$route
.
query
.
type
);
},
},
setLogoutFlag
(
currentTab
)
{
setLogoutFlag
(
currentTab
)
{
if
(
currentTab
===
"zhuce"
)
{
if
(
currentTab
===
"zhuce"
)
{
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/Business/Notice/Msg"
,
path
:
"/Business/Notice/Msg"
,
query
:
{
query
:
{
id
:
this
.
$route
.
query
.
id
,
type
:
this
.
$route
.
query
.
type
,
fId
:
obj
.
fid
,
fId
:
obj
.
fid
,
code
:
obj
.
code
,
code
:
obj
.
code
,
},
},
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
this
.
list
[
i
].
link
,
path
:
this
.
list
[
i
].
link
,
query
:
{
query
:
{
id
:
this
.
list
[
i
].
active
,
type
:
this
.
list
[
i
].
active
,
},
},
});
});
},
},
...
...
src/views/Business/index.vue
View file @
eade3126
...
@@ -499,18 +499,18 @@ export default {
...
@@ -499,18 +499,18 @@ export default {
},
},
{
{
name
:
"条码注册公告"
,
name
:
"条码注册公告"
,
path
:
"/Business/Notice?
id
=zhuce"
,
path
:
"/Business/Notice?
type
=zhuce"
,
active
:
""
,
active
:
""
,
query
:
{
query
:
{
id
:
"zhuce"
,
type
:
"zhuce"
,
},
},
},
},
{
{
name
:
"条码注销公告"
,
name
:
"条码注销公告"
,
path
:
"/Business/Notice?
id
=zhuxiao"
,
path
:
"/Business/Notice?
type
=zhuxiao"
,
active
:
""
,
active
:
""
,
query
:
{
query
:
{
id
:
"zhuxiao"
,
type
:
"zhuxiao"
,
},
},
},
},
],
],
...
...
src/views/Home/index.vue
View file @
eade3126
...
@@ -680,7 +680,7 @@ export default {
...
@@ -680,7 +680,7 @@ export default {
name
:
"条码注册公告"
,
name
:
"条码注册公告"
,
url
:
"/Business/Notice"
,
url
:
"/Business/Notice"
,
query
:
{
query
:
{
id
:
"zhuce"
,
type
:
"zhuce"
,
},
},
},
},
{
{
...
@@ -688,7 +688,7 @@ export default {
...
@@ -688,7 +688,7 @@ export default {
name
:
"条码注销公告"
,
name
:
"条码注销公告"
,
url
:
"/Business/Notice"
,
url
:
"/Business/Notice"
,
query
:
{
query
:
{
id
:
"zhuxiao"
,
type
:
"zhuxiao"
,
},
},
},
},
],
],
...
...
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