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 fc0deba6
authored
Nov 11, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'wuwx-v1.13.0' into 'v1.13.0'
Wuwx v1.13.0 See merge request
!53
2 parents
87f09cf8
bb4eadc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
5 deletions
src/views/vehicleManage/freqModal.vue
src/views/vehicleManage/vehicleList.vue
src/views/vehicleManage/freqModal.vue
View file @
fc0deba
...
@@ -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"
)
{
...
...
src/views/vehicleManage/vehicleList.vue
View file @
fc0deba
...
@@ -128,14 +128,25 @@
...
@@ -128,14 +128,25 @@
<el-button
v-if=
"row.sns"
type=
"text"
size=
"mini"
@
click=
"btnClick('unbind', row)"
>
解绑
</el-button>
<el-button
v-if=
"row.sns"
type=
"text"
size=
"mini"
@
click=
"btnClick('unbind', row)"
>
解绑
</el-button>
<!--
<el-button
v-if=
"scope.scope.adjFreq === 1"
type=
"text"
size=
"mini"
@
click=
"btnClick('freq', scope.scope)"
>
一键调频
</el-button>
-->
<!--
<el-button
v-if=
"scope.scope.adjFreq === 1"
type=
"text"
size=
"mini"
@
click=
"btnClick('freq', scope.scope)"
>
一键调频
</el-button>
-->
<el-button
type=
"text"
size=
"mini"
@
click=
"gotoMonitor(row)"
>
监控
</el-button>
<el-button
type=
"text"
size=
"mini"
@
click=
"gotoMonitor(row)"
>
监控
</el-button>
<el-dropdown
v-if=
"row.adjFreq"
@
command=
"handleCommand"
style=
"margin-left:5px"
>
<template
v-if=
"hasPermission('vehicle_vin_frequency')"
>
<el-dropdown
v-if=
"row.adjFreq"
@
command=
"handleCommand"
class=
"frequencyClass"
>
<el-button
size=
"mini"
>
<el-button
size=
"mini"
>
<i
class=
"el-icon-arrow-down"
></i>
<i
class=
"el-icon-arrow-down"
></i>
</el-button>
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-item
v-if=
"row.adjFreq===1"
:command=
"getCommand('freq', row.sn, row.enableFre)"
>
一键调频
</el-dropdown-item>
<el-dropdown-item
v-if=
"row.adjFreq===1"
:command=
"getCommand('freq', row.sn, row.enableFre)"
>
一键调频
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown-menu>
</el-dropdown>
</el-dropdown>
</
template
>
<!-- <el-dropdown v-if="row.adjFreq" @command="handleCommand" style="margin-left:5px">
<el-button size="mini">
<i class="el-icon-arrow-down"></i>
</el-button>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-if="row.adjFreq===1" :command="getCommand('freq', row.sn, row.enableFre)">一键调频</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown> -->
</template>
</template>
</template>
</template>
</el-table-column>
</el-table-column>
...
@@ -350,7 +361,7 @@
...
@@ -350,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>
...
@@ -842,7 +853,8 @@ export default {
...
@@ -842,7 +853,8 @@ export default {
responseStatusList
:{
responseStatusList
:{
1
:
'发送中'
,
1
:
'发送中'
,
2
:
'是'
2
:
'是'
}
},
tenantFlag
:
false
};
};
},
},
...
@@ -874,6 +886,10 @@ export default {
...
@@ -874,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
:
{
...
@@ -1892,4 +1908,7 @@ export default {
...
@@ -1892,4 +1908,7 @@ export default {
margin-left
:
10px
;
margin-left
:
10px
;
}
}
}
}
.frequencyClass
{
margin-left
:
5px
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
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