Distance
As with all light sources, lasers also do disperse in space, therefore their intensivity decreases by square of distance. Increase the distance if you've happened to get blinded, or engage from farther afar.
Polarization filters
Laser light is usually polarized, although it might not exactly be the case for your flashlight lasers, so installing a rotating filter on your windows might help. However, this highly depends on ships' mutual orientation and whether they also decided to rotate their laser emitter to avoid this. Still possible as a solution.
Emergency shutters
Imagine a set of liquid crystals layered over the window, and normally not activated, then a detector reports intense light and BAM the window goes black. With enough detection speed, the humans inside will not get blinded, or would not get enough exposure to become blinded. The same could be applied to external cameras that detect visible light.
Room arrangement
A certain set of places in the command room might have (removable) screens that should be unfolded prior to engagement to block the incoming light from those windows, therefore should the entire crew that's watching the WINDOWS get blinded, the officer at his post in a corner would not, and could take measures.
Infrared guidance
Oh well, they have blinding lasers? Now we see your engine plume, heat sinks and weapon ports in infrared, all converted to computer-mapped positions on the ballistic commander's display. Aim with this and surprise them.
UV guidance
Harder and might not be reliably attainable in space, even if near-future tech, as well as not too many devices emit UV, but an option similar to IR. In short, have more detectors with broader spectrum, good luck blinding all of them! Microwaves, radio, meter-long waves, radar, lidar (any spectrum), you name it.
Precise spectrum filters
If you happen to gather reports of their blinding lasers' spectrum, you can devise a filter to be placed over windows (on top of what's there already) that would block that frequency, and at least emit heat, so that should it get too hot, the window would get shut in order to protect the crew.
Maybe more, anyway, if a weapon would get used too broadly, there would be specific countermeasures, and with laser light there is a decently broad set of them being possible.