修复显示全部通话记录bug

dev
曾超新 5 years ago
parent b3125cf18e
commit b5454a2a0c
  1. 3
      frontend/views/phone-center/call-records.php
  2. 1
      frontend/views/phone-center/usercall-index.php

@ -17,7 +17,7 @@ use \common\libs\MyLib;
</div> </div>
<div class="ibox-content"> <div class="ibox-content">
<form role="form" class="form-inline" onsubmit="return search();"> <form role="form" class="form-inline" onsubmit="return search();">
<input type="hidden" name="company_type" value="<?=$company_type?>"> <input type="hidden" name="company_type" id="company_type" value="<?=$company_type?>">
<?php if($company_type == 3) { ?> <?php if($company_type == 3) { ?>
<div class="form-group" style="margin-bottom: 8px;"> <div class="form-group" style="margin-bottom: 8px;">
<label for="username">工号</label> <label for="username">工号</label>
@ -165,6 +165,7 @@ use \common\libs\MyLib;
params.duration_begin = $('#duration_begin').val(); params.duration_begin = $('#duration_begin').val();
params.duration_end = $('#duration_end').val(); params.duration_end = $('#duration_end').val();
params.is_called = $('#is_called').val(); params.is_called = $('#is_called').val();
params.company_type = $('#company_type').val();
return params; return params;
} }
}); });

@ -94,6 +94,7 @@ use \common\libs\MyLib;
params.duration_begin = $('#duration_begin').val(); params.duration_begin = $('#duration_begin').val();
params.duration_end = $('#duration_end').val(); params.duration_end = $('#duration_end').val();
params.is_called = $('#is_called').val(); params.is_called = $('#is_called').val();
params.company_type = $('#company_type').val();
return params; return params;
} }
}); });

Loading…
Cancel
Save