Alot of people who have yorkies who have broken legs or had surgery use strollers ...that way...you can still take her out but she'd be confined - I hope she heals perfectly and good luck - I wish I could add more but yorkies are hard to keep still...
I know BOTH my girls have to follow me everywhere - they're little hairy stalkers....maybe make a papoose to carry her around in while you are in the house so she is off her feet ?

lol - Kangaroo mommies do that !!
but the suggestions were already great here - mine are just for thought purposes only