更新客户售后

This commit is contained in:
yaooo 2023-12-08 17:20:08 +08:00
parent 9b0aedcb22
commit 32f91bf2b3
4 changed files with 6 additions and 10 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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();

View File

@ -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();