username@email.com
2022-08-27 6e2b929cf381e2320ba6e7dec56c0371124d2b51
zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml
@@ -32,6 +32,8 @@
        tijiaobingshenhe = tijiaobingshenhesto.PageName;
    }
    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@{
    Layout = null;
@@ -251,21 +253,21 @@
                                    {
                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label class="text-right col-sm-1 col-md-1 control-label"></label>
                                        <div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicanwserDTOs[i].Anwserno" readonly="readonly">
                                        </div>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:10px;" name="Anwser1">、</label>
                                        @*<div class="col-sm-2 col-md-2" style="width:4%;">
                                            <input class="form-control" style="text-align:left;border:none;" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicanwserDTOs[i].Anwserno" readonly="readonly">
                                        </div>*@
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:15px;margin-left:15px;" name="Anwser1">@expertTestTopicanwserDTOs[i].Anwserno、</label>
                                        <div class="col-sm-6 col-md-6" name="Anwser2">
                                            <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicanwserDTOs[i].Anwser">
                                            <input type="hidden" name="anwserno" value="@expertTestTopicanwserDTOs[i].Anwserno" />
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            是否答案
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label"style="width:5%;">
                                            是否答案&nbsp;&nbsp;&nbsp;
                                        </label>
                                        <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                        <div class="text-left col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                            @if ("A" == expertTestTopicanwserDTOs[i].Shifouzhengqu)
                                        {
                                            <input type="checkbox" checked="checked" name="ShifouzhengquName" value="A" onclick="checkShifouzhengqu(this)" />
@@ -316,28 +318,28 @@
                                    @for (int i = 0; i < expertTestTopicanwserDTOs.Count; i++)
                                    {
                                    <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                        @if ("A" == expertTestTopicanwserDTOs[i].Shifouzhengqu)
                                        {
                                <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:3%;text-align:left;padding-left:15px;">
                                    @if ("A" == expertTestTopicanwserDTOs[i].Shifouzhengqu)
                                    {
                                        <input type="checkbox" checked="checked" name="ShifouzhengquName" value="A" onclick="checkShifouzhengqu(this)" />
                                        }
                                        else
                                        {
                                    }
                                    else
                                    {
                                        <input type="checkbox" name="ShifouzhengquName" value="D" onclick="checkShifouzhengqu(this)" />
                                        }
                                        <input type="hidden" name="Shifouzhengqu" value="" />
                                    }
                                    <input type="hidden" name="Shifouzhengqu" value="" />
                                    <input type="hidden" name="anwserno" value="@expertTestTopicanwserDTOs[i].Anwserno" />
                                </div>
                                        <label class="text-left col-sm-1 col-md-1 control-label">@expertTestTopicanwserDTOs[i].Anwserno</label>
                                        @*<div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" style="border:none;" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicanwserDTOs[i].Anwserno" readonly="readonly">
                                        </div>*@
                                    </div>
                                        <div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
                                            <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicanwserDTOs[i].Anwser">
                                    <div class="col-sm-2 col-md-2" style="width:5%;">
                                        <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="@expertTestTopicanwserDTOs[i].Anwserno" readonly="readonly">
                                    </div>
                                    <div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
                                        <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicanwserDTOs[i].Anwser">
                                    </div>
                                        </div>
@@ -349,7 +351,7 @@
                                            }
                                    }
                                </div>
@@ -371,113 +373,112 @@
                                <div id="addlist_2">
                                    @for (int i = 0; i < expertTestTopicjiexiDTOs.Count; i++)
                                {
                                    <div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            法律
                                        </label>
                                    {
                                    <div class="fatiaomeirong">
                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                                法律
                                            </label>
                                        <div class="col-sm-5 col-md-5" grouptype="Vdata">
                                            <select class="form-control" name="Falv" data-placeholder="选择 序列 ...">
                                                <option value="" hassubinfo="true">请选择</option>
                                                @foreach (var item in falv)
                                            {
                                                @if (!item.CodeSn.Equals(expertTestTopicjiexiDTOs[i].Falv))
                                            <div class="col-sm-5 col-md-5" grouptype="Vdata">
                                                <select class="form-control" name="Falv" data-placeholder="选择 序列 ...">
                                                    <option value="" hassubinfo="true">请选择</option>
                                                    @foreach (var item in falv)
                                                    {
                                                        @if (!item.CodeSn.Equals(expertTestTopicjiexiDTOs[i].Falv))
                                                        {
                                                            <option value="@item.CodeSn" hassubinfo="true">
                                                                @item.Comments
                                                            </option>
                                                        }
                                                        else
                                                        {
                                                            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
                                                                @item.Comments
                                                            </option>
                                                        }
                                                    }
                                                </select>
                                            </div>
                                            <label class="text-right col-sm-1 col-md-1 control-label" style="width:30px;">法条</label>
                                            <div class="col-sm-2 col-md-2">
                                                <input class="form-control" label="法条" name="Fatiao" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicjiexiDTOs[i].Fatiao">
                                            </div>
                                            <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label"  style="width:5%;">
                                                主解析
                                            </label>
                                            <div class="col-sm-2 col-md-2" grouptype="Vdata" style="width:5%;">
                                                @if ("A" == expertTestTopicjiexiDTOs[i].Flag)
                                                {
                                                <option value="@item.CodeSn" hassubinfo="true">
                                                    @item.Comments
                                                </option>
                                                    <input type="checkbox" checked="checked" name="FlagName" value="A" onclick="checkFlag(this)" />
                                                }
                                                else
                                                {
                                                <option value="@item.CodeSn" hassubinfo="true" selected="selected">
                                                    @item.Comments
                                                </option>
                                                    <input type="checkbox" name="FlagName" value="D" onclick="checkFlag(this)" />
                                                }
                                                <input type="hidden" name="Flag" value="" />
                                            </div>
                                            @if (i == 0)
                                            {
                                                <div class="col-sm-1 col-md-1" style="width:80px;">
                                                    <button type="button" class="addBtn" onclick="addBtn(this)" data-type="2" style="width:32px">+</button>
                                                    <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</button>
                                                </div>
                                            }
                                            </select>
                                        </div>
                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                            <label class="text-right col-sm-1 col-md-1 control-label">法条内容</label>
                                            <div class="col-sm-11 col-md-11">
                                                <textarea class="form-control bt" name="Fatiaomingxi" title="法条内容" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@expertTestTopicjiexiDTOs[i].Jiexi</textarea>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:30px;">法条</label>
                                        <div class="col-sm-2 col-md-2">
                                            <input class="form-control" label="法条" name="Fatiao" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="@expertTestTopicjiexiDTOs[i].Fatiao">
                                            </div>
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            主解析
                                        </label>
                                        <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                            @if ("A" == expertTestTopicjiexiDTOs[i].Flag)
                                        {
                                            <input type="checkbox" checked="checked" name="FlagName" value="A" onclick="checkFlag(this)" />
                                        }
                                        else
                                        {
                                            <input type="checkbox" name="FlagName" value="D" onclick="checkFlag(this)" />
                                        }
                                            <input type="hidden" name="Flag" value="" />
                                            @*<select class="form-control" name="Flag" data-placeholder="选择 序列 ...">
            @foreach (var item in Flag)
        {
            @if (!item.CodeSn.Equals(expertTestTopicjiexiDTOs[i].Flag))
            {
            <option value="@item.CodeSn" hassubinfo="true">
                @item.Comments
            </option>
            }
            else
            {
            <option value="@item.CodeSn" hassubinfo="true" selected="selected">
                @item.Comments
            </option>
            }
        }
        </select>*@
                                        </div>
                                        @if (i == 0)
                                    {
                                        <div class="col-sm-1 col-md-1" style="width:80px;">
                                            <button type="button" class="addBtn" onclick="addBtn(this)" data-type="2" style="width:32px">+</button>
                                            <button type="button" class="delBtn" onclick="delBtn(this)" data-type="2" style="width:32px">-</button>
                                        </div>
                                    }
                                    </div>
                                }
                                </div>
                                <div class="clearfix layer-area" style="padding-bottom:15px;">
                                    <label class="text-right col-sm-1 col-md-1 control-label">解析</label>
                                    <div class="col-sm-11 col-md-11">
                                        <textarea class="form-control bt" id="Jiexi" name="Jiexi" title="解析" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@Model.Jiexi</textarea>
                                    </div>
                                </div>
                            </div>
                                            }
                                        </div>
                                        <div class="clearfix layer-area" style="padding-bottom:15px;">
                                            <label class="text-right col-sm-1 col-md-1 control-label">解析</label>
                                            <div class="col-sm-11 col-md-11">
                                                <textarea class="form-control bt" id="Jiexi" name="Jiexi" title="解析" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'">@Model.Jiexi</textarea>
                                            </div>
                                        </div>
                                    </div>
@@ -492,7 +493,7 @@
            <div class="" style="float:right;" data-bootstro-width="500px" data-bootstro-content="功能按钮:“保存”,“删除”">
                <a class="btn btn-success" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;">
                <a class="btn btn-success Update" href="javascript:void(0)" onclick="savePosition();" style="margin-left:4px; border-radius:4px;display:none;">
                    <i class="glyphicon glyphicon-ok"></i>&nbsp;&nbsp;<span class="bold">提交</span>
                </a>
@@ -516,6 +517,15 @@
        var Jiexi = document.getElementById("Jiexi");
        Jiexi.style.height = Jiexi.scrollHeight + 'px';
        var Fatiaomingxi = document.getElementsByName("Fatiaomingxi");
        for (var a = 0; a < Fatiaomingxi.length; a++) {
            Fatiaomingxi[a].style.height = Fatiaomingxi[a].scrollHeight + 'px';
        }
        var Topictype11 = $("#Topictype").val();
        if (Topictype11 == "03") {
            var sss = $("div[name='Anwser2']");
@@ -524,6 +534,19 @@
            ssss.hide();
        }
        Jiexi.style.height = Jiexi.scrollHeight + 'px';
        var Topictype11 = $("#Topictype").val();
        if (Topictype11 == "03") {
            var sss = $("div[name='Anwser2']");
            sss.hide();
            var ssss = $("label[name='Anwser1']");
            ssss.hide();
        }
        var hh = document.body.clientHeight - $('.ibox-title').height() - $("#top").height() * 2;
        $("#div_content").height(hh);
@@ -683,8 +706,8 @@
                    }
                }
                if (booll < 1) {
                    toastr.warning("多单选至少有一个正确答案");
                if (booll <= 1) {
                    toastr.warning("多单选至少有两个正确答案");
                    return;
                }
            }
@@ -715,8 +738,25 @@
                    if (data.Result) {
                        //  parent._afterSave(true);
                        parent.layer.msg('保存成功', { icon: 6 });
                        _pageAutoClose();//自动关闭页面方法
                        parent.layer.msg('成功保存', { icon: 6 });
                        var Topictype = $("#Topictype").val();
                        var Zhishitype = $("#Zhishitype").val();
                        var Area = $("#Area").val();
                        var falvs = document.getElementsByName("Falv");
                        var Falv = "";
                        for (var i = 0; i < falvs.length; i++) {
                            Falv += falvs[i].value + ",";
                        }
                        window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area + "&Falv=" + Falv + ""
                        if ($.isNumber(imgLoad)) {
                            parent.layer.close(imgLoad);
                        }
                    }
                    else {
                        if ($.isNumber(imgLoad)) {
@@ -810,8 +850,8 @@
                    }
                }
                if (booll < 1) {
                    toastr.warning("多单选至少有一个正确答案");
                if (booll <= 1) {
                    toastr.warning("多单选至少有两个正确答案");
                    return;
                }
            }
@@ -849,7 +889,17 @@
                            var Zhishitype = $("#Zhishitype").val();
                            var Area = $("#Area").val();
                            window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area +""
                            var falvs = document.getElementsByName("Falv");
                            var Falv = "";
                            for (var i = 0; i < falvs.length; i++) {
                                Falv += falvs[i].value + ",";
                            }
                            window.location = "/ExpertTestTopic/Edit?Topictype=" + Topictype + "&Zhishitype=" + Zhishitype + "&Area=" + Area + "&Falv=" + Falv + ""
                            //try {
                            //    _pageAutoClose();//自动关闭页面方法
@@ -881,9 +931,14 @@
            var index = parent.layer.getFrameIndex(window.name);
            parent.layer.isRefresh = true;
            parent.layer.closeAll('loading');
            parent.layer.close(index);
            //parent.layer.close(index);
            return false;
        }
        $(window).unload(function () {
            _pageAutoClose();
        });
        function addBtn(obj) {
@@ -894,8 +949,8 @@
                $('#addlist_3').append(oTr);
                $(oTr).html(` <div class="clearfix layer-area" style="padding-bottom:15px;">
                                                             <label class="text-right col-sm-1 col-md-1 control-label">答案编号</label>
                                                            <div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="">
                                                             <div class="col-sm-2 col-md-2" style="width:4%;">
                                            <input class="form-control" style="text-align:left;border:none;"  label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="">
                                        </div>
                                                            <label class="text-right col-sm-1 col-md-1 control-label" style="width:10px;" name="Anwser1" >、</label>
                                        <div class="col-sm-6 col-md-6" name="Anwser2" >
@@ -929,7 +984,8 @@
                                                        </div>`);
              } else  if (num == 2) {
                $('#addlist_2').append(oTr);
                $(oTr).html(` <div class="clearfix layer-area" style="padding-bottom:15px;">
                  $(oTr).html(` <div class="fatiaomeirong" >
<div class="clearfix layer-area" style="padding-bottom:15px;">
 <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            法律
@@ -961,12 +1017,12 @@
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label"  style="width:5%;">
                                            主解析
                                        </label>
                                    <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                    <div class="col-sm-2 col-md-2" grouptype="Vdata" style="width:5%;">
@@ -981,7 +1037,20 @@
                                    </div>
                                                        </div>`);
                                                        </div>
 <div class="clearfix layer-area" style="padding-bottom:15px;">
                                            <label class="text-right col-sm-1 col-md-1 control-label">法条内容</label>
                                            <div class="col-sm-11 col-md-11">
                                                <textarea class="form-control bt" name="Fatiaomingxi" title="法条内容" isempty="" maxlength="4000" length="long" style="resize:none;overflow-y:hidden; min-height:60px;" onpropertychange="this.style.height=this.scrollHeight + 'px'" oninput="this.style.height=this.scrollHeight + 'px'"></textarea>
                                            </div>
                                        </div>
 </div>
`);
            }
        }
@@ -995,8 +1064,8 @@
                }
            } else if (num == 2) {
                if ($('#addlist_2').find('.clearfix').length > 1) {
                    $('#addlist_2').find('.clearfix:last').remove();
                if ($('#addlist_2').find('.fatiaomeirong').length > 1) {
                    $('#addlist_2').find('.fatiaomeirong:last').remove();
                }
            }
@@ -1013,18 +1082,17 @@
                                    <label class="text-right col-sm-1 col-md-1 control-label"></label>
                                    <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                    <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:3%;">
                                        <input type="checkbox" name="ShifouzhengquName" value="A" onclick="checkShifouzhengqu(this)" />
                                        <input type="hidden" name="Shifouzhengqu" value="" />
 <input type="hidden" name="anwserno" value="√" />
                                    </div>
 <label class="text-left col-sm-1 col-md-1 control-label">√</label>
                                    <div class="col-sm-2 col-md-2" style="width:5%;">
                                        <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="×" readonly="readonly">
                                    </div>
                                    <div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
                                        <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
@@ -1038,11 +1106,12 @@
                                        <input type="hidden" name="Shifouzhengqu" value="" />
                                    </div>
                                   <input type="hidden" name="anwserno" value="x" />
                                    <div class="col-sm-2 col-md-2" style="width:5%;">
                                        <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="√" readonly="readonly">
                                    </div>
 <label class="text-left col-sm-1 col-md-1 control-label">x</label>
                                    <div class="col-sm-6 col-md-6" name="Anwser2" style="display:none;">
                                        <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
@@ -1069,96 +1138,88 @@
                $('#addlist_3').html(`
<div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label class="text-right col-sm-1 col-md-1 control-label"></label>
                                        <div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="A" readonly="readonly">
                                        </div>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:10px;" name="Anwser1">、</label>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:15px;margin-left:15px;" name="Anwser1">A、</label>
                                        <div class="col-sm-6 col-md-6" name="Anwser2">
                                            <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
                                             <input type="hidden" name="anwserno" value="A" />
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            是否答案
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" style="width:5%;">
                                            是否答案&nbsp;&nbsp;&nbsp;
                                        </label>
                                        <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                        <div class="text-left  col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                            <input type="checkbox" name="ShifouzhengquName" value="D" onclick="checkShifouzhengqu(this)" />
                                            <input type="hidden" name="Shifouzhengqu" value="" />
                                        </div>
                                    </div>
<div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label class="text-right col-sm-1 col-md-1 control-label"></label>
                                        <div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="B" readonly="readonly">
                                        </div>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:10px;" name="Anwser1">、</label>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:15px;margin-left:15px;" name="Anwser1">B、</label>
                                        <div class="col-sm-6 col-md-6" name="Anwser2">
                                            <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
                                            <input type="hidden" name="anwserno" value="B" />
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            是否答案
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" style="width:5%;">
                                            是否答案&nbsp;&nbsp;&nbsp;
                                        </label>
                                        <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                        <div class=" text-left col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                            <input type="checkbox" name="ShifouzhengquName" value="D" onclick="checkShifouzhengqu(this)" />
                                            <input type="hidden" name="Shifouzhengqu" value="" />
                                        </div>
                                    </div>
<div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label class="text-right col-sm-1 col-md-1 control-label"></label>
                                        <div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="C" readonly="readonly">
                                        </div>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:10px;" name="Anwser1">、</label>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:15px;margin-left:15px;" name="Anwser1">C、</label>
                                        <div class="col-sm-6 col-md-6" name="Anwser2">
                                            <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
                                            <input type="hidden" name="anwserno" value="C" />
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            是否答案
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" style="width:5%;">
                                            是否答案&nbsp;&nbsp;&nbsp;
                                        </label>
                                        <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                        <div class=" text-left  col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                            <input type="checkbox" name="ShifouzhengquName" value="D" onclick="checkShifouzhengqu(this)" />
                                            <input type="hidden" name="Shifouzhengqu" value="" />
                                        </div>
                                    </div>
<div class="clearfix layer-area" style="padding-bottom:15px;">
                                        <label class="text-right col-sm-1 col-md-1 control-label"></label>
                                        <div class="col-sm-2 col-md-2" style="width:5%;">
                                            <input class="form-control" label="答案编号" name="anwserno" labtype="txt" addvisible="true" editvisible="true" reg="" maxlength="50" ismust="true" type="text" value="D" readonly="readonly">
                                        </div>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:10px;" name="Anwser1">、</label>
                                        <label class="text-right col-sm-1 col-md-1 control-label" style="width:15px;margin-left:15px;" name="Anwser1">D、</label>
                                        <div class="col-sm-6 col-md-6" name="Anwser2">
                                            <input class="form-control" label="答案" name="Anwser" labtype="txt" addvisible="true" editvisible="true" maxlength="500" reg="" ismust="flase" type="text" value="">
                                            <input type="hidden" name="anwserno" value="D" />
                                        </div>
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label">
                                            是否答案
                                        <label grouptype="Vdata" class="text-right col-sm-1 col-md-1 control-label" style="width:5%;">
                                            是否答案&nbsp;&nbsp;&nbsp;
                                        </label>
                                        <div class="col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                        <div class="text-left  col-sm-1 col-md-1" grouptype="Vdata" style="width:5%;">
                                            <input type="checkbox" name="ShifouzhengquName" value="D" onclick="checkShifouzhengqu(this)" />
                                            <input type="hidden" name="Shifouzhengqu" value="" />
                                        </div>
                                    </div>
@@ -1181,7 +1242,7 @@
            }
        }
        function checkFlag(vi) {
            if ($("#Topictype").val() == "01" || $("#Topictype").val() == "03") {
            //if ($("#Topictype").val() == "01" || $("#Topictype").val() == "03") {
                if (vi.checked) {
                    var ssssss = document.getElementsByName("FlagName");
                    for (var i = 0; i < ssssss.length; i++) {
@@ -1189,9 +1250,17 @@
                    }
                    vi.checked = true;
                }
            }
            //}
        }
        $(function () {
            var data = JSON.parse(ActionInfo22);
            for (var o in data) {
                $("." + data[o].PageShortcut).show();
            }
        });
    </script>
</body>
</html>