更新
This commit is contained in:
@@ -28,6 +28,7 @@ class AppointmentValidate extends BaseValidate
|
||||
'remark' => 'max:500',
|
||||
'channel_source' => 'require',
|
||||
'channel_source_detail' => 'max:128',
|
||||
'ids' => 'require|array',
|
||||
'note_id' => 'require|integer',
|
||||
'image_type' => 'require|in:tongue_images,report_files',
|
||||
'image_path' => 'require',
|
||||
@@ -51,6 +52,7 @@ class AppointmentValidate extends BaseValidate
|
||||
'assistant_id' => '医助',
|
||||
'channel_source' => '渠道来源',
|
||||
'channel_source_detail' => '渠道补充说明',
|
||||
'ids' => '预约ID列表',
|
||||
];
|
||||
|
||||
/**
|
||||
@@ -148,4 +150,10 @@ class AppointmentValidate extends BaseValidate
|
||||
'channel_source_detail',
|
||||
]);
|
||||
}
|
||||
|
||||
/** 批量修改挂号渠道(权限同 doctor.appointment/edit) */
|
||||
public function sceneBatchEditChannel()
|
||||
{
|
||||
return $this->only(['ids', 'channel_source', 'channel_source_detail']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user