I'm not familiar with that particular switch... but in general, you need to enable routing on the switch first off. Then you'll need to assign an IP address to each VLAN (which you probably have done already). You won't need to add static routes for the VLANs since they're directly connected. Lastly, if you have anything on the other side of your router, y ou'll need to make a layer 3 port pointing to that interface. At that point you can assign a default route to send traffic to the router interface if it isn't destined for VLAN1 or 2.
Hope this helps!
Also, you could trunk the switch to the router and have the router do the routing but that kind of defeats the purpose of having a layer 3 switch. Adding routes to a workstations routing table won't help route packets once they reach the switch. The default gateway of each machine tells the packets where to go, then the switch or router takes it from there.