Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit db74d73e
authored
Dec 16, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
平板管理
1 parent
e60e5c39
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
0 deletions
src/views/residentManage/components/Timeline.vue
src/views/residentManage/tabletManagement.vue
src/views/residentManage/components/Timeline.vue
0 → 100644
View file @
db74d73
<
template
>
<el-dialog
title=
"新增信息"
:visible
.
sync=
"dialogVisible"
width=
"50%"
:before-close=
"handleClose"
>
<div
class=
"dialog-body"
>
<el-timeline>
<el-timeline-item
timestamp=
"2018/4/12"
placement=
"top"
v-for=
"(line,index) in lineList"
>
<div
class=
"card-box"
>
<div
class=
"card-item"
v-for=
"(card,cardIndex) in line.cardList"
"
>
<div
class=
"card-content"
>
运营
{{
card
}}
</div>
<div
class=
"card-content"
>
原保管人:
</div>
<div
class=
"card-content"
>
现保管人:
派发时间:
</div>
<div
class=
"card-content"
>
备注:
</div>
<div
class=
"card-btn"
>
变更
</div>
</div>
</div>
</el-timeline-item>
</el-timeline>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"dialogVisible = false"
>
确 定
</el-button>
</span>
</el-dialog>
</
template
>
<
script
type=
"text/ecmascript-6"
>
export
default
{
name
:
'Timeline'
,
props
:
{
dialogVisible
:
{
type
:
Boolean
,
default
:
true
}
},
data
()
{
return
{
lineList
:
[{
time
:
'2020-10-02'
,
cardList
:
[
1
,
2
,
3
]
},{
time
:
'2020-10-02'
,
cardList
:
[
1
,
2
,
3
]
}]
}
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
.dialog-body
{
height
:
calc
(
100vh
-
400px
);
overflow-y
:
auto
;
.card-box
{
.card-item
{
width
:
90%
;
padding
:
12px
;
opacity
:
1
;
border
:
1px
solid
#e5e5e5
;
background
:
#ffffff6
b
;
margin-bottom
:
8px
;
position
:
relative
;
.card-btn
{
background
:
#e7eefe
;
line-height
:
20px
;
text-align
:
center
;
position
:
absolute
;
width
:
40px
;
height
:
20px
;
border-radius
:
2px
;
opacity
:
1
;
background
:
#e7eefe
;
color
:
#185efe
;
font-size
:
12px
;
right
:
0px
;
top
:
0px
;
}
.card-content
{
color
:
#666666
;
font-size
:
12px
;
line-height
:
26px
;
}
}
}
}
</
style
>
src/views/residentManage/tabletManagement.vue
View file @
db74d73
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
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 post a comment