@model EMIS.ViewModel.EvaluationManage.EvaluationSetting.EvaluationNeedView @using EMIS.Web.Controls; @using Bowin.Web.Controls.Mvc; @{ ViewBag.Title = "Edit"; var isEnable = Request["type"] == "detail" ? false : true; } @section scripts{ }
@Html.LabelFor(x => x.Code): | @Html.TextBoxFor(x => x.Code, new TextBoxOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.Title): | @Html.TextBoxFor(x => x.Title, new TextBoxOptions() { IsEnabled = isEnable }) |
@Html.LabelFor(x => x.ParticipateTypeID): | @Html.DictionaryComboGridFor(EMIS.ViewModel.DictionaryItem.EM_ParticipateType, (x => x.ParticipateTypeID), DropdownListBindType.PleaseSelect, new ComboGridOptions() { IsEnabled = isEnable }) | @Html.LabelFor(x => x.IsEnabledName): |
@if (!isEnable)
{
@Html.CheckBoxFor(x => x.IsEnabled, new Dictionary |
@Html.LabelFor(x => x.Content): |
@if (!isEnable)
{
@Html.TextAreaFor(x => x.Content, new Dictionary |
||
@Html.LabelFor(x => x.Remark): |
@if (!isEnable)
{
@Html.TextAreaFor(x => x.Remark, new Dictionary |