Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
海康威视
web-project
Commits
520c3973
Commit
520c3973
authored
Oct 21, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一键启停
parent
06a81aae
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
8 deletions
+66
-8
index.js
src/api/oneKeyStartStop/index.js
+5
-0
OnekeyStartStopPage.vue
src/views/RemotePage/OnekeyStartStopPage.vue
+61
-8
No files found.
src/api/oneKeyStartStop/index.js
View file @
520c3973
...
...
@@ -8,3 +8,8 @@ export const selectOneStartStop = params => {
export
const
selectIsScheduleByUserId
=
params
=>
{
return
httpTwo
.
get
(
`/busVoiceCommands/selectIsScheduleByUserId?userId=`
+
params
.
userId
)
}
// 手动执行到哪一步了
export
const
setOneStartStop
=
(
item
)
=>
{
return
httpTwo
.
post
(
`/busVoiceCommands/setOneStartStop`
,
item
)
}
src/views/RemotePage/OnekeyStartStopPage.vue
View file @
520c3973
This diff is collapsed.
Click to expand it.
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