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
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
PublicCarItem.js
src/containers/PublicCar/components/PublicCarItem.js
+17
-3
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 {
...
@@ -72,8 +72,14 @@ class PublicCarItem extends Component {
<
/div
>
<
/div
>
<
/div>
,
<
/div>
,
<
div
key
=
"department"
className
=
{
styles
.
listLine
}
>
<
div
key
=
"department"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
mLineItem
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车部门:
<
/div
>
<
div
className
=
{
styles
.
listLabel
}
>
用车部门:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
department
}
<
/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>
,
<
div
key
=
"userCount"
className
=
{
styles
.
listLine
}
>
<
div
key
=
"userCount"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车人数:
<
/div
>
<
div
className
=
{
styles
.
listLabel
}
>
用车人数:
<
/div
>
...
@@ -147,6 +153,16 @@ class PublicCarItem extends Component {
...
@@ -147,6 +153,16 @@ class PublicCarItem extends Component {
<
div
className
=
{
styles
.
listLabel
}
>
用车时间:
<
/div
>
<
div
className
=
{
styles
.
listLabel
}
>
用车时间:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
createDate
}
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
createDate
}
<
/div
>
<
/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
key
=
"type"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车类型:
<
/div
>
<
div
className
=
{
styles
.
listLabel
}
>
用车类型:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
<
div
className
=
{
styles
.
listValue
}
>
...
@@ -155,9 +171,7 @@ class PublicCarItem extends Component {
...
@@ -155,9 +171,7 @@ class PublicCarItem extends Component {
<
/div>
,
<
/div>
,
<
div
key
=
"line"
className
=
{
styles
.
listLine
}
>
<
div
key
=
"line"
className
=
{
styles
.
listLine
}
>
<
div
className
=
{
styles
.
listLabel
}
>
用车路线:
<
/div
>
<
div
className
=
{
styles
.
listLabel
}
>
用车路线:
<
/div
>
<
div
className
=
{
styles
.
listValue
}
>
<
div
className
=
{
styles
.
listValue
}
>
{
data
.
lineDescription
}
<
/div
>
{
data
.
lineDescription
}
<
/div
>
<
/div>
,
<
/div>
,
]}
]}
<
/div
>
<
/div
>
...
...
src/containers/PublicCar/components/style.css
View file @
562de120
...
@@ -43,6 +43,10 @@
...
@@ -43,6 +43,10 @@
.listValueMutLine
{
.listValueMutLine
{
composes
:
listValueMutLine
from
'../../Repair/components/style.css'
;
composes
:
listValueMutLine
from
'../../Repair/components/style.css'
;
}
}
.mLineItem
{
width
:
50%
;
display
:
flex
;
}
.dealingColor
{
.dealingColor
{
color
:
#ff3131
;
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