ESP8266 ESP-12 Connection
You can make the ESP8266 behave as a router, see Google for details.  By default it won't do this.  

You need to create two separate WIFI networks and then tell the ESP to 'route' traffic between them.  

Your ESP needs to form one network (STA mode?).  Your laptop needs to be on one network with the ESP.  The laptop needs to be configured to use the ESP as the gateway and unless your ESP has a DHCP server the laptop needs a static address.

Your ESP also needs to be a client to you router's network, and needs to take an address from the Router's DHCP server.