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
3 years ago
by
潘建波
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
测试提交
1 parent
001877c3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 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
Vue
from
"vue"
;
import
App
from
"./App.vue"
;
import
App
from
"./App.vue"
;
import
ElementUI
from
"element-ui"
;
import
ElementUI
from
"element-ui"
;
...
...
This diff is collapsed.
Click to expand it.
src/views/sceneManage/index.vue
View file @
74fb58b
...
@@ -203,9 +203,14 @@ export default {
...
@@ -203,9 +203,14 @@ export default {
},
9000
)
},
9000
)
}
}
if
(
this
.
subtaskdata
.
task_algo_type
==
'12'
)
{
if
(
this
.
subtaskdata
.
task_algo_type
==
'12'
)
{
this
.
playurl
=
{
rtsp_url
:
this
.
subtaskdata
.
rtsp_url
};
console
.
log
(
this
.
subtaskdata
)
this
.
$refs
.
videoplay
.
videoPlay
()
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
.
$api
.
task
.
getPlayUrl
(
this
.
currentSubtaskId
).
then
(
res
=>
{
this
.
playurl
=
res
;
this
.
playurl
=
res
;
if
(
this
.
playurl
.
rtsp_url
)
{
if
(
this
.
playurl
.
rtsp_url
)
{
...
...
This diff is collapsed.
Click to expand it.
src/views/sceneManage/setting/areaconfig/Behavior.vue
View file @
74fb58b
<
template
>
<
template
>
<div
class=
"modal-body b-box"
>
<div
class=
"modal-body b-box"
>
<div
class=
"modal-left"
>
<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>
<canvas
id=
"main"
width=
"700"
height=
"500"
></canvas>
</div>
</div>
</div>
</div>
...
@@ -119,6 +119,7 @@ export default {
...
@@ -119,6 +119,7 @@ export default {
roiBody
:
{},
roiBody
:
{},
basedocument
:
null
,
basedocument
:
null
,
paramsData
:
""
,
paramsData
:
""
,
caturl
:
""
};
};
},
},
methods
:
{
methods
:
{
...
@@ -548,8 +549,13 @@ export default {
...
@@ -548,8 +549,13 @@ export default {
console
.
log
(
"xxxx"
,
this
.
configxml
.
xml
);
console
.
log
(
"xxxx"
,
this
.
configxml
.
xml
);
this
.
basconfig
=
this
.
oParse
.
parseXML
(
this
.
configxml
.
xml
);
this
.
basconfig
=
this
.
oParse
.
parseXML
(
this
.
configxml
.
xml
);
this
.
initConfig
(
this
.
basconfig
);
this
.
initConfig
(
this
.
basconfig
);
},
},
mounted
()
{
mounted
()
{
document
.
getElementById
(
"VionVideo"
).
CapturePicture
(
"D:\/vionpic/behavior.png"
)
setTimeout
(()
=>
{
this
.
caturl
=
"D:\/vionpic\/behavior.png"
},
1000
);
this
.
basedocument
=
$
.
parseXML
(
xml
);
this
.
basedocument
=
$
.
parseXML
(
xml
);
var
vthis
=
this
;
var
vthis
=
this
;
...
...
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
74fb58b
...
@@ -19,7 +19,7 @@ module.exports = {
...
@@ -19,7 +19,7 @@ module.exports = {
}
}
},
},
chainWebpack
:
config
=>
{
chainWebpack
:
config
=>
{
config
.
entry
(
'main'
).
add
(
'babel-polyfill'
)
//
config.entry('main').add('babel-polyfill')
if
(
process
.
env
.
use_analyzer
)
{
if
(
process
.
env
.
use_analyzer
)
{
// 分析
// 分析
config
config
...
...
This diff is collapsed.
Click to expand it.
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