Authorities say Dallas was hit with a computer ransomware attack that brought down its Police Department and City Hall websites and caused some jury trials to be canceled.