| @@ -15,7 +15,7 @@ export default { | |||||
| created () { | created () { | ||||
| this.isLoad = false | this.isLoad = false | ||||
| getDryerDetail(this.data).then(res => { | getDryerDetail(this.data).then(res => { | ||||
| this.permanentDetail = res.data; | |||||
| this.permanentDetail = res.data || {}; | |||||
| this.isLoad = true | this.isLoad = true | ||||
| }) | }) | ||||
| }, | }, | ||||
| @@ -464,7 +464,7 @@ export default { | |||||
| permanentList.forEach((item,index) => { | permanentList.forEach((item,index) => { | ||||
| if (item.theGeom != null && item.theGeom !== '') { | if (item.theGeom != null && item.theGeom !== '') { | ||||
| // //console.log(222, useType, item); | // //console.log(222, useType, item); | ||||
| let icon = iconMap['1'] | |||||
| let icon = iconMap['3'] | |||||
| let fs = gis.getFeature2(item, icon) | let fs = gis.getFeature2(item, icon) | ||||
| features.push(fs); | features.push(fs); | ||||
| } | } | ||||
| @@ -37,7 +37,8 @@ | |||||
| z-index: 1; | z-index: 1; | ||||
| width: 100%; | width: 100%; | ||||
| height: 100%; | height: 100%; | ||||
| box-shadow: inset 350px 0px 400px 100px RGBA(3, 12, 27, 1), inset -350px 0 400px 100px RGBA(3, 12, 27, 1); // 左 | |||||
| // box-shadow: inset 350px 0px 400px 100px RGBA(3, 12, 27, 1), inset -350px 0 400px 100px RGBA(3, 12, 27, 1); // 左 | |||||
| box-shadow: inset 175px 0px 200px 50px RGBA(3, 12, 27, 1), inset -175px 0 200px 50px RGBA(3, 12, 27, 1); // 左 | |||||
| /* 四周黑色 */ | /* 四周黑色 */ | ||||
| pointer-events: none; | pointer-events: none; | ||||
| /* 允许地图事件穿透 */ | /* 允许地图事件穿透 */ | ||||