Ticket #303 修改离线申请记录中的ajax参数,更改容器生成规则
This commit is contained in:
parent
7665772a9a
commit
d98b7a7b55
|
@ -44,8 +44,8 @@ $this->breadcrumb()->setSeparator(' > ');
|
||||||
单位:<?php echo $item['unit'];?>
|
单位:<?php echo $item['unit'];?>
|
||||||
申请时间:<?php echo date("Y-m-d H:i:s",strtotime($item['ts_created']));?></p>
|
申请时间:<?php echo date("Y-m-d H:i:s",strtotime($item['ts_created']));?></p>
|
||||||
<p>项目:<?php echo $item['project'];?></p>
|
<p>项目:<?php echo $item['project'];?></p>
|
||||||
<p><span id="ct_<?php echo $item['uuid'];?>">
|
<p><span id="ct_<?php echo $item['id'];?>">
|
||||||
<?php echo $item['btns'];?> </span><span id="data_<?php echo $item['uuid'];?>"></span></p>
|
<?php echo $item['btns'];?> </span><span id="data_<?php echo $item['id'];?>"></span></p>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach;
|
<?php endforeach;
|
||||||
echo "</ul>";
|
echo "</ul>";
|
||||||
|
@ -67,15 +67,15 @@ function doPD(uuid,pr,oid){
|
||||||
'url':'/author/inauthor/ac/offline',
|
'url':'/author/inauthor/ac/offline',
|
||||||
'data':'pr='+ pr +'&uuid='+uuid+'&oid='+oid,
|
'data':'pr='+ pr +'&uuid='+uuid+'&oid='+oid,
|
||||||
'success':function(html){
|
'success':function(html){
|
||||||
$('#ct_'+uuid).html(html);$('#data_'+uuid).html('');
|
$('#ct_'+oid).html(html);$('#data_'+oid).html('');
|
||||||
},
|
},
|
||||||
'beforeSend':function(){
|
'beforeSend':function(){
|
||||||
$('#data_'+uuid).html('<img src="/images/ajax-load-small.gif" />正在处理...');
|
$('#data_'+oid).html('<img src="/images/ajax-load-small.gif" />正在处理...');
|
||||||
},
|
},
|
||||||
'timeout': 20000,
|
'timeout': 20000,
|
||||||
'error': function(){
|
'error': function(){
|
||||||
alert('处理中出现问题,请重试');
|
alert('处理中出现问题,请重试');
|
||||||
$('#data_'+uuid).html('');
|
$('#data_'+oid).html('');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue