|
@@ -16,12 +16,15 @@ if ($mid) {
|
|
}
|
|
}
|
|
$list_button = array();
|
|
$list_button = array();
|
|
$list_button['new'] = array('查看', '"lib/agreement.location?id={id}"', 'agent');
|
|
$list_button['new'] = array('查看', '"lib/agreement.location?id={id}"', 'agent');
|
|
- if (Dever::load('manage/auth')->checkFunc('agent.member_agreement', 'edit', '作废并生成')) {
|
|
|
|
|
|
+if (Dever::load('manage/auth')->checkFunc('agent.member_agreement', 'edit', '作废并生成')) {
|
|
$list_button['oper'] = array('作废并生成', '"agent/lib/manage.dropAgreement?id={id}"', "{status} == 2");
|
|
$list_button['oper'] = array('作废并生成', '"agent/lib/manage.dropAgreement?id={id}"', "{status} == 2");
|
|
- }
|
|
|
|
|
|
+}
|
|
if (Dever::load('manage/auth')->checkFunc('agent.member_agreement', 'edit1', '更新')) {
|
|
if (Dever::load('manage/auth')->checkFunc('agent.member_agreement', 'edit1', '更新')) {
|
|
$list_button['oper1'] = array('更新', '"agent/lib/manage.upAgreement?id={id}"', "{status} <= 2");
|
|
$list_button['oper1'] = array('更新', '"agent/lib/manage.upAgreement?id={id}"', "{status} <= 2");
|
|
}
|
|
}
|
|
|
|
+if (Dever::load('manage/auth')->checkFunc('agent.member_agreement', 'chongxinqianshu', '重新签署')) {
|
|
|
|
+ $list_button['oper'] = array('更新并重新签署', '"agent/lib/manage.upSignAgreement?id={id}"', "{status} == 2");
|
|
|
|
+}
|
|
|
|
|
|
$agreement = function()
|
|
$agreement = function()
|
|
{
|
|
{
|