The port-based VLAN feature of RV042 does not allow different VLANs to communicate with each other.
To support your scenario, you could try configuring multiple subnets under the Setup>Network page, and then configure Access Rules to restrict the traffic between the multiple subnets.