|
|
|
@ -105,7 +105,7 @@
|
|
|
|
|
<div class="input-list search_item input-list-gamenoticestatus">
|
|
|
|
|
<select name="promote_id" style="color:#444" class="select_gallery" id="promote_id">
|
|
|
|
|
<option value="">请选择会长</option>
|
|
|
|
|
<option value="0" <?php if ($_POST['promote_id'] == 0):?>selected<?php endif;?>>官方渠道</option>
|
|
|
|
|
<option value="0" <?php if ($_POST['promote_id'] == 0):?>selected<?php endif;?>>123</option>
|
|
|
|
|
<option value="UC" <?php if ($_POST['promote_id'] == 'UC'):?>selected<?php endif;?>>UC用户</option>
|
|
|
|
|
</select>
|
|
|
|
|
</div>
|
|
|
|
@ -443,9 +443,6 @@
|
|
|
|
|
dataType: 'json',
|
|
|
|
|
success: function (response) {
|
|
|
|
|
str = '<option value="">请选择会长</option>';
|
|
|
|
|
if(company_id == 0 || company_id ==-1){
|
|
|
|
|
str +='<option value="0"' + (promote_id && 0 == promote_id ? 'selected' : '') + '>官方渠道</option>';
|
|
|
|
|
}
|
|
|
|
|
data = response.data;
|
|
|
|
|
for (var i in data) {
|
|
|
|
|
str += "<option value='" + data[i].id + "' " + (promote_id && data[i].id == promote_id ? 'selected' : '') + ">" + data[i].nickname + "</option>"
|
|
|
|
|