Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
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-project
Commits
b92899b4
Commit
b92899b4
authored
Aug 02, 2024
by
qjeslks
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
菜单栏搜索框
parent
1a42eac2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
MyMenu.vue
src/components/MyMenu.vue
+3
-3
TodayPatrolPage.vue
src/views/PatrolPage/TodayPatrolPage.vue
+0
-1
No files found.
src/components/MyMenu.vue
View file @
b92899b4
<
template
>
<el-scrollbar>
<div
class=
"ams-el-menu"
>
<
!--
<
div
class=
"menu-search"
>
<div
class=
"menu-search"
>
<el-select
placement=
"bottom"
v-model=
"searchValue"
clearable
filterable
remote
reserve-keyword
:placeholder=
"'请输入关键字搜索...'"
:remote-method=
"remoteMethod"
@
change=
"selectChange"
:loading=
"loading"
>
<template
#
prefix
><i
class=
"el-icon-search"
></i></
template
>
<el-option
v-for=
"item in menus"
:key=
"item.menuId"
:label=
"item.menuName"
:value=
"item.menuName"
/>
<el-option
v-for=
"item in menus
.childs
"
:key=
"item.menuId"
:label=
"item.menuName"
:value=
"item.menuName"
/>
</el-select>
</div>
-->
</div>
<el-menu
unique-opened
:collapse-transition=
'false'
:collapse=
'$store.state.iscollapse'
router
:default-active=
"defaultActive"
active-text-color=
"#409EFF"
background-color=
"#32363f"
text-color=
"#fff"
>
<!-- 一级菜单 -->
...
...
src/views/PatrolPage/TodayPatrolPage.vue
View file @
b92899b4
...
...
@@ -146,7 +146,6 @@
function
getImgUrl
(
item
)
{
item
=
item
.
replaceAll
(
"N"
,
'<img style="width: 20px; height: 20px" src="/imgs/status/status_off.png" />'
)
item
=
item
.
replaceAll
(
"N"
,
'<img style="width: 20px; height: 20px" src="/imgs/status/status_run.png" />'
)
console
.
log
(
item
)
return
item
;
}
...
...
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