@ -289,7 +289,18 @@
< el -descriptions -item label = "内容" > < div v -html = ' form.content ' > < / div > < / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item label = "内容" > < div v -html = ' form.content ' > < / div > < / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item label = "图片路径(完整路径)" > < div class = "images-box" > < img v-for ="(url,index) in images" :key="index" :src ="url" > < / img > < / div > < / el -descriptions -item >
<!-- < el -descriptions -item label = "图片路径(完整路径)" > < div class = "images-box" > < img v-for ="(url,index) in images" :key="index" :src ="url" > < / img > < / div > < / el -descriptions -item > -- >
< el -descriptions -item label = "图片" >
< div class = "images-box" >
< el -image
v - for = "(url,index) in images"
: key = "index"
style = "width: 150px"
: src = "url"
: preview - src - list = "srcList" >
< / e l - i m a g e >
< / div >
< / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item label = "备注" > { { form . remark } } < / e l - d e s c r i p t i o n s - i t e m >
< el -descriptions -item label = "备注" > { { form . remark } } < / e l - d e s c r i p t i o n s - i t e m >
@ -396,6 +407,7 @@
fileList : [ ] ,
fileList : [ ] ,
images : [ ] ,
images : [ ] ,
imageUrls : '' ,
imageUrls : '' ,
srcList : [ ] ,
} ;
} ;
} ,
} ,
created ( ) {
created ( ) {
@ -507,10 +519,12 @@
handleInfo ( row ) {
handleInfo ( row ) {
this . reset ( ) ;
this . reset ( ) ;
this . images = [ ] ;
this . images = [ ] ;
this . srcList = [ ] ;
const id = row . id || this . ids
const id = row . id || this . ids
getQlzxxddt ( id ) . then ( response => {
getQlzxxddt ( id ) . then ( response => {
this . form = response . data ;
this . form = response . data ;
this . images = this . form . imageUrl . split ( ',' ) ;
this . images = this . form . imageUrl . split ( ',' ) ;
this . srcList = this . form . imageUrl . split ( ',' ) ;
this . infoOpen = true ;
this . infoOpen = true ;
this . infoTitle = "查看清朗专项行动动态详情"
this . infoTitle = "查看清朗专项行动动态详情"
} ) ;
} ) ;
@ -695,7 +709,7 @@
flex - wrap : wrap ;
flex - wrap : wrap ;
width : 100 % ;
width : 100 % ;
img {
img {
width : 150 px ;
/ / w i d t h : 1 5 0 p x ;
margin : 5 px ;
margin : 5 px ;
}
}
}
}