Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
e81317a0
Commit
e81317a0
authored
Feb 14, 2022
by
李姝悦
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--no commit message
parent
8e658efd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
76 deletions
+14
-76
src/views/sy/index.vue
+14
-76
No files found.
src/views/sy/index.vue
View file @
e81317a0
...
...
@@ -11,8 +11,7 @@
id=
"header"
:style=
"
{ width: isCollapseP == true ? '72px' : '240px' }"
>
<img
v-if=
"isCollapseP == true"
src=
"../../assets//img/login/logo.png"
alt=
""
style=
"width: 30px;margin-left: 25px;"
>
<img
v-else
src=
"../../assets/img/login/logoTitle.png"
alt=
""
/>
<img
src=
"../../assets/img/login/logoTitle.png"
alt=
""
/>
<!--
<span
v-show=
"!isCollapseP"
>
{{
headerTitle
}}
</span
...
...
@@ -29,7 +28,7 @@
</div>
<div
class=
"rightContent"
>
<div
class=
"rightTitle"
>
<div
style=
"display:flex"
>
<div>
<i
@
click=
"collapse"
:class=
"
...
...
@@ -37,8 +36,8 @@
? 'iconfont icondaohangshouqi'
: 'iconfont icondaohangzhankai'
"
></i
>
<div
v-if=
"name != '技术人员信息采集' && name != '警犬信息采集'"
@
click=
"handleTabs"
>
{{
newPaths
}}
</div
>
></i
><span
v-if=
"name != '技术人员信息采集' && name != '警犬信息采集'"
>
{{
name
}}
</span
>
<!--
<span
v-if=
"name == '现案管理'"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item
:to=
"
{ path: '/maglIndex/xagl' }"
...
...
@@ -49,7 +48,7 @@
>
</el-breadcrumb>
</span>
-->
<
!--
<
span
v-if=
"name == '技术人员信息采集'||name == '警犬信息采集'"
>
<span
v-if=
"name == '技术人员信息采集'||name == '警犬信息采集'"
>
<el-breadcrumb
separator-class=
"el-icon-arrow-right"
>
<el-breadcrumb-item
:to=
"
{ path: '/jqglIndex/jqxxcj' }"
...
...
@@ -63,26 +62,8 @@
>
</el-breadcrumb>
</span>
-->
<!-- 头部导航 -->
<!--
<el-tabs
class=
"tabs"
:closable=
"paths.length > 1"
v-model=
"routePath"
@
tab-click=
"handleClike"
@
tab-remove=
"tabRemove"
>
<el-tab-pane
v-for=
"item in paths"
:key=
"item.routeName"
:label=
"item.name"
:name=
"item.routeName"
>
</el-tab-pane>
</el-tabs>
-->
</span>
</div>
<!-- 数据大屏+头像 -->
<div
style=
"float: right"
>
<!--
<span-->
<!-- style="font-size: 12px; padding-right: 10px; cursor: pointer"-->
...
...
@@ -137,12 +118,9 @@
</span>
</div>
</div>
<keep-alive>
<router-view></router-view>
</keep-alive>
<router-view></router-view>
</div>
</div>
<!-- 消息中心 -->
<el-dialog
custom-class=
"msgDialog"
:visible
.
sync=
"dialogTableVisible"
>
<template
#
title
>
<i
class=
"iconfont iconxiaoxitongzhi msgIcon"
/>
...
...
@@ -210,9 +188,11 @@
</div>
</div>
</el-dialog>
<!-- 命案管理应用系统通告 -->
<el-dialog
custom-class=
"tzggDialogs"
:visible
.
sync=
"dialogFormVisible"
<el-dialog
:visible
.
sync=
"dialogFormVisible"
:show-close=
"false"
custom-class=
"tzggDialogs"
>
<div
style=
"
...
...
@@ -336,7 +316,6 @@
</el-button>
</div>
</el-dialog>
<!-- 附件下载 -->
<el-dialog
custom-class=
"yhscxzDialog"
:visible
.
sync=
"dialogyhcsxzVisible"
>
<
template
#
title
>
<span>
附件下载
</span>
...
...
@@ -426,40 +405,11 @@ export default {
total
:
2
}
],
flag
:
true
,
paths
:[
"数据分析"
],
newPaths
:
"数据分析"
,
routePath
:
""
}
},
watch
:{
"name"
(
newV
,
oldV
){
// console.log('====================================');
// console.log(newV,oldV);
// console.log('====================================');
if
(
newV
!=
oldV
){
this
.
paths
.
push
(
newV
)
for
(
var
i
=
0
;
i
<
this
.
paths
.
length
;
i
++
){
for
(
var
j
=
i
+
1
;
j
<
this
.
paths
.
length
;
j
++
){
if
(
this
.
paths
[
i
]
==
this
.
paths
[
j
]){
this
.
paths
.
splice
(
j
,
1
);
j
--
;
}
}
}
this
.
paths
.
toString
()
}
this
.
newPaths
=
this
.
paths
.
toString
().
replace
(
/,/g
,
" / "
)
flag
:
true
}
},
methods
:
{
handleTabs
(
e
){
console
.
log
(
'===================================='
);
console
.
log
(
e
.
currentTarget
);
console
.
log
(
'===================================='
);
},
hanndleClickBreadcrumb
(
msg
){
if
(
msg
==
'new'
){
...
...
@@ -547,9 +497,6 @@ export default {
//默认显示
changeName
(
index
)
{
if
(
index
.
indexOf
(
'-'
)
==
-
1
)
{
console
.
log
(
'===================================='
);
console
.
log
(
index
);
console
.
log
(
'===================================='
);
this
.
name
=
maglPropLeftMenu
[
index
-
1
].
label
}
else
{
//子级的情况有-,如3-1
...
...
@@ -618,16 +565,7 @@ export default {
}
},
mounted
()
{
// this.menuActive = this.$route.name
// this.routePath = this.$route.name //当前页面的路由
// console.log('====================================');
// console.log(maglPropLeftMenu);
// console.log('====================================');
// console.log(this.$route.name)
// console.log(this.$router.options.routes); // 全部路由信息
// this.paths = '/jqglIndex/sjfx'
this
.
$router
.
push
(
'/jqglIndex/sjfx'
)
console
.
log
(
this
.
$route
.
name
)
// zoom("home_box");
// window.addEventListener("resize", function () {
// zoom("home_box");
...
...
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