Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai-yunshou-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
AI云守
ai-yunshou-vue
Commits
93db133f
Commit
93db133f
authored
Sep 12, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 算法列表中menu显示问题
parent
8970d106
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
9 deletions
+17
-9
src/views/alarmControl/index.vue
src/views/alarmControl/index.vue
+1
-1
src/views/algorithmList/index.vue
src/views/algorithmList/index.vue
+13
-6
src/views/logControl/index.vue
src/views/logControl/index.vue
+1
-1
src/views/videoControl/pointControl/components/drawPoint.vue
src/views/videoControl/pointControl/components/drawPoint.vue
+1
-0
src/views/videoControl/videoPreview/index.vue
src/views/videoControl/videoPreview/index.vue
+1
-1
No files found.
src/views/alarmControl/index.vue
View file @
93db133f
...
...
@@ -76,7 +76,7 @@
<el-card
class=
"alg-item"
shadow=
"hover"
>
<
template
v-slot:default
>
<div
style=
"width: 100%;overflow: hidden;"
>
<ImagePreview
style=
"
width: 100%
;"
:src=
"item.alarmImg"
/>
<ImagePreview
style=
"
display: grid; width: 100%; aspect-ratio: 16 / 9;overflow: hidden
;"
:src=
"item.alarmImg"
/>
</div>
<h2
:style=
"
{color:item.alarmLevelColor}">
{{
item
.
alarmType
}}
</h2>
<p
style=
"color: #999999;font-size: 12px;"
>
...
...
src/views/algorithmList/index.vue
View file @
93db133f
...
...
@@ -27,16 +27,16 @@
default-active=
"2"
class=
"el-menu-vertical-demo"
>
<el-menu-item
:index=
"'我的算法'"
@
click=
"handMyMenuClick"
>
<span><el-icon
style=
"color: #7F8184;"
><component
:is=
"'Collection'"
/></el-icon>
我的算法
</span>
<el-menu-item
:index=
"'我的算法'"
@
click=
"handMyMenuClick"
>
<span><el-icon
><component
:is=
"'Collection'"
/></el-icon>
我的算法
</span>
</el-menu-item>
<el-divider
style=
"margin: 5px 0;"
/>
<el-menu-item
:index=
"''"
@
click=
"handMenuAllClick"
>
<span>
<el-icon
style=
"color: #7F8184;"
><component
:is=
"'Discount'"
/></el-icon>
全部算法
</span>
<el-menu-item
:index=
"''"
@
click=
"handMenuAllClick"
>
<span>
<el-icon
><component
:is=
"'Discount'"
/></el-icon>
全部算法
</span>
</el-menu-item>
<el-menu-item
v-for=
"item in algorithm_scen"
:key=
"item.value"
:index=
"item.value"
@
click=
"handMenuClick"
>
<el-menu-item
v-for=
"item in algorithm_scen"
:key=
"item.value"
:index=
"item.value"
@
click=
"handMenuClick"
>
<span
style=
"display: flex;align-items: center;"
>
<el-icon
style=
"color: #7F8184;"
><component
:is=
"iconComponent(item.remark)"
/></el-icon>
<el-icon
><component
:is=
"iconComponent(item.remark)"
/></el-icon>
</span>
<span>
{{ item.label }}
</span>
</el-menu-item>
...
...
@@ -160,6 +160,7 @@ import { el } from "element-plus/es/locales.mjs";
const
listState
=
ref
(
false
)
const
ids
=
ref
([]);
const
isActive
=
ref
(
''
);
const
isMenuActive
=
ref
(
''
);
// const iconComponent = ref('');
// setTimeout(() => {
// iconComponent.value='CirclePlusFilled'
...
...
@@ -296,6 +297,12 @@ import { el } from "element-plus/es/locales.mjs";
</
script
>
<
style
scoped
lang=
"scss"
>
.el-menu-item.is-active
{
background
:
#E4F2FF
!
important
;
}
.menu-active
{
// background: #E4F2FF !important;
}
.active
{
background-color
:
#409EFF
;
color
:
#fff
;
...
...
src/views/logControl/index.vue
View file @
93db133f
...
...
@@ -13,7 +13,7 @@
</el-form-item>
<el-form-item
label=
"摄像头"
prop=
"cameraNo"
>
<el-select
v-model=
"queryParams.cameraNo"
placeholder=
"请选择摄像头"
clearable
style=
"width: 200px"
>
<el-option
v-for=
"dict in deviceList"
:key=
"dict.deviceNo"
:label=
"dict.deviceName"
:value=
"dict.deviceN
o
"
/>
<el-option
v-for=
"dict in deviceList"
:key=
"dict.deviceNo"
:label=
"dict.deviceName"
:value=
"dict.deviceN
ame
"
/>
</el-select>
</el-form-item>
<el-form-item>
...
...
src/views/videoControl/pointControl/components/drawPoint.vue
View file @
93db133f
...
...
@@ -463,6 +463,7 @@ function submit() {
});
}
algorithmManage
.
form
.
value
.
algorithms
=
algorithms
;
if
(
Array
.
isArray
(
algorithmManage
.
form
.
value
.
regionalId
))
algorithmManage
.
form
.
value
.
regionalId
=
algorithmManage
.
form
.
value
.
regionalId
.
pop
();
algorithmManage
.
toSubmit
();
}
});
...
...
src/views/videoControl/videoPreview/index.vue
View file @
93db133f
...
...
@@ -86,7 +86,7 @@
shadow=
"hover"
>
<
template
v-slot:default
>
<ImagePreview
:src=
"item.alarmImg"
style=
"
width: 100%"
/>
<ImagePreview
:src=
"item.alarmImg"
style=
"
display: grid; width: 100%; aspect-ratio: 16 / 9;overflow: hidden;"
/>
<el-form
:model=
"form"
label-width=
"100px"
>
<!--
<el-form-item
label=
"预警设备:"
>
{{
form
.
title
}}
</el-form-item>
<el-form-item
label=
"登录信息:"
>
{{
form
.
title
}}
</el-form-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