@@ -378,6 +378,7 @@ class RProjectController extends DooController
$this->data['auditArray'] = $auditUserArray;
$this->data['pmid'] = $this->params['pmid'];
$this->data['pid'] = $this->params['pid'];
+ $this->data['mpid'] = $this->params['mpid'];
$this->render('r-project-section-report', $this->data, TRUE);
}
@@ -158,14 +158,15 @@
var times = $(this).attr('times');
var content = $(this).parent().parent().find("textarea").val();
var act = $(this).attr('act');
+ var maid = $(this).attr('maid');
$.ajax({
type:"POST",
dataType:"json",
cache:false,
data:{"act":act,"pmid":pmid,"numpname":numpname,"times":times,"content":content},
- url:"/rproject/{{pid}}/section/{{pmid}}/report",
+ url:"/rproject/{{pid}}/section/{{pmid}}/report/{{mpid}}",
success: function(data){
- console.log(data);
+ location.href="{{rootUrl}}rproject/{{pid}}/section/{{pmid}}/report/{{mpid}}";
});