Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-static-bg
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-static-bg
Commits
91c0af98
Commit
91c0af98
authored
Oct 09, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加图片
parent
9e66a7f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
repair.vue
src/containers/management/repair/repair.vue
+23
-0
No files found.
src/containers/management/repair/repair.vue
View file @
91c0af98
...
...
@@ -72,6 +72,13 @@
<el-form-item
class=
"col-line-1"
label=
"报修时间"
label-width=
"100px"
>
<span>
{{$formatDate(new Date(selected.createDate),'yyyy-MM-dd')}}
</span>
</el-form-item>
<el-form-item
v-if=
"selected.uploadImg"
class=
"col-line-1"
label=
"图片"
label-width=
"100px"
>
<div
class=
"previewRow"
>
<div
class=
"previewItem"
v-for=
"(item, index) in selected.uploadImg.split(',')"
:key=
"index"
>
<img
:src=
"item"
alt=
""
>
</div>
</div>
</el-form-item>
<el-form-item
class=
"col-line-1"
v-if=
"selected.dealState == 1"
label-width=
"100px"
>
<el-radio
v-model=
"selected.dealed"
:label=
"2"
>
已处理
</el-radio>
</el-form-item>
...
...
@@ -147,6 +154,7 @@ export default {
term
:
''
,
address
:
''
,
dealed
:
''
,
uploadImg
:
''
,
};
},
getDealStateValue
(
c
,
r
,
val
)
{
...
...
@@ -164,6 +172,7 @@ export default {
address
:
data
.
row
.
address
,
createDate
:
data
.
row
.
createDate
,
dealState
:
data
.
row
.
dealState
,
uploadImg
:
data
.
row
.
uploadImg
,
};
this
.
dialogEditVisible
=
true
;
},
...
...
@@ -196,3 +205,17 @@ export default {
},
};
</
script
>
<
style
lang=
"scss"
>
.previewRow
{
display
:
flex
;
.previewItem
{
width
:
170px
;
height
:
96px
;
margin-right
:
20px
;
}
.previewItem
:last-child
{
margin-right
:
0
;
}
}
</
style
>
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