Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
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
中汽测评-信息安全测评系统
web
Commits
ba16de0f
Commit
ba16de0f
authored
Mar 12, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 70487
parent
9b4a045a
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
29 deletions
+15
-29
index.vue
src/components/Breadcrumb/index.vue
+0
-1
index.vue
src/layout/components/TagsView/index.vue
+1
-1
page.js
src/mixins/page.js
+0
-1
router.js
src/mixins/router.js
+14
-13
index.vue
src/views/processing/systemReview/write-check-form/index.vue
+0
-13
No files found.
src/components/Breadcrumb/index.vue
View file @
ba16de0f
...
@@ -63,7 +63,6 @@ export default {
...
@@ -63,7 +63,6 @@ export default {
const
result
=
[]
// 存储最终的结果数组
const
result
=
[]
// 存储最终的结果数组
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
arr
.
length
;
i
++
)
{
const
title
=
arr
[
i
].
meta
.
title
const
title
=
arr
[
i
].
meta
.
title
console
.
log
(
'面包屑'
,
title
)
if
(
!
titles
.
has
(
title
))
{
if
(
!
titles
.
has
(
title
))
{
titles
.
add
(
title
)
titles
.
add
(
title
)
result
.
push
(
arr
[
i
])
result
.
push
(
arr
[
i
])
...
...
src/layout/components/TagsView/index.vue
View file @
ba16de0f
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
toLastView
(
visitedViews
,
view
)
{
toLastView
(
visitedViews
,
view
)
{
const
latestView
=
visitedViews
.
slice
(
-
1
)[
0
]
const
latestView
=
visitedViews
.
slice
(
-
1
)[
0
]
if
(
latestView
)
{
if
(
latestView
)
{
this
.
$router
.
push
(
latestView
.
fullPath
)
this
.
$router
.
replace
(
latestView
.
fullPath
)
}
else
{
}
else
{
// now the default is to redirect to the home page if there is no tags-view,
// now the default is to redirect to the home page if there is no tags-view,
// you can adjust it according to your needs.
// you can adjust it according to your needs.
...
...
src/mixins/page.js
View file @
ba16de0f
...
@@ -51,7 +51,6 @@ export default {
...
@@ -51,7 +51,6 @@ export default {
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
console
.
log
(
res
.
rows
)
this
.
tableData
=
res
.
rows
this
.
tableData
=
res
.
rows
this
.
total
=
res
.
total
this
.
total
=
res
.
total
}
}
...
...
src/mixins/router.js
View file @
ba16de0f
export
default
{
export
default
{
beforeRouteEnter
(
to
,
from
,
next
)
{
// beforeRouteEnter(to, from, next) {
next
(
vm
=>
{
// next(vm => {
vm
.
formPath
=
from
.
path
// console.log(vm.formPath)
console
.
log
(
vm
.
formPath
)
// vm.formPath.push(from.path)
})
// console.log(vm.formPath);
},
// })
// },
data
()
{
data
()
{
return
{
return
{
formPath
:
''
formPath
:
[]
}
}
},
},
methods
:
{
methods
:
{
...
@@ -15,13 +16,13 @@ export default {
...
@@ -15,13 +16,13 @@ export default {
* 返回上一页
* 返回上一页
*/
*/
goBack
()
{
goBack
()
{
if
(
this
.
formPath
)
{
//
if (this.formPath) {
this
.
$router
.
push
({
//
this.$router.push({
path
:
this
.
formPath
// path: this.formPath[0]
})
//
})
}
else
{
//
} else {
this
.
$router
.
back
()
this
.
$router
.
back
()
}
//
}
}
}
}
}
}
}
src/views/processing/systemReview/write-check-form/index.vue
View file @
ba16de0f
...
@@ -302,7 +302,6 @@ export default {
...
@@ -302,7 +302,6 @@ export default {
dicts
:
[
'system_review_test'
],
dicts
:
[
'system_review_test'
],
data
()
{
data
()
{
return
{
return
{
formPath
:
''
,
sceneManger
:
{
sceneManger
:
{
dialogVisible
:
false
dialogVisible
:
false
},
},
...
@@ -426,18 +425,6 @@ export default {
...
@@ -426,18 +425,6 @@ export default {
this
.
handleCircle
(
0
)
this
.
handleCircle
(
0
)
},
},
methods
:
{
methods
:
{
/**
* 返回上一页
*/
goBack
()
{
if
(
this
.
formPath
)
{
this
.
$router
.
push
({
path
:
this
.
formPath
})
}
else
{
this
.
$router
.
back
()
}
},
/**
/**
* 企业文件保存回调
* 企业文件保存回调
*/
*/
...
...
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