@model EMIS.ViewModel.EvaluationManage.EvaluationSetting.EvaluationIntTypeView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; var isEnable = Request["type"] == "detail" ? false : true; //授课方式 ListControlOptions lcoptm = new ListControlOptions { ID = "TeachingModeIDList", Name = "TeachingModeIDList", TextField = "Name", ValueField = "Value", ColumnCount = 4, IsEnabled = isEnable, SelectedValueUrl = @Url.Content("~/EvaluationIntType/TeachingModeTypeList?evaluationIntTypeID=" + Model.EvaluationIntTypeID) }; } @section scripts{ }
@Html.LabelFor(x => x.Code): | @Html.TextBoxFor(x => x.Code, new TextBoxOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.Name): | @Html.TextBoxFor(x => x.Name, new TextBoxOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.TeachingModeIDList): | @Html.DictionaryCheckList(EMIS.ViewModel.DictionaryItem.CF_TeachingMode, lcoptm) | ||
@Html.LabelFor(x => x.Remark): |
@if (!isEnable)
{
@Html.TextAreaFor(x => x.Remark, new Dictionary |