7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
184 lines
6.0 KiB
HTML
184 lines
6.0 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="renderer" content="webkit">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
|
<title>在线明细-e订通</title>
|
|
<link rel="shortcut icon" type="image/x-icon" href="../favicon.ico" />
|
|
<link rel="stylesheet" href="layuiadmin/layui/css/layui.css">
|
|
<link rel="stylesheet" href="index.css">
|
|
<style>
|
|
.pcki-page {overflow-x: hidden; overflow-y: scroll; -webkit-overflow-scrolling: touch;}
|
|
#content #info .info-row {display: inline-block; width: 50%; margin-top: 5px;}
|
|
#content #info .info-row span {display: inline-block; width: 50%;}
|
|
#content #info .text{font-weight: bold; text-align: left;}
|
|
#dhs table td {padding: 5px;}
|
|
.ty-show-active {border: solid 1px blue;}
|
|
.search{padding:6px;text-align:left;}
|
|
</style>
|
|
<script src="layuiadmin/layui/layui.js"></script>
|
|
<script src="js/function.js"></script>
|
|
<!-- jquery -->
|
|
<script src="js/jquery.min.js"></script>
|
|
<!-- 引入 -->
|
|
<!-- universal -->
|
|
<script src="js/universal/universal.js"></script>
|
|
<link rel="stylesheet" href="js/universal/universal.css?v=1">
|
|
</head>
|
|
<body style="background-color: #f0f0f0;">
|
|
<div class="pcki-page">
|
|
<!-- 顶部标题栏 -->
|
|
<div class="state_bar">
|
|
<div class="text_title">在线明细</div>
|
|
|
|
</div>
|
|
|
|
<hr class="layui-bg-gray">
|
|
|
|
|
|
<div id="show_table"></div>
|
|
|
|
<hr class="layui-bg-gray">
|
|
|
|
</div>
|
|
<script>
|
|
function openzx(qyid,dlid){
|
|
layui.use(['form','layer','element'],function(){
|
|
var form = layui.form,
|
|
$ = layui.jquery;
|
|
var element = layui.element;
|
|
var layer = layui.layer;
|
|
|
|
var tt="在线明细";
|
|
|
|
var index = layui.layer.open({
|
|
title : tt,
|
|
type : 2,
|
|
offset: 'auto',
|
|
area: ['700px', '600px'],
|
|
content : "zb_zj_zxbb.htm?dlid="+dlid+"&cate=zx&qyid="+qyid,
|
|
success : function(layero, index){
|
|
//
|
|
}
|
|
})
|
|
})
|
|
}
|
|
function openbzx(qyid,dlid){
|
|
layui.use(['form','layer','element'],function(){
|
|
var form = layui.form,
|
|
$ = layui.jquery;
|
|
var element = layui.element;
|
|
var layer = layui.layer;
|
|
|
|
var tt="未在线明细";
|
|
|
|
var index = layui.layer.open({
|
|
title : tt,
|
|
type : 2,
|
|
offset: 'auto',
|
|
area: ['700px', '600px'],
|
|
content : "zb_zj_zxbb.htm?dlid="+dlid+"&cate=bzx&qyid="+qyid,
|
|
success : function(layero, index){
|
|
//
|
|
}
|
|
})
|
|
})
|
|
}
|
|
var is_mobile="n"
|
|
,orginal_dd = ""
|
|
,ty_data
|
|
|
|
layui.config({
|
|
base: './layuiadmin/'
|
|
}).extend({
|
|
index: 'lib/index'
|
|
}).use(['form','index', 'user','rate'], function(){
|
|
var $ = layui.$
|
|
,setter = layui.setter
|
|
,admin = layui.admin
|
|
,form = layui.form
|
|
,rate = layui.rate
|
|
|
|
//取得url传递参数
|
|
var query_str=location.search.substring(1);
|
|
if(query_str)
|
|
query_str="&"+query_str;
|
|
var url="./?_m=zb_zj&_a=zxmx"+query_str;
|
|
$.ajax(
|
|
{
|
|
url:url,
|
|
contentType: "application/json",
|
|
method: 'POST',
|
|
success: function (res) {
|
|
var json_data=$.parseJSON(res);
|
|
ty_data = json_data
|
|
//alert(json_data.ver);
|
|
if(json_data.code==0){
|
|
//------------------本页返回的错误信息
|
|
layer.msg(json_data.msg);
|
|
}else if(json_data.code==1){
|
|
//------------------系统错误
|
|
var msg=json_data.msg;
|
|
var url1="error.htm?msg="+json_data.msg+"&btn_title="+json_data.btn_title+"&btn_url="+json_data.btn_url;
|
|
var obj1=window.parent.parent?window.parent.parent:window.parent; obj1.location.href=url1;
|
|
}else if(json_data.code==2){
|
|
//------------------重新登录
|
|
url1="login.htm?error_msg="+json_data.msg;
|
|
var obj1=window.parent.parent?window.parent.parent:window.parent; obj1.location.href=url1;
|
|
}else{
|
|
//------------------填充内容
|
|
console.log(["初始", json_data])
|
|
|
|
// safari中iframe内的页面宽度会莫名其妙多一点出来,此处强制将本页宽度修正
|
|
$(".pcki-page").width($(".layui-layer-iframe", top.document).width())
|
|
// 修复iphone端,点击按钮时自动滚到页面顶部以及附带的其他一些问题
|
|
$(".pcki-page").height($(".layui-layer-iframe", top.document).height())
|
|
/*var s_online="";
|
|
//是否在线
|
|
var arr_key=["n","y"];
|
|
var arr_val=["未在线","在线"];
|
|
html_search_live='<select id="s_online" name="s_online" lay-filter="s_online"><option value="">-是否在线-</option>';
|
|
for(var j=0;j<arr_key.length;j++){
|
|
html_search_live+='<option value="'+arr_key[j]+'"';
|
|
if(arr_key[j]==json_data.s_online)
|
|
html_search_live+=' selected';
|
|
html_search_live+='>'+arr_val[j]+'</option>';
|
|
}
|
|
html_search_live+='</select>';
|
|
$("#search_online").html(html_search_live);
|
|
form.render();*/
|
|
|
|
//------------陈列
|
|
var html1=json_data.tb;
|
|
$("#show_table").html(html1);
|
|
}
|
|
}
|
|
,beforeSend: function() { u_start_loading() }
|
|
,complete: function() { u_stop_loading() }
|
|
,error: function() { layui.layer.msg("与服务器通信失败!") }
|
|
}
|
|
)
|
|
//监听筛选
|
|
form.on('select(s_online)', function(data){
|
|
$('#form1_search').submit();
|
|
});
|
|
|
|
if(admin.screen()<2)
|
|
is_mobile="y";
|
|
$(window).on('resize', function(){
|
|
//自动
|
|
if(admin.screen()<2)
|
|
is_mobile="y";
|
|
});
|
|
|
|
$(".layui-layer-iframe", top.document).on("resize", function() {
|
|
// safari中iframe内的页面宽度会莫名其妙多一点出来,此处强制将本页宽度修正
|
|
$(".pcki-page").width($(".layui-layer-iframe", top.document).width())
|
|
// 修复iphone端,点击按钮时自动滚到页面顶部以及附带的其他一些问题
|
|
$(".pcki-page").height($(".layui-layer-iframe", top.document).height())
|
|
})
|
|
})
|
|
</script>
|
|
</body>
|
|
</html> |