Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
AI_VUE2_Ruoyi
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
lei
AI_VUE2_Ruoyi
Commits
c9c776b2
Commit
c9c776b2
authored
Aug 30, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:监控视频部分修改
parent
fb9b097c
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
42 additions
and
44 deletions
+42
-44
.env.development
.env.development
+1
-1
.env.production
.env.production
+1
-1
.env.staging
.env.staging
+1
-1
request.js
src/utils/request.js
+32
-32
index.vue
src/views/Screen/index.vue
+1
-1
addVideoAnlysisTasks.vue
...views/VideoAnalysisTasks/modules/addVideoAnlysisTasks.vue
+5
-0
index.vue
src/views/index.vue
+1
-1
vue.config.js
vue.config.js
+0
-7
No files found.
.env.development
View file @
c9c776b2
# 页面标题
# 页面标题
VUE_APP_TITLE =
AI
视频推理平台
VUE_APP_TITLE =
弘基AI
视频推理平台
# 开发环境配置
# 开发环境配置
ENV = 'development'
ENV = 'development'
...
...
.env.production
View file @
c9c776b2
# 页面标题
# 页面标题
VUE_APP_TITLE = AI视频推理平台
VUE_APP_TITLE =
弘基
AI视频推理平台
# 生产环境配置
# 生产环境配置
ENV = 'production'
ENV = 'production'
...
...
.env.staging
View file @
c9c776b2
# 页面标题
# 页面标题
VUE_APP_TITLE = AI视频推理平台
VUE_APP_TITLE =
弘基
AI视频推理平台
BABEL_ENV = production
BABEL_ENV = production
...
...
src/utils/request.js
View file @
c9c776b2
...
@@ -106,7 +106,7 @@ service.interceptors.response.use(res => {
...
@@ -106,7 +106,7 @@ service.interceptors.response.use(res => {
}
else
{
}
else
{
return
res
.
data
return
res
.
data
}
}
},
},
error
=>
{
error
=>
{
console
.
log
(
'
err
'
+
error
)
console
.
log
(
'
err
'
+
error
)
let
{
message
}
=
error
;
let
{
message
}
=
error
;
...
...
src/views/Screen/index.vue
View file @
c9c776b2
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
>
>
<div
class=
"screen-box1"
>
<div
class=
"screen-box1"
>
<div
class=
"screen-title"
>
<div
class=
"screen-title"
>
<span>
智慧矿山AI
推理平台
</span>
<span>
弘基AI视频
推理平台
</span>
</div>
</div>
<div
class=
"screen-content"
>
<div
class=
"screen-content"
>
<el-row>
<el-row>
...
...
src/views/VideoAnalysisTasks/modules/addVideoAnlysisTasks.vue
View file @
c9c776b2
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
v-model=
"checkAnalysisList"
v-model=
"checkAnalysisList"
size=
"small"
size=
"small"
:key=
"uniqueKey"
:key=
"uniqueKey"
style=
"height: calc(100vh - 320px); overflow-y: auto"
>
>
<!-- 自定义复选框组件 -->
<!-- 自定义复选框组件 -->
<div
<div
...
@@ -81,6 +82,7 @@
...
@@ -81,6 +82,7 @@
@
selection-change=
"cameraChange"
@
selection-change=
"cameraChange"
ref=
"cameraTable"
ref=
"cameraTable"
row-key=
"cameraId"
row-key=
"cameraId"
height=
"calc(100vh - 320px)"
>
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
label=
"名称"
prop=
"cameraName"
></el-table-column>
<el-table-column
label=
"名称"
prop=
"cameraName"
></el-table-column>
...
@@ -393,6 +395,9 @@ export default {
...
@@ -393,6 +395,9 @@ export default {
cameraChange
(
val
)
{
cameraChange
(
val
)
{
const
currentAlgorithm
=
const
currentAlgorithm
=
this
.
checkAnalysisList
[
this
.
selectedAlgorithmIndex
];
this
.
checkAnalysisList
[
this
.
selectedAlgorithmIndex
];
this
.
checkCameraList
=
val
;
console
.
log
(
this
.
checkCameraList
);
if
(
currentAlgorithm
)
{
if
(
currentAlgorithm
)
{
currentAlgorithm
.
checkCameraList
=
val
.
map
((
item
)
=>
({
currentAlgorithm
.
checkCameraList
=
val
.
map
((
item
)
=>
({
cameraId
:
item
.
cameraId
,
cameraId
:
item
.
cameraId
,
...
...
src/views/index.vue
View file @
c9c776b2
...
@@ -370,7 +370,7 @@ export default {
...
@@ -370,7 +370,7 @@ export default {
var
videoElement
=
document
.
getElementById
(
"
videoPlayer
"
);
var
videoElement
=
document
.
getElementById
(
"
videoPlayer
"
);
var
flvPlayer
=
flvjs
.
createPlayer
({
var
flvPlayer
=
flvjs
.
createPlayer
({
type
:
"
flv
"
,
type
:
"
flv
"
,
url
:
"
http://192.168.
3.248
:2022/live/15_1_.flv
"
,
//你的url地址
url
:
"
http://192.168.
1.84
:2022/live/15_1_.flv
"
,
//你的url地址
});
});
flvPlayer
.
attachMediaElement
(
videoElement
);
flvPlayer
.
attachMediaElement
(
videoElement
);
flvPlayer
.
load
();
flvPlayer
.
load
();
...
...
vue.config.js
View file @
c9c776b2
...
@@ -47,13 +47,6 @@ module.exports = {
...
@@ -47,13 +47,6 @@ module.exports = {
}
}
},
},
'
/proxy-iframe
'
:
{
target
:
'
http://192.168.2.23:8080
'
,
// 替换为实际目标地址
changeOrigin
:
true
,
pathRewrite
:
{
'
^/proxy-iframe
'
:
''
// 替换为实际路径前缀
}
},
},
},
disableHostCheck
:
true
disableHostCheck
:
true
},
},
...
...
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