|
@@ -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['oper2'] = array('更新并重新签署', '"agent/lib/manage.upSignAgreement?id={id}"', "{status} == 2");
|
|
|
|
+}
|
|
|
|
|
|
$agreement = function()
|
|
$agreement = function()
|
|
{
|
|
{
|
|
@@ -166,6 +169,17 @@ return array
|
|
'list_order' => 7,
|
|
'list_order' => 7,
|
|
),
|
|
),
|
|
|
|
|
|
|
|
+ 'sign_old' => array
|
|
|
|
+ (
|
|
|
|
+ 'type' => 'varchar-150',
|
|
|
|
+ 'name' => '合同签名',
|
|
|
|
+ 'default' => '',
|
|
|
|
+ 'desc' => '合同签名',
|
|
|
|
+ 'match' => 'option',
|
|
|
|
+ //'update' => 'image',
|
|
|
|
+ 'key' => '7',
|
|
|
|
+ ),
|
|
|
|
+
|
|
'name' => array
|
|
'name' => array
|
|
(
|
|
(
|
|
'type' => 'varchar-100',
|
|
'type' => 'varchar-100',
|
|
@@ -518,5 +532,21 @@ return array
|
|
'type' => 'one',
|
|
'type' => 'one',
|
|
'col' => 'sum(price) as total',
|
|
'col' => 'sum(price) as total',
|
|
),
|
|
),
|
|
|
|
+
|
|
|
|
+ 'getDataByNew' => array
|
|
|
|
+ (
|
|
|
|
+ # 匹配的正则或函数 选填项
|
|
|
|
+ 'option' => array
|
|
|
|
+ (
|
|
|
|
+ 'id' => 'yes',
|
|
|
|
+ 'ids' => array('yes-id', '<'),
|
|
|
|
+ 'sign' => array('yes', 'like'),
|
|
|
|
+ 'state' => 1,
|
|
|
|
+ ),
|
|
|
|
+ 'order' => array('id' => 'asc'),
|
|
|
|
+ 'type' => 'all',
|
|
|
|
+ //'limit' => '0,2',
|
|
|
|
+ 'col' => 'id,mid,sign',
|
|
|
|
+ ),
|
|
),
|
|
),
|
|
);
|
|
);
|