rabin 3 years ago
parent
commit
f7516f808b

+ 2 - 2
service/bill/database/cash.php

@@ -39,7 +39,7 @@ $role = function()
 $mid = Dever::input('search_option_mid');
 $button = array();
 if ($mid) {
-    $button['返回上一页'] = array('location', 'l=project/database/list&project=agent&table=member_area&page_type=1&mid=' . $mid);
+    $button['返回上一页'] = array('location', 'l=project/database/list&project=agent&table=member_area&page_type=1&mid=' . $mid . '&[refer]');
     if (Dever::load('manage/auth')->checkFunc('agent.member', 'edit1', '发放资金')) {
         $button['发放资金'] = array('fast', '', 'push_cash&search_option_mid=' . $mid);
     }
@@ -50,7 +50,7 @@ if ($mid) {
     // );
 }
 $list_button = array();
-$list_button['list'] = array('查看详情', '"push_cash&project=bill&id={id}&page_type=1"');
+$list_button['list'] = array('查看详情', '"push_cash&project=bill&id={id}&page_type=1&[refer]"');
 if (Dever::load('manage/auth')->checkFunc('bill.tixian', 'edit', '审核')) {
     $list_button['fast'] = array('审核', '"cash&where_id={id}&col=audit,audit_desc&oper_save_jump=cash&oper_table=cash&oper_parent=cash"', '{status} == 1');
 }

+ 1 - 1
service/bill/database/sell.php

@@ -13,7 +13,7 @@ $role = function()
 $mid = Dever::input('search_option_mid');
 $button = array();
 if ($mid) {
-    $button['返回上一页'] = array('location', 'l=project/database/list&project=agent&table=member_area&page_type=1&mid=' . $mid);
+    $button['返回上一页'] = array('location', 'l=project/database/list&project=agent&table=member_area&page_type=1&mid=' . $mid . '&[refer]');
     if (Dever::load('manage/auth')->checkFunc('agent.member', 'edit2', '发放业绩')) {
         $button['发放业绩'] = array('fast', '', 'push_sell&search_option_mid=' . $mid);
     }

+ 1 - 1
service/bill/database/tixian.php

@@ -21,7 +21,7 @@ $manage_status = array
     2 => '已发放',
 );
 $list_button = array();
-$list_button['list'] = array('查看详情', '"push_cash&project=bill&id={cash_id}&page_type=1"');
+$list_button['list'] = array('查看详情', '"push_cash&project=bill&id={cash_id}&page_type=1&[refer]"');
 if (Dever::load('manage/auth')->checkFunc('bill.tixian', 'edit1', '发放')) {
     $list_button['fast'] = array('发放', '"tixian&where_id={id}&col=audit,audit_desc,pic&oper_save_jump=tixian&oper_table=tixian&oper_parent=tixian"', '{status} == 1 && "{bill-cash-status}" == 2');
 }

+ 1 - 7
service/bill/lib/Cash.php

@@ -230,16 +230,10 @@ class Cash
                 
             }
         }
-        $menu_id = Dever::input('menu_id');
-        if($menu_id == 252){
-             $url = Dever::url('project/database/list&project=bill&table=tixian&menu=bill&search_option_state=1&menu_id=252', 'manage');
-         }elseif($menu_id == 245){
-            $url = Dever::url('project/database/list&project=bill&table=cash&menu=bill&search_option_state=1&menu_id=245', 'manage');
-         }
          $button[] = array
         (
             'type' => 'link',
-            'link' => $url,
+            'link' => 'refer',
             'name' => '返回上一页',
         );
         $head = array