  A generation method of new metric in the case of static spherically symmetric
space-time is derived. Using this approach, we construct a metric which
describes Euler-Heisenberg black hole surrounded by perfect fluid dark matter
and investigate its optical and thermodynamic properties. We found that radius
of shadow will increase with the increase of dark matter effect, and more
strong dark matter will diminish the light intensity of accretion disk
generally. Moreover, in thermodynamics, when quantum electrodynamic parameter
is positive, there will be a critical value of dark matter parameter, which
determine the number of black hole's critical points.
