| | |
| | | </div> |
| | | </div> |
| | | <script src="/hxzkuwb/HouTai/Js/jquery-3.5.1.js"></script> |
| | | <script src="../../languages/languages.js"></script> |
| | | <script src="../../JS/layui.js"></script> |
| | | <script src="../../JS/layer.js"></script> |
| | | <script src="TongJiJs/TagOffLine.js"></script> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div> |
| | | <button class="layui-btn layui-btn-primary" id="btnDelete" lay-event="getdelete" style="">删除</button> |
| | | <button class="layui-btn layui-btn-primary" id="btnDelete" lay-event="getdelete" style="display: none">删除</button> |
| | | <button class="layui-btn layui-btn-primary" id="btnShuaXin" lay-event="getshuaxin" style="">刷新</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> |
| | | |
| | | </div> |
| | | </script> |
| | | <script type="text/html" id="toolbarDemoEw"> |
| | | <div> |
| | | <button class="layui-btn layui-btn-primary" id="btnDelete" lay-event="getdelete" style="display: none">Удалить</button> |
| | | <button class="layui-btn layui-btn-primary" id="btnShuaXin" lay-event="getshuaxin" style="">Обновить</button> |
| | | <input type="text" class="layui-input" id="seah" placeholder="Введите номер / имя" style="display: inline-block;width: 200px;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> |
| | | </div> |
| | | </script> |
| | | <script> |
| | | var languages; |
| | | var languages1; |
| | | var languages2; |
| | | window.addEventListener('load', function() { |
| | | $.ajax({ |
| | | url: "/hxzkuwb/FindSetting", |
| | | type: "POST", |
| | | async: false, // 设置为同步 |
| | | success: function(data) { |
| | | languages = data[0].languages; |
| | | if(languages == "0"){ |
| | | languages1 = CNCurrent5 |
| | | languages2 = CNCurrent6 |
| | | } |
| | | if(languages == "2"){ |
| | | languages1 = RYCurrent5 |
| | | languages2 = RYCurrent6 |
| | | } |
| | | }, |
| | | error: function(xhr, status, error) { |
| | | console.error("请求失败:", status, error); |
| | | } |
| | | }); |
| | | }) |
| | | </script> |
| | | </body> |
| | | </html> |