添加老客户海外站点

hotfix/paypal-note
尹诚诚 3 years ago
parent bbe8271a5d
commit 3ae9538512

@ -55,7 +55,7 @@ class wwwlogs_model extends CI_Model {
$sql .= " $sql .= "
COLI_SN,COLI_ID, COLI_WebCode,COLI_Name, COLI_OrderDetailText, COLI_OrderStartDate,COLI_SenderIP,COLI_WebCode,COLI_ApplyDate from ConfirmLineInfo COLI_SN,COLI_ID, COLI_WebCode,COLI_Name, COLI_OrderDetailText, COLI_OrderStartDate,COLI_SenderIP,COLI_WebCode,COLI_ApplyDate from ConfirmLineInfo
where 1=1 where 1=1
and COLI_WebCode in ('cht','ah','ct','yz','sht','gl','gm') and COLI_WebCode in ('cht','ah','gh','ct','yz','sht','gl','gm','jp','ru','it','vac','vc')
and not exists (select top 1 1 from InfoManager.dbo.wwwlogs where wl_COLI_SN=COLI_SN ) and not exists (select top 1 1 from InfoManager.dbo.wwwlogs where wl_COLI_SN=COLI_SN )
and COLI_SenderIP is not null and COLI_SenderIP is not null
and DeleteFlag=0 and DeleteFlag=0

@ -17,7 +17,11 @@
</label> </label>
</li> </li>
<li><label class="checkbox-inline"> <li><label class="checkbox-inline">
<input type="checkbox" id="website_GHKHYY" name="website" value="GHKHYY"> GH客户运营中心 <input type="checkbox" id="website_GHKYZG" name="website" value="GHKYZG"> 客运中心中国
</label>
</li>
<li><label class="checkbox-inline">
<input type="checkbox" id="website_GHKYHW" name="website" value="GHKYHW"> 客运中心海外
</label> </label>
</li> </li>
<li><label class="checkbox-inline"> <li><label class="checkbox-inline">

@ -85,7 +85,7 @@
<div class="row"> <div class="row">
<div class="col-sm-4 col-md-4"> <div class="col-sm-4 col-md-4">
<label class="checkbox-inline"> <label class="checkbox-inline">
<input type="checkbox" checked disabled value="1">预定日期 <input type="checkbox" name="mobile_deal_ApplydateCheck" id="mobile_deal_ApplydateCheck" value="1">预定日期
</label> </label>
</div> </div>
<div class="col-sm-8 col-md-8"> <div class="col-sm-8 col-md-8">
@ -100,6 +100,29 @@
<button class="btn btn-default" type="button" onclick="updateMobileDeal();">统计</button> <button class="btn btn-default" type="button" onclick="updateMobileDeal();">统计</button>
</div> </div>
</div> </div>
<div class="row">
<div class="col-sm-4 col-md-4">
<label class="checkbox-inline">
<input type="checkbox" name="OrderStartdateCheck" id="mobile_deal_OrderStartdateCheck" checked
value="1">出发日期
</label>
</div>
<div class="col-sm-8 col-md-8">
<input name="mobile_deal_OrderStartdateStart" id="mobile_deal_OrderStartdateStart" type="text"
placeholder="开始日期"
class="form-control ShowMeTheDatePicker_cn" value="<?php echo date('Y-m-01', time()); ?>">
</div>
<div class="col-sm-8 col-md-8">
<input name="mobile_deal_OrderStartdateEnd" id="mobile_deal_OrderStartdateEnd" type="text"
placeholder="截至日期"
class="form-control ShowMeTheDatePicker_cn" value="<?php echo date('Y-m-t', time()); ?>">
</div>
<div class="col-sm-4 col-md-4">
</div>
</div>
<div class="row"> <div class="row">
<div class="col-sm-24 col-md-24"> <div class="col-sm-24 col-md-24">
<div class="table-responsive"> <div class="table-responsive">
@ -123,12 +146,16 @@
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
function updateMobileDeal() { function updateMobileDeal() {
let ApplydateCheck = $('#mobile_deal_ApplydateCheck').prop("checked") ? $('#mobile_deal_ApplydateCheck').val() : 0;
let ApplydateStart = $('#mobile_deal_ApplydateStart').val(); let ApplydateStart = $('#mobile_deal_ApplydateStart').val();
let ApplydateEnd = $('#mobile_deal_ApplydateEnd').val(); let ApplydateEnd = $('#mobile_deal_ApplydateEnd').val();
let OrderStartdateCheck = $('#mobile_deal_OrderStartdateCheck').prop("checked") ? $('#mobile_deal_OrderStartdateCheck').val() : 0;
let OrderStartdateStart = $('#mobile_deal_OrderStartdateStart').val();
let OrderStartdateEnd = $('#mobile_deal_OrderStartdateEnd').val();
let DEI_SNList = $('#module_mobile_meal input[name="DEI_SNList"]:checked').map(function (index, element) { let DEI_SNList = $('#module_mobile_meal input[name="DEI_SNList"]:checked').map(function (index, element) {
return $(element).val(); return $(element).val();
}).get().join(',');//将数组元素连接起来转化为字符串 }).get().join(',');//将数组元素连接起来转化为字符串
if (ApplydateStart == '' || ApplydateEnd == '' || DEI_SNList == '') { if (ApplydateStart == '' || ApplydateEnd == '' || OrderStartdateStart == '' || OrderStartdateEnd == '' || DEI_SNList == '') {
$.modaldialog.error("请检查必填项"); $.modaldialog.error("请检查必填项");
return false; return false;
} }
@ -138,7 +165,9 @@
dataType: "json", dataType: "json",
url: "<?php echo site_url('welcome/show_me_the_data')?>", url: "<?php echo site_url('welcome/show_me_the_data')?>",
data: { data: {
"url": '/service-tourdesign/CountYDOrder?ApplydateStart=' + ApplydateStart + '&ApplydateEnd=' + ApplydateEnd + '%2023:59&DEI_SNList=' + DEI_SNList, "url": '/service-tourdesign/CountYDOrder?ApplydateCheck=' + ApplydateCheck + '&ApplydateStart=' + ApplydateStart + '&ApplydateEnd=' + ApplydateEnd + '%2023:59'
+ '&OrderStartdateCheck=' + OrderStartdateCheck + '&OrderStartdateStart=' + OrderStartdateStart + '&OrderStartdateEnd=' + OrderStartdateEnd + '%2023:59'
+ '&DEI_SNList=' + DEI_SNList,
}, },
success: function (data, textStatus) { success: function (data, textStatus) {
document.getElementById('mobile_deal').innerHTML = ''; document.getElementById('mobile_deal').innerHTML = '';

@ -17,7 +17,11 @@
</label> </label>
</li> </li>
<li><label class="checkbox-inline"> <li><label class="checkbox-inline">
<input type="checkbox" id="website_GHKHYY" name="website" value="GHKHYY" checked> GH客户运营中心 <input type="checkbox" id="website_GHKYZG" name="website" value="GHKYZG" > 客运中心中国
</label>
</li>
<li><label class="checkbox-inline">
<input type="checkbox" id="website_GHKYHW" name="website" value="GHKYHW" > 客运中心海外
</label> </label>
</li> </li>
<li><label class="checkbox-inline"> <li><label class="checkbox-inline">

@ -17,7 +17,11 @@
</label> </label>
</li> </li>
<li><label class="checkbox-inline"> <li><label class="checkbox-inline">
<input type="checkbox" id="website_GHKHYY" name="website" value="GHKHYY"> GH客户运营中心 <input type="checkbox" id="website_GHKYZG" name="website" value="GHKYZG" > 客运中心中国
</label>
</li>
<li><label class="checkbox-inline">
<input type="checkbox" id="website_GHKYHW" name="website" value="GHKYHW" > 客运中心海外
</label> </label>
</li> </li>
<li><label class="checkbox-inline"> <li><label class="checkbox-inline">

Loading…
Cancel
Save