Commit 58f5472f by lujunyi

只拉取非通用问题

parent e440b542
......@@ -78,7 +78,7 @@ protected function form()
$form->text('tag_name')->width(4)->required();
$form->multipleSelect('inquiry', '问诊问题')
->options(function () {
return InquiryModel::all()->pluck('question', 'id');
return InquiryModel::where('is_common', InquiryModel::INQUIRY_COMMON_FALSE)->pluck('question', 'id');
})
->customFormat(function ($v) {
return array_column($v, 'id');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment