|
|
|
@ -363,7 +363,7 @@ export class FireFightingDeviceComponent implements OnInit {
|
|
|
|
|
newData[key].forEach(element => { |
|
|
|
|
element.propertyInfos.forEach( elements => {
|
|
|
|
|
if (elements.propertyName.includes('名称')) {imgName = elements.propertyValue} |
|
|
|
|
if (elements.propertyType==3) { |
|
|
|
|
if (elements.propertyType===3) { |
|
|
|
|
elements.propertyName = imgName |
|
|
|
|
data.images.push(elements)} }); |
|
|
|
|
}); |
|
|
|
@ -390,7 +390,7 @@ export class FireFightingDeviceComponent implements OnInit {
|
|
|
|
|
newData.forEach(element => { |
|
|
|
|
element.propertyInfos.forEach(elements => {
|
|
|
|
|
if (elements.propertyName.includes('名称')) {imgName = elements.propertyValue} |
|
|
|
|
if (elements.propertyType==3) { |
|
|
|
|
if (elements.propertyType===3) { |
|
|
|
|
elements.propertyName = imgName |
|
|
|
|
data.images.push(elements)} }); |
|
|
|
|
}); |
|
|
|
@ -423,7 +423,7 @@ export class FireFightingDeviceComponent implements OnInit {
|
|
|
|
|
newData[key].forEach(element => { |
|
|
|
|
element.propertyInfos.forEach(elements => {
|
|
|
|
|
if (elements.propertyName.includes('名称')) {imgName = elements.propertyValue} |
|
|
|
|
if (elements.propertyType==3) { |
|
|
|
|
if (elements.propertyType===3) { |
|
|
|
|
elements.propertyName = imgName |
|
|
|
|
data.images.push(elements)} }); |
|
|
|
|
}); |
|
|
|
@ -450,9 +450,10 @@ export class FireFightingDeviceComponent implements OnInit {
|
|
|
|
|
newData.forEach(element => { |
|
|
|
|
element.propertyInfos.forEach(elements => {
|
|
|
|
|
if (elements.propertyName.includes('名称')) {imgName = elements.propertyValue} |
|
|
|
|
if (elements.propertyType==3)
|
|
|
|
|
elements.propertyName = imgName |
|
|
|
|
{data.images.push(elements)} }); |
|
|
|
|
if (elements.propertyType===3) { |
|
|
|
|
elements.propertyName = imgName |
|
|
|
|
data.images.push(elements)}
|
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
if (data.images.length) { |
|
|
|
|
let dialogRef = this.dialog.open(ImagesData,{width:'1350px',height:'700px',data}); //打开图片弹窗
|
|
|
|
|