Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
platform
/
fanxing_new
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 74fb58bd
authored
May 11, 2021
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
测试提交
1 parent
001877c3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
5 deletions
src/main.js
src/views/sceneManage/index.vue
src/views/sceneManage/setting/areaconfig/Behavior.vue
vue.config.js
src/main.js
View file @
74fb58b
import
'babel-polyfill'
import
Vue
from
"vue"
;
import
App
from
"./App.vue"
;
import
ElementUI
from
"element-ui"
;
...
...
src/views/sceneManage/index.vue
View file @
74fb58b
...
...
@@ -203,8 +203,13 @@ export default {
},
9000
)
}
if
(
this
.
subtaskdata
.
task_algo_type
==
'12'
)
{
this
.
playurl
=
{
rtsp_url
:
this
.
subtaskdata
.
rtsp_url
};
this
.
$refs
.
videoplay
.
videoPlay
()
console
.
log
(
this
.
subtaskdata
)
this
.
playurl
=
{
rtsp_url
:
"rtsp://192.168.9.233:8554//opt/data/vedio/1619338660378.264"
};
console
.
log
(
"bkurl"
,
this
.
playurl
)
setTimeout
(()
=>
{
this
.
$refs
.
videoplay
.
videoPlay
();
},
2000
);
return
false
;
}
this
.
$api
.
task
.
getPlayUrl
(
this
.
currentSubtaskId
).
then
(
res
=>
{
this
.
playurl
=
res
;
...
...
src/views/sceneManage/setting/areaconfig/Behavior.vue
View file @
74fb58b
<
template
>
<div
class=
"modal-body b-box"
>
<div
class=
"modal-left"
>
<div
class=
"pic"
id=
"pic"
>
<div
class=
"pic"
id=
"pic"
:style=
"
{'background':caturl}"
>
<canvas
id=
"main"
width=
"700"
height=
"500"
></canvas>
</div>
</div>
...
...
@@ -119,6 +119,7 @@ export default {
roiBody
:
{},
basedocument
:
null
,
paramsData
:
""
,
caturl
:
""
};
},
methods
:
{
...
...
@@ -548,8 +549,13 @@ export default {
console
.
log
(
"xxxx"
,
this
.
configxml
.
xml
);
this
.
basconfig
=
this
.
oParse
.
parseXML
(
this
.
configxml
.
xml
);
this
.
initConfig
(
this
.
basconfig
);
},
mounted
()
{
document
.
getElementById
(
"VionVideo"
).
CapturePicture
(
"D:\/vionpic/behavior.png"
)
setTimeout
(()
=>
{
this
.
caturl
=
"D:\/vionpic\/behavior.png"
},
1000
);
this
.
basedocument
=
$
.
parseXML
(
xml
);
var
vthis
=
this
;
...
...
vue.config.js
View file @
74fb58b
...
...
@@ -19,7 +19,7 @@ module.exports = {
}
},
chainWebpack
:
config
=>
{
config
.
entry
(
'main'
).
add
(
'babel-polyfill'
)
//
config.entry('main').add('babel-polyfill')
if
(
process
.
env
.
use_analyzer
)
{
// 分析
config
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment