|
@@ -165,36 +165,52 @@ class Account
|
|
|
}
|
|
|
|
|
|
if ($aid) {
|
|
|
+ $search_type = Dever::input('search_type');
|
|
|
+ $option_aid = $aid;
|
|
|
+ if ($search_type) {
|
|
|
+ $option_aid .= '&search_type=' . $search_type;
|
|
|
+ }
|
|
|
$button[0]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'edit',
|
|
|
- 'link' => Dever::url('project/database/update?project=option&table=push_cash&search_option_aid='.$aid, 'manage'),
|
|
|
+ 'link' => Dever::url('project/database/update?project=option&table=push_cash&search_option_aid='.$option_aid, 'manage'),
|
|
|
'name' => '发放期权',
|
|
|
);
|
|
|
|
|
|
$button[1]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'link',
|
|
|
- 'link' => Dever::url('project/database/list?project=option&table=bill_jiaofu&search_option_aid='.$aid.'', 'manage'),
|
|
|
+ 'link' => Dever::url('project/database/list?project=option&table=bill_jiaofu&search_option_aid='.$option_aid.'', 'manage'),
|
|
|
'name' => '期权交付记录',
|
|
|
);
|
|
|
|
|
|
$button[1]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'link',
|
|
|
- 'link' => Dever::url('project/database/list?project=option&table=bill_fafang&search_option_aid='.$aid.'', 'manage'),
|
|
|
+ 'link' => Dever::url('project/database/list?project=option&table=bill_fafang&search_option_aid='.$option_aid.'', 'manage'),
|
|
|
'name' => '期权发放记录',
|
|
|
);
|
|
|
|
|
|
$button[1]['btn'][] = array
|
|
|
(
|
|
|
'type' => 'link',
|
|
|
- 'link' => Dever::url('project/database/list?project=option&table=bill_duifu&search_option_aid='.$aid.'', 'manage'),
|
|
|
+ 'link' => Dever::url('project/database/list?project=option&table=bill_duifu&search_option_aid='.$option_aid.'', 'manage'),
|
|
|
'name' => '期权兑付记录',
|
|
|
);
|
|
|
+
|
|
|
+ $button[1]['btn'][] = array
|
|
|
+ (
|
|
|
+ 'type' => 'link',
|
|
|
+ 'link' => Dever::url('project/database/list?project=option&table=agreement&search_option_aid='.$option_aid.'', 'manage'),
|
|
|
+ 'name' => '期权合同',
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
+
|
|
|
$url = Dever::url('project/database/list?project=option&table=account', 'manage');
|
|
|
+ if ($search_type) {
|
|
|
+ $url .= '&search_option_type=' . $search_type;
|
|
|
+ }
|
|
|
$head_btn[] = array
|
|
|
(
|
|
|
'type' => 'link',
|
|
@@ -228,7 +244,7 @@ class Account
|
|
|
if ($account['email']) {
|
|
|
$account['email'] .= '('.$config['is_email'][$account['is_email']].')';
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
$result = array
|
|
|
(
|
|
|
'type' => 'info',
|