Commit 5479b57e by 张杰

修复bug

1 parent 87033701
<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 = [];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!