| | |
| | | white-space: nowrap; |
| | | text-overflow: ellipsis; |
| | | } |
| | | #translate{ |
| | | display: none; |
| | | } |
| | | #translateSelectLanguage{ |
| | | display: none; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | |
| | | <div class="update" style="display: none;width: 600px;background-color: #f6f6f6;border: 1px solid #cccccc;padding: 50px;position: fixed;top: 50px;left: 450px;z-index: 99999"> |
| | | <form class="layui-form" action="/hxzkuwb/upWeiLanTiShiYu" method="post" lay-filter="example" onsubmit="return checkup()"> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">序号</label> |
| | | <label class="layui-form-label languages1">序号</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" lay-verify="title" name="id" readonly id="up0" required autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">提示语</label> |
| | | <label class="layui-form-label languages2">提示语</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" lay-verify="title" id="up7" name="baoliu9" required autocomplete="off" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-input-block"> |
| | | <button type="submit" class="layui-btn" lay-submit="" lay-filter="" >立即提交</button> |
| | | <button type="button" class="layui-btn layui-btn-normal" lay-filter="" onclick="quxiao()" style="margin-left: 200px">取消</button> |
| | | <button type="submit" class="layui-btn languages3" lay-submit="" lay-filter="" >立即提交</button> |
| | | <button type="button" class="layui-btn layui-btn-normal languages4" lay-filter="" onclick="quxiao()" style="margin-left: 200px">取消</button> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | <input type="text" class="layui-input" id="seah" placeholder="请输入围栏名称" style="width: 270px;height: 38px;margin-left: 100px;position: fixed;border-radius: 8px;border: 1px solid #cccccc;z-index: 999;left: 150px;top: 40px;border-right: none;border-top-right-radius: 0px;border-bottom-right-radius: 0px"> |
| | | <div id="qrsc" style="display: none;border-radius: 15px;width: 20%;height: 15%;padding: 2%;position: fixed;top: 30%;bottom: 45%;z-index: 9999;right: 40%;left: 40%;background-color: #E9E7E7;box-shadow: black 1px 1px 1px"> |
| | | <p style="width: 20%;height: 60%;display: inline-block;"><img src="Img/image.png" width="60"/></p> |
| | | <p style="width: 70%;display: inline-block" id="msgt"> |
| | | |
| | | </p> |
| | | <p style="display: inline-block;float: right"> |
| | | <button class="layui-btn" onclick="QueSc()">确认</button> |
| | | <button class="layui-btn layui-btn-primary" style="float: right" onclick="QueQx()">取消</button> |
| | | </p> |
| | | </div> |
| | | </body> |
| | | <script type="text/html" id="titleTpl"> |
| | | <span>{{# if (d.zuobiao.length > 18) { }}{{ d.zuobiao.substring(0, 18) }}{{# } else { }}{{ d.zuobiao }}{{# } }}</span> |
| | | </script> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container" style="margin-left: 0px;margin-top: 20px;display: inline-block"> |
| | | <button class="layui-btn layui-btn-danger" id="btnDelete" lay-event="getdelete">删除</button> |
| | | <button class="layui-btn layui-btn-primary" lay-event="getshuaxin">刷新</button> |
| | | <button class="layui-btn layui-btn-normal" lay-event="getsearch" style="margin-left: 350px;position: fixed;border-bottom-right-radius: 8px;border-top-right-radius: 8px;z-index: 9999;left: 170px;top: 40px">搜索</button> |
| | | <button class="layui-btn layui-btn-warm" id="btnUpdate" lay-event="getUpdate" style="margin-left: 500px">修改提示语</button> |
| | | |
| | | <div> |
| | | <button class="layui-btn layui-btn-danger" id="btnDelete" style="" lay-event="getdelete">删除</button> |
| | | <button class="layui-btn layui-btn-primary" id="btnShuaXin" lay-event="getshuaxin">刷新</button> |
| | | <input type="text" class="layui-input" id="seah" placeholder="请输入围栏名称" style="display: inline-block;width: 16%;height:38px;border-right: none;border-top-right-radius: 0px;border-bottom-right-radius: 0px;position: relative;top: 0.1vh;margin-left: 5%"> |
| | | <button class="layui-btn layui-btn-normal" id="btnSerach" lay-event="getsearch" style="border-bottom-right-radius: 8px;border-top-right-radius: 8px;">搜索</button> |
| | | <%-- <button class="layui-btn layui-btn-warm" id="btnUpdate" lay-event="getUpdate" style="">修改提示语</button>--%> |
| | | </div> |
| | | </script> |
| | | <script type="text/html" id="barDemotag"> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> |
| | | </script> |
| | | <script src="/hxzkuwb/HouTai/Js/jquery-3.5.1.js"></script> |
| | | <script src="../../languages/languages.js"></script> |
| | | <script src="WeiLanListJs/Languages.js"></script> |
| | | <script src="../../JS/layui.js"></script> |
| | | <script src="../../JS/layer.js"></script> |
| | | <script src="WeiLanListJs/WeiLanJs.js"></script> |
| | | <script src="../Role/Role2.js"></script> |
| | | <script> |
| | | |
| | | var ds = "username="+sessionStorage.getItem("username") |
| | | $.get("/hxzkuwb/findUserRole",ds,function (data){ |
| | | if (data.udelete == "No"){ |
| | |
| | | } |
| | | }) |
| | | </script> |
| | | <script src="../../JS/translate.js"></script> |
| | | <script src="../Js/Ch-En-Delete-Refresh-Search-Update.js"></script> |
| | | <script> |
| | | |
| | | var languages; |
| | | window.addEventListener('load', function() { |
| | | $.ajaxSetup({ |
| | | headers: { |
| | | 'x-access-token': localStorage.getItem("hxzkmars3d") |
| | | } |
| | | }); |
| | | |
| | | $.ajax({ |
| | | url: "/hxzkuwb/FindSetting", |
| | | type: "POST", |
| | | async: false, // 设置为同步 |
| | | success: function(data) { |
| | | languages = data[0].languages; |
| | | $(".languages1").text(CNFencesListText1) |
| | | $(".languages2").text(CNFencesListText2) |
| | | $(".languages3").text(CNCurrent1) |
| | | $(".languages4").text(CNCurrent2) |
| | | |
| | | |
| | | }, |
| | | error: function(xhr, status, error) { |
| | | console.error("请求失败:", status, error); |
| | | } |
| | | }); |
| | | }) |
| | | </script> |
| | | </html> |