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
dd911c9b
Commit
dd911c9b
authored
Aug 29, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 算法接口地址调整,案例图片接口联调
parent
c00b70a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/views/deviceControl/index.vue
src/views/deviceControl/index.vue
+3
-2
No files found.
src/views/deviceControl/index.vue
View file @
dd911c9b
...
...
@@ -162,7 +162,7 @@
</el-col>
<el-col
:span=
"24"
>
<el-form-item
label=
"视频流地址"
prop=
"videoUrl"
>
<el-input
v-model=
"form.videoUrl"
placeholder=
"请输入视频流
类型
"
/>
<el-input
v-model=
"form.videoUrl"
placeholder=
"请输入视频流
地址
"
/>
</el-form-item>
</el-col>
...
...
@@ -271,8 +271,9 @@
function
handleStatusChange
(
row
)
{
let
text
=
row
.
isOpen
===
"
0
"
?
"
禁用
"
:
"
启用
"
;
proxy
.
$modal
.
confirm
(
'
确认要"
'
+
text
+
'
""
'
+
row
.
deviceName
+
'
"设备吗?
'
).
then
(
function
()
{
return
updateStatusDevice
({
id
:
row
.
id
,
status
:
row
.
status
});
return
updateStatusDevice
({
id
:
row
.
id
,
status
:
row
.
isOpen
===
"
0
"
?
"
1
"
:
"
0
"
});
}).
then
(()
=>
{
getList
()
proxy
.
$modal
.
msgSuccess
(
text
+
"
成功
"
);
}).
catch
(
function
()
{
row
.
status
=
row
.
status
===
"
0
"
?
"
1
"
:
"
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