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
2677c19e
Commit
2677c19e
authored
Sep 19, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 点位管理,增加绘图点位等比例增加
parent
d433a898
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/views/videoControl/pointControl/components/drawPoint.vue
src/views/videoControl/pointControl/components/drawPoint.vue
+6
-3
No files found.
src/views/videoControl/pointControl/components/drawPoint.vue
View file @
2677c19e
<
template
>
<el-dialog
v-model=
"algorithmManage.visible.value"
width=
"
70%
"
append-to-body
>
<el-dialog
v-model=
"algorithmManage.visible.value"
width=
"
1100px
"
append-to-body
>
<template
v-slot:header
>
<div
class=
"cleartitle"
...
...
@@ -139,7 +139,7 @@
type=
"primary"
@
click=
"beginDraw(scope.row)"
v-hasPermi=
"['system:post:edit']"
>
{{
graph
[
scope
.
row
.
id
].
length
>
0
?
'
已
'
:
''
}}
绘制
</el-button
>
{{
(
graph
[
scope
.
row
.
id
]
&&
graph
[
scope
.
row
.
id
].
length
>
0
)
?
'
已
'
:
''
}}
绘制
</el-button
>
<el-button
link
...
...
@@ -674,9 +674,11 @@ function pointDraw(e) {
point
:
""
,
title
:
draw
.
value
.
algorithmName
,
start
:
[
e
.
offsetX
,
e
.
offsetY
],
realPoint
:
''
,
};
}
graph
[
drawId
.
value
][
drawIndex
.
value
].
point
+=
`
${
e
.
offsetX
}
,
${
e
.
offsetY
}
`
;
graph
[
drawId
.
value
][
drawIndex
.
value
].
realPoint
+=
`
${
e
.
offsetX
*
4
}
,
${
e
.
offsetY
*
4
}
`
;
}
</
script
>
...
...
@@ -716,7 +718,8 @@ function pointDraw(e) {
gap
:
20px
;
.right-draw-content
{
position
:
relative
;
height
:
500px
;
width
:
480px
;
height
:
270px
;
svg
{
position
:
absolute
;
left
:
0
;
...
...
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