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 87033701
authored
Sep 20, 2022
by
张杰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
v1.11.0版本需求
1 parent
a343607a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
20 deletions
src/views/vehicleManage/freqModal.vue
src/views/vehicleManage/vehicleList.vue
src/views/vehicleManage/freqModal.vue
View file @
8703370
...
@@ -223,7 +223,7 @@ export default {
...
@@ -223,7 +223,7 @@ export default {
submitForm
()
{
submitForm
()
{
let
_this
=
this
;
let
_this
=
this
;
let
params
=
this
.
getParams
();
let
params
=
this
.
getParams
();
console
.
log
(
params
)
console
.
log
(
params
)
;
if
(
!
this
.
freqForm
.
enableFreq
)
{
if
(
!
this
.
freqForm
.
enableFreq
)
{
_this
.
closeDialog
();
_this
.
closeDialog
();
return
false
;
return
false
;
...
@@ -232,15 +232,21 @@ export default {
...
@@ -232,15 +232,21 @@ export default {
if
(
!
valid
)
{
if
(
!
valid
)
{
return
false
;
return
false
;
}
}
adjFreq
(
params
).
then
((
res
)
=>
{
_this
.
loading
=
true
;
if
(
res
.
code
==
200
)
{
adjFreq
(
params
)
showToast
({
.
then
((
res
)
=>
{
type
:
"success"
,
_this
.
loading
=
false
;
message
:
res
.
message
,
if
(
res
.
code
==
200
)
{
});
showToast
({
_this
.
closeDialog
();
type
:
"success"
,
}
message
:
res
.
message
,
});
});
_this
.
closeDialog
();
}
})
.
catch
((
error
)
=>
{
_this
.
loading
=
false
;
});
});
});
},
},
validateClock
()
{
validateClock
()
{
...
...
src/views/vehicleManage/vehicleList.vue
View file @
8703370
...
@@ -147,7 +147,7 @@
...
@@ -147,7 +147,7 @@
<!-- 列表数据 end -->
<!-- 列表数据 end -->
<!-- 新增、编辑、查看弹框 开始 -->
<!-- 新增、编辑、查看弹框 开始 -->
<basic-dialog
width=
"
90%
"
:title=
"vehicleTitle"
:isVisible=
"vehicleVisible"
:hasOk=
"vehicleHasOk"
:loading=
"ajaxLoading"
@
confirmDialog=
"handleConfirm('create')"
@
closeDialog=
"handleClose('create')"
>
<basic-dialog
width=
"
800px
"
:title=
"vehicleTitle"
:isVisible=
"vehicleVisible"
:hasOk=
"vehicleHasOk"
:loading=
"ajaxLoading"
@
confirmDialog=
"handleConfirm('create')"
@
closeDialog=
"handleClose('create')"
>
<slot>
<slot>
<div
class=
"dialog_content"
v-loading=
"formLoading"
>
<div
class=
"dialog_content"
v-loading=
"formLoading"
>
<el-form
class=
"el_form"
ref=
"snForm"
:model=
"snForm"
:rules=
"vehicleRules"
:inline=
"false"
:disabled=
"isReadonly"
size=
"mini"
label-width=
"100px"
>
<el-form
class=
"el_form"
ref=
"snForm"
:model=
"snForm"
:rules=
"vehicleRules"
:inline=
"false"
:disabled=
"isReadonly"
size=
"mini"
label-width=
"100px"
>
...
@@ -276,13 +276,13 @@
...
@@ -276,13 +276,13 @@
<table
class=
"freq_table el_table"
v-loading=
"freqLoading"
>
<table
class=
"freq_table el_table"
v-loading=
"freqLoading"
>
<tr>
<tr>
<th
width=
"20%"
>
调频时间
</th>
<th
width=
"20%"
>
调频时间
</th>
<th
width=
"1
0
%"
>
调频模式
</th>
<th
width=
"1
4
%"
>
调频模式
</th>
<th
width=
"1
0
%"
>
上点频次
</th>
<th
width=
"1
4
%"
>
上点频次
</th>
<th
width=
"1
0
%"
>
持续时长
</th>
<th
width=
"1
4
%"
>
持续时长
</th>
<th
width=
"1
0
%"
>
设备是否响应
</th>
<th
width=
"1
4
%"
>
设备是否响应
</th>
<th
width=
"10%"
>
调频上点个数
</th>
<
!--
<
th
width=
"10%"
>
调频上点个数
</th>
<th
width=
"10%"
>
设备上点总个数
</th>
<th
width=
"10%"
>
设备上点总个数
</th>
-->
<th
width=
"1
0
%"
>
剩余电量
</th>
<th
width=
"1
4
%"
>
剩余电量
</th>
<th
width=
"10%"
>
调频操作人
</th>
<th
width=
"10%"
>
调频操作人
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in freqTableData"
:key=
"index"
>
<tr
v-for=
"(item,index) in freqTableData"
:key=
"index"
>
...
@@ -291,8 +291,8 @@
...
@@ -291,8 +291,8 @@
<td>
{{
item
.
frequency
}}
</td>
<td>
{{
item
.
frequency
}}
</td>
<td>
{{
item
.
duration
==
'-1'
?
'永久有效'
:(
item
.
duration
||
'--'
)
}}
</td>
<td>
{{
item
.
duration
==
'-1'
?
'永久有效'
:(
item
.
duration
||
'--'
)
}}
</td>
<td>
{{
responseStatusList
[
item
.
responseStatus
]
||
'--'
}}
</td>
<td>
{{
responseStatusList
[
item
.
responseStatus
]
||
'--'
}}
</td>
<td>
{{
item
.
freTotal
}}
</td>
<
!--
<
td>
{{
item
.
freTotal
}}
</td>
<td>
{{
item
.
devicePointTotal
}}
</td>
<td>
{{
item
.
devicePointTotal
}}
</td>
-->
<td>
{{
item
.
batteryLevel
}}
%
</td>
<td>
{{
item
.
batteryLevel
}}
%
</td>
<td>
{{
item
.
operation
}}
</td>
<td>
{{
item
.
operation
}}
</td>
</tr>
</tr>
...
...
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