I would start by taking some of the flange connections loose if they seem to be leaking and replace the o-ring that is sandwiched between the hose end and the block it connects to. The steel fittings and hose ends themselves seldom leak unless there is a crack or something has been chafing and rubbed a hole.
You seem to have a mix of hose fitting types on the machine with a CAT press-fit sleeve type on the left and an older 2 bolt clamp style in the oily spot in the center. You can buy hose in bulk, but unless you want to get setup to make hoses for a whole machinery line, I expect your best bet is to just remove the hose(s) taking pictures etc so you can easily reinstall each one, and take them to an autoparts or machinery dealer that makes hoses.
You may find that some will not want to sell the hose without ends crimped on even when you have the clamps etc to install it on the ends that were left bolted to the machine. If this is a problem, I would just buy a hose about a foot too long with the cheapest ends they sell crimped on and take it home and saw the ends off, cutting the hose to the exact required length in the process. A friction cut chopsaw is best, but a hacksaw works just fine for cutting hydraulic hose.
The shop you go to can read the SAE spec off the hose to match it up.
It is best to clean around the connections before beginning disassemble. Even if it is only some diesel scrubbed in with a wire brush and blown off with compressed air, you will be much happier working on it and be much less likely to get debris into the system. Once you have lines off, you are really limited in what you can do to clean things up. I usually use shop towels to carefully wipe any remaining dirt away from open ports before starting reassembly.
Link to online source for hose, ends and assemblies
https://www.discounthydraulichose.com/?gclid=Cj0KCQjwk_TbBRDsARIsAALJSOaAuaU7rmYdp5nbtpIaTFbMZNTmFTGTtw0pbzYaaXVbydcqSFkyG4EaAp4REALw_wcB
D2-5J's, D6-9U's, D318 and D333 power units, 12E-99E grader, 922B & 944A wheel loaders, D330C generator set, DW20 water tanker and a bunch of Jersey cows to take care of in my spare time😄