Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-wx-app
Project
Overview
Details
Activity
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
姜雷
cdsf-wx-app
Commits
562de120
Commit
562de120
authored
Oct 15, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约车详情中添加部分数据展示
parent
1c2529f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
5 deletions
+23
-5
PublicCarItem.js
src/containers/PublicCar/components/PublicCarItem.js
+19
-5
style.css
src/containers/PublicCar/components/style.css
+4
-0
No files found.
src/containers/PublicCar/components/PublicCarItem.js
View file @
562de120
...
...
@@ -72,8 +72,14 @@ class PublicCarItem extends Component {
<
/div
>
<
/div>
,
<
div
key
=
"department"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车部门:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
department
}
<
/div
>
<
div
className
=
{
styles
.
mLineItem
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车部门:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
department
}
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
mLineItem
}
>
<
div
className
=
{
styles
.
listLabel
}
>
申请人:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
name
}
<
/div
>
<
/div
>
<
/div>
,
<
div
key
=
"userCount"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车人数:
<
/div
>
...
...
@@ -147,6 +153,16 @@ class PublicCarItem extends Component {
<
div
className
=
{
styles
.
listLabel
}
>
用车时间:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
createDate
}
<
/div
>
<
/div>
,
<
div
key
=
"department"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
mLineItem
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车部门:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
department
}
<
/div
>
<
/div
>
<
div
className
=
{
styles
.
mLineItem
}
>
<
div
className
=
{
styles
.
listLabel
}
>
申请人:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
name
}
<
/div
>
<
/div
>
<
/div>
,
<
div
key
=
"type"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车类型:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
...
...
@@ -155,9 +171,7 @@ class PublicCarItem extends Component {
<
/div>
,
<
div
key
=
"line"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车路线:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
lineDescription
}
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
lineDescription
}
<
/div
>
<
/div>
,
]}
<
/div
>
...
...
src/containers/PublicCar/components/style.css
View file @
562de120
...
...
@@ -43,6 +43,10 @@
.listValueMutLine
{
composes
:
listValueMutLine
from
'../../Repair/components/style.css'
;
}
.mLineItem
{
width
:
50%
;
display
:
flex
;
}
.dealingColor
{
color
:
#ff3131
;
}
...
...
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