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
59c280d9
Commit
59c280d9
authored
Jan 09, 2025
by
lwy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一键启停静态页面
parent
0052eacf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
OnekeyStartStopPage.vue
src/views/RemotePage/OnekeyStartStopPage.vue
+9
-5
No files found.
src/views/RemotePage/OnekeyStartStopPage.vue
View file @
59c280d9
...
@@ -8,8 +8,10 @@
...
@@ -8,8 +8,10 @@
<el-dialog
@
close=
"onClose"
:close-on-click-modal=
"false"
v-model=
"dialogFormVisible"
width=
"30%"
title=
"请选择进行一键启动的循环泵:"
center
>
<el-dialog
@
close=
"onClose"
:close-on-click-modal=
"false"
v-model=
"dialogFormVisible"
width=
"30%"
title=
"请选择进行一键启动的循环泵:"
center
>
<div
style=
"display: flex;justify-content: center;align-items: center; height: 150px;"
>
<div
style=
"display: flex;justify-content: center;align-items: center; height: 150px;"
>
<el-button
type=
"primary"
:loading=
"isLoading"
@
click=
"OneKeyStart(1)"
style=
"margin-right: 50px;"
>
一号循环泵
</el-button>
<!-- 删除 @click="OneKeyStart(1)" 不进行操作-->
<el-button
type=
"primary"
:loading=
"isLoading"
@
click=
"OneKeyStart(2)"
>
二号循环泵
</el-button>
<el-button
type=
"primary"
:loading=
"isLoading"
style=
"margin-right: 50px;"
>
一号循环泵
</el-button>
<!-- 删除@click="OneKeyStart(2)" 不进行操作 -->
<el-button
type=
"primary"
:loading=
"isLoading"
>
二号循环泵
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<el-card
class=
"remoteTitle"
>
<el-card
class=
"remoteTitle"
>
...
@@ -32,9 +34,11 @@
...
@@ -32,9 +34,11 @@
<el-input
v-model=
"limit"
v-text=
"limit"
style=
"width: 150px;"
v-float-number
></el-input>
(米)
<el-input
v-model=
"limit"
v-text=
"limit"
style=
"width: 150px;"
v-float-number
></el-input>
(米)
</div>
</div>
<div
class=
"demo-button"
>
<div
class=
"demo-button"
>
<el-button
type=
"primary"
:loading=
"isLoading"
@
click=
"TransferOpen"
>
一键启动
</el-button>
<!-- 删除 @click="TransferOpen" 不进行操作 -->
<el-button
type=
"primary"
:loading=
"isLoading"
>
一键启动
</el-button>
<!--
<el-button
type=
"primary"
:loading=
"isLoading"
@
click=
"OnekeyStopEnd"
>
一键停止
</el-button>
-->
<!--
<el-button
type=
"primary"
:loading=
"isLoading"
@
click=
"OnekeyStopEnd"
>
一键停止
</el-button>
-->
<el-button
type=
"primary"
:loading=
"isLoading"
@
click=
"TransferClose"
>
一键停止
</el-button>
<!-- 删除 @click="TransferClose" 不进行操作 -->
<el-button
type=
"primary"
:loading=
"isLoading"
>
一键停止
</el-button>
</div>
</div>
</div>
</div>
</el-card>
</el-card>
...
@@ -103,7 +107,7 @@ import { ElMessage,ElMessageBox } from "element-plus";
...
@@ -103,7 +107,7 @@ import { ElMessage,ElMessageBox } from "element-plus";
import
{
vFloatNumber
}
from
"../../utils/directives.js"
;
import
{
vFloatNumber
}
from
"../../utils/directives.js"
;
import
{
fa
}
from
'element-plus/es/locale'
;
import
{
fa
}
from
'element-plus/es/locale'
;
import
{
useRoute
}
from
"vue-router"
;
import
{
useRoute
}
from
"vue-router"
;
import
{
selectOneStartStop
,
selectIsScheduleByUserId
,
setOneStartStop
}
from
'../../api/oneKeyStartStop/index.js'
//
import {selectOneStartStop, selectIsScheduleByUserId, setOneStartStop} from '../../api/oneKeyStartStop/index.js'
const
enterpriseId
=
ref
(
null
);
const
enterpriseId
=
ref
(
null
);
const
cascaderRef
=
ref
(
null
);
const
cascaderRef
=
ref
(
null
);
const
isLoading
=
ref
(
false
);
const
isLoading
=
ref
(
false
);
...
...
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