Gunmen beat Palestinian official