@using FHT.Utilities @using FHT.Agency.UI.ViewModels @model UserViewModel @{ ViewBag.Title = "设置服务客服"; Layout = "~/Views/Shared/_Layout.cshtml"; var customerServices = (IEnumerable)ViewBag.customerServices; } @using (Html.BeginForm("SetCustomerService", "Authorization", null, FormMethod.Post, new { @class = "", role = "form" })) {
@Html.AntiForgeryToken() @Html.ValidationSummary(false, "", new { @class = "text-danger" }) @Html.HiddenFor(m => m.UserId)
@(Model.UserName)
@(Model.DescriptiveName)
@(Model.Role.GetEnumDescription())
@Html.DropDownList("customerServiceId", customerServices, new { @class = "form-control select2 ", style = "width:200px;padding-left:10px;" })
}