|
|
@ -1,64 +1,30 @@
|
|
|
|
<div class="container-fluid" style="max-width:100%;">
|
|
|
|
<div class="container-fluid" style="max-width:100%;">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-24 nav-tabs" style="padding-left:180px;border:none;padding-top:15px;">
|
|
|
|
<div class="col-xs-24 nav-tabs new-nav-tabs" style="padding-left:180px;border:none;padding-top:15px;">
|
|
|
|
<ul class="list-inline">
|
|
|
|
<ul class="list-inline">
|
|
|
|
<li><a class="active" href="javascript:void(0);" onclick="$('.partnerlist,.search_list,.order_list').fadeOut().fadeIn('1000');$('.nav-tabs>ul>li>a').removeClass('active');$(this).addClass('active');">全部</a></li>
|
|
|
|
<li><a class="active" href="javascript:void(0);" onclick="$('.partnerlist,.search_list,.order_list').fadeOut().fadeIn('1000');$('.nav-tabs>ul>li>a').removeClass('active');$(this).addClass('active');">全部</a></li>
|
|
|
|
<li><a href="javascript:void(0);" onclick="$('.partnerlist,.order_list').hide();$('.search_list').fadeIn('1000');$('.nav-tabs>ul>li>a').removeClass('active');$(this).addClass('active');">文档</a></li>
|
|
|
|
<li><a href="javascript:void(0);" onclick="$('.partnerlist,.order_list').hide();$('.search_list').fadeIn('1000');$('.nav-tabs>ul>li>a').removeClass('active');$(this).addClass('active');">文档</a></li>
|
|
|
|
<li><a href="javascript:void(0);" onclick="$('.search_list,.order_list').hide();$('.partnerlist').fadeOut().fadeIn('1000');$('.nav-tabs>ul>li>a').removeClass('active');$(this).addClass('active');">联系人</a></li>
|
|
|
|
<li><a href="javascript:void(0);" onclick="$('.search_list,.order_list').hide();$('.partnerlist').fadeOut().fadeIn('1000');$('.nav-tabs>ul>li>a').removeClass('active');$(this).addClass('active');">联系人</a></li>
|
|
|
|
<li><a href="javascript:void(0);" class="btn_get_order">订单</a></li>
|
|
|
|
<li><a href="javascript:void(0);" class="btn_get_order">订单</a></li>
|
|
|
|
|
|
|
|
<li class="visible-xs-inline"><a href="javascript:$('.search_my_order_box').toggle();">高级搜索</a></li>
|
|
|
|
</ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="container-fluid search_container">
|
|
|
|
<div class="container-fluid search_container" style="min-height:720px;">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-14 col-xs-24 search_result_box">
|
|
|
|
<div class="col-xs-24 col-sm-10 pull-right">
|
|
|
|
|
|
|
|
<div class="col-xs-24 col-sm-16 nopadding">
|
|
|
|
<div class="col-xs-24 partnerlist nopadding-L">
|
|
|
|
<div class="col-xs-24 nopadding search_my_order_box" style="<?php if($this->session->userdata('isapp')==1) echo 'display:none;'; ?>">
|
|
|
|
<h5 class="text-muted">相关联系人搜索结果:<span class="loading_item"><img src="/css/images/loading.gif"></span></h5>
|
|
|
|
<h4>我的订单查询</h4>
|
|
|
|
<?php if (!empty($userlist)) { ?>
|
|
|
|
|
|
|
|
<?php foreach ($userlist as $u) { ?>
|
|
|
|
|
|
|
|
<div class="col-xs-24 nopadding">
|
|
|
|
|
|
|
|
<h4 class=" result-title"><?php echo $u->OPI_Name; ?></h4>
|
|
|
|
|
|
|
|
<p>公司:桂林国旅电子商务部[ 电子商务部 ]</p>
|
|
|
|
|
|
|
|
<p>联系方式:个人电话 <?php echo $u->OPI_MoveTelephone; ?><?php echo ',办公电话 '.$u->OPI_Telephone; ?></p>
|
|
|
|
|
|
|
|
<p><?php if(!empty($u->OPI_Email)) echo '邮件地址:'.$u->OPI_Email; ?></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-24 search_list nopadding-L">
|
|
|
|
|
|
|
|
<?php if (!empty($navlist)) { ?>
|
|
|
|
|
|
|
|
<?php foreach ($navlist as $n) { ?>
|
|
|
|
|
|
|
|
<div class="col-xs-24 nopadding">
|
|
|
|
|
|
|
|
<a target="_blank" href="<?php echo $n->n_link; ?>"><?php echo $n->n_name; ?></a>
|
|
|
|
|
|
|
|
<p><?php echo $n->n_description; ?></p>
|
|
|
|
|
|
|
|
<p><?php echo $n->n_link; ?></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
|
|
|
|
|
|
<?php }} ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-24 order_list nopadding-L">
|
|
|
|
|
|
|
|
<h5 class="text-muted" style="margin-bottom:20px;">相关订单搜索结果:<span class="loading_item"><img src="/css/images/loading.gif"></span></h5>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-10" style="max-width:320px;">
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-xs-24 hidden-xs">
|
|
|
|
|
|
|
|
<h4>订单查询</h4>
|
|
|
|
|
|
|
|
<form id="form-search-order" method="post" action="<?php echo site_url('apps/partners/index/group');?>">
|
|
|
|
<form id="form-search-order" method="post" action="<?php echo site_url('apps/partners/index/group');?>">
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" class="form-control order_search_input" id="date1" name="date1" placeholder="提交起始日期" value="" autocomplete="off">
|
|
|
|
<input type="text" class="form-control order_search_input" id="date1" name="date1" placeholder="团出发日期" value="" autocomplete="off" readonly>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<input type="text" class="form-control order_search_input" id="date2" name="date2" placeholder="提交截止日期" value="" autocomplete="off">
|
|
|
|
<input type="text" class="form-control order_search_input" id="date2" name="date2" placeholder="截止范围" value="" autocomplete="off" readonly>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="form-group">
|
|
|
|
<select class="form-control order_search_input" name="status" id="status">
|
|
|
|
<select class="form-control order_search_input" name="status" id="status">
|
|
|
@ -87,6 +53,49 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-sm-14 col-xs-24 search_result_box">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-24 partnerlist nopadding-L">
|
|
|
|
|
|
|
|
<h5 class="text-muted">相关联系人搜索结果:<span class="loading_item"><img src="/css/images/loading.gif"></span></h5>
|
|
|
|
|
|
|
|
<?php if (!empty($userlist)) { ?>
|
|
|
|
|
|
|
|
<?php foreach ($userlist as $u) { ?>
|
|
|
|
|
|
|
|
<div class="col-xs-24 nopadding">
|
|
|
|
|
|
|
|
<h4 class=" result-title"><?php echo $u->OPI_Name; ?></h4>
|
|
|
|
|
|
|
|
<p>公司:桂林国旅电子商务部[ 电子商务部 ]</p>
|
|
|
|
|
|
|
|
<p>联系方式:个人电话 <?php echo $u->OPI_MoveTelephone; ?><?php echo ',办公电话 '.$u->OPI_Telephone; ?></p>
|
|
|
|
|
|
|
|
<p><?php if(!empty($u->OPI_Email)) echo '邮件地址:'.$u->OPI_Email; ?></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
<?php } ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-24 search_list nopadding-L">
|
|
|
|
|
|
|
|
<?php if (!empty($navlist)) { ?>
|
|
|
|
|
|
|
|
<?php foreach ($navlist as $n) { ?>
|
|
|
|
|
|
|
|
<div class="col-xs-24 nopadding">
|
|
|
|
|
|
|
|
<h4><a target="_blank" href="<?php echo $n->n_link; ?>"><?php echo $n->n_name; ?></a></h4>
|
|
|
|
|
|
|
|
<p><?php echo $n->n_description; ?></p>
|
|
|
|
|
|
|
|
<p><?php echo $n->n_link; ?></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
|
|
|
|
|
|
<?php }} ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php if (!empty($sharelist)) { ?>
|
|
|
|
|
|
|
|
<?php foreach ($sharelist as $s) { ?>
|
|
|
|
|
|
|
|
<div class="col-xs-24 nopadding">
|
|
|
|
|
|
|
|
<h4><a target="_blank" href="/info.php/infoshare/detail/<?php echo $s->isd_is_id; ?>"><?php echo $s->isd_title; ?></a></h4>
|
|
|
|
|
|
|
|
<p>http://www.mycht.cn/info.php/infoshare/detail/<?php echo $s->isd_is_id; ?></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-xs-24 btn-lg"></div>
|
|
|
|
|
|
|
|
<?php }} ?>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-xs-24 order_list nopadding-L">
|
|
|
|
|
|
|
|
<h5 class="text-muted" style="margin-bottom:20px;">相关订单搜索结果:<span class="loading_item"><img src="/css/images/loading.gif"></span></h5>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
@ -95,7 +104,28 @@
|
|
|
|
$.post(url,data,function(html){
|
|
|
|
$.post(url,data,function(html){
|
|
|
|
$(html).appendTo('.partnerlist');
|
|
|
|
$(html).appendTo('.partnerlist');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
function get_user_order(){
|
|
|
|
|
|
|
|
$('.partnerlist,.search_list').html('');
|
|
|
|
|
|
|
|
$('.order_list').html('<h5 class="text-muted" style="margin-bottom:20px;">相关订单搜索结果:<span class="loading_item"><img src="/css/images/loading.gif"></span></h5>');
|
|
|
|
|
|
|
|
var $form = $('#form-search-order');
|
|
|
|
|
|
|
|
var data = $form.serialize();
|
|
|
|
|
|
|
|
var url = $form.attr('action');
|
|
|
|
|
|
|
|
var flag=false;
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
type: "post",
|
|
|
|
|
|
|
|
url: url,
|
|
|
|
|
|
|
|
data: data,
|
|
|
|
|
|
|
|
success: function(html) {
|
|
|
|
|
|
|
|
$(html).appendTo('.order_list');
|
|
|
|
|
|
|
|
$('.loading_item').remove();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
|
|
|
|
|
|
|
show_tips('no', errorThrown);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(document).ready(function() {
|
|
|
|
var url="<?php echo site_url('apps/partners/index/index/search'); ?>";
|
|
|
|
var url="<?php echo site_url('apps/partners/index/index/search'); ?>";
|
|
|
|
var data={'company':'<?php echo $keyword1; ?>','partners':'<?php echo $keyword2; ?>'};
|
|
|
|
var data={'company':'<?php echo $keyword1; ?>','partners':'<?php echo $keyword2; ?>'};
|
|
|
@ -106,6 +136,11 @@
|
|
|
|
$('.partnerlist>h5').remove();
|
|
|
|
$('.partnerlist>h5').remove();
|
|
|
|
},3000);
|
|
|
|
},3000);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var empty_key="<?php echo !empty($empty_key)?$empty_key:''; ?>";
|
|
|
|
|
|
|
|
if (empty_key=='Y') {
|
|
|
|
|
|
|
|
get_user_order();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
var rname=/[\u4E00-\u9FA5]/;
|
|
|
|
var rname=/[\u4E00-\u9FA5]/;
|
|
|
|
var coli_id_string="<?php echo $orderId; ?>";
|
|
|
|
var coli_id_string="<?php echo $orderId; ?>";
|
|
|
|
if(!rname.test(coli_id_string)) {
|
|
|
|
if(!rname.test(coli_id_string)) {
|
|
|
@ -130,24 +165,7 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
$(".order_search_btn").click(function(){
|
|
|
|
$(".order_search_btn").click(function(){
|
|
|
|
$('.partnerlist,.search_list').html('');
|
|
|
|
get_user_order();
|
|
|
|
$('.order_list').html('<h5 class="text-muted" style="margin-bottom:20px;">相关订单搜索结果:<span class="loading_item"><img src="/css/images/loading.gif"></span></h5>');
|
|
|
|
|
|
|
|
var $form = $('#form-search-order');
|
|
|
|
|
|
|
|
var data = $form.serialize();
|
|
|
|
|
|
|
|
var url = $form.attr('action');
|
|
|
|
|
|
|
|
var flag=false;
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
|
|
|
|
type: "post",
|
|
|
|
|
|
|
|
url: url,
|
|
|
|
|
|
|
|
data: data,
|
|
|
|
|
|
|
|
success: function(html) {
|
|
|
|
|
|
|
|
$(html).appendTo('.order_list');
|
|
|
|
|
|
|
|
$('.loading_item').remove();
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
error: function(XMLHttpRequest, textStatus, errorThrown) {
|
|
|
|
|
|
|
|
show_tips('no', errorThrown);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|