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
2b33b642
Commit
2b33b642
authored
Sep 12, 2019
by
libin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/base-modify' into base-modify
parents
d05d94f5
a6254688
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
581 additions
and
22 deletions
+581
-22
pushManagement.js
src/api/appManagement/pushManagement.js
+73
-0
index.js
src/router/index.js
+6
-0
index.vue
src/views/appManagement/pushManagement/index.vue
+469
-0
index.vue
src/views/vehicle/bookRecord/index.vue
+32
-21
seoList.vue
src/views/xxOfficialWebsite/seoList.vue
+1
-1
No files found.
src/api/appManagement/pushManagement.js
0 → 100644
View file @
2b33b642
import
fetch
from
'utils/fetch'
;
/**
* 获取列表
* @param query
*/
export
function
getPushList
(
query
)
{
return
fetch
({
url
:
'/api/universal/jpush/list'
,
method
:
'Get'
,
params
:
query
});
}
/**
* 获取弹窗管理列表某一条数据
* @param query
*/
export
function
getObj
(
id
)
{
return
fetch
({
url
:
'/api/universal/jpush/getOne/'
+
id
,
method
:
'Get'
})
}
/**
* 弹窗管理--添加
* @param query
*/
export
function
addObj
(
obj
)
{
return
fetch
({
url
:
'/api/universal/jpush/addMessagePush'
,
method
:
'post'
,
data
:
obj
});
}
/**
* 编辑某一条数据,上下架
* @param query
*/
export
function
editObj
(
data
)
{
return
fetch
({
url
:
'/api/universal/jpush/udpMessagePush'
,
method
:
'post'
,
data
:
data
})
}
/**
* 删除数据
* @param query
*/
export
function
delObj
(
id
)
{
return
fetch
({
url
:
'/api/universal/jpush/del/'
+
id
,
method
:
'delete'
,
})
}
/**
* 立即推送
* @param query
*/
export
function
pushStype
(
query
)
{
return
fetch
({
url
:
'/api/universal/jpush/stype'
,
method
:
'Get'
,
params
:
query
});
}
src/router/index.js
View file @
2b33b642
...
@@ -519,6 +519,12 @@ export const asyncRouterMap = [{
...
@@ -519,6 +519,12 @@ export const asyncRouterMap = [{
component
:
_import
(
'appManagement/selectedActivities/index'
),
component
:
_import
(
'appManagement/selectedActivities/index'
),
name
:
'首页精选活动'
,
name
:
'首页精选活动'
,
authority
:
'selectedActivities'
authority
:
'selectedActivities'
},
{
path
:
'pushManagement'
,
component
:
_import
(
'appManagement/pushManagement/index'
),
name
:
'消息推送'
,
authority
:
'pushManagement'
}
}
]
]
},
},
...
...
src/views/appManagement/pushManagement/index.vue
0 → 100644
View file @
2b33b642
This diff is collapsed.
Click to expand it.
src/views/vehicle/bookRecord/index.vue
View file @
2b33b642
...
@@ -57,15 +57,9 @@
...
@@ -57,15 +57,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column align="center" label="停靠公司" width="120">
<template scope="scope">
<span>{{scope.row.liftCompanyName}}</span>
</template>
</el-table-column> -->
<el-table-column
align=
"center"
label=
"申请状态"
>
<el-table-column
align=
"center"
label=
"申请状态"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
getBookRecordStatus
(
scope
.
row
.
status
)
}}
</span>
<span>
{{
getBookRecordStatus
(
scope
.
row
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -233,11 +227,11 @@
...
@@ -233,11 +227,11 @@
<el-form-item
label=
"申请状态"
>
<el-form-item
label=
"申请状态"
>
<span
v-if=
"detailItem.status==1"
>
申请中
</span>
<span
v-if=
"detailItem.status==1"
>
申请中
</span>
<span
v-if=
"detailItem.status==2"
>
已通过
</span>
<span
v-if=
"detailItem.status==2"
>
已通过
</span>
<span
v-if=
"detailItem.status==3"
>
已归还
</span>
<span
v-if=
"detailItem.status==3"
>
待出行
</span>
<span
v-if=
"detailItem.status==4"
>
拒绝
</span>
<span
v-if=
"detailItem.status==4"
>
驳回
</span>
<span
v-if=
"detailItem.status==5"
>
逾期归还
</span>
<span
v-if=
"detailItem.status==5"
>
出行中
</span>
<span
v-if=
"detailItem.status==6"
>
取消预订
</span>
<span
v-if=
"detailItem.status==6"
>
取消预订
</span>
<span
v-if=
"detailItem.status==7"
>
已
提车
</span>
<span
v-if=
"detailItem.status==7"
>
已
完成
</span>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -720,7 +714,6 @@
...
@@ -720,7 +714,6 @@
trigger
:
'blur'
trigger
:
'blur'
}
}
},
},
departurePicList
:[],
statusList
:[
statusList
:[
{
{
code
:
'1'
,
code
:
'1'
,
...
@@ -732,15 +725,15 @@
...
@@ -732,15 +725,15 @@
},
},
{
{
code
:
'3'
,
code
:
'3'
,
val
:
'
已归还
'
val
:
'
待出行
'
},
},
{
{
code
:
'4'
,
code
:
'4'
,
val
:
'
拒绝
'
val
:
'
驳回
'
},
},
{
{
code
:
'5'
,
code
:
'5'
,
val
:
'
逾期归还
'
val
:
'
出行中
'
},
},
{
{
code
:
'6'
,
code
:
'6'
,
...
@@ -748,7 +741,7 @@
...
@@ -748,7 +741,7 @@
},
},
{
{
code
:
'7'
,
code
:
'7'
,
val
:
'已
提车
'
val
:
'已
完成
'
},
},
],
],
bookTypeList
:[
bookTypeList
:[
...
@@ -1262,13 +1255,31 @@
...
@@ -1262,13 +1255,31 @@
this
.
listLoading
=
false
;
this
.
listLoading
=
false
;
})
})
},
},
getBookRecordStatus
:
function
(
code
)
{
getBookRecordStatus
:
function
(
data
)
{
if
(
!
this
.
$utils
.
isInteger
(
code
))
{
this
.
bookRecordStatus
[
'3'
].
val
=
'待出行'
return
'未知'
;
this
.
bookRecordStatus
[
'4'
].
val
=
'驳回'
}
this
.
bookRecordStatus
[
'5'
].
val
=
'出行中'
return
this
.
bookRecordStatus
[
code
+
''
].
val
;
this
.
bookRecordStatus
[
'7'
].
val
=
'已完成'
if
(
data
)
{
if
(
!
this
.
$utils
.
isInteger
(
data
.
status
))
{
return
'未知'
;
}
if
(
data
.
status
==
2
&&
(
data
.
vehicleDepartureLogVo
==
undefined
||
data
.
vehicleDepartureLogVo
==
null
))
{
return
this
.
bookRecordStatus
[
'3'
].
val
;
}
if
(
data
.
status
==
2
&&
data
.
vehicleDepartureLogVo
!=
undefined
&&
data
.
vehicleDepartureLogVo
!=
null
&&
data
.
vehicleDepartureLogVo
.
state
==
0
)
{
return
this
.
bookRecordStatus
[
'5'
].
val
;
}
if
(
data
.
status
==
2
&&
data
.
vehicleDepartureLogVo
!=
undefined
&&
data
.
vehicleDepartureLogVo
!=
null
&&
data
.
vehicleDepartureLogVo
.
state
==
1
)
{
return
this
.
bookRecordStatus
[
'7'
].
val
;
}
return
this
.
bookRecordStatus
[
data
.
status
+
''
].
val
;
}
return
''
;
},
},
getAllBookRecordStatus
:
function
()
{
getAllBookRecordStatus
:
function
()
{
console
.
log
(
this
.
bookRecordStatus
)
return
this
.
bookRecordStatus
;
return
this
.
bookRecordStatus
;
},
},
getDatePeriodStr
([
startDate
,
endDate
])
{
getDatePeriodStr
([
startDate
,
endDate
])
{
...
...
src/views/xxOfficialWebsite/seoList.vue
View file @
2b33b642
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
label=
"标题"
>
<el-table-column
align=
"center"
label=
"标题"
>
<
template
scope=
"scope"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
title
}}
</span>
<span>
{{
scope
.
row
.
header
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
align=
"center"
width=
"100"
label=
"操作"
fixed=
"right"
>
<el-table-column
align=
"center"
width=
"100"
label=
"操作"
fixed=
"right"
>
...
...
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