Commit bb4eadc2 by wuwx

新增一键调频提示文案

1 parent 8a0699c5
...@@ -77,6 +77,7 @@ ...@@ -77,6 +77,7 @@
</div> </div>
</el-form-item> </el-form-item>
</el-form> </el-form>
<span v-if="tenantFlag">提示:每周五晚,系统自动恢复无线设备调频状态</span>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm" :loading="loading" size="small">确认</el-button> <el-button type="primary" @click="submitForm" :loading="loading" size="small">确认</el-button>
<el-button @click="$emit('onFreqModalChange', false)" size="small">取消</el-button> <el-button @click="$emit('onFreqModalChange', false)" size="small">取消</el-button>
...@@ -89,7 +90,7 @@ import { adjFreq, GET_FREQ_DETAILS, REST_FREQ_INFO } from "services/vehicle"; ...@@ -89,7 +90,7 @@ import { adjFreq, GET_FREQ_DETAILS, REST_FREQ_INFO } from "services/vehicle";
import { deepClone, showToast } from "@/utils/util"; import { deepClone, showToast } from "@/utils/util";
export default { export default {
props: ["freqVisible", "sn", "enableFreq"], props: ["freqVisible", "sn", "enableFreq", "tenantFlag"],
data() { data() {
let checkCatchingTimer = (rule, vaule, cb) => { let checkCatchingTimer = (rule, vaule, cb) => {
if (this.freqForm.fqType == "0") { if (this.freqForm.fqType == "0") {
......
...@@ -361,7 +361,7 @@ ...@@ -361,7 +361,7 @@
<!-- 车辆归属弹框 end --> <!-- 车辆归属弹框 end -->
<!-- 一键调频 弹框 开始 --> <!-- 一键调频 弹框 开始 -->
<freq-modal :freqVisible="freqVisible" v-if="freqVisible" :frequencyForm="frequencyForm" @onFreqModalChange="FreqModalChange" :sn="freqSn" :enableFreq="enableFreq"></freq-modal> <freq-modal :tenantFlag="tenantFlag" :freqVisible="freqVisible" v-if="freqVisible" :frequencyForm="frequencyForm" @onFreqModalChange="FreqModalChange" :sn="freqSn" :enableFreq="enableFreq"></freq-modal>
<!-- 一键调频 弹框 end --> <!-- 一键调频 弹框 end -->
</div> </div>
...@@ -853,7 +853,8 @@ export default { ...@@ -853,7 +853,8 @@ export default {
responseStatusList:{ responseStatusList:{
1:'发送中', 1:'发送中',
2:'是' 2:'是'
} },
tenantFlag: false
}; };
}, },
...@@ -885,6 +886,10 @@ export default { ...@@ -885,6 +886,10 @@ export default {
}); });
} }
this.getList(); this.getList();
let a = JSON.parse(localStorage.getItem('userInfo'));
if (a.tenant == "ZLGJ") {
this.tenantFlag = true;
}
}, },
methods: { methods: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!