瀏覽代碼

计量支付
在线审批审核不通过提交地址错误

NoNZero 9 年之前
父節點
當前提交
c6a3cce669
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 1 0
      protected/controller/RProjectController.php
  2. 3 2
      protected/view/r-project-section-report.html

+ 1 - 0
protected/controller/RProjectController.php

@@ -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);
     }
 }

+ 3 - 2
protected/view/r-project-section-report.html

@@ -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}}";
             }
         });
     });