Victoria's treasurer has taken aim at police pursuing industrial action and has urged them to think about the consequences ahead of major events in the state.