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
b261a356
Commit
b261a356
authored
Aug 26, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改用户列表
parent
580a578d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
vehicleType.js
src/api/vehicleType.js
+11
-0
index.vue
src/views/vehicle/vehicleInfo/index.vue
+2
-1
index.vue
src/views/vehicleType/index.vue
+1
-1
No files found.
src/api/vehicleType.js
View file @
b261a356
...
...
@@ -70,6 +70,17 @@ export function getAllVehicleList() {
method
:
'get'
});
}
/**
* 根据sort排序,获取全部车型
* */
export
function
getAllVehicleModelList
()
{
return
fetch
({
url
:
'/vehicle/vehicleModel/list'
,
method
:
'get'
});
}
/**
* 车型标签是否多选
*/
...
...
src/views/vehicle/vehicleInfo/index.vue
View file @
b261a356
...
...
@@ -745,6 +745,7 @@
}
from
'api/vehicle/vehicleInfo/'
;
import
{
getAllVehicleModelList
,
getAllVehicleList
}
from
'api/vehicleType'
;
...
...
@@ -1368,7 +1369,7 @@
* 获取全部车型
* */
getAllVehicleType
()
{
getAllVehicleList
().
then
(
response
=>
{
getAllVehicle
Model
List
().
then
(
response
=>
{
let
listRs
=
undefined
;
if
(
!
this
.
$utils
.
isEmpty
(
response
.
data
))
{
listRs
=
response
.
data
;
...
...
src/views/vehicleType/index.vue
View file @
b261a356
...
...
@@ -69,7 +69,7 @@
<span>
{{
scope
.
row
.
sum
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"
20
0"
align=
"center"
label=
"可租借数量"
>
<el-table-column
width=
"
15
0"
align=
"center"
label=
"可租借数量"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
leasableQuantity
}}
</span>
</
template
>
...
...
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