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
5ebca190
Commit
5ebca190
authored
Jun 21, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
车型管理
parent
12ce7999
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1327 additions
and
3 deletions
+1327
-3
vehicleType.js
src/api/vehicleType.js
+23
-1
index.js
src/router/index.js
+21
-0
tourLabel.vue
src/views/tourManage/tourLabel.vue
+0
-1
index.vue
src/views/vehicleType/index.vue
+553
-0
oneType.vue
src/views/vehicleType/modal/oneType.vue
+729
-0
vehicleTypeLabel.vue
src/views/vehicleType/vehicleTypeLabel.vue
+1
-1
No files found.
src/api/vehicleType.js
View file @
5ebca190
...
...
@@ -31,6 +31,16 @@ export function getAllParentLabel() {
});
}
/**
* 根据parentId获取子标签
*/
export
function
getLabelByParentId
(
id
)
{
return
fetch
({
url
:
'/vehicle/cata/add/fingCatasByParentId/'
+
id
,
method
:
'get'
});
}
/**
* 获取标签列表
*/
...
...
@@ -88,4 +98,16 @@ export function updateAndAdd(params) {
method
:
'post'
,
data
:
params
});
}
\ No newline at end of file
}
// vehicle/vehicleModel/app/update
/**
* 编辑一条车型数据
* */
export
function
updateVehicleModel
(
params
)
{
return
fetch
({
url
:
'/vehicle/vehicleModel/app/update'
,
method
:
'put'
,
data
:
params
});
}
src/router/index.js
View file @
5ebca190
...
...
@@ -278,6 +278,27 @@ export const asyncRouterMap = [{
}
]
},
{
path
:
'/campsiteManage'
,
component
:
Layout
,
name
:
'营地管理'
,
icon
:
'setting'
,
authority
:
'campsiteManage'
,
children
:
[
{
path
:
'campsiteList'
,
component
:
_import
(
'campsiteManage/index'
),
name
:
'营地列表'
,
authority
:
'campsiteList'
},
{
path
:
'campsiteLabel'
,
component
:
_import
(
'campsiteManage/campsiteLabel'
),
name
:
'营地标签设置'
,
authority
:
'campsiteLabel'
}
]
},
{
path
:
'/vehicle'
,
component
:
Layout
,
...
...
src/views/tourManage/tourLabel.vue
View file @
5ebca190
...
...
@@ -297,7 +297,6 @@
type
:
'success'
,
duration
:
2000
});
this
.
bannerDialogVisible
=
false
;
this
.
getList
();
}
else
{
this
.
$notify
({
...
...
src/views/vehicleType/index.vue
0 → 100644
View file @
5ebca190
This diff is collapsed.
Click to expand it.
src/views/vehicleType/modal/oneType.vue
0 → 100644
View file @
5ebca190
This diff is collapsed.
Click to expand it.
src/views/vehicleType/vehicleTypeLabel.vue
View file @
5ebca190
...
...
@@ -62,7 +62,7 @@
<el-button
type=
"primary"
size=
"mini"
@
click=
"deleteHandler(scope.row)"
>
确定
</el-button>
</div>
</el-popover>
<el-button
type=
"danger"
size=
"small"
v-popover:popover5
>
删除
</el-button>
<el-button
type=
"danger"
v-if=
"scope.row.parent.id != 1 && scope.row.parent.id!= 14"
size=
"small"
v-popover:popover5
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
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