Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
This project
Loading...
Sign in
Toggle navigation
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 5479b57e
authored
Sep 21, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
87033701
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
src/views/vehicleManage/freqModal.vue
src/views/vehicleManage/freqModal.vue
View file @
5479b57
<
template
>
<!-- 一键调频弹框 -->
<el-dialog
title=
"一键调频"
:visible=
"freqVisible"
@
open=
"openDialog"
@
close=
"closeDialog"
append-to-body
width=
"700px"
:close-on-click-modal=
"false"
>
<el-form
:model=
"freqForm"
ref=
"freqForm"
:rules=
"freqFormRules"
size=
"mini"
label-width=
"150px"
>
<el-form
:model=
"freqForm"
ref=
"freqForm"
:rules=
"freqFormRules"
size=
"mini"
label-width=
"150px"
v-loading=
"formLoading"
>
<el-form-item
label=
"调频开关:"
>
<el-switch
v-model=
"freqForm.enableFreq"
@
change=
"closeFreq"
></el-switch>
<span
class=
"type_tips"
>
(关闭时,恢复出厂设置,打开时支持模式选择,默认关闭)
</span>
...
...
@@ -149,6 +149,7 @@ export default {
format
:
"HH:mm"
,
},
loading
:
false
,
formLoading
:
false
};
},
computed
:
{
...
...
@@ -292,8 +293,10 @@ export default {
},
// 获取调频配置信息
async
getFreqInfo
(
sn
)
{
this
.
formLoading
=
true
let
res
=
await
GET_FREQ_DETAILS
({
sn
:
sn
});
console
.
log
(
res
);
this
.
formLoading
=
false
if
(
res
.
code
==
200
)
{
let
obj
=
res
.
data
||
{};
let
teamList
=
[];
...
...
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