username@email.com
2023-02-28 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c
zhengcaioa/zhengcaioa/Views/ExpertTestTopic/Edit.cshtml
@@ -32,6 +32,8 @@
        tijiaobingshenhe = tijiaobingshenhesto.PageName;
    }
    List<PageEntity> ActionInfo2 = ViewData["ActionInfo2"] as List<PageEntity>;
}
@{
    Layout = null;
@@ -260,12 +262,12 @@
                                            <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:3%;text-align:left;padding-left:15px;">
                                        @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" 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 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>
@@ -410,12 +412,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%;">
                                                @if ("A" == expertTestTopicjiexiDTOs[i].Flag)
                                                {
@@ -491,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>
@@ -741,7 +743,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 + ""
                        if ($.isNumber(imgLoad)) {
                            parent.layer.close(imgLoad);
                        }
@@ -877,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();//自动关闭页面方法
@@ -909,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) {
@@ -990,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%;">
@@ -1060,13 +1087,12 @@
                                        <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" style="border:none;" 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="">
@@ -1080,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" style="border:none;" 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="">
@@ -1118,12 +1145,12 @@
                                             <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)" />
@@ -1140,12 +1167,12 @@
                                            <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)" />
@@ -1162,12 +1189,12 @@
                                            <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)" />
@@ -1184,12 +1211,12 @@
                                            <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)" />
@@ -1226,6 +1253,14 @@
            //}
        }
        $(function () {
            var data = JSON.parse(ActionInfo22);
            for (var o in data) {
                $("." + data[o].PageShortcut).show();
            }
        });
    </script>
</body>
</html>