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 9d5f0e8e
authored
Sep 22, 2021
by
吴娟华
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
'1.2.1'
1 parent
a7005aa8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
13 deletions
src/views/vehicleManage/vehicleList.vue
src/views/vehicleManage/vehicleList.vue
View file @
9d5f0e8
...
@@ -61,12 +61,12 @@
...
@@ -61,12 +61,12 @@
<rule-form
:ruleForm=
"vehicleForm"
:rules=
"vehicleRules"
:ruleData=
"vehicleData"
:labelWidth=
"'140px'"
ref=
'vehicleRuleForm'
></rule-form>
<rule-form
:ruleForm=
"vehicleForm"
:rules=
"vehicleRules"
:ruleData=
"vehicleData"
:labelWidth=
"'140px'"
ref=
'vehicleRuleForm'
></rule-form>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<el-form
label-width=
"120px"
>
<el-form
label-width=
"120px"
style=
"min-height:20px"
v-loading=
"freqLoading"
>
<el-form-item
label=
"操作日志"
v-show=
"freqTableData.length"
>
<el-form-item
label=
"操作日志"
v-show=
"freqTableData.length"
>
<table
class=
"freq_table"
>
<table
class=
"freq_table"
>
<tr>
<tr>
<th
width=
"
9
0"
>
调频时间
</th>
<th
width=
"
8
0"
>
调频时间
</th>
<th
width=
"
6
0"
>
调频模式
</th>
<th
width=
"
8
0"
>
调频模式
</th>
<th
width=
"100"
>
上点频次
</th>
<th
width=
"100"
>
上点频次
</th>
<th>
调频上点个数
</th>
<th>
调频上点个数
</th>
<th>
设备上点总个数
</th>
<th>
设备上点总个数
</th>
...
@@ -212,6 +212,7 @@ export default {
...
@@ -212,6 +212,7 @@ export default {
type
:
"input"
,
type
:
"input"
,
inputType
:
"text"
,
inputType
:
"text"
,
prop
:
"keywords"
,
prop
:
"keywords"
,
width
:
'360'
,
placeholder
:
"车主姓名|车架号|设备号|车型"
,
placeholder
:
"车主姓名|车架号|设备号|车型"
,
},
},
{
{
...
@@ -219,7 +220,6 @@ export default {
...
@@ -219,7 +220,6 @@ export default {
type
:
'select'
,
type
:
'select'
,
prop
:
'deviceType'
,
prop
:
'deviceType'
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
width
:
'200px'
,
options
:
[{
options
:
[{
label
:
'全部'
,
label
:
'全部'
,
value
:
''
value
:
''
...
@@ -236,7 +236,6 @@ export default {
...
@@ -236,7 +236,6 @@ export default {
type
:
'select'
,
type
:
'select'
,
prop
:
'deviceState'
,
prop
:
'deviceState'
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
width
:
'200px'
,
options
:
[{
options
:
[{
label
:
'全部'
,
label
:
'全部'
,
value
:
''
value
:
''
...
@@ -260,7 +259,7 @@ export default {
...
@@ -260,7 +259,7 @@ export default {
dateType
:
'day'
,
dateType
:
'day'
,
prop
:
'date'
,
prop
:
'date'
,
placeholder
:
'请选择年月'
,
placeholder
:
'请选择年月'
,
selectStyle
:
'width:3
5
0px'
,
selectStyle
:
'width:3
6
0px'
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
<
new
Date
(
_this
.
date
).
getTime
()
return
time
.
getTime
()
<
new
Date
(
_this
.
date
).
getTime
()
...
@@ -272,7 +271,6 @@ export default {
...
@@ -272,7 +271,6 @@ export default {
type
:
'select'
,
type
:
'select'
,
prop
:
'vehicleType'
,
prop
:
'vehicleType'
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
width
:
'200px'
,
options
:
[{
options
:
[{
label
:
'全部'
,
label
:
'全部'
,
value
:
''
value
:
''
...
@@ -301,7 +299,6 @@ export default {
...
@@ -301,7 +299,6 @@ export default {
type
:
'select'
,
type
:
'select'
,
prop
:
'vehicleUsages'
,
prop
:
'vehicleUsages'
,
placeholder
:
'请选择'
,
placeholder
:
'请选择'
,
options
:
[{
options
:
[{
label
:
'全部'
,
label
:
'全部'
,
value
:
''
value
:
''
...
@@ -724,6 +721,7 @@ export default {
...
@@ -724,6 +721,7 @@ export default {
vehicleListInit
:
false
,
vehicleListInit
:
false
,
vehicleListPromise
:
null
,
vehicleListPromise
:
null
,
isCreateMode
:
false
,
isCreateMode
:
false
,
freqLoading
:
false
,
};
};
},
},
watch
:
{
watch
:
{
...
@@ -781,6 +779,7 @@ export default {
...
@@ -781,6 +779,7 @@ export default {
this
.
vehicleVisible
=
!
this
.
vehicleVisible
;
this
.
vehicleVisible
=
!
this
.
vehicleVisible
;
this
.
isReadonly
=
false
;
this
.
isReadonly
=
false
;
this
.
isCreateMode
=
true
this
.
isCreateMode
=
true
this
.
freqLoading
=
false
this
.
vehicleListPromise
.
then
(()
=>
{
this
.
vehicleListPromise
.
then
(()
=>
{
if
(
this
.
vehicleVisible
)
{
if
(
this
.
vehicleVisible
)
{
let
_list
=
_
.
cloneDeep
(
this
.
vehicleDefalutData
);
let
_list
=
_
.
cloneDeep
(
this
.
vehicleDefalutData
);
...
@@ -815,6 +814,7 @@ export default {
...
@@ -815,6 +814,7 @@ export default {
this
.
isReadonly
=
false
;
this
.
isReadonly
=
false
;
this
.
formLoading
=
true
this
.
formLoading
=
true
this
.
isCreateMode
=
false
this
.
isCreateMode
=
false
this
.
freqLoading
=
false
this
.
vehicleListPromise
.
then
(()
=>
{
this
.
vehicleListPromise
.
then
(()
=>
{
if
(
this
.
vehicleVisible
)
{
if
(
this
.
vehicleVisible
)
{
//let _list = this.vehicleDefalutData;
//let _list = this.vehicleDefalutData;
...
@@ -906,10 +906,12 @@ export default {
...
@@ -906,10 +906,12 @@ export default {
// else this.$set(item, 'disabled', true)
// else this.$set(item, 'disabled', true)
// })
// })
this
.
freqTableData
=
[]
this
.
freqTableData
=
[]
this
.
freqLoading
=
true
getAdjFreqInfo
({
getAdjFreqInfo
({
sn
:
scope
.
sn
sn
:
scope
.
sn
}).
then
((
res
)
=>
{
}).
then
((
res
)
=>
{
this
.
freqTableData
=
res
.
data
this
.
freqTableData
=
res
.
data
this
.
freqLoading
=
false
})
})
}
}
})
})
...
@@ -1239,6 +1241,7 @@ export default {
...
@@ -1239,6 +1241,7 @@ export default {
let
o
=
_this
.
vehicleDefalutData
;
let
o
=
_this
.
vehicleDefalutData
;
let
m
=
o
.
find
((
k
)
=>
k
.
prop
==
"brandId"
);
let
m
=
o
.
find
((
k
)
=>
k
.
prop
==
"brandId"
);
m
.
options
=
_list
;
m
.
options
=
_list
;
m
.
loading
=
false
_this
.
vehicleList
=
_list
;
_this
.
vehicleList
=
_list
;
this
.
vehicleListInit
=
true
this
.
vehicleListInit
=
true
resolve
()
resolve
()
...
@@ -1410,22 +1413,33 @@ export default {
...
@@ -1410,22 +1413,33 @@ export default {
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.searchTop.inline
.search-form
{
max-width
:
1200px
;
position
:
relative
;
}
.searchTop.inline
.el-form-item
{
.searchTop.inline
.el-form-item
{
width
:
auto
;
width
:
auto
;
max-width
:
430px
;
}
}
.searchTop.inline
.search-form
.el-form-item__content
{
.searchTop.inline
.search-form
.el-form-item__content
{
width
:
auto
;
width
:
auto
;
}
}
.searchTop.inline
.el-input__inner
{
.searchTop.inline
.el-input
.el-input__inner
{
width
:
200px
;
width
:
360px
;
}
.searchTop.inline
.el-select
.el-input__inner
{
width
:
120px
;
}
.searchTop.inline
.el-form-item__label
{
width
:
5em
;
}
}
.freq_table
{
.freq_table
{
border-collapse
:
collapse
;
border-collapse
:
collapse
;
width
:
100%
;
}
}
.freq_table
th
,
.freq_table
td
{
.freq_table
th
,
.freq_table
td
{
border
:
1px
solid
#ccc
;
border
:
1px
solid
#ccc
;
padding
:
2px
5px
;
padding
:
2px
;
text-align
:
center
;
text-align
:
center
;
}
}
</
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