更新客户售后
This commit is contained in:
parent
9b0aedcb22
commit
32f91bf2b3
@ -38,7 +38,7 @@ class CustomContactsLists extends BaseAdminDataLists implements ListsSearchInter
|
||||
public function setSearch(): array
|
||||
{
|
||||
return [
|
||||
'=' => ['custom_id', 'name', 'position', 'phone', 'telephone', 'email', 'notes', 'annex', 'status'],
|
||||
'=' => ['custom_id', 'name', 'position', 'phone', 'telephone', 'email', 'notes', 'annex'],
|
||||
];
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ class CustomContactsLists extends BaseAdminDataLists implements ListsSearchInter
|
||||
public function lists(): array
|
||||
{
|
||||
return CustomContacts::where($this->searchWhere)
|
||||
->field(['id', 'custom_id', 'name', 'position', 'phone', 'telephone', 'email', 'notes', 'annex', 'status'])
|
||||
->field(['id', 'custom_id', 'name', 'position', 'phone', 'telephone', 'email', 'notes', 'annex'])
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
->order(['id' => 'desc'])
|
||||
->select()
|
||||
|
@ -38,7 +38,7 @@ class CustomServiceLists extends BaseAdminDataLists implements ListsSearchInterf
|
||||
public function setSearch(): array
|
||||
{
|
||||
return [
|
||||
'=' => ['project_id', 'custom_id', 'approve_id', 'contacts', 'phone', 'date', 'classification', 'urgency', 'receiver', 'processed_admin_id', 'name', 'description', 'notes', 'annex', 'status'],
|
||||
'=' => ['project_id', 'custom_id', 'approve_id', 'contacts', 'phone', 'date', 'classification', 'urgency', 'receiver', 'processed_admin_id', 'name', 'description', 'notes', 'annex'],
|
||||
];
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ class CustomServiceLists extends BaseAdminDataLists implements ListsSearchInterf
|
||||
public function lists(): array
|
||||
{
|
||||
return CustomService::where($this->searchWhere)
|
||||
->field(['id', 'project_id', 'custom_id', 'approve_id', 'contacts', 'phone', 'date', 'classification', 'urgency', 'receiver', 'processed_admin_id', 'name', 'description', 'notes', 'annex', 'status'])
|
||||
->field(['id', 'project_id', 'custom_id', 'approve_id', 'contacts', 'phone', 'date', 'classification', 'urgency', 'receiver', 'processed_admin_id', 'name', 'description', 'notes', 'annex'])
|
||||
->limit($this->limitOffset, $this->limitLength)
|
||||
->order(['id' => 'desc'])
|
||||
->select()
|
||||
|
@ -49,7 +49,6 @@ class CustomContactsLogic extends BaseLogic
|
||||
'email' => $params['email'],
|
||||
'notes' => $params['notes'],
|
||||
'annex' => $params['annex'],
|
||||
'status' => $params['status']
|
||||
]);
|
||||
|
||||
Db::commit();
|
||||
@ -82,7 +81,6 @@ class CustomContactsLogic extends BaseLogic
|
||||
'email' => $params['email'],
|
||||
'notes' => $params['notes'],
|
||||
'annex' => $params['annex'],
|
||||
'status' => $params['status']
|
||||
]);
|
||||
|
||||
Db::commit();
|
||||
|
@ -54,8 +54,7 @@ class CustomServiceLogic extends BaseLogic
|
||||
'name' => $params['name'],
|
||||
'description' => $params['description'],
|
||||
'notes' => $params['notes'],
|
||||
'annex' => $params['annex'],
|
||||
'status' => $params['status']
|
||||
'annex' => $params['annex']
|
||||
]);
|
||||
|
||||
Db::commit();
|
||||
@ -93,8 +92,7 @@ class CustomServiceLogic extends BaseLogic
|
||||
'name' => $params['name'],
|
||||
'description' => $params['description'],
|
||||
'notes' => $params['notes'],
|
||||
'annex' => $params['annex'],
|
||||
'status' => $params['status']
|
||||
'annex' => $params['annex']
|
||||
]);
|
||||
|
||||
Db::commit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user