mst-dq.html 13.9 KB
<!DOCTYPE html>
<html  lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7, IE=9">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>长沙华恒机器人系统有限公司</title>
    <meta name="keywords" content="长沙华恒机器人系统有限公司,华恒机器人,智能物流,机器人焊接"/>
    <meta name="description" content="长沙华恒致力于智能物流、工业机器人、自动化焊接设备的研发和销售,为客户提供优质的智能物流系统与焊接自动化工程一体化解决方案"/>
    <meta name="author" content="长沙华恒机器人系统有限公司"/>
    <link href="favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" th:href="@{/answer/css/bootstrap.css}" type="text/css">
    <link th:href="@{/answer/css/font-awesome.min.css}" rel="stylesheet" />
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_1805932_ysrcp4y0uy9.css">
    <link rel="stylesheet"  th:href="@{/answer/css/uploadImg.css?timetemp=112}">
    <link rel="stylesheet"  th:href="@{/answer/css/ms_style.css}"  type="text/css">
    <script th:inline="javascript"> var ctx = [[@{/}]]; </script>
    <style type="text/css">
        .form-control {
            font-size: 16px;
        }
        .form-center .username input,.form-center .password input{
            height: 50px;
            padding-left: 60px;
        }
        .form-control-feedback {
            line-height: 50px;
            left: 20px;
        }
        @media (max-width: 414px){
            .form-control {
                font-size: 16px;
                padding: 6px 12px 6px 50px;
            }
        }
    </style>

    <!--倒计时控制-->
    <script type="text/javascript">

       
    </script>
</head>
<body id="ddd">

<div class="container ">
    <div class="mst">
        <div class="mst_title">
            <span class="noprint" style="padding-left:20px;"><button type="button" onClick="a()"><i class="fa fa-print"></i> 打印</button></span>
            <div class="st_title">电气工程师笔试考核试题</div>
            <p style="text-align: center"><span>总分:100</span>  <spanFV style="padding-left: 20px">闭卷:30分钟</spanFV></p>
            <div class="row">
                <input type="hidden" id="answerId">
                <div class="col-lg-3 col-md-4 col-lg-offset-3 col-md-offset-2"><span style="color:red">*</span>姓名:<input id="userName" type="text" class="tm_input" placeholder="必填项" required></div>
                <div class="col-lg-3 col-md-4"><span style="color:red">*</span>电话:
                    <input id="userPhone" th:value="${phone}"  type="text" required class="tm_input" placeholder="必填项" onChange="checkPhone(this.value)">
                    <!--<p style="font-size:14px;color: red;">格式错误</p>-->
                </div>
            </div>
        </div>
        <div class="mst-dt">
            <h2 class="tm_title">一、电气类(20*2=40分)</h2>
            <p style="padding-left: 25px">
                1.&nbsp;&nbsp;在电气线路设计中,断路器是一种重要且不可以缺少的电气元件,它在电路中主要作用是<input id="answer1" name="answer" type="text" class="hx_input">,电气原理图中通常用符号<input name="answer" type="text" class="hx_input" style="width: 100px">表示;
            </p>
            <p style="padding-left: 25px">
                2.&nbsp;&nbsp;数字量型接近开关或光电开关通常有<input name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">2种输出方式;
            </p>
            <p style="padding-left: 25px">
                3.&nbsp;&nbsp;万用表在电气设备调试或检修时,我们常使用它<input name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">等功能;
            </p>
            <p style="padding-left: 25px">
                4.&nbsp;&nbsp;在电气控制线路中,熔断器用于<input  name="answer" type="text" class="hx_input" style="width: 80px">安全保护,热继电器用于<input name="answer" type="text" class="hx_input" style="width: 80px">安全保护;
            </p>
            <p style="padding-left: 25px">
                5.&nbsp;&nbsp;PLC的工作过程通常分为<input name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">和输出刷新3个阶段;
            </p>
            <p style="padding-left: 25px">
                6.&nbsp;&nbsp;已知三相异步电机额定功率为5.5KW,主电路中使用的电缆规格为<input id="answer6" name="answer" type="text" class="hx_input" style="width: 120px">;使用的马达保护断路器电流为<input name="answer" type="text" class="hx_input" style="width: 80px">A;
            </p>
            <p style="padding-left: 25px">
                7.&nbsp;&nbsp;变频器主要功能是:电路安全保护、<input name="answer" type="text" class="hx_input" style="width: 80px">等;
            </p>
            <p style="padding-left: 25px">
                8.&nbsp;&nbsp;常用的伺服驱动器品牌有:松下、汇川、<input  name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">等;伺服电机执行机构在启动或停止时,出现抖动的现象,一般这种情况应该主要调参数<input name="answer" type="text" class="hx_input" style="width: 120px">等;
            </p>
            <p style="padding-left: 25px">
                9.&nbsp;&nbsp;根据编码使用方式,一般分为绝对值型编码器、<input  name="answer" type="text" class="hx_input" style="width: 120px">
            </p>
            <p style="padding-left: 25px">
                10.&nbsp;&nbsp;西门子、三菱、倍福等主流工控品牌各自常用的通讯协议分别是:<input  name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">等;
            </p>
            <h2 class="tm_title">二、焊接与机器人类(10*2=20分)</h2>
            <p style="padding-left: 25px">
                1.&nbsp;&nbsp;焊接是一种常见的金属连接方式,目前最为普遍的焊接工艺有等离子焊接、<input  name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">等;
            </p>
            <p style="padding-left: 25px">
                2.&nbsp;&nbsp;工件组对完成并且装夹完成后,实际焊接位置与3D模型的焊接位置存在偏差,为了焊缝成型美观,我们机器人在焊接时,可以采用机器人的激光寻位、<input name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">等功能实现焊缝位置纠偏,从而使焊缝成型更美观;
            </p>
            <p style="padding-left: 25px">
                3.&nbsp;&nbsp;常用的焊接机器人单站主要部件包括机器人本体及控制柜、<input i name="answer" type="text" class="hx_input" style="width: 80px">、工装夹具控制系统等组成;
            </p>
            <p style="padding-left: 25px">
                4.&nbsp;&nbsp;机器人常用的坐标系有用户坐标系、<input  name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">等;
            </p>
            <p style="padding-left: 25px">
                5.&nbsp;&nbsp;FANUC机器人外部自动模式时,通常有PNS<input  name="answer" type="text" class="hx_input" style="width: 80px">2种方式给程序命名及设置;
            </p>
            <p style="padding-left: 25px">
                6.&nbsp;&nbsp;FANUC机器人中专用I/O有:操作面板SI/SO<input  name="answer" type="text" class="hx_input" style="width: 80px"><input name="answer" type="text" class="hx_input" style="width: 80px">3种;
            </p>
            <h2 class="tm_title">三、绘图题(20分)</h2>
            <p style="padding-left: 25px;" class="pc_hg">
                绘制电机正反转主回路与控制回路电气原理图,要求:<br/>
                1.电气元器件使用正确;<br/>
                2.电气线路符号、标识清晰;<br/>
                3.体现电气线路使用安全;<br/>
                4.不限制绘图软件,但优先使用EPLAN<br/>
            </p>
            <div style="padding:0 25px;">
                <div>
                    <textarea id="answer_text" rows="6" class="form-control2" placeholder="在此输入文字内容"></textarea>
                </div>
                <div class="upload-content">
                        <div class="content-img">
                            <ul class="content-img-list"></ul>
                            <div class="file" style="display:none">
                                <i class="gcl gcladd"></i>
                                <input type="file" name="file" accept="image/*" id="upload" multiple>
                            </div>
                        </div>
                        <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel">
                            <div class="modal-dialog modal-lg" role="document">
                                <div class="modal-content">

                                </div>
                            </div>
                        </div>
                 </div>
            </div>
            <div class="form-group" style="overflow: hidden" id="hiddenSubmit">
                <div class="col-lg-4 col-lg-offset-4 col-sm-12" style="padding-top: 5%">
                    <a id="btn1" href="javascript:document:updateStatusOne(1);"  class="btn btn-primary btn-lg btn-block" style="height:60px;line-height:34px;font-size:21px;" role="button">阅卷</a>
                    <a id="btn2" href="javascript:document:goBack(1);"  class="btn btn-primary btn-lg btn-block" style="height:60px;line-height:34px;font-size:21px;" role="button">返回</a>
                </div>
            </div>
        </div>
    </div>
</div>
<script  th:src="@{/js/jquery-3.5.1.min.js}"></script>
<!--<script th:src="@{/answer/js/jquery.min.js}"></script>-->
<script th:src="@{/answer/js/bootstrap.min.js}"></script>
<script th:src="@{/answer/js/uploadImg.js?timetemp=111}"></script>
<script th:src="@{/answer/js/common.js}"></script>
<script th:src="@{/ajax/libs/layer/layer.js}"></script>
<script>
    jQuery.browser={};
    (function(){
        jQuery.browser.msie=false;
        jQuery.browser.version=0;
        if(navigator.userAgent.match(/MSIE ([0-9]+)./)){
            jQuery.browser.msie=true;
            jQuery.browser.version=RegExp.$1;
        }
    })();
    var imgSrc;
    function getAnswerByPhone(){
        if(prefix==undefined){
            prefix="/exam/api";
        }
        var userPhone=$("#userPhone").val();
        var result={
            "answer":{
                "userPhone":userPhone,
                "paperType":1
            },
            "answerDetails":[{
            }]

        }
        var url=prefix+"/answer/getAnswerByPhone";
        url = url.replace('//', "/");
        $.ajax({
            type: "post",
            dataType: "json",
            contentType:"application/json",
            url:url,
            data: JSON.stringify( result),
            success:function(r) {
                if (r.code == 200) {
                    $(".pull-right").hide();
                    var answer=r.data.answer;
                    var answerDetails=r.data.answerDetails;
                    $("#answerId").val(answer.id);
                    $("#userPhone").val(answer.userPhone);
                    $("#userName").val(answer.username);
                    $("#userPhone").attr("readOnly",true);
                    $("#userName").attr("readOnly",true);
                    answerDetails.forEach(function(obj,index,array){
                        if(index!=30){
                            $("input[name='answer']")[index].value=obj.answer;
                            $("input[name='answer']")[index].readOnly=true;
                        }else{
                            $("#answer_text").attr("readOnly",true);
                            $("#answer_text").val(obj.answer);
                            imgSrc=obj.pic;
                            var boxId = ".content-img-list";
                            addNewContentV(boxId,imgSrc);
                        }
                    });
                } else {

                }
            }
        });
    }

    //图片展示
    function addNewContentV(obj,imgSrcs) {
        // console.log(imgSrc)
        $(obj).html("");
        var imgSrc=imgSrcs.split(",");
        for (var a = 0; a < imgSrc.length; a++) {
            if(imgSrc[a]!=''&&imgSrc[a]!=undefined){
                var oldBox = $(obj).html();
                $(obj).html(oldBox + '<li class="content-img-list-item"><img src="' + imgSrc[a] + '" alt="">' +
                    '<div class="hide"><a index="' + a + '" class="delete-btn"><i class="gcl gcllajitong"></i></a>' +
                    '<a index="' + a + '" class="big-btn" type="button" data-toggle="modal" data-target=".bs-example-modal-lg"><i class="gcl gclfangda"></i></a></div></li>');

            }
        }
    }

    $(document).ready(function(){
        getAnswerByPhone()
    });

</script>
<style type="text/css">
    @media print {
        .noprint{display:none;}
    }
</style>
<script type="text/javascript" th:src="@{/js/jquery.jqprint-0.3.js}" ></script>
<script type="text/javascript">
    function a(){
        $("#btn1").hide();
        $("#btn2").hide();
        $("#ddd").jqprint();
    }
</script>
</body>
</html>