Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
youjj
cloud-platform-ui
Commits
e47121c3
Commit
e47121c3
authored
Oct 31, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify-hf
parents
10ecfc41
1d02512a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
36 deletions
+54
-36
index.vue
src/views/vehicle/vehicleInfo/index.vue
+26
-17
oneType.vue
src/views/vehicleType/modal/oneType.vue
+28
-19
No files found.
src/views/vehicle/vehicleInfo/index.vue
View file @
e47121c3
...
@@ -1450,7 +1450,7 @@ export default {
...
@@ -1450,7 +1450,7 @@ export default {
},
},
selectArry
:
[],
selectArry
:
[],
selectVehicleModelArray
:
[],
selectVehicleModelArray
:
[],
list
:
null
,
list
:
[]
,
total
:
null
,
total
:
null
,
listLoading
:
true
,
listLoading
:
true
,
listQuery
:
{
listQuery
:
{
...
@@ -1574,9 +1574,9 @@ export default {
...
@@ -1574,9 +1574,9 @@ export default {
t
.
listQuery
.
addrProvinceName
=
''
t
.
listQuery
.
addrProvinceName
=
''
}
}
if
(
queryJson
.
vin
)
{
//
if (queryJson.vin) {
t
.
listQuery
.
vin
=
queryJson
.
vin
//
t.listQuery.vin = queryJson.vin
}
//
}
if
(
queryJson
.
insuranceCompany
)
{
if
(
queryJson
.
insuranceCompany
)
{
t
.
listQuery
.
insuranceCompany
=
queryJson
.
insuranceCompany
t
.
listQuery
.
insuranceCompany
=
queryJson
.
insuranceCompany
}
}
...
@@ -2541,7 +2541,11 @@ export default {
...
@@ -2541,7 +2541,11 @@ export default {
checkIfRuning
:
vehicle
=>
checkIfRuning
:
vehicle
=>
vehicle
.
status
===
VEHICLE_CONSTANT_STATUS_NORMAL
,
vehicle
.
status
===
VEHICLE_CONSTANT_STATUS_NORMAL
,
getVehicleStatus
:
function
(
code
)
{
getVehicleStatus
:
function
(
code
)
{
return
this
.
vehicleStatus
[
code
].
val
// console.log(this.getAllVehicleStatus()[1].val);
// let demo = this.getAllVehicleStatus.filter(item => item)
// console.log(this.vehicleStatus[code]);
return
this
.
getAllVehicleStatus
()[
code
].
val
},
},
getAllVehicleStatus
:
function
()
{
getAllVehicleStatus
:
function
()
{
return
{
return
{
...
@@ -2603,6 +2607,7 @@ export default {
...
@@ -2603,6 +2607,7 @@ export default {
return
getConstantListByType
(
VEHICLE_CONSTANT_VEHICLE_USE
)
return
getConstantListByType
(
VEHICLE_CONSTANT_VEHICLE_USE
)
},
},
getList
()
{
getList
()
{
// this.listQuery.vin = null
this
.
listLoading
=
true
this
.
listLoading
=
true
let
listQueryTemp
=
this
.
fillDateRange2Object
(
let
listQueryTemp
=
this
.
fillDateRange2Object
(
this
.
listQuery
,
this
.
listQuery
,
...
@@ -2631,23 +2636,27 @@ export default {
...
@@ -2631,23 +2636,27 @@ export default {
if
(
!
this
.
listQuery
.
belongToName
)
{
if
(
!
this
.
listQuery
.
belongToName
)
{
this
.
listQuery
.
belongToName
=
undefined
this
.
listQuery
.
belongToName
=
undefined
}
}
page
(
listQueryTemp
).
then
(
response
=>
{
page
(
listQueryTemp
).
then
(
response
=>
{
if
(
response
.
code
==
1
)
{
if
(
response
.
code
==
1
)
{
let
totalCountRs
=
undefined
let
totalCountRs
=
undefined
let
listRs
=
undefined
let
listRs
=
undefined
if
(
//
if (
!
this
.
$utils
.
isEmpty
(
response
.
data
.
data
)
&&
//
!this.$utils.isEmpty(response.data.data) &&
this
.
$utils
.
isInteger
(
response
.
data
.
totalCount
)
//
this.$utils.isInteger(response.data.totalCount)
)
{
//
) {
listRs
=
response
.
data
.
data
//
listRs = response.data.data
totalCountRs
=
response
.
data
.
totalCount
//
totalCountRs = response.data.totalCount
listRs
.
map
(
function
(
item
)
{
//
listRs.map(function(item) {
item
.
visible2
=
false
//
item.visible2 = false
})
//
})
}
//
}
this
.
listLoading
=
false
this
.
listLoading
=
false
this
.
list
=
listRs
console
.
log
(
response
.
data
.
data
);
this
.
total
=
totalCountRs
this
.
list
=
response
.
data
.
data
this
.
total
=
response
.
data
.
totalCount
}
else
{
}
else
{
this
.
list
=
[]
this
.
list
=
[]
this
.
listLoading
=
false
this
.
listLoading
=
false
...
...
src/views/vehicleType/modal/oneType.vue
View file @
e47121c3
...
@@ -338,6 +338,7 @@
...
@@ -338,6 +338,7 @@
imgTitle
:
undefined
,
imgTitle
:
undefined
,
imgKeyword
:
undefined
,
imgKeyword
:
undefined
,
imgDesc
:
undefined
,
imgDesc
:
undefined
,
coverPic
:
''
,
pPrice
:
0
,
//普通会员
pPrice
:
0
,
//普通会员
hPrice
:
0
,
//黄金会员
hPrice
:
0
,
//黄金会员
zPrice
:
0
,
//钻石会员
zPrice
:
0
,
//钻石会员
...
@@ -354,7 +355,8 @@
...
@@ -354,7 +355,8 @@
rentDiscountStatus
:
"0"
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountStatus
:
"0"
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountPrice
:
0
,
//租车优惠价格 固定优化价格
rentDiscountPrice
:
0
,
//租车优惠价格 固定优化价格
buyPrice
:
0
,
//购买价格
buyPrice
:
0
,
//购买价格
intro
:
''
intro
:
''
,
posterBackground
:
''
,
//海报背景
},
},
showDestinationVisible
:
false
,
//编辑目的地
showDestinationVisible
:
false
,
//编辑目的地
showPathWayVisible
:
false
,
//编辑途径地
showPathWayVisible
:
false
,
//编辑途径地
...
@@ -928,24 +930,31 @@
...
@@ -928,24 +930,31 @@
cleanForm
()
{
cleanForm
()
{
this
.
activeName2
=
""
;
this
.
activeName2
=
""
;
this
.
form
=
{
this
.
form
=
{
name
:
undefined
,
//房车名称
number
:
undefined
,
//乘卧数量
config
:
""
,
//房车配置
brand
:
undefined
,
//房车品牌
keyword
:
""
,
//房车关键标签
name
:
''
,
//房车名称
modelsDetails
:
""
,
//房车详情
config
:
''
,
//房车配置
modelParam
:
[],
//房车参数
keyword
:
''
,
//房车关键标签
picture
:
""
,
//轮播图
modelsDetails
:
''
,
//房车详情
price
:
0
,
//租车价格
modelParam
:
''
,
//房车参数
picture
:
''
,
//轮播图
coverPic
:
''
,
//封面图
posterBackground
:
''
,
//海报背景
price
:
undefined
,
//租车价格
deposit
:
20000
,
//总押金
deposit
:
20000
,
//总押金
vioDeposit
:
0
,
//违章押金
vioDeposit
:
''
,
rentDiscountStatus
:
0
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
buyPrice
:
undefined
,
//购买价格
alt
:
''
,
//seo 标签优化
intro
:
''
,
imgTitle
:
''
,
imgKeyword
:
''
,
imgDesc
:
''
,
pPrice
:
0
,
//普通会员
hPrice
:
0
,
//黄金会员
zPrice
:
0
,
//钻石会员
hotSign
:
"2"
,
//热门车型 1、热门 2、非热门
hotSign
:
"2"
,
//热门车型 1、热门 2、非热门
rentDiscountStatus
:
"0"
,
//租车优惠状态 0--没有优惠;1--会员折扣;2--固定值
rentDiscountPrice
:
0
,
//租车优惠价格 固定优化价格
rentDiscountPrice
:
""
,
//租车优惠价格 固定优化价格
buyPrice
:
0
,
//购买价格
posterBackground
:
''
,
//海报背景
alt
:
''
,
imgTitle
:
undefined
,
imgKeyword
:
undefined
,
imgDesc
:
undefined
,
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment