AuthRoleToAccount.cshtml 362 B

123456789101112131415
  1. 
  2. @{
  3. ViewBag.Title = "AuthRoleToAccount";
  4. Layout = "~/Views/Shared/_MainLayoutPage.cshtml";
  5. }
  6. <script src="~/ViewModels/sysmanager.users.js"></script>
  7. <table id="mydgroles"></table>
  8. <script>
  9. var id = "@ViewBag.id";
  10. if (id != '') {
  11. //传递账户ID
  12. var model = new viewModel();
  13. model.initrolesforauth(id);
  14. }
  15. </script>