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 bb4eadc2
authored
Nov 09, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增一键调频提示文案
1 parent
8a0699c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
src/views/vehicleManage/freqModal.vue
src/views/vehicleManage/vehicleList.vue
src/views/vehicleManage/freqModal.vue
View file @
bb4eadc
...
...
@@ -77,6 +77,7 @@
</div>
</el-form-item>
</el-form>
<span
v-if=
"tenantFlag"
>
提示:每周五晚,系统自动恢复无线设备调频状态
</span>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
:loading=
"loading"
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";
import
{
deepClone
,
showToast
}
from
"@/utils/util"
;
export
default
{
props
:
[
"freqVisible"
,
"sn"
,
"enableFreq"
],
props
:
[
"freqVisible"
,
"sn"
,
"enableFreq"
,
"tenantFlag"
],
data
()
{
let
checkCatchingTimer
=
(
rule
,
vaule
,
cb
)
=>
{
if
(
this
.
freqForm
.
fqType
==
"0"
)
{
...
...
src/views/vehicleManage/vehicleList.vue
View file @
bb4eadc
...
...
@@ -361,7 +361,7 @@
<!-- 车辆归属弹框 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 -->
</div>
...
...
@@ -853,7 +853,8 @@ export default {
responseStatusList
:{
1
:
'发送中'
,
2
:
'是'
}
},
tenantFlag
:
false
};
},
...
...
@@ -885,6 +886,10 @@ export default {
});
}
this
.
getList
();
let
a
=
JSON
.
parse
(
localStorage
.
getItem
(
'userInfo'
));
if
(
a
.
tenant
==
"ZLGJ"
)
{
this
.
tenantFlag
=
true
;
}
},
methods
:
{
...
...
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