Your basic electronics tech would try to solder on some wires to another connector that would mate with the other wires or in other words "a repair job."
I'm losing count of how many no longer take basic electrical classes, don't own a solder iron or know you can replace wires and connectors. If that's true, you become a board swapper. That is, replace the broken parts.
I recently replaced the LED screen on my son's HP DV6 laptop.While taking it apart, I disconnected the band to the power button and the little clip or clamp broke off. When I reassembled the laptop, I tried to get the clip back over the connector and put a dab of superglue on it to keep it in place. The computer turned on fine, everything worked and after a software update, it shut down and now will not power on again. I took the keyboard out and messed with the connector but nothing is working. Any advice on how to fix this or did I screw up royally with the suoerglue?